Prepare Luna SR2 and initial Mars , and update EMF Pattern portfolio
Change-Id: If9cf11939b3f863a904605061f20dfc1da22ea9d
Signed-off-by: Matthieu Helleboid <matthieu.helleboid@thalesgroup.com>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.classpath b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.classpath
new file mode 100644
index 0000000..dc57898
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="generated"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.gitignore b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.gitignore
new file mode 100644
index 0000000..5e56e04
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.gitignore
@@ -0,0 +1 @@
+/bin
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.project b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.project
new file mode 100644
index 0000000..1578e3b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.egf.emf.pattern</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.egf.pattern.ui.PatternBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.egf.core.EGFNature</nature>
+ </natures>
+</projectDescription>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.settings/org.eclipse.jdt.core.prefs b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..db85bda
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Mon May 03 11:37:29 CEST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/META-INF/MANIFEST.MF b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..91a091d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/META-INF/MANIFEST.MF
@@ -0,0 +1,27 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.egf.emf.pattern;singleton:=true
+Bundle-Version: 1.1.0.2_10_1_qualifier
+Bundle-ClassPath: .
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package:
+ org.eclipse.egf.emf.pattern.edit,
+ org.eclipse.egf.emf.pattern.edit.call.ItemProvider,
+ org.eclipse.egf.emf.pattern.editor,
+ org.eclipse.egf.emf.pattern.editor.call.Editor,
+ org.eclipse.egf.emf.pattern.model,
+ org.eclipse.egf.emf.pattern.model.call.Class,
+ org.eclipse.egf.emf.pattern.model.call.Interface,
+ org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass,
+ org.eclipse.egf.emf.pattern.model.call.ValidatorClass,
+ org.eclipse.egf.emf.pattern.tests,
+ org.eclipse.egf.emf.pattern.tests.call.TestCase
+Require-Bundle:
+ org.eclipse.egf.model.fprod,
+ org.eclipse.egf.pattern.jet,
+ org.eclipse.egf.emf.pattern.base;visibility:=reexport,
+ org.eclipse.egf.model.ftask;visibility:=reexport
+Bundle-ActivationPolicy: lazy
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/about.html b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/about.html
new file mode 100644
index 0000000..7e766fe
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/about.html
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+
+
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>About</title>
+</head><body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, "Program" will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party ("Redistributor") and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body></html>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/build.properties b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/build.properties
new file mode 100644
index 0000000..c0f53db
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/build.properties
@@ -0,0 +1,20 @@
+##
+# Copyright (c) 2009-2010 Thales Corporate Services S.A.S.
+# 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:
+# Thales Corporate Services S.A.S - initial API and implementation
+##
+source.. = generated/
+output.. = bin/
+bin.includes = META-INF/,\
+ templates/,\
+ .,\
+ about.html,\
+ plugin.properties,\
+ plugin.xml,\
+ egf/
+src.includes = about.html
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore
new file mode 100644
index 0000000..00a1e3e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore
@@ -0,0 +1,5996 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:domain="http://www.eclipse.org/egf/1.0.0/domain"
+ xmlns:fcore="http://www.eclipse.org/egf/1.0.0/fcore" xmlns:fprod="http://www.eclipse.org/egf/1.0.0/fprod"
+ xmlns:ftask="http://www.eclipse.org/egf/1.0.0/ftask" xmlns:jetpattern="http://www.eclipse.org/egf/1.0.0/jetpattern"
+ xmlns:pattern="http://www.eclipse.org/egf/1.0.0/pattern" xmlns:types="http://www.eclipse.org/egf/1.0.0/types">
+ <fcore:FactoryComponent xmi:id="_Pcm9sDG0Ed-kc8dEZsdm2w" name="EMF Model Pattern">
+ <contractContainer xmi:id="_Prg8ZDG0Ed-kc8dEZsdm2w">
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prg8ZTG0Ed-kc8dEZsdm2w"
+ description="EMF Model Pattern" name="genModel" mandatory="true" invocationContracts="#_IF-ME7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_IF-MFrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_WRxYEFIIEd-eGOdO3WtsxA"
+ description="EMF Model Pattern" name="pattern.execution.reporter" invocationContracts="#_IF-MF7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MGrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_TxwAHVkTEd-bv5aydwO2Qw"
+ description="EMF Model Pattern" name="pattern.ids" invocationContracts="#_IF-MG7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_IF-MHrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_OVsagFHVEd-dr9AWwNwIMQ"
+ description="EMF Model Pattern" name="pattern.substitutions" invocationContracts="#_IF-MH7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_IF-MIbBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_RcQCMPI7Ed-Pp8S8RvVOuQ"
+ description="EMF Model Pattern" name="usedGenPackages" invocationContracts="#_IF-MIrBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_IF-MJLBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_sluXsVLLEd-ZSLMRjxSbVQ"
+ description="EMF Model Pattern" name="mergeRulesURI" invocationContracts="#_IF-MJbBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_IF-MJ7BcEeSqLfQ0kalDug"/>
+ </contracts>
+ </contractContainer>
+ <viewpointContainer xmi:id="_Pcm9sTG0Ed-kc8dEZsdm2w">
+ <viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_Pcm9sjG0Ed-kc8dEZsdm2w">
+ <libraries xmi:id="_Pcm9szG0Ed-kc8dEZsdm2w" name="org.eclipse.egf.emf.pattern.model">
+ <elements xmi:id="_Pcm9tDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ name="BuildProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_Pcm9tjG0Ed-kc8dEZsdm2w" conditionMethod="#_8vBvNHLYEd-09ds9dfYpFw"
+ initMethod="#_Pcm9tzG0Ed-kc8dEZsdm2w" footerMethod="#_Pcm9uTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HXfVcbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pcm9tjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pcm9tzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_8vBvNHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._8vBvNHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pcm9uTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9uTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PcwusDG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusDG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Sq2-OGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Sq2-OGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_06ILSWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._06ILSWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PcwusjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HXfVd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXfVe7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXfVfbBcEeSqLfQ0kalDug"
+ called="#_PcwusjG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HXfVfrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXfVf7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PdDpoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/manifest.mfjet"
"
+ name="ManifestMF" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PdDpojG0Ed-kc8dEZsdm2w" conditionMethod="#_8qZt5HLYEd-09ds9dfYpFw"
+ initMethod="#_PdDpozG0Ed-kc8dEZsdm2w" footerMethod="#_PdDppTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HXCpgbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PdDpojG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpojG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PdDpozG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpozG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_8qZt5HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._8qZt5HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PdDppTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDppTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PdDppzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDppzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SrAvOGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._SrAvOGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_05rfVmKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._05rfVmKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PdDpqTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HXLzcrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXLzdrBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXLzeLBcEeSqLfQ0kalDug"
+ called="#_PdDpqTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HXLzebBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXLzerBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PdNaoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="PluginXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PdNaojG0Ed-kc8dEZsdm2w" conditionMethod="#_8mrriXLYEd-09ds9dfYpFw"
+ initMethod="#_PdNaozG0Ed-kc8dEZsdm2w" footerMethod="#_PdXLoTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HWvHhbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PdNaojG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaojG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PdNaozG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaozG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_8mrriXLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._8mrriXLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PdXLoTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLoTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PdXLozG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLozG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SqaSS2KPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._SqaSS2KPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_06R8SWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._06R8SWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PdXLpTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLpTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HWvHi7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HWvHj7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HWvHkbBcEeSqLfQ0kalDug"
+ called="#_PdXLpTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HWvHkrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HWvHk7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PdgVkDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ name="PluginProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_xxtwkCg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PdgVkjG0Ed-kc8dEZsdm2w" conditionMethod="#_8zCshHLYEd-09ds9dfYpFw"
+ initMethod="#_PdgVkzG0Ed-kc8dEZsdm2w" footerMethod="#_PdgVlTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HXyQYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PdgVkjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PdgVkzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_8zCshHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._8zCshHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PdgVlTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVlTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PdgVlzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVlzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SrTqKGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._SrTqKGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_06k3OWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._06k3OWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PdgVmTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVmTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HXyQZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXyQa7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_pQ16sChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXyQbbBcEeSqLfQ0kalDug"
+ called="#_PdgVmTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HXyQbrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXyQb7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PdzQgDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/PackageClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="PackageClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PdzQgjG0Ed-kc8dEZsdm2w" conditionMethod="#_89Lf9HLYEd-09ds9dfYpFw"
+ initMethod="#_PdzQgzG0Ed-kc8dEZsdm2w" footerMethod="#_PdzQhTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HY-jMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PdzQgjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PdzQgzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_89Lf9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._89Lf9HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PdzQhTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQhTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PdzQhzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQhzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_StPj2GKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._StPj2GKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_09HN2WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._09HN2WKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PdzQiTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQiTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HY-jN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HY-jO7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HY-jPbBcEeSqLfQ0kalDug"
+ called="#_PdzQiTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HY-jPrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HY-jP7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PeP8cDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/XMLProcessorClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="XMLProcessorClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PeP8cjG0Ed-kc8dEZsdm2w" conditionMethod="#_9hr7NHLYEd-09ds9dfYpFw"
+ initMethod="#_PeP8czG0Ed-kc8dEZsdm2w" footerMethod="#_PeP8dTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HYroQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PeP8cjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8cjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PeP8czG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8czG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9hr7NHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._9hr7NHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PeP8dTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8dTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PeP8dzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8dzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SspG4mKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._SspG4mKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0767AmKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._0767AmKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PeP8eTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8eTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HYroR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HY0yM7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HY0yNbBcEeSqLfQ0kalDug"
+ called="#_PeP8eTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HY0yNrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HY0yN7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PejecDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="Plugin" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PejecjG0Ed-kc8dEZsdm2w" conditionMethod="#_9fJklHLYEd-09ds9dfYpFw"
+ initMethod="#_PejeczG0Ed-kc8dEZsdm2w" footerMethod="#_PejedTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HZuKEbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PejecjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejecjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PejeczG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeczG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9fJklHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._9fJklHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PejedTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejedTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PejedzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejedzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SsWL8WKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._SsWL8WKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_07nZCWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._07nZCWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PejeeTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeeTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HZuKF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZuKG7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZuKHbBcEeSqLfQ0kalDug"
+ called="#_PejeeTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HZuKHrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZuKH7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PesoYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/ResourceFactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass.ResourceFactoryClass.createResource.override
"
+ name="ResourceFactoryClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PesoYjG0Ed-kc8dEZsdm2w" conditionMethod="#_9AAxhHLYEd-09ds9dfYpFw"
+ initMethod="#_PesoYzG0Ed-kc8dEZsdm2w" footerMethod="#_PesoZTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HaK2AbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PesoYjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PesoYzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9AAxhHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._9AAxhHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PesoZTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoZTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PesoZzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoZzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_StFy12KPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._StFy12KPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_063yImKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._063yImKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PesoaTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoaTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HaK2B7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HaK2C7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HaK2DbBcEeSqLfQ0kalDug"
+ called="#_PesoaTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HaK2DrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HaK2D7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pe_jUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.interface.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.egfCustom.constructor.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.reflectiveDelegation.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeatureReified.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.eUnset.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.eIsSet.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.insert
"
+ name="Class" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_hYG6UCg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_Pe_jUjG0Ed-kc8dEZsdm2w" conditionMethod="#_9DSvBHLYEd-09ds9dfYpFw"
+ initMethod="#_Pe_jUzG0Ed-kc8dEZsdm2w" footerMethod="#_Pe_jVTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HYFLUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pe_jUjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pe_jUzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9DSvBHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._9DSvBHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pe_jVTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jVTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pe_jVzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jVzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Sr5gCGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Sr5gCGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_08EE9mKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._08EE9mKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pe_jWTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HYFLV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYFLW7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYFLXbBcEeSqLfQ0kalDug"
+ called="#_Pe_jWTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HYFLXrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYFLX7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PfcPQDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/FactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="FactoryClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PfcPQjG0Ed-kc8dEZsdm2w" conditionMethod="#_9cLJFHLYEd-09ds9dfYpFw"
+ initMethod="#_PfcPQzG0Ed-kc8dEZsdm2w" footerMethod="#_PfcPRTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hanh8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PfcPQjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PfcPQzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9cLJFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._9cLJFHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PfcPRTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPRTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PfcPRzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPRzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_StZU2GKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._StZU2GKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_07LUKWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._07LUKWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PfmAQTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfmAQTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hanh97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hanh-7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hanh_bBcEeSqLfQ0kalDug"
+ called="#_PfmAQTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hanh_rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hanh_7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pf47MDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/EnumClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="EnumClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_txlYcCg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_Pf47MjG0Ed-kc8dEZsdm2w" conditionMethod="#_9QQM9HLYEd-09ds9dfYpFw"
+ initMethod="#_Pf47MzG0Ed-kc8dEZsdm2w" footerMethod="#_Pf47NTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HYh3QbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pf47MjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pf47MzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9QQM9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._9QQM9HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pf47NTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47NTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pf47NzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47NzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SrwWGGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._SrwWGGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_07UeGWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._07UeGWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pf47OTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HYh3R7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYh3S7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYh3TbBcEeSqLfQ0kalDug"
+ called="#_Pf47OTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HYh3TrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYh3T7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PgCsMDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/PackageClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="PackageInterface" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PgCsMjG0Ed-kc8dEZsdm2w" conditionMethod="#_9S7thHLYEd-09ds9dfYpFw"
+ initMethod="#_PgCsMzG0Ed-kc8dEZsdm2w" footerMethod="#_PgCsNTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HaBFAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PgCsMjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PgCsMzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9S7thHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._9S7thHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PgCsNTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsNTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PgL2IDG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IDG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Ssf88WKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._Ssf88WKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_08zr2WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._08zr2WKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PgL2IjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IjG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HaBFB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HaBFC7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HaBFDbBcEeSqLfQ0kalDug"
+ called="#_PgL2IjG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HaBFDrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HaBFD7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PgVnIDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/FactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="FactoryInterface" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PgVnIjG0Ed-kc8dEZsdm2w" conditionMethod="#_9HAxZHLYEd-09ds9dfYpFw"
+ initMethod="#_PgVnIzG0Ed-kc8dEZsdm2w" footerMethod="#_PgVnJTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HZReIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PgVnIjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PgVnIzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9HAxZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._9HAxZHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PgVnJTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnJTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PgVnJzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnJzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_StsPyGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._StsPyGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_08N1-WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._08N1-WKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PgVnKTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnKTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HZReJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZReK7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZReLbBcEeSqLfQ0kalDug"
+ called="#_PgVnKTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HZReLrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZReL7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PgoiEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/ResourceClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="ResourceClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PgoiEjG0Ed-kc8dEZsdm2w" conditionMethod="#_85wYhHLYEd-09ds9dfYpFw"
+ initMethod="#_PgoiEzG0Ed-kc8dEZsdm2w" footerMethod="#_PgoiFTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HX7aUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PgoiEjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PgoiEzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_85wYhHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._85wYhHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PgoiFTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiFTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PgoiFzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiFzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SsDRCGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._SsDRCGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_08qh6WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._08qh6WKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PgoiGTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiGTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HX7aV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HX7aW7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HX7aXbBcEeSqLfQ0kalDug"
+ called="#_PgoiGTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HX7aXrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HX7aX7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pg8EEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.interface.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.egfCustom.constructor.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.reflectiveDelegation.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeatureReified.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eUnset.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eIsSet.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.insert
"
+ name="Interface" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_hYG6UCg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_Pg8EEjG0Ed-kc8dEZsdm2w" conditionMethod="#_9Kva1HLYEd-09ds9dfYpFw"
+ initMethod="#_Pg8EEzG0Ed-kc8dEZsdm2w" footerMethod="#_Pg8EFTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HZkZEbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pg8EEjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pg8EEzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9Kva1HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._9Kva1HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pg8EFTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EFTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pg8EFzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EFzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SrmlGGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._SrmlGGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_08Xm-WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._08Xm-WKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pg8EGTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HZkZF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZkZG7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZkZHbBcEeSqLfQ0kalDug"
+ called="#_Pg8EGTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HZkZHrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZkZH7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PhO_ADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/AdapterFactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="AdapterFactoryClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PhO_AjG0Ed-kc8dEZsdm2w" conditionMethod="#_9Wzg5HLYEd-09ds9dfYpFw"
+ initMethod="#_PhO_AzG0Ed-kc8dEZsdm2w" footerMethod="#_PhO_BTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HZHtIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PhO_AjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PhO_AzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9Wzg5HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._9Wzg5HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PhO_BTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_BTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PhO_BzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_BzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Ssy372KPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._Ssy372KPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_089c2WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._089c2WKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PhO_CTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_CTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HZHtJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZHtK7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZHtLbBcEeSqLfQ0kalDug"
+ called="#_PhO_CTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HZHtLrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HZHtL7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Phh58DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/SwitchClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="SwitchClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_Phh58jG0Ed-kc8dEZsdm2w" conditionMethod="#_82LgFHLYEd-09ds9dfYpFw"
+ initMethod="#_Phh58zG0Ed-kc8dEZsdm2w" footerMethod="#_Phh59TG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HYYGQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Phh58jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Phh58zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_82LgFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._82LgFHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Phh59TG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh59TG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Phh59zG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh59zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_StieyGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._StieyGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_07BjKWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._07BjKWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Phh5-TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HYYGR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYYGS7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYYGTbBcEeSqLfQ0kalDug"
+ called="#_Phh5-TG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HYYGTrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HYYGT7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Ph004DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/ValidatorClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.ValidatorClass.ValidatorClass.insert
"
+ name="ValidatorClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_Ph004jG0Ed-kc8dEZsdm2w" conditionMethod="#_9Nt2VHLYEd-09ds9dfYpFw"
+ initMethod="#_Ph004zG0Ed-kc8dEZsdm2w" footerMethod="#_Ph005TG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hadw8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Ph004jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Ph004zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9Nt2VHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._9Nt2VHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Ph005TG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph005TG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Ph005zG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph005zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SspG8mKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._SspG8mKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_07ePGWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._07ePGWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Ph006TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph006TG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hadw97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hadw-7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hadw_bBcEeSqLfQ0kalDug"
+ called="#_Ph006TG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hadw_rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hadw_7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_QIGxoH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="ModuleGWTXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_QIGxon7rEd-W9_ZFSEQEPg" conditionMethod="#_QIGxpH7rEd-W9_ZFSEQEPg"
+ initMethod="#_QIGxo37rEd-W9_ZFSEQEPg" footerMethod="#_QIGxpn7rEd-W9_ZFSEQEPg">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HXVkcbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_QIGxon7rEd-W9_ZFSEQEPg" name="header" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxon7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QIGxo37rEd-W9_ZFSEQEPg" name="init" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxo37rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QIGxpH7rEd-W9_ZFSEQEPg" name="preCondition" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxpH7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QIGxpn7rEd-W9_ZFSEQEPg" name="footer" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxpn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QIGxqH7rEd-W9_ZFSEQEPg" name="setReporterVariables"
+ patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqH7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QIGxqX7rEd-W9_ZFSEQEPg" name="setArgument" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqX7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QIGxqn7rEd-W9_ZFSEQEPg" name="ensureProjectExists" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QIGxrH7rEd-W9_ZFSEQEPg" name="doGenerate" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxrH7rEd-W9_ZFSEQEPg.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HXVkd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXVke7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXVkfbBcEeSqLfQ0kalDug"
+ called="#_QIGxrH7rEd-W9_ZFSEQEPg"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HXVkfrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HXVkf7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ </libraries>
+ <libraries xmi:id="_0uqqgGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass">
+ <elements xmi:id="_0uqqgWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/ResourceFactoryClass.javajet"
"
+ name="ResourceFactoryClass.createResource.override" headerMethod="#_0uqqg2J-Ed-FqczH3ESmRw"
+ conditionMethod="#_--X7pXLYEd-09ds9dfYpFw" initMethod="#_0uqqhGJ-Ed-FqczH3ESmRw"
+ footerMethod="#_0uqqhmJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H_a4IrBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0uqqg2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqg2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0uqqhGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_--X7pXLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._--X7pXLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0uqqhmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0uqqimJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqimJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H_a4KbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H_a4KrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H_a4KLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H_a4LLBcEeSqLfQ0kalDug"
+ called="#_0uqqimJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ </libraries>
+ <libraries xmi:id="_0jpGTWJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.model.call.Class">
+ <elements xmi:id="_0jpGTmJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.insert
"
+ name="Class.declaredFieldGenFeature.override" headerMethod="#_0jpGUGJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__Dly1XLYEd-09ds9dfYpFw" initMethod="#_0jpGUWJ-Ed-FqczH3ESmRw"
+ footerMethod="#_0jpGU2J-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hiz0obBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0jpGUGJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0jpGUWJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__Dly1XLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method.__Dly1XLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0jpGU2J-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGU2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0jpGYGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGYGJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hiz0qLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hiz0qbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hiz0qrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hiz0q7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hiz0rLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hiz0rbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hiz0rrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hiz0r7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hiz0sLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hiz0sbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hiz0srBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hiz0s7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hiz0tLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hiz0tbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hiz0p7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hiz0t7BcEeSqLfQ0kalDug"
+ called="#_0jpGYGJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0jyQMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.declaredFieldGenFeature.insert" headerMethod="#_0jyQMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__Fq2dHLYEd-09ds9dfYpFw" initMethod="#_0jyQM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0jyQNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hi9lobBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0jyQMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0jyQM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__Fq2dHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method.__Fq2dHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0jyQNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0jyQQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQQmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hi9lqLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hi9lqbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hi9lqrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hi9lq7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hi9lrLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hi9lrbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hi9lrrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hi9lr7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hi9lsLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hi9lsbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hi9lsrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hi9ls7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hi9ltLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hi9ltbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hi9lp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hi9lt7BcEeSqLfQ0kalDug"
+ called="#_0jyQQmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0kFyMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.reflectiveDelegation.override" headerMethod="#_0kFyMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__IDcFHLYEd-09ds9dfYpFw" initMethod="#_0kFyM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0kFyNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HjQgkbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0kFyMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0kFyM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__IDcFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method.__IDcFHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0kFyNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0kFyQWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyQWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HjQgmLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HjQgmbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HjQgmrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HjQgm7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjQgnLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjQgnbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjQgnrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjQgn7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjQgoLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HjQgobBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjQgorBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjQgo7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjQgpLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HjQgl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HjQgprBcEeSqLfQ0kalDug"
+ called="#_0kFyQWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0kO8IGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.insert
"
+ name="Class.genFeature.override" headerMethod="#_0kO8ImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__LCepHLYEd-09ds9dfYpFw" initMethod="#_0kO8I2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0kO8JWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HkAHibBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0kO8ImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8ImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0kO8I2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8I2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__LCepHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method.__LCepHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0kO8JWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8JWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0kO8MmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8MmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HkAHkLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HkAHkbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HkAHkrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HkAHk7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HkAHlLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkAHlbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkAHlrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkAHl7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkAHmLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkAHmbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HkAHmrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkAHm7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkAHnLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkAHnbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HkAHj7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HkAHn7BcEeSqLfQ0kalDug"
+ called="#_0kO8MmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0kh3EGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.TODO.override
"
+ name="Class.getGenFeature.override" headerMethod="#_0kh3EmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__MrdZHLYEd-09ds9dfYpFw" initMethod="#_0kh3E2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0kh3FWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HkJ4cbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0kh3EmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3EmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0kh3E2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3E2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__MrdZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method.__MrdZHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0kh3FWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3FWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0kh3ImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3ImJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HkJ4eLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HkJ4ebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HkJ4erBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HkJ4e7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HkJ4fLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkJ4fbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkJ4frBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkJ4f7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkJ4gLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkJ4gbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HkJ4grBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkJ4g7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkJ4hLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkJ4hbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HkJ4d7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HkJ4h7BcEeSqLfQ0kalDug"
+ called="#_0kh3ImJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0kroEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.insert
"
+ name="Class.getGenFeature.javadoc.override" headerMethod="#_0kroEmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__Nt_NHLYEd-09ds9dfYpFw" initMethod="#_0kroE2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0kroFWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HkTCYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0kroEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroEmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0kroE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__Nt_NHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method.__Nt_NHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0kroFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroFWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0kroImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroImJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HkTCaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HkTCabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HkTCarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HkTCa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HkTCbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkTCbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkTCbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkTCb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkTCcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkTCcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HkTCcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkTCc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkTCdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkTCdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HkTCZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HkTCd7BcEeSqLfQ0kalDug"
+ called="#_0kroImJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0lIUAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.getGenFeature.javadoc.insert" headerMethod="#_0lIUAmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__O6SBHLYEd-09ds9dfYpFw" initMethod="#_0lIUA2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0lIUBWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HkvuUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0lIUAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUAmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lIUA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUA2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__O6SBHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method.__O6SBHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0lIUBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUBWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lIUEmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUEmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HkvuWLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HkvuWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HkvuWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HkvuW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HkvuXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkvuXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkvuXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkvuX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkvuYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkvuYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HkvuYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkvuY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkvuZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkvuZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HkvuV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HkvuZ7BcEeSqLfQ0kalDug"
+ called="#_0lIUEmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0lIUFGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.getGenFeature.annotations.insert" headerMethod="#_0lIUFmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__P9a5HLYEd-09ds9dfYpFw" initMethod="#_0lIUF2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0lIUGWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HjaRkbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0lIUFmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUFmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lIUF2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUF2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__P9a5HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method.__P9a5HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0lIUGWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUGWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lSFCmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lSFCmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HjaRmLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HjaRmbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HjaRmrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HjaRm7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HjaRnLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjaRnbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjaRnrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjaRn7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjaRoLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjaRobBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HjaRorBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjaRo7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjaRpLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjaRpbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HjaRl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HjaRp7BcEeSqLfQ0kalDug"
+ called="#_0lSFCmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0lSFDGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.getGenFeature.pre.insert" headerMethod="#_0lSFDmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__RvjlHLYEd-09ds9dfYpFw" initMethod="#_0lbO8GJ-Ed-FqczH3ESmRw"
+ footerMethod="#_0lbO8mJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HjtMgbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0lSFDmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lSFDmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lbO8GJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8GJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__RvjlHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method.__RvjlHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0lbO8mJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lbO_2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO_2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HjtMiLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HjtMibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HjtMirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HjtMi7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HjtMjLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjtMjbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjtMjrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjtMj7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjtMkLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjtMkbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HjtMkrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjtMk7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjtMlLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjtMlbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HjtMh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HjtMl7BcEeSqLfQ0kalDug"
+ called="#_0lbO_2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0lbPAWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.getGenFeature.TODO.override" headerMethod="#_0lbPA2J-Ed-FqczH3ESmRw"
+ conditionMethod="#__TiTVHLYEd-09ds9dfYpFw" initMethod="#_0lbPBGJ-Ed-FqczH3ESmRw"
+ footerMethod="#_0lbPBmJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HkvuabBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0lbPA2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPA2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lbPBGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__TiTVHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method.__TiTVHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0lbPBmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lbPE2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPE2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HkvucLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HkvucbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HkvucrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hkvuc7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HkvudLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkvudbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkvudrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hkvud7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkvueLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkvuebBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HkvuerBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hkvue7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkvufLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkvufbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hkvub7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hkvuf7BcEeSqLfQ0kalDug"
+ called="#_0lbPE2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0lk_8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.TODO.override
"
+ name="Class.basicGetGenFeature.override" headerMethod="#_0lk_8mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__VBhFHLYEd-09ds9dfYpFw" initMethod="#_0lk_82J-Ed-FqczH3ESmRw"
+ footerMethod="#_0lk_9WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hk5fUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0lk_8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0lk_82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_82J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__VBhFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method.__VBhFHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0lk_9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_9WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0llAAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0llAAmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hk5fWLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hk5fWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hk5fWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hk5fW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hk5fXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hk5fXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hk5fXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hk5fX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hk5fYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hk5fYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hk5fYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hk5fY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hk5fZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hk5fZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hk5fV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hk5fZ7BcEeSqLfQ0kalDug"
+ called="#_0llAAmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0l364GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicGetGenFeature.annotations.insert" headerMethod="#_0l364mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__XjQpHLYEd-09ds9dfYpFw" initMethod="#_0l3642J-Ed-FqczH3ESmRw"
+ footerMethod="#_0l365WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HlCpQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0l364mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l364mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0l3642J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l3642J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__XjQpHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method.__XjQpHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0l365WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l365WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0l368mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l368mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HlCpSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HlCpSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HlCpSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HlCpS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HlCpTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlCpTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlCpTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlCpT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlCpULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlCpUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HlCpUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlCpU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlCpVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlCpVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HlCpR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HlCpV7BcEeSqLfQ0kalDug"
+ called="#_0l368mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0mBr4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicGetGenFeature.pre.insert" headerMethod="#_0mBr4mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__ZDFdHLYEd-09ds9dfYpFw" initMethod="#_0mBr42J-Ed-FqczH3ESmRw"
+ footerMethod="#_0mBr5WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HlMaQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0mBr4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr4mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mBr42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr42J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__ZDFdHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method.__ZDFdHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0mBr5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr5WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mBr8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr8mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HlMaSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HlMaSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HlMaSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HlMaS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HlMaTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlMaTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlMaTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlMaT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlMaULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlMaUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HlMaUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlMaU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlMaVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlMaVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HlMaR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HlMaV7BcEeSqLfQ0kalDug"
+ called="#_0mBr8mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0mK10GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicGetGenFeature.TODO.override" headerMethod="#_0mK10mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__a1OJHLYEd-09ds9dfYpFw" initMethod="#_0mK102J-Ed-FqczH3ESmRw"
+ footerMethod="#_0mK11WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HlWLQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0mK10mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK10mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mK102J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK102J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__a1OJHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method.__a1OJHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0mK11WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK11WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mK14mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK14mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HlWLSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HlWLSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HlWLSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HlWLS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HlWLTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlWLTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlWLTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlWLT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlWLULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlWLUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HlWLUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlWLU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlWLVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlWLVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HlWLR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HlWLV7BcEeSqLfQ0kalDug"
+ called="#_0mK14mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0mUm0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.TODO.override
"
+ name="Class.basicSetGenFeature.override" headerMethod="#_0mUm0mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__d9apHLYEd-09ds9dfYpFw" initMethod="#_0mUm02J-Ed-FqczH3ESmRw"
+ footerMethod="#_0mUm1WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HlfVMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0mUm0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm0mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mUm02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm02J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__d9apHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method.__d9apHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0mUm1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm1WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mUm4mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm4mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HlfVOLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HlfVObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HlfVOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HlfVO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HlfVPLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlfVPbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlfVPrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlfVP7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HlfVQLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlfVQbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HlfVQrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlfVQ7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlfVRLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HlfVRbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HlfVN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HlfVR7BcEeSqLfQ0kalDug"
+ called="#_0mUm4mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0mnhwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicSetGenFeature.annotations.insert" headerMethod="#_0mnhwmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__fJtdHLYEd-09ds9dfYpFw" initMethod="#_0mnhw2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0mnhxWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HjtMmbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0mnhwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhwmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mnhw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhw2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__fJtdHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method.__fJtdHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0mnhxWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhxWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mnh0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnh0mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HjtMoLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HjtMobBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HjtMorBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HjtMo7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HjtMpLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjtMpbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjtMprBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjtMp7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjtMqLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjtMqbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HjtMqrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjtMq7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjtMrLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjtMrbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HjtMn7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HjtMr7BcEeSqLfQ0kalDug"
+ called="#_0mnh0mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0mxSwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicSetGenFeature.pre.insert" headerMethod="#_0mxSwmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__gDFVHLYEd-09ds9dfYpFw" initMethod="#_0mxSw2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0mxSxWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HmFyIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0mxSwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSwmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mxSw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSw2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__gDFVHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method.__gDFVHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0mxSxWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSxWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mxS0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxS0mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HmFyKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HmFyKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HmFyKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HmFyK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HmFyLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmFyLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmFyLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmFyL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmFyMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmFyMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HmFyMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmFyM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmFyNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmFyNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HmFyJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HmFyN7BcEeSqLfQ0kalDug"
+ called="#_0mxS0mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0mxS1GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicSetGenFeature.post.insert" headerMethod="#_0mxS1mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__gysNHLYEd-09ds9dfYpFw" initMethod="#_0mxS12J-Ed-FqczH3ESmRw"
+ footerMethod="#_0m6csWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HmO8EbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0mxS1mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS1mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0mxS12J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS12J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__gysNHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method.__gysNHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0m6csWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6csWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0m6cvmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6cvmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HmO8GLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HmO8GbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HmO8GrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HmO8G7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HmO8HLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmO8HbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmO8HrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmO8H7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmO8ILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmO8IbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HmO8IrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmO8I7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmO8JLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmO8JbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HmO8F7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HmO8J7BcEeSqLfQ0kalDug"
+ called="#_0m6cvmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0m6cwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicSetGenFeature.TODO.override" headerMethod="#_0m6cwmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__hsEFHLYEd-09ds9dfYpFw" initMethod="#_0m6cw2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0m6cxWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HmYtEbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0m6cwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cwmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0m6cw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cw2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__hsEFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method.__hsEFHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0m6cxWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cxWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0m6c0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6c0mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HmYtGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HmYtGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HmYtGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HmYtG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HmYtHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmYtHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmYtHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmYtH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmYtILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmYtIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HmYtIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmYtI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmYtJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmYtJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HmYtF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HmYtJ7BcEeSqLfQ0kalDug"
+ called="#_0m6c0mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0nN-sGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.TODO.override
"
+ name="Class.setGenFeature.override" headerMethod="#_0nN-smJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__jLR1HLYEd-09ds9dfYpFw" initMethod="#_0nN-s2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0nN-tWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HmieEbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0nN-smJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-smJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0nN-s2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-s2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__jLR1HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method.__jLR1HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0nN-tWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-tWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0nN-wmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-wmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HmieGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HmieGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HmieGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HmieG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HmieHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmieHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmieHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmieH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HmieILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmieIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HmieIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmieI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmieJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HmieJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HmieF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HmieJ7BcEeSqLfQ0kalDug"
+ called="#_0nN-wmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0nXIoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.insert
"
+ name="Class.setGenFeature.javadoc.override" headerMethod="#_0nXIomJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__m57RHLYEd-09ds9dfYpFw" initMethod="#_0nXIo2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0nXIpWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hm1ZAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0nXIomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIomJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0nXIo2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIo2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__m57RHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method.__m57RHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0nXIpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIpWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0nXIsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIsmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hm1ZCLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hm1ZCbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hm1ZCrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hm1ZC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hm1ZDLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hm1ZDbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hm1ZDrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hm1ZD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hm1ZELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hm1ZEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hm1ZErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hm1ZE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hm1ZFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hm1ZFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hm1ZB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hm1ZF7BcEeSqLfQ0kalDug"
+ called="#_0nXIsmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0ng5oGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.setGenFeature.javadoc.insert" headerMethod="#_0ng5omJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__oi6BHLYEd-09ds9dfYpFw" initMethod="#_0ng5o2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0ng5pWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hm_KAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0ng5omJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5omJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0ng5o2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5o2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__oi6BHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method.__oi6BHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0ng5pWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5pWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0ng5smJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5smJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hm_KCLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hm_KCbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hm_KCrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hm_KC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hm_KDLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hm_KDbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hm_KDrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hm_KD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hm_KELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hm_KEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hm_KErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hm_KE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hm_KFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hm_KFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hm_KB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hm_KF7BcEeSqLfQ0kalDug"
+ called="#_0ng5smJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0nqqoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.setGenFeature.annotations.insert" headerMethod="#_0nqqomJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__pvM1HLYEd-09ds9dfYpFw" initMethod="#_0nqqo2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0nqqpWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HkAHcbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0nqqomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqomJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0nqqo2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqo2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__pvM1HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method.__pvM1HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0nqqpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqpWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0nqqsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqsmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HkAHeLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HkAHebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HkAHerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HkAHe7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HkAHfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkAHfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkAHfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkAHf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HkAHgLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkAHgbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HkAHgrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkAHg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkAHhLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HkAHhbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HkAHd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HkAHh7BcEeSqLfQ0kalDug"
+ called="#_0nqqsmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0nz0kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.setGenFeature.pre.insert" headerMethod="#_0nz0kmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__rEplHLYEd-09ds9dfYpFw" initMethod="#_0nz0k2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0nz0lWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HnIT8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0nz0kmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0kmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0nz0k2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0k2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__rEplHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method.__rEplHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0nz0lWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0lWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0nz0o2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0o2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HnSE9bBcEeSqLfQ0kalDug" name="setAccessorOperation"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HnSE9rBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HnSE97BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HnSE-LBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HnSE-bBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HnSE-rBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnSE-7BcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnSE_LBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnSE_bBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnSE_rBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnSE_7BcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HnSFALBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnSFAbBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnSFArBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnSFA7BcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HnSE9LBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HnSFBbBcEeSqLfQ0kalDug"
+ called="#_0nz0o2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0qMaMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.setGenFeature.post.insert" headerMethod="#_0qMaMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__sQ8ZHLYEd-09ds9dfYpFw" initMethod="#_0qMaM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0qMaNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HnSFB7BcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0qMaMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qMaM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__sQ8ZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method.__sQ8ZHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0qMaNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qMaQ2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaQ2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HnSFDrBcEeSqLfQ0kalDug" name="setAccessorOperation"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HnSFD7BcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HnSFELBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HnSFEbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HnSFErBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HnSFE7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnSFFLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnSFFbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnSFFrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnSFF7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnSFGLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HnSFGbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnSFGrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnSFG7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnSFHLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HnSFDbBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HnSFHrBcEeSqLfQ0kalDug"
+ called="#_0qMaQ2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0qMaRWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.setGenFeature.TODO.override" headerMethod="#_0qMaR2J-Ed-FqczH3ESmRw"
+ conditionMethod="#__tAjRHLYEd-09ds9dfYpFw" initMethod="#_0qMaSGJ-Ed-FqczH3ESmRw"
+ footerMethod="#_0qWLMWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HnbO4bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0qMaR2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaR2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qMaSGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaSGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__tAjRHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method.__tAjRHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0qWLMWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLMWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qWLP2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLP2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HnbO6LBcEeSqLfQ0kalDug" name="setAccessorOperation"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HnbO6bBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HnbO6rBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HnbO67BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HnbO7LBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HnbO7bBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnbO7rBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnbO77BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnbO8LBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HnbO8bBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnbO8rBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HnbO87BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnbO9LBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnbO9bBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HnbO9rBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HnbO57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HnbO-LBcEeSqLfQ0kalDug"
+ called="#_0qWLP2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0qfVIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.TODO.override
"
+ name="Class.basicUnsetGenFeature.override" headerMethod="#_0qfVImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__v101HLYEd-09ds9dfYpFw" initMethod="#_0qfVI2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0qfVJWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HoBr0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0qfVImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qfVI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__v101HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method.__v101HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0qfVJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVJWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qfVMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVMmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HoBr2LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HoBr2bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HoBr2rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HoBr27BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HoBr3LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoBr3bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoBr3rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoBr37BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoBr4LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoBr4bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HoBr4rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoBr47BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoBr5LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoBr5bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HoBr17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HoBr57BcEeSqLfQ0kalDug"
+ called="#_0qfVMmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0qpGIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicUnsetGenFeature.annotations.insert" headerMethod="#_0qpGImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__xezlHLYEd-09ds9dfYpFw" initMethod="#_0qpGI2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0qpGJWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HoLc0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0qpGImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qpGI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__xezlHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method.__xezlHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0qpGJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGJWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qpGMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGMmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HoLc2LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HoLc2bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HoLc2rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HoLc27BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HoLc3LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoLc3bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoLc3rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoLc37BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoLc4LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoLc4bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HoLc4rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoLc47BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoLc5LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoLc5bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HoLc17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HoLc57BcEeSqLfQ0kalDug"
+ called="#_0qpGMmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0qy3IGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.basicUnsetGenFeature.TODO.override" headerMethod="#_0qy3ImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__yrGZHLYEd-09ds9dfYpFw" initMethod="#_0qy3I2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0qy3JWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HoUmwbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0qy3ImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3ImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qy3I2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3I2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__yrGZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method.__yrGZHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0qy3JWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3JWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0qy3MmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3MmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HoUmyLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HoUmybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HoUmyrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HoUmy7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HoUmzLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoUmzbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoUmzrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoUmz7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoUm0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoUm0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HoUm0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoUm07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoUm1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoUm1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HoUmx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HoUm17BcEeSqLfQ0kalDug"
+ called="#_0qy3MmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0q8BEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.TODO.override
"
+ name="Class.unsetGenFeature.override" headerMethod="#_0q8BEmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__0BKNHLYEd-09ds9dfYpFw" initMethod="#_0q8BE2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0q8BFWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HoeXwbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0q8BEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BEmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0q8BE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__0BKNHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method.__0BKNHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0q8BFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BFWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0q8BImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BImJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HoeXyLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HoeXybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HoeXyrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HoeXy7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HoeXzLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoeXzbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoeXzrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoeXz7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoeX0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoeX0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HoeX0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoeX07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoeX1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoeX1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HoeXx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HoeX17BcEeSqLfQ0kalDug"
+ called="#_0q8BImJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0rPjEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.insert
"
+ name="Class.unsetGenFeature.javadoc.override" headerMethod="#_0rPjEmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__1gX9HLYEd-09ds9dfYpFw" initMethod="#_0rPjE2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0rPjFWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HoeX2bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0rPjEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjEmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0rPjE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__1gX9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method.__1gX9HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0rPjFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjFWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0rPjImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjImJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HoeX4LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HoeX4bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HoeX4rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HoeX47BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HoeX5LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoeX5bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoeX5rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoeX57BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoeX6LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoeX6bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HoeX6rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoeX67BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoeX7LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoeX7bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HoeX37BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HoeX77BcEeSqLfQ0kalDug"
+ called="#_0rPjImJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0rieAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.unsetGenFeature.javadoc.insert" headerMethod="#_0rieAmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__349lHLYEd-09ds9dfYpFw" initMethod="#_0rieA2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0rieBWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HonhsbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0rieAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieAmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0rieA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieA2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__349lHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method.__349lHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0rieBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieBWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0rieEmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieEmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HonhuLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HonhubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HonhurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Honhu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HonhvLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HonhvbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HonhvrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Honhv7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HonhwLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HonhwbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HonhwrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Honhw7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HonhxLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HonhxbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Honht7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Honhx7BcEeSqLfQ0kalDug"
+ called="#_0rieEmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0rrn8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.unsetGenFeature.annotations.insert" headerMethod="#_0rrn8mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__5rtVHLYEd-09ds9dfYpFw" initMethod="#_0rrn82J-Ed-FqczH3ESmRw"
+ footerMethod="#_0rrn9WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HoxSsbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0rrn8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0rrn82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn82J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__5rtVHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method.__5rtVHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0rrn9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn9WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0rroAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rroAmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HoxSuLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HoxSubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HoxSurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HoxSu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HoxSvLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoxSvbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoxSvrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoxSv7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HoxSwLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoxSwbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HoxSwrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoxSw7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoxSxLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HoxSxbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HoxSt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HoxSx7BcEeSqLfQ0kalDug"
+ called="#_0rroAmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0r_J8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.unsetGenFeature.TODO.override" headerMethod="#_0r_J8mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__6keJHLYEd-09ds9dfYpFw" initMethod="#_0r_J82J-Ed-FqczH3ESmRw"
+ footerMethod="#_0r_J9WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HpN-obBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0r_J8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0r_J82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J82J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__6keJHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method.__6keJHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0r_J9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J9WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0r_KAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_KAmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HpN-qLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HpN-qbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HpN-qrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HpN-q7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HpN-rLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpN-rbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpN-rrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpN-r7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpN-sLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpN-sbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HpN-srBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpN-s7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpN-tLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpN-tbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HpN-p7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HpN-t7BcEeSqLfQ0kalDug"
+ called="#_0r_KAmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0sIT4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.TODO.override
"
+ name="Class.isSetGenFeature.override" headerMethod="#_0sIT4mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__8ES9HLYEd-09ds9dfYpFw" initMethod="#_0sIT42J-Ed-FqczH3ESmRw"
+ footerMethod="#_0sIT5WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HpN-ubBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0sIT4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT4mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0sIT42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT42J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__8ES9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method.__8ES9HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0sIT5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT5WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0sIT8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT8mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HpN-wLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HpN-wbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HpN-wrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HpN-w7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HpN-xLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpN-xbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpN-xrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpN-x7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpN-yLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpN-ybBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HpN-yrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpN-y7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpN-zLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpXvoLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HpN-v7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HpXvorBcEeSqLfQ0kalDug"
+ called="#_0sIT8mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0sSE4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.insert
"
+ name="Class.isSetGenFeature.javadoc.override" headerMethod="#_0sSE4mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__9sqpHLYEd-09ds9dfYpFw" initMethod="#_0sSE42J-Ed-FqczH3ESmRw"
+ footerMethod="#_0sSE5WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HpXvpLBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0sSE4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE4mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0sSE42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE42J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__9sqpHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method.__9sqpHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0sSE5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE5WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0sSE8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE8mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HpXvq7BcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HpXvrLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HpXvrbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HpXvrrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HpXvr7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpXvsLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpXvsbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpXvsrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpXvs7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpXvtLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HpXvtbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpXvtrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpXvt7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpXvuLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HpXvqrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HpXvurBcEeSqLfQ0kalDug"
+ called="#_0sSE8mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0sb14GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.isSetGenFeature.javadoc.insert" headerMethod="#_0sb14mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#__-mChHLYEd-09ds9dfYpFw" initMethod="#_0sb142J-Ed-FqczH3ESmRw"
+ footerMethod="#_0sb15WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hpg5kbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0sb14mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb14mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0sb142J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb142J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="__-mChHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method.__-mChHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0sb15WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb15WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0sb18mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb18mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hpg5mLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hpg5mbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hpg5mrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hpg5m7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hpg5nLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpg5nbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpg5nrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpg5n7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpg5oLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpg5obBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hpg5orBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpg5o7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpg5pLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpg5pbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hpg5l7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hpg5p7BcEeSqLfQ0kalDug"
+ called="#_0sb18mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0sk_0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.isSetGenFeature.annotations.insert" headerMethod="#_0sk_0mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#___faZHLYEd-09ds9dfYpFw" initMethod="#_0sk_02J-Ed-FqczH3ESmRw"
+ footerMethod="#_0sk_1WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HpqqkbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0sk_0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_0mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0sk_02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_02J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="___faZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method.___faZHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0sk_1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_1WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0sk_4mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_4mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HpqqmLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HpqqmbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HpqqmrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hpqqm7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HpqqnLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpqqnbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpqqnrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpqqn7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HpqqoLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpqqobBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HpqqorBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpqqo7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpqqpLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HpqqpbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hpqql7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hpqqp7BcEeSqLfQ0kalDug"
+ called="#_0sk_4mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0suw0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.isSetGenFeature.TODO.override" headerMethod="#_0suw0mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AAYyRHLZEd-09ds9dfYpFw" initMethod="#_0suw02J-Ed-FqczH3ESmRw"
+ footerMethod="#_0suw1WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hpz0gbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0suw0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw0mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0suw02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw02J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AAYyRHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._AAYyRHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0suw1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw1WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0suw4mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw4mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hpz0iLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hpz0ibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hpz0irBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hpz0i7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hpz0jLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpz0jbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpz0jrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpz0j7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hpz0kLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpz0kbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hpz0krBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpz0k7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpz0lLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hpz0lbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hpz0h7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hpz0l7BcEeSqLfQ0kalDug"
+ called="#_0suw4mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0s36wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.genFeature.insert" headerMethod="#_0s36wmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_ADOD1HLZEd-09ds9dfYpFw" initMethod="#_0s36w2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0s36xWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hp9lgbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0s36wmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36wmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0s36w2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36w2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_ADOD1HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._ADOD1HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0s36xWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36xWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0s360mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s360mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hp9liLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hp9libBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hp9lirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hp9li7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hp9ljLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hp9ljbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hp9ljrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hp9lj7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hp9lkLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hp9lkbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hp9lkrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hp9lk7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hp9llLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hp9llbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hp9lh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hp9ll7BcEeSqLfQ0kalDug"
+ called="#_0s360mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0tBrwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.insert
"
+ name="Class.genOperation.override" headerMethod="#_0tLcwGJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AD9qtHLZEd-09ds9dfYpFw" initMethod="#_0tLcwWJ-Ed-FqczH3ESmRw"
+ footerMethod="#_0tLcw2J-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HqHWgbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0tLcwGJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0tLcwWJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AD9qtHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._AD9qtHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0tLcw2J-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcw2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0tLc0GJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLc0GJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HqHWiLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HqHWibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HqHWirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HqHWi7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HqHWjLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqHWjbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqHWjrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqHWj7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqHWkLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqHWkbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HqHWkrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqHWk7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqHWlLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqHWlbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HqHWh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HqHWl7BcEeSqLfQ0kalDug"
+ called="#_0tLc0GJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0tUmsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.insert
"
+ name="Class.genOperation.javadoc.override" headerMethod="#_0tUmsmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AFJ9hHLZEd-09ds9dfYpFw" initMethod="#_0tUms2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0tUmtWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HqHWmbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0tUmsmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmsmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0tUms2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUms2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AFJ9hHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._AFJ9hHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0tUmtWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmtWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0tUmwmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmwmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HqHWoLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HqHWobBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HqHWorBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HqHWo7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HqHWpLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqHWpbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqHWprBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqHWp7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqHWqLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqHWqbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HqHWqrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqHWq7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqHWrLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqHWrbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HqHWn7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HqHWr7BcEeSqLfQ0kalDug"
+ called="#_0tUmwmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0toIsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.genOperation.javadoc.insert" headerMethod="#_0toIsmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AG8GNHLZEd-09ds9dfYpFw" initMethod="#_0toIs2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0toItWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HqQgcbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0toIsmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIsmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0toIs2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIs2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AG8GNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._AG8GNHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0toItWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toItWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0toIwmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIwmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HqQgeLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HqQgebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HqQgerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HqQge7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HqQgfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqQgfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqQgfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqQgf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqQggLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqQggbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HqQggrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqQgg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqQghLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqQghbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HqQgd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HqQgh7BcEeSqLfQ0kalDug"
+ called="#_0toIwmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0txSoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.genOperation.annotations.insert" headerMethod="#_0txSomJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AIbT9HLZEd-09ds9dfYpFw" initMethod="#_0txSo2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0txSpWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HqaRcbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0txSomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSomJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0txSo2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSo2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AIbT9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._AIbT9HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0txSpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSpWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0txSsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSsmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HqaReLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HqaRebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HqaRerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HqaRe7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HqaRfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqaRfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqaRfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqaRf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqaRgLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqaRgbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HqaRgrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqaRg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqaRhLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqaRhbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HqaRd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HqaRh7BcEeSqLfQ0kalDug"
+ called="#_0txSsmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0t7DoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.implementedGenOperation.TODO.override" headerMethod="#_0t7DomJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AKODtHLZEd-09ds9dfYpFw" initMethod="#_0t7Do2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0t7DpWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HqkCcbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0t7DomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DomJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0t7Do2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7Do2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AKODtHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._AKODtHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0t7DpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DpWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0t7DsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DsmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HqkCeLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HqkCebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HqkCerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HqkCe7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HqkCfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqkCfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqkCfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqkCf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqkCgLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqkCgbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HqkCgrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqkCg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqkChLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqkChbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HqkCd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HqkCh7BcEeSqLfQ0kalDug"
+ called="#_0t7DsmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0uENkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.genOperation.insert" headerMethod="#_0uENkmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_ALaWhHLZEd-09ds9dfYpFw" initMethod="#_0uENk2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0uENlWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HqtMYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0uENkmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENkmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0uENk2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENk2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_ALaWhHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._ALaWhHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0uENlWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENlWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0uENomJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENomJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HqtMaLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HqtMabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HqtMarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HqtMa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HqtMbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqtMbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqtMbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqtMb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HqtMcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqtMcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HqtMcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqtMc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqtMdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HqtMdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HqtMZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HqtMd7BcEeSqLfQ0kalDug"
+ called="#_0uENomJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0uN-kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.eUnset.override" headerMethod="#_0uN-kmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AMmpVHLZEd-09ds9dfYpFw" initMethod="#_0uN-k2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0uN-lWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hq29YbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0uN-kmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-kmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0uN-k2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-k2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AMmpVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._AMmpVHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0uN-lWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-lWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0uN-oWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-oWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hq29aLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hq29abBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hq29arBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hq29a7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hq29bLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hq29bbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hq29brBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hq29b7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hq29cLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hq29cbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hq29crBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hq29c7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hq29dLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hq29Z7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hq29drBcEeSqLfQ0kalDug"
+ called="#_0uN-oWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0uXvkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.eIsSet.override" headerMethod="#_0uXvkmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AN8tJHLZEd-09ds9dfYpFw" initMethod="#_0uXvk2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0uXvlWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HrJ4UbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0uXvkmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvkmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0uXvk2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvk2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AN8tJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._AN8tJHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0uXvlWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvlWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0uXvoWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvoWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HrJ4WLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HrJ4WbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HrJ4WrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HrJ4W7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrJ4XLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrJ4XbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrJ4XrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrJ4X7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrJ4YLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HrJ4YbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrJ4YrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrJ4Y7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrJ4ZLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HrJ4V7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HrJ4ZrBcEeSqLfQ0kalDug"
+ called="#_0uXvoWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0ug5gGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.insert" headerMethod="#_0ug5gmJ-Ed-FqczH3ESmRw" conditionMethod="#_AO_O9HLZEd-09ds9dfYpFw"
+ initMethod="#_0ug5g2J-Ed-FqczH3ESmRw" footerMethod="#_0ug5hWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HrTpUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0ug5gmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5gmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0ug5g2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5g2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AO_O9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._AO_O9HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0ug5hWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5hWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0ug5kWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5kWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HrTpWLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HrTpWbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HrTpWrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HrTpW7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrTpXLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrTpXbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrTpXrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrTpX7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrTpYLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HrTpYbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrTpYrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrTpY7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrTpZLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HrTpV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HrTpZrBcEeSqLfQ0kalDug"
+ called="#_0ug5kWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_JLBM0HroEeC0XN9kbwkPYQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.egfCustom.constructor.override" headerMethod="#_JLBM0nroEeC0XN9kbwkPYQ"
+ conditionMethod="#_JLBM1HroEeC0XN9kbwkPYQ" initMethod="#_JLBM03roEeC0XN9kbwkPYQ"
+ footerMethod="#_JLBM1nroEeC0XN9kbwkPYQ">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HjGvkbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_JLBM0nroEeC0XN9kbwkPYQ" name="header" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM0nroEeC0XN9kbwkPYQ.pt"/>
+ <methods xmi:id="_JLBM03roEeC0XN9kbwkPYQ" name="init" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM03roEeC0XN9kbwkPYQ.pt"/>
+ <methods xmi:id="_JLBM1HroEeC0XN9kbwkPYQ" name="preCondition" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1HroEeC0XN9kbwkPYQ.pt"/>
+ <methods xmi:id="_JLBM1nroEeC0XN9kbwkPYQ" name="footer" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1nroEeC0XN9kbwkPYQ.pt"/>
+ <methods xmi:id="_JLBM4XroEeC0XN9kbwkPYQ" name="doGenerate" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM4XroEeC0XN9kbwkPYQ.pt"/>
+ <parameters xmi:id="_HjGvmLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HjGvmbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HjGvmrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HjGvm7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjGvnLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjGvnbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjGvnrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjGvn7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjGvoLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HjGvobBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjGvorBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjGvo7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjGvpLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HjGvl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HjGvprBcEeSqLfQ0kalDug"
+ called="#_JLBM4XroEeC0XN9kbwkPYQ"/>
+ </elements>
+ <elements xmi:id="_C2iO4eXDEeCxnsoQRwU99Q" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Class.interface.javadoc.override" headerMethod="#_C2iO4-XDEeCxnsoQRwU99Q"
+ conditionMethod="#_C2iO5eXDEeCxnsoQRwU99Q" initMethod="#_C2iO5OXDEeCxnsoQRwU99Q"
+ footerMethod="#_C2iO5-XDEeCxnsoQRwU99Q">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HiqDorBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_C2iO4-XDEeCxnsoQRwU99Q" name="header" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO4-XDEeCxnsoQRwU99Q.pt"/>
+ <methods xmi:id="_C2iO5OXDEeCxnsoQRwU99Q" name="init" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5OXDEeCxnsoQRwU99Q.pt"/>
+ <methods xmi:id="_C2iO5eXDEeCxnsoQRwU99Q" name="preCondition" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5eXDEeCxnsoQRwU99Q.pt"/>
+ <methods xmi:id="_C2iO5-XDEeCxnsoQRwU99Q" name="footer" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5-XDEeCxnsoQRwU99Q.pt"/>
+ <methods xmi:id="_C2iO9uXDEeCxnsoQRwU99Q" name="doGenerate" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt"/>
+ <parameters xmi:id="_HiqDqbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HiqDqrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HiqDq7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HiqDrLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HiqDrbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HiqDrrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HiqDr7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HiqDsLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HiqDsbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HiqDsrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HiqDs7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HiqDtLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HiqDtbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HiqDqLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HiqDt7BcEeSqLfQ0kalDug"
+ called="#_C2iO9uXDEeCxnsoQRwU99Q"/>
+ </elements>
+ <elements xmi:id="_odzp0LM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert
"
+ name="Class.genFeatureReified.override" headerMethod="#_odzp0rM-EeKd56X4hcZPSw"
+ conditionMethod="#_odzp1LM-EeKd56X4hcZPSw" initMethod="#_odzp07M-EeKd56X4hcZPSw"
+ footerMethod="#_odzp1rM-EeKd56X4hcZPSw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HjQgqLBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_odzp0rM-EeKd56X4hcZPSw" name="header" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp0rM-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_odzp07M-EeKd56X4hcZPSw" name="init" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp07M-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_odzp1LM-EeKd56X4hcZPSw" name="preCondition" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1LM-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_odzp1rM-EeKd56X4hcZPSw" name="footer" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1rM-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_odzp6LM-EeKd56X4hcZPSw" name="doGenerate" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp6LM-EeKd56X4hcZPSw.pt"/>
+ <parameters xmi:id="_HjQgr7BcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HjQgsLBcEeSqLfQ0kalDug" name="classExtendsGenClass"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HjQgsbBcEeSqLfQ0kalDug" name="classExtendsAllGenFeatures"
+ type="java.util.List"/>
+ <parameters xmi:id="_HjQgsrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HjQgs7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HjQgtLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HjQgtbBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjQgtrBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjQgt7BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjQguLBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HjQgubBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjQgurBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HjQgu7BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjQgvLBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjQgvbBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HjQgvrBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HjQgrrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HjQgwLBcEeSqLfQ0kalDug"
+ called="#_odzp6LM-EeKd56X4hcZPSw"/>
+ </elements>
+ </libraries>
+ <libraries xmi:id="_0u0bgGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.model.call.Interface">
+ <elements xmi:id="_0u0bgWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.insert
"
+ name="Interface.declaredFieldGenFeature.override" headerMethod="#_0u0bg2J-Ed-FqczH3ESmRw"
+ conditionMethod="#_AQBwxXLZEd-09ds9dfYpFw" initMethod="#_0u0bhGJ-Ed-FqczH3ESmRw"
+ footerMethod="#_0u0bhmJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HrmkQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0u0bg2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bg2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0u0bhGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AQBwxXLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._AQBwxXLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0u0bhmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0u0bk2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bk2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HrmkSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HrmkSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HrmkSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HrmkS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HrmkTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrmkTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrmkTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrmkT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrmkULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrmkUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HrmkUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrmkU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrmkVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrmkVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HrmkR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HrmkV7BcEeSqLfQ0kalDug"
+ called="#_0u0bk2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0vHWcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.declaredFieldGenFeature.insert" headerMethod="#_0vHWcmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_ARX0lHLZEd-09ds9dfYpFw" initMethod="#_0vHWc2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0vHWdWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HrwVQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0vHWcmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWcmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vHWc2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWc2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_ARX0lHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._ARX0lHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0vHWdWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWdWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vHWgmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWgmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HrwVSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HrwVSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HrwVSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HrwVS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HrwVTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrwVTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrwVTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrwVT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrwVULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrwVUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HrwVUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrwVU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrwVVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrwVVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HrwVR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HrwVV7BcEeSqLfQ0kalDug"
+ called="#_0vHWgmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0vQgYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.reflectiveDelegation.override" headerMethod="#_0vQgYmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_ASkHZHLZEd-09ds9dfYpFw" initMethod="#_0vQgY2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0vQgZWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HsDQMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0vQgYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgYmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vQgY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgY2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_ASkHZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._ASkHZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0vQgZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgZWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vQgcWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgcWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HsDQOLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HsDQObBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HsDQOrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HsDQO7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsDQPLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsDQPbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsDQPrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsDQP7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsDQQLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HsDQQbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsDQQrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsDQQ7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsDQRLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HsDQN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HsDQRrBcEeSqLfQ0kalDug"
+ called="#_0vQgcWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0vaRYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.insert
"
+ name="Interface.genFeature.override" headerMethod="#_0vaRYmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AUpyFHLZEd-09ds9dfYpFw" initMethod="#_0vaRY2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0vaRZWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hs8oEbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0vaRYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRYmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vaRY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRY2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AUpyFHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._AUpyFHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0vaRZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRZWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vaRcmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRcmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hs8oGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hs8oGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hs8oGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hs8oG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hs8oHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hs8oHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hs8oHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hs8oH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hs8oILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hs8oIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hs8oIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hs8oI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hs8oJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hs8oJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hs8oF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hs8oJ7BcEeSqLfQ0kalDug"
+ called="#_0vaRcmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0vkCYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.TODO.override
"
+ name="Interface.getGenFeature.override" headerMethod="#_0vkCYmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AWlrxHLZEd-09ds9dfYpFw" initMethod="#_0vkCY2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0vkCZWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HtFyAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0vkCYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCYmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vkCY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCY2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AWlrxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._AWlrxHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0vkCZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCZWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vkCcmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCcmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HtFyCLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HtFyCbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HtFyCrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HtFyC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HtFyDLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtFyDbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtFyDrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtFyD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtFyELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtFyEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HtFyErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtFyE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtFyFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtFyFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HtFyB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HtFyF7BcEeSqLfQ0kalDug"
+ called="#_0vkCcmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0vtMUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.insert
"
+ name="Interface.getGenFeature.javadoc.override" headerMethod="#_0vtMUmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AXx-lHLZEd-09ds9dfYpFw" initMethod="#_0vtMU2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0vtMVWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HtYs8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0vtMUmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMUmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vtMU2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMU2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AXx-lHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._AXx-lHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0vtMVWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMVWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0vtMYmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMYmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HtYs-LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HtYs-bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HtYs-rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HtYs-7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HtYs_LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtYs_bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtYs_rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtYs_7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtYtALBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtYtAbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HtYtArBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtYtA7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtYtBLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtYtBbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HtYs97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HtYtB7BcEeSqLfQ0kalDug"
+ called="#_0vtMYmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0wJ4QGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.getGenFeature.javadoc.insert" headerMethod="#_0wJ4QmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AZkHRHLZEd-09ds9dfYpFw" initMethod="#_0wJ4Q2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0wJ4RWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Htid8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0wJ4QmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4QmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wJ4Q2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4Q2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AZkHRHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._AZkHRHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0wJ4RWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4RWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wJ4UmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4UmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Htid-LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Htid-bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Htid-rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Htid-7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Htid_LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Htid_bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Htid_rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Htid_7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtieALBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtieAbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HtieArBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtieA7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtieBLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtieBbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Htid97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HtieB7BcEeSqLfQ0kalDug"
+ called="#_0wJ4UmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0wTpQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.getGenFeature.annotations.insert" headerMethod="#_0wTpQmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AawaFHLZEd-09ds9dfYpFw" initMethod="#_0wTpQ2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0wTpRWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HsWLIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0wTpQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wTpQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQ2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AawaFHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._AawaFHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0wTpRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpRWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wTpUmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpUmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HsWLKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HsWLKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HsWLKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HsWLK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HsWLLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsWLLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsWLLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsWLL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsWLMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsWLMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HsWLMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsWLM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsWLNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsWLNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HsWLJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HsWLN7BcEeSqLfQ0kalDug"
+ called="#_0wTpUmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0wczMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.getGenFeature.pre.insert" headerMethod="#_0wczMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Ab8s5HLZEd-09ds9dfYpFw" initMethod="#_0wczM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0wczNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hsf8IbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0wczMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wczM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Ab8s5HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._Ab8s5HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0wczNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wczQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczQmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hsf8KLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hsf8KbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hsf8KrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hsf8K7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hsf8LLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hsf8LbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hsf8LrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hsf8L7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hsf8MLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hsf8MbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hsf8MrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hsf8M7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hsf8NLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hsf8NbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hsf8J7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hsf8N7BcEeSqLfQ0kalDug"
+ called="#_0wczQmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0wmkMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.getGenFeature.TODO.override" headerMethod="#_0wmkMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AdvcpHLZEd-09ds9dfYpFw" initMethod="#_0wmkM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0wmkNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HtsO8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0wmkMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wmkM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AdvcpHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._AdvcpHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0wmkNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wmkQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkQmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HtsO-LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HtsO-bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HtsO-rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HtsO-7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HtsO_LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtsO_bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtsO_rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtsO_7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtsPALBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtsPAbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HtsPArBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtsPA7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtsPBLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtsPBbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HtsO97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HtsPB7BcEeSqLfQ0kalDug"
+ called="#_0wmkQmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0wwVMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.TODO.override
"
+ name="Interface.basicGetGenFeature.override" headerMethod="#_0wwVMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AfhlVHLZEd-09ds9dfYpFw" initMethod="#_0wwVM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0wwVNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HtsPCbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0wwVMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wwVM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AfhlVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._AfhlVHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0wwVNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0wwVQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVQmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HtsPELBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HtsPEbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HtsPErBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HtsPE7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HtsPFLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtsPFbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtsPFrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtsPF7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HtsPGLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtsPGbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HtsPGrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtsPG7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtsPHLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HtsPHbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HtsPD7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HtsPH7BcEeSqLfQ0kalDug"
+ called="#_0wwVQmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0w5fIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicGetGenFeature.annotations.insert" headerMethod="#_0w5fImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Ag3pJHLZEd-09ds9dfYpFw" initMethod="#_0w5fI2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0w5fJWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Ht1Y4bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0w5fImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0w5fI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Ag3pJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._Ag3pJHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0w5fJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fJWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0w5fMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fMmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Ht1Y6LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Ht1Y6bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Ht1Y6rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Ht1Y67BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Ht1Y7LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Ht1Y7bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Ht1Y7rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Ht1Y77BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Ht1Y8LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Ht1Y8bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Ht1Y8rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Ht1Y87BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Ht1Y9LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Ht1Y9bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Ht1Y57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Ht1Y97BcEeSqLfQ0kalDug"
+ called="#_0w5fMmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0xDQIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicGetGenFeature.pre.insert" headerMethod="#_0xDQImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Ah6K9HLZEd-09ds9dfYpFw" initMethod="#_0xDQI2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0xDQJWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Ht_J4bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0xDQImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xDQI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Ah6K9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._Ah6K9HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0xDQJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQJWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xDQMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQMmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Ht_J6LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Ht_J6bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Ht_J6rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Ht_J67BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Ht_J7LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Ht_J7bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Ht_J7rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Ht_J77BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Ht_J8LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Ht_J8bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Ht_J8rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Ht_J87BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Ht_J9LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Ht_J9bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Ht_J57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Ht_J97BcEeSqLfQ0kalDug"
+ called="#_0xDQMmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0xNBIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicGetGenFeature.TODO.override" headerMethod="#_0xNBImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Aizi1HLZEd-09ds9dfYpFw" initMethod="#_0xNBI2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0xNBJWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HuSE0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0xNBImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xNBI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Aizi1HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._Aizi1HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0xNBJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBJWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xNBMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBMmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HuSE2LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HuSE2bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HuSE2rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HuSE27BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HuSE3LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HuSE3bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HuSE3rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HuSE37BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HuSE4LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HuSE4bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HuSE4rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HuSE47BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HuSE5LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HuSE5bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HuSE17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HuSE57BcEeSqLfQ0kalDug"
+ called="#_0xNBMmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0xWLEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.TODO.override
"
+ name="Interface.basicSetGenFeature.override" headerMethod="#_0xWLEmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Aj_1pHLZEd-09ds9dfYpFw" initMethod="#_0xWLE2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0xWLFWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hub10bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0xWLEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLEmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xWLE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Aj_1pHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._Aj_1pHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0xWLFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLFWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xWLImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLImJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hub12LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hub12bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hub12rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hub127BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hub13LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hub13bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hub13rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hub137BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hub14LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hub14bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hub14rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hub147BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hub15LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hub15bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hub117BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hub157BcEeSqLfQ0kalDug"
+ called="#_0xWLImJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0xpGAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicSetGenFeature.annotations.insert" headerMethod="#_0xpGAmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AmYbRHLZEd-09ds9dfYpFw" initMethod="#_0xpGA2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0xpGBWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HspGEbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0xpGAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGAmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xpGA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGA2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AmYbRHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._AmYbRHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0xpGBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGBWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xpGEmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGEmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HspGGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HspGGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HspGGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HspGG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HspGHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HspGHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HspGHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HspGH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HspGILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HspGIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HspGIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HspGI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HspGJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HspGJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HspGF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HspGJ7BcEeSqLfQ0kalDug"
+ called="#_0xpGEmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0xy3AGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicSetGenFeature.pre.insert" headerMethod="#_0xy3AmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AsC-ZHLZEd-09ds9dfYpFw" initMethod="#_0xy3A2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0xy3BWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Huk_wbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0xy3AmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3AmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xy3A2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3A2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AsC-ZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._AsC-ZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0xy3BWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3BWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0xy3EmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3EmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Huk_yLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Huk_ybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Huk_yrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Huk_y7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Huk_zLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Huk_zbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Huk_zrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Huk_z7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Huk_0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Huk_0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Huk_0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Huk_07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Huk_1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Huk_1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Huk_x7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Huk_17BcEeSqLfQ0kalDug"
+ called="#_0xy3EmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0x8oAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicSetGenFeature.post.insert" headerMethod="#_0x8oAmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AtPRNHLZEd-09ds9dfYpFw" initMethod="#_0x8oA2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0x8oBWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HuuwwbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0x8oAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oAmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0x8oA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oA2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AtPRNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._AtPRNHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0x8oBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oBWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0x8oEmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oEmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HuuwyLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HuuwybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HuuwyrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Huuwy7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HuuwzLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HuuwzbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HuuwzrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Huuwz7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Huuw0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Huuw0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Huuw0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Huuw07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Huuw1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Huuw1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Huuwx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Huuw17BcEeSqLfQ0kalDug"
+ called="#_0x8oEmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0x8oFGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicSetGenFeature.TODO.override" headerMethod="#_0x8oFmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Aukt9HLZEd-09ds9dfYpFw" initMethod="#_0x8oF2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0x8oGWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hu4hwbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0x8oFmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oFmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0x8oF2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oF2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Aukt9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._Aukt9HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0x8oGWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oGWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0yFx-2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0yFx-2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hu4hyLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hu4hybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hu4hyrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hu4hy7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hu4hzLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hu4hzbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hu4hzrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hu4hz7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hu4h0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hu4h0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hu4h0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hu4h07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hu4h1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hu4h1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hu4hx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hu4h17BcEeSqLfQ0kalDug"
+ called="#_0yFx-2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0yPi8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.TODO.override
"
+ name="Interface.setGenFeature.override" headerMethod="#_0yPi8mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_AvxAxHLZEd-09ds9dfYpFw" initMethod="#_0yPi82J-Ed-FqczH3ESmRw"
+ footerMethod="#_0yPi9WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HvBrsbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0yPi8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0yPi82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi82J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_AvxAxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._AvxAxHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0yPi9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi9WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0yPjAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPjAmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HvBruLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HvBrubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HvBrurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HvBru7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HvBrvLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvBrvbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvBrvrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvBrv7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvBrwLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvBrwbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HvBrwrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvBrw7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvBrxLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvBrxbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HvBrt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HvBrx7BcEeSqLfQ0kalDug"
+ called="#_0yPjAmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0yZT8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.insert
"
+ name="Interface.setGenFeature.javadoc.override" headerMethod="#_0yZT8mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BAT-NHLZEd-09ds9dfYpFw" initMethod="#_0yZT82J-Ed-FqczH3ESmRw"
+ footerMethod="#_0yZT9WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HvLcsbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0yZT8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0yZT82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT82J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BAT-NHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._BAT-NHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0yZT9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT9WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0yZUAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZUAmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HvLcuLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HvLcubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HvLcurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HvLcu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HvLcvLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvLcvbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvLcvrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvLcv7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvLcwLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvLcwbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HvLcwrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvLcw7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvLcxLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvLcxbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HvLct7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HvLcx7BcEeSqLfQ0kalDug"
+ called="#_0yZUAmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0yid4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.setGenFeature.javadoc.insert" headerMethod="#_0yid4mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BGamNHLZEd-09ds9dfYpFw" initMethod="#_0yid42J-Ed-FqczH3ESmRw"
+ footerMethod="#_0yid5WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HvUmobBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0yid4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid4mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0yid42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid42J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BGamNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._BGamNHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0yid5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid5WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0yid8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid8mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HvUmqLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HvUmqbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HvUmqrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HvUmq7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HvUmrLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvUmrbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvUmrrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvUmr7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvUmsLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvUmsbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HvUmsrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvUms7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvUmtLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvUmtbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HvUmp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HvUmt7BcEeSqLfQ0kalDug"
+ called="#_0yid8mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0ysO4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.setGenFeature.annotations.insert" headerMethod="#_0ysO4mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BH6bBHLZEd-09ds9dfYpFw" initMethod="#_0ysO42J-Ed-FqczH3ESmRw"
+ footerMethod="#_0ysO5WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hsy3EbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0ysO4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO4mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0ysO42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO42J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BH6bBHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._BH6bBHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0ysO5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO5WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0ysO8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO8mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hsy3GLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hsy3GbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hsy3GrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hsy3G7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hsy3HLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hsy3HbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hsy3HrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hsy3H7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hsy3ILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hsy3IbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hsy3IrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hsy3I7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hsy3JLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hsy3JbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hsy3F7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hsy3J7BcEeSqLfQ0kalDug"
+ called="#_0ysO8mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0y1Y0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.setGenFeature.pre.insert" headerMethod="#_0y1Y0mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BI881HLZEd-09ds9dfYpFw" initMethod="#_0y1Y02J-Ed-FqczH3ESmRw"
+ footerMethod="#_0y1Y1WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HveXobBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0y1Y0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y0mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0y1Y02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y02J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BI881HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._BI881HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0y1Y1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y1WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0y1Y42J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y42J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HveXqLBcEeSqLfQ0kalDug" name="setAccessorOperation"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HveXqbBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HveXqrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HveXq7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HveXrLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HveXrbBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HveXrrBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HveXr7BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HveXsLBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HveXsbBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HveXsrBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HveXs7BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HveXtLBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HveXtbBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HveXtrBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HveXp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HveXuLBcEeSqLfQ0kalDug"
+ called="#_0y1Y42J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0y_J0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.setGenFeature.post.insert" headerMethod="#_0y_J0mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BKJPpHLZEd-09ds9dfYpFw" initMethod="#_0y_J02J-Ed-FqczH3ESmRw"
+ footerMethod="#_0y_J1WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HvoIobBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0y_J0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J0mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0y_J02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J02J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BKJPpHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._BKJPpHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0y_J1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J1WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0y_J42J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J42J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HvoIqLBcEeSqLfQ0kalDug" name="setAccessorOperation"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HvoIqbBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HvoIqrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HvoIq7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HvoIrLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HvoIrbBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvoIrrBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvoIr7BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvoIsLBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvoIsbBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvoIsrBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HvoIs7BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvoItLBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvoItbBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvoItrBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HvoIp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HvoIuLBcEeSqLfQ0kalDug"
+ called="#_0y_J42J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0y_J5WJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.setGenFeature.TODO.override" headerMethod="#_0y_J52J-Ed-FqczH3ESmRw"
+ conditionMethod="#_BQGttHLZEd-09ds9dfYpFw" initMethod="#_0y_J6GJ-Ed-FqczH3ESmRw"
+ footerMethod="#_0zI60GJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HvoIurBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0y_J52J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J52J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0y_J6GJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J6GJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BQGttHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._BQGttHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0zI60GJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI60GJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0zI63mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI63mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HvoIwbBcEeSqLfQ0kalDug" name="setAccessorOperation"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_HvoIwrBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HvoIw7BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HvoIxLBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HvoIxbBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HvoIxrBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvoIx7BcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvoIyLBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvoIybBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvoIyrBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvoIy7BcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HvoIzLBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvoIzbBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvoIzrBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvoIz7BcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HvoIwLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HvoI0bBcEeSqLfQ0kalDug"
+ called="#_0zI63mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0zSEwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.TODO.override
"
+ name="Interface.basicUnsetGenFeature.override" headerMethod="#_0zSEwmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BR5ddHLZEd-09ds9dfYpFw" initMethod="#_0zSEw2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0zSExWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HvxSkbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0zSEwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEwmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0zSEw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEw2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BR5ddHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._BR5ddHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0zSExWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSExWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0zSE0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSE0mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HvxSmLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HvxSmbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HvxSmrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HvxSm7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HvxSnLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvxSnbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvxSnrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvxSn7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HvxSoLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvxSobBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HvxSorBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvxSo7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvxSpLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HvxSpbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HvxSl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HvxSp7BcEeSqLfQ0kalDug"
+ called="#_0zSE0mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0zb1wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicUnsetGenFeature.annotations.insert" headerMethod="#_0zb1wmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BS7_RHLZEd-09ds9dfYpFw" initMethod="#_0zb1w2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0zb1xWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HwN-gbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0zb1wmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1wmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0zb1w2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1w2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BS7_RHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._BS7_RHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0zb1xWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1xWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0zb10mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb10mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HwN-iLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HwN-ibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HwN-irBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HwN-i7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HwN-jLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwN-jbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwN-jrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwN-j7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwN-kLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwN-kbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HwN-krBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwN-k7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwN-lLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwN-lbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HwN-h7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HwN-l7BcEeSqLfQ0kalDug"
+ called="#_0zb10mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0zlmwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.basicUnsetGenFeature.TODO.override" headerMethod="#_0zlmwmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BUISFHLZEd-09ds9dfYpFw" initMethod="#_0zlmw2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0zlmxWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HwXvgbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0zlmwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmwmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0zlmw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmw2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BUISFHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._BUISFHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0zlmxWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmxWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0zlm0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlm0mJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HwXviLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HwXvibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HwXvirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HwXvi7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HwXvjLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwXvjbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwXvjrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwXvj7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwXvkLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwXvkbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HwXvkrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwXvk7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwXvlLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwXvlbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HwXvh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HwXvl7BcEeSqLfQ0kalDug"
+ called="#_0zlm0mJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0z4hsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.TODO.override
"
+ name="Interface.unsetGenFeature.override" headerMethod="#_0z4hsmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BVnf1HLZEd-09ds9dfYpFw" initMethod="#_0z4hs2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0z4htWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HwqqcbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0z4hsmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hsmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0z4hs2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hs2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BVnf1HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._BVnf1HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0z4htWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4htWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0z4hwmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hwmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HwqqeLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HwqqebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HwqqerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hwqqe7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HwqqfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwqqfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwqqfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hwqqf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HwqqgLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwqqgbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HwqqgrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hwqqg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwqqhLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HwqqhbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hwqqd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hwqqh7BcEeSqLfQ0kalDug"
+ called="#_0z4hwmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_00BroGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.insert
"
+ name="Interface.unsetGenFeature.javadoc.override" headerMethod="#_00BromJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BW9jpHLZEd-09ds9dfYpFw" initMethod="#_00Bro2J-Ed-FqczH3ESmRw"
+ footerMethod="#_00BrpWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hw9lYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_00BromJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BromJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00Bro2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00Bro2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BW9jpHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._BW9jpHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_00BrpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrpWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00BrsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrsmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hw9laLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hw9labBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hw9larBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hw9la7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hw9lbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hw9lbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hw9lbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hw9lb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hw9lcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hw9lcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hw9lcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hw9lc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hw9ldLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hw9ldbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hw9lZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hw9ld7BcEeSqLfQ0kalDug"
+ called="#_00BrsmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_00LcoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.unsetGenFeature.javadoc.insert" headerMethod="#_00LcomJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BX27hHLZEd-09ds9dfYpFw" initMethod="#_00Lco2J-Ed-FqczH3ESmRw"
+ footerMethod="#_00LcpWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HxaRUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_00LcomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcomJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00Lco2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00Lco2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BX27hHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._BX27hHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_00LcpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcpWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00LcsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcsmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HxaRWLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HxaRWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HxaRWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HxaRW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HxaRXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HxaRXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HxaRXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HxaRX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HxaRYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HxaRYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HxaRYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HxaRY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HxaRZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HxaRZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HxaRV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HxaRZ7BcEeSqLfQ0kalDug"
+ called="#_00LcsmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_00VNoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.unsetGenFeature.annotations.insert" headerMethod="#_00VNomJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BY5dVHLZEd-09ds9dfYpFw" initMethod="#_00VNo2J-Ed-FqczH3ESmRw"
+ footerMethod="#_00VNpWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hx29QbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_00VNomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNomJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00VNo2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNo2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BY5dVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._BY5dVHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_00VNpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNpWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00VNsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNsmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_Hx29SLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_Hx29SbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hx29SrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hx29S7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hx29TLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hx29TbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hx29TrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hx29T7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hx29ULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hx29UbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hx29UrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hx29U7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hx29VLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hx29VbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hx29R7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hx29V7BcEeSqLfQ0kalDug"
+ called="#_00VNsmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_00eXkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.unsetGenFeature.TODO.override" headerMethod="#_00eXkmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BZy1NHLZEd-09ds9dfYpFw" initMethod="#_00eXk2J-Ed-FqczH3ESmRw"
+ footerMethod="#_00eXlWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HyTpMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_00eXkmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXkmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00eXk2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXk2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BZy1NHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._BZy1NHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_00eXlWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXlWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00eXomJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXomJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HyTpOLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HyTpObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HyTpOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HyTpO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HyTpPLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HyTpPbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HyTpPrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HyTpP7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HyTpQLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HyTpQbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HyTpQrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HyTpQ7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HyTpRLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HyTpRbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HyTpN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HyTpR7BcEeSqLfQ0kalDug"
+ called="#_00eXomJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_00oIkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.TODO.override
"
+ name="Interface.isSetGenFeature.override" headerMethod="#_00oIkmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BaPhJHLZEd-09ds9dfYpFw" initMethod="#_00oIk2J-Ed-FqczH3ESmRw"
+ footerMethod="#_00oIlWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HywVIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_00oIkmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIkmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00oIk2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIk2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BaPhJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._BaPhJHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_00oIlWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIlWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00oIomJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIomJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_HywVKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HywVKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HywVKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HywVK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HywVLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HywVLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HywVLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HywVL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HywVMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HywVMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HywVMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HywVM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HywVNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HywVNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HywVJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HywVN7BcEeSqLfQ0kalDug"
+ called="#_00oIomJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_00x5kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.insert
"
+ name="Interface.isSetGenFeature.javadoc.override" headerMethod="#_00x5kmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BbSC9HLZEd-09ds9dfYpFw" initMethod="#_00x5k2J-Ed-FqczH3ESmRw"
+ footerMethod="#_00x5lWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H9MDgbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_00x5kmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5kmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00x5k2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5k2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BbSC9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._BbSC9HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_00x5lWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5lWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_00x5omJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5omJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H9MDiLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_H9MDibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H9MDirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H9MDi7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H9MDjLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9MDjbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9MDjrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9MDj7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9MDkLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9MDkbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H9MDkrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9MDk7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9MDlLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9MDlbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H9MDh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H9MDl7BcEeSqLfQ0kalDug"
+ called="#_00x5omJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_01N-cGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.isSetGenFeature.javadoc.insert" headerMethod="#_01N-cmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BcoGxHLZEd-09ds9dfYpFw" initMethod="#_01N-c2J-Ed-FqczH3ESmRw"
+ footerMethod="#_01N-dWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H9e-cbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_01N-cmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-cmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_01N-c2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-c2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BcoGxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._BcoGxHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_01N-dWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-dWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_01N-gmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-gmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H9e-eLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_H9e-ebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H9e-erBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H9e-e7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H9e-fLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9e-fbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9e-frBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9e-f7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9e-gLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9e-gbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H9e-grBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9e-g7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9e-hLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9e-hbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H9e-d7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H9e-h7BcEeSqLfQ0kalDug"
+ called="#_01N-gmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_01hgcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.isSetGenFeature.annotations.insert" headerMethod="#_01hgcmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Bd9jhHLZEd-09ds9dfYpFw" initMethod="#_01hgc2J-Ed-FqczH3ESmRw"
+ footerMethod="#_01hgdWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H9oIYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_01hgcmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgcmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_01hgc2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgc2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Bd9jhHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._Bd9jhHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_01hgdWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgdWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_01hggmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hggmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H9oIaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_H9oIabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H9oIarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H9oIa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H9oIbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9oIbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9oIbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9oIb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9oIcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9oIcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H9oIcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9oIc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9oIdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9oIdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H9oIZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H9oId7BcEeSqLfQ0kalDug"
+ called="#_01hggmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_01qqYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.isSetGenFeature.TODO.override" headerMethod="#_01qqYmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BfAsZHLZEd-09ds9dfYpFw" initMethod="#_01qqY2J-Ed-FqczH3ESmRw"
+ footerMethod="#_01qqZWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H9x5YbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_01qqYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqYmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_01qqY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqY2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BfAsZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._BfAsZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_01qqZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqZWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_01qqcmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqcmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H9x5aLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_H9x5abBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H9x5arBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H9x5a7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H9x5bLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9x5bbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9x5brBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9x5b7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H9x5cLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9x5cbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H9x5crBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9x5c7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9x5dLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H9x5dbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H9x5Z7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H9x5d7BcEeSqLfQ0kalDug"
+ called="#_01qqcmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_010bYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.genFeature.insert" headerMethod="#_010bYmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BgWJJHLZEd-09ds9dfYpFw" initMethod="#_010bY2J-Ed-FqczH3ESmRw"
+ footerMethod="#_010bZWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H97qYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_010bYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bYmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_010bY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bY2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BgWJJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._BgWJJHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_010bZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bZWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_010bcmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bcmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H97qaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_H97qabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H97qarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H97qa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H97qbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H97qbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H97qbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H97qb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H97qcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H97qcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H97qcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H97qc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H97qdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H97qdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H97qZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H97qd7BcEeSqLfQ0kalDug"
+ called="#_010bcmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_01-MYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.insert
"
+ name="Interface.genOperation.override" headerMethod="#_01-MYmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BiI45HLZEd-09ds9dfYpFw" initMethod="#_01-MY2J-Ed-FqczH3ESmRw"
+ footerMethod="#_01-MZWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H-E0UbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_01-MYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MYmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_01-MY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MY2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BiI45HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._BiI45HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_01-MZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MZWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_01-McmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-McmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H-E0WLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_H-E0WbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H-E0WrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H-E0W7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H-E0XLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-E0XbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-E0XrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-E0X7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-E0YLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-E0YbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H-E0YrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-E0Y7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-E0ZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-E0ZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H-E0V7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H-E0Z7BcEeSqLfQ0kalDug"
+ called="#_01-McmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_02HWUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.insert
"
+ name="Interface.genOperation.javadoc.override" headerMethod="#_02HWUmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Bjx3pHLZEd-09ds9dfYpFw" initMethod="#_02HWU2J-Ed-FqczH3ESmRw"
+ footerMethod="#_02HWVWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H-OlUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_02HWUmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWUmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_02HWU2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWU2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Bjx3pHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._Bjx3pHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_02HWVWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWVWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_02HWYmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWYmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H-OlWLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_H-OlWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H-OlWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H-OlW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H-OlXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-OlXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-OlXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-OlX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-OlYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-OlYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H-OlYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-OlY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-OlZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-OlZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H-OlV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H-OlZ7BcEeSqLfQ0kalDug"
+ called="#_02HWYmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_02kCQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.genOperation.javadoc.insert" headerMethod="#_02kCQmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BlkAVHLZEd-09ds9dfYpFw" initMethod="#_02kCQ2J-Ed-FqczH3ESmRw"
+ footerMethod="#_02kCRWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H-YWUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_02kCQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_02kCQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQ2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BlkAVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._BlkAVHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_02kCRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCRWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_02kCUmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCUmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H-YWWLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_H-YWWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H-YWWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H-YWW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H-YWXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-YWXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-YWXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-YWX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-YWYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-YWYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H-YWYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-YWY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-YWZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-YWZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H-YWV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H-YWZ7BcEeSqLfQ0kalDug"
+ called="#_02kCUmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_02tzQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.genOperation.annotations.insert" headerMethod="#_02tzQmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BnDOFHLZEd-09ds9dfYpFw" initMethod="#_02tzQ2J-Ed-FqczH3ESmRw"
+ footerMethod="#_02tzRWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H-rRQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_02tzQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_02tzQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQ2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BnDOFHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._BnDOFHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_02tzRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzRWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_02tzUmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzUmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H-rRSLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_H-rRSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H-rRSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H-rRS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H-rRTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-rRTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-rRTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-rRT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-rRULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-rRUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H-rRUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-rRU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-rRVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-rRVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H-rRR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H-rRV7BcEeSqLfQ0kalDug"
+ called="#_02tzUmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0229MGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.implementedGenOperation.TODO.override" headerMethod="#_0229MmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Bn8l9HLZEd-09ds9dfYpFw" initMethod="#_0229M2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0229NWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H-0bMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0229MmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229MmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0229M2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229M2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Bn8l9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._Bn8l9HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0229NWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229NWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0229QmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229QmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H-0bOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_H-0bObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H-0bOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H-0bO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H-0bPLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-0bPbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-0bPrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-0bP7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H-0bQLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-0bQbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H-0bQrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-0bQ7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-0bRLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H-0bRbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H-0bN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H-0bR7BcEeSqLfQ0kalDug"
+ called="#_0229QmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_03AuMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.genOperation.insert" headerMethod="#_03AuMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BpSpxHLZEd-09ds9dfYpFw" initMethod="#_03AuM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_03AuNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H--MMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_03AuMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03AuM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BpSpxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._BpSpxHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_03AuNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03AuQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuQmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H--MOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_H--MObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H--MOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H--MO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H--MPLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H--MPbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H--MPrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H--MP7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H--MQLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H--MQbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H--MQrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H--MQ7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H--MRLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H--MRbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H--MN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H--MR7BcEeSqLfQ0kalDug"
+ called="#_03AuQmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_03KfMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.eUnset.override" headerMethod="#_03KfMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BqoGhHLZEd-09ds9dfYpFw" initMethod="#_03KfM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_03KfNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H--MSbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_03KfMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03KfM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BqoGhHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._BqoGhHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_03KfNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03KfQWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfQWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H--MULBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H--MUbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H--MUrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H--MU7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H--MVLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H--MVbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H--MVrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H--MV7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H--MWLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H--MWbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H--MWrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H--MW7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H--MXLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H--MT7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H--MXrBcEeSqLfQ0kalDug"
+ called="#_03KfQWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_03TpIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.eIsSet.override" headerMethod="#_03TpImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BsH7VHLZEd-09ds9dfYpFw" initMethod="#_03TpI2J-Ed-FqczH3ESmRw"
+ footerMethod="#_03TpJWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H_H9MbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_03TpImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03TpI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BsH7VHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._BsH7VHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_03TpJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpJWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03TpMWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpMWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H_H9OLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H_H9ObBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H_H9OrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H_H9O7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H_H9PLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H_H9PbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H_H9PrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H_H9P7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H_H9QLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H_H9QbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H_H9QrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H_H9Q7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H_H9RLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H_H9N7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H_H9RrBcEeSqLfQ0kalDug"
+ called="#_03TpMWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_03daIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.insert" headerMethod="#_03daImJ-Ed-FqczH3ESmRw" conditionMethod="#_BtAsJHLZEd-09ds9dfYpFw"
+ initMethod="#_03daI2J-Ed-FqczH3ESmRw" footerMethod="#_03daJWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H_RHIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_03daImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03daI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BtAsJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._BtAsJHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_03daJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daJWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03daMWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daMWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H_RHKLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H_RHKbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H_RHKrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H_RHK7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H_RHLLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H_RHLbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H_RHLrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_H_RHL7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H_RHMLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H_RHMbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H_RHMrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H_RHM7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_H_RHNLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H_RHJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H_RHNrBcEeSqLfQ0kalDug"
+ called="#_03daMWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_K9da0HroEeC0XN9kbwkPYQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.egfCustom.constructor.override" headerMethod="#_K9da0nroEeC0XN9kbwkPYQ"
+ conditionMethod="#_K9da1HroEeC0XN9kbwkPYQ" initMethod="#_K9da03roEeC0XN9kbwkPYQ"
+ footerMethod="#_K9da1nroEeC0XN9kbwkPYQ">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hr5fMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_K9da0nroEeC0XN9kbwkPYQ" name="header" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da0nroEeC0XN9kbwkPYQ.pt"/>
+ <methods xmi:id="_K9da03roEeC0XN9kbwkPYQ" name="init" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da03roEeC0XN9kbwkPYQ.pt"/>
+ <methods xmi:id="_K9da1HroEeC0XN9kbwkPYQ" name="preCondition" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1HroEeC0XN9kbwkPYQ.pt"/>
+ <methods xmi:id="_K9da1nroEeC0XN9kbwkPYQ" name="footer" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1nroEeC0XN9kbwkPYQ.pt"/>
+ <methods xmi:id="_K9da4XroEeC0XN9kbwkPYQ" name="doGenerate" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da4XroEeC0XN9kbwkPYQ.pt"/>
+ <parameters xmi:id="_Hr5fOLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_Hr5fObBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_Hr5fOrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_Hr5fO7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hr5fPLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hr5fPbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hr5fPrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_Hr5fP7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hr5fQLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_Hr5fQbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hr5fQrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hr5fQ7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_Hr5fRLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hr5fN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hr5fRrBcEeSqLfQ0kalDug"
+ called="#_K9da4XroEeC0XN9kbwkPYQ"/>
+ </elements>
+ <elements xmi:id="_BsLUkeXDEeCxnsoQRwU99Q" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ name="Interface.interface.javadoc.override" headerMethod="#_BsLUk-XDEeCxnsoQRwU99Q"
+ conditionMethod="#_BsVFkeXDEeCxnsoQRwU99Q" initMethod="#_BsVFkOXDEeCxnsoQRwU99Q"
+ footerMethod="#_BsVFk-XDEeCxnsoQRwU99Q">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HrczQrBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_BsLUk-XDEeCxnsoQRwU99Q" name="header" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsLUk-XDEeCxnsoQRwU99Q.pt"/>
+ <methods xmi:id="_BsVFkOXDEeCxnsoQRwU99Q" name="init" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkOXDEeCxnsoQRwU99Q.pt"/>
+ <methods xmi:id="_BsVFkeXDEeCxnsoQRwU99Q" name="preCondition" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkeXDEeCxnsoQRwU99Q.pt"/>
+ <methods xmi:id="_BsVFk-XDEeCxnsoQRwU99Q" name="footer" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFk-XDEeCxnsoQRwU99Q.pt"/>
+ <methods xmi:id="_BsVFouXDEeCxnsoQRwU99Q" name="doGenerate" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt"/>
+ <parameters xmi:id="_HrczSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HrczSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HrczS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HrczTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrczTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrczTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrczT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HrczULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrczUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HrczUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrczU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrczVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HrczVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HrczSLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HrczV7BcEeSqLfQ0kalDug"
+ called="#_BsVFouXDEeCxnsoQRwU99Q"/>
+ </elements>
+ <elements xmi:id="_onysQLM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert
"
+ name="Interface.genFeatureReified.override" headerMethod="#_onysQrM-EeKd56X4hcZPSw"
+ conditionMethod="#_onysRLM-EeKd56X4hcZPSw" initMethod="#_onysQ7M-EeKd56X4hcZPSw"
+ footerMethod="#_onysRrM-EeKd56X4hcZPSw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HsMaIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_onysQrM-EeKd56X4hcZPSw" name="header" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQrM-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_onysQ7M-EeKd56X4hcZPSw" name="init" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQ7M-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_onysRLM-EeKd56X4hcZPSw" name="preCondition" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRLM-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_onysRrM-EeKd56X4hcZPSw" name="footer" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRrM-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_onysWLM-EeKd56X4hcZPSw" name="doGenerate" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysWLM-EeKd56X4hcZPSw.pt"/>
+ <parameters xmi:id="_HsMaKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_HsMaKbBcEeSqLfQ0kalDug" name="classExtendsGenClass"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HsMaKrBcEeSqLfQ0kalDug" name="classExtendsAllGenFeatures"
+ type="java.util.List"/>
+ <parameters xmi:id="_HsMaK7BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_HsMaLLBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_HsMaLbBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_HsMaLrBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsMaL7BcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsMaMLBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsMaMbBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_HsMaMrBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsMaM7BcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_HsMaNLBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsMaNbBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsMaNrBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <parameters xmi:id="_HsMaN7BcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HsMaJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HsMaObBcEeSqLfQ0kalDug"
+ called="#_onysWLM-EeKd56X4hcZPSw"/>
+ </elements>
+ </libraries>
+ <libraries xmi:id="_omcocLM-EeKd56X4hcZPSw" name="org.eclipse.egf.emf.pattern.model.call.ValidatorClass">
+ <elements xmi:id="_omcocbM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model/ValidatorClass.javajet"
"
+ name="ValidatorClass.insert" headerMethod="#_omcoc7M-EeKd56X4hcZPSw"
+ conditionMethod="#_omcodbM-EeKd56X4hcZPSw" initMethod="#_omcodLM-EeKd56X4hcZPSw"
+ footerMethod="#_omcod7M-EeKd56X4hcZPSw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H_kpIrBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_omcoc7M-EeKd56X4hcZPSw" name="header" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcoc7M-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_omcodLM-EeKd56X4hcZPSw" name="init" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodLM-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_omcodbM-EeKd56X4hcZPSw" name="preCondition" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodbM-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_omcod7M-EeKd56X4hcZPSw" name="footer" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcod7M-EeKd56X4hcZPSw.pt"/>
+ <methods xmi:id="_omcof7M-EeKd56X4hcZPSw" name="doGenerate" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcof7M-EeKd56X4hcZPSw.pt"/>
+ <parameters xmi:id="_H_kpKbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H_kpKrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H_kpK7BcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_H_kpLLBcEeSqLfQ0kalDug" name="_Map" type="java.lang.String"/>
+ <parameters xmi:id="_H_kpLbBcEeSqLfQ0kalDug" name="objectArgument" type="java.lang.String"/>
+ <parameters xmi:id="_H_kpLrBcEeSqLfQ0kalDug" name="count" type="java.lang.Integer"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H_kpKLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H_kpMLBcEeSqLfQ0kalDug"
+ called="#_omcof7M-EeKd56X4hcZPSw"/>
+ </elements>
+ </libraries>
+ </viewpoints>
+ </viewpointContainer>
+ <orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prg8YDG0Ed-kc8dEZsdm2w">
+ <invocations xmi:id="_IF-MEbBcEeSqLfQ0kalDug" name="EMF Model Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
+ <invocationContractContainer xmi:id="_IF-MErBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_IF-ME7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prg8ZTG0Ed-kc8dEZsdm2w"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_DgB2IP6fEd64XaYPo3s6sPg"/>
+ <invocationContracts xmi:id="_IF-MF7BcEeSqLfQ0kalDug" factoryComponentContract="#_WRxYEFIIEd-eGOdO3WtsxA"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_L6JSwAHAEd-4faJMEplCjxw">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MGLBcEeSqLfQ0kalDug"
+ value="org.eclipse.egf.emf.pattern.base.ContentTypePatternExecutionReporter"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_IF-MG7BcEeSqLfQ0kalDug" factoryComponentContract="#_TxwAHVkTEd-bv5aydwO2Qw"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_nz1HkSCaEd-Sse0r9LJWbA">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_IF-MHLBcEeSqLfQ0kalDug"
+ elements="#_Pcm9szG0Ed-kc8dEZsdm2w"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_IF-MH7BcEeSqLfQ0kalDug" factoryComponentContract="#_OVsagFHVEd-dr9AWwNwIMQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_NFhJ4UMgEd-Ixul1H5ANhg"/>
+ <invocationContracts xmi:id="_IF-MIrBcEeSqLfQ0kalDug" factoryComponentContract="#_RcQCMPI7Ed-Pp8S8RvVOuQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_JWI2sPI7Ed-Pp8S8RvVOuQ"/>
+ <invocationContracts xmi:id="_IF-MJbBcEeSqLfQ0kalDug" factoryComponentContract="#_sluXsVLLEd-ZSLMRjxSbVQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_vtlEAFLMEd-ZSLMRjxSbVQ"/>
+ </invocationContractContainer>
+ </invocations>
+ </orchestration>
+ </fcore:FactoryComponent>
+ <fcore:FactoryComponent xmi:id="_PiIW4DG0Ed-kc8dEZsdm2w" name="EMF Edit Pattern">
+ <contractContainer xmi:id="_Prg8bzG0Ed-kc8dEZsdm2w">
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prg8cDG0Ed-kc8dEZsdm2w"
+ description="EMF Edit Pattern" name="genModel" mandatory="true" invocationContracts="#_IF-MK7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_IF-MLrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_jzYi8FIIEd-eGOdO3WtsxA"
+ description="EMF Edit Pattern" name="pattern.execution.reporter" invocationContracts="#_IF-ML7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MMrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Tx5xHVkTEd-bv5aydwO2Qw"
+ description="EMF Edit Pattern" name="pattern.ids" invocationContracts="#_IF-MM7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_IF-MNrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_UCnhEFHVEd-dr9AWwNwIMQ"
+ description="EMF Edit Pattern" name="pattern.substitutions" invocationContracts="#_IF-MN7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_IF-MObBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_dgkvsPI7Ed-Pp8S8RvVOuQ"
+ description="EMF Edit Pattern" name="usedGenPackages" invocationContracts="#_IF-MOrBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_IF-MPLBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_9wHxsFLMEd-ZSLMRjxSbVQ"
+ description="EMF Edit Pattern" name="mergeRulesURI" invocationContracts="#_IF-MPbBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_IF-MP7BcEeSqLfQ0kalDug"/>
+ </contracts>
+ </contractContainer>
+ <viewpointContainer xmi:id="_PiIW4TG0Ed-kc8dEZsdm2w">
+ <viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_PiIW4jG0Ed-kc8dEZsdm2w">
+ <libraries xmi:id="_PiIW4zG0Ed-kc8dEZsdm2w" name="org.eclipse.egf.emf.pattern.edit">
+ <elements xmi:id="_PiIW5DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="PluginXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PiIW5jG0Ed-kc8dEZsdm2w" conditionMethod="#_9qU51HLYEd-09ds9dfYpFw"
+ initMethod="#_PiIW5zG0Ed-kc8dEZsdm2w" footerMethod="#_PiIW6TG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HbNX0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PiIW5jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PiIW5zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9qU51HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._9qU51HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PiIW6TG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW6TG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PiIW6zG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW6zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SuSFqGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._SuSFqGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_09tDuWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._09tDuWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PiIW7TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW7TG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HbNX17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbNX27BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbNX3bBcEeSqLfQ0kalDug"
+ called="#_PiIW7TG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HbNX3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbNX37BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PibR0DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ name="BuildProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PibR0jG0Ed-kc8dEZsdm2w" conditionMethod="#_9kEg2HLYEd-09ds9dfYpFw"
+ initMethod="#_PibR0zG0Ed-kc8dEZsdm2w" footerMethod="#_PibR1TG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HbXI0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PibR0jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PibR0zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9kEg2HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._9kEg2HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PibR1TG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR1TG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PibR1zG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR1zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_St_KvGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._St_KvGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_09QXzWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._09QXzWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PibR2TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR2TG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HbXI17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbXI27BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbXI3bBcEeSqLfQ0kalDug"
+ called="#_PibR2TG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HbXI3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbXI37BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PiuMwDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/manifest.mfjet"
"
+ name="ManifestMF" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PiuMwjG0Ed-kc8dEZsdm2w" conditionMethod="#_9nWeVHLYEd-09ds9dfYpFw"
+ initMethod="#_PiuMwzG0Ed-kc8dEZsdm2w" footerMethod="#_PiuMxTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Ha6c4bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PiuMwjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PiuMwzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9nWeVHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._9nWeVHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PiuMxTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMxTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PiuMxzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMxzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SuI7uGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._SuI7uGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_09j5yWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._09j5yWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PiuMyTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Ha6c57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Ha6c67BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Ha6c7bBcEeSqLfQ0kalDug"
+ called="#_PiuMyTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Ha6c7rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Ha6c77BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pi39wDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ name="PluginProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_xxtwkCg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_Pi39wjG0Ed-kc8dEZsdm2w" conditionMethod="#_9tdGVHLYEd-09ds9dfYpFw"
+ initMethod="#_Pi39wzG0Ed-kc8dEZsdm2w" footerMethod="#_Pi39xTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HbqDwbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pi39wjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pi39wzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9tdGVHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._9tdGVHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pi39xTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39xTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pi39xzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39xzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Sub2qGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Sub2qGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0920uWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._0920uWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pi39yTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39yTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HbqDx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbqDy7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_pQ16sChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbqDzbBcEeSqLfQ0kalDug"
+ called="#_Pi39yTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HbqDzrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HbqDz7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PjK4sDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.addPropertyDescriptor.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getText.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getStyledText.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.insert
"
+ name="ItemProvider" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_hYG6UCg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PjK4sjG0Ed-kc8dEZsdm2w" conditionMethod="#_9wJN9HLYEd-09ds9dfYpFw"
+ initMethod="#_PjK4szG0Ed-kc8dEZsdm2w" footerMethod="#_PjK4tTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hb8-sbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PjK4sjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4sjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PjK4szG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4szG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9wJN9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._9wJN9HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PjK4tTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4tTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PjK4tzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4tzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SuuxqGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._SuuxqGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0-TgqWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._0-TgqWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PjK4uTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4uTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hb8-t7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hb8-u7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hb8-vbBcEeSqLfQ0kalDug"
+ called="#_PjK4uTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hb8-vrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hb8-v7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PjdzoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override
"
+ name="ItemProviderAdapterFactory" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PjdzojG0Ed-kc8dEZsdm2w" conditionMethod="#_92_c1HLYEd-09ds9dfYpFw"
+ initMethod="#_PjdzozG0Ed-kc8dEZsdm2w" footerMethod="#_PjdzpTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HcQgsbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PjdzojG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzojG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PjdzozG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzozG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_92_c1HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._92_c1HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PjdzpTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzpTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PjdzpzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzpzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SulnpGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._SulnpGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_09_-qWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._09_-qWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PjdzqTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzqTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HcQgt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HcQgu7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HcQgvbBcEeSqLfQ0kalDug"
+ called="#_PjdzqTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HcQgvrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HcQgv7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PjwukDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="Plugin" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PjwukjG0Ed-kc8dEZsdm2w" conditionMethod="#_9y-fhHLYEd-09ds9dfYpFw"
+ initMethod="#_PjwukzG0Ed-kc8dEZsdm2w" footerMethod="#_PjwulTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HcZqobBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PjwukjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PjwukzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9y-fhHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._9y-fhHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PjwulTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwulTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PjwulzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwulzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SuuxmGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._SuuxmGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0-JvqWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._0-JvqWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PjwumTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwumTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HcZqp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HcZqq7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HcZqrbBcEeSqLfQ0kalDug"
+ called="#_PjwumTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HcZqrrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HcZqr7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pj6fkDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * 
"
+ name="CreateChildIconsForGenPackage" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_HODPICrVEd-81OQ8yF10Og"
+ headerMethod="#_PkEQkDG0Ed-kc8dEZsdm2w" conditionMethod="#_97KyNHLYEd-09ds9dfYpFw"
+ initMethod="#_PkEQkTG0Ed-kc8dEZsdm2w" footerMethod="#_PkEQkzG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hdl9cbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PkEQkDG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkDG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PkEQkTG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_97KyNHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._97KyNHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PkEQkzG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_0-wMmGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._0-wMmGKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PkEQlzG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQlzG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hdl9d7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hdl9ebBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_yLcWwCt-Ed-D6YqMf1n1Bg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hdl9e7BcEeSqLfQ0kalDug"
+ called="#_PkEQlzG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hdl9fLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hdl9fbBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_0yyMcCt-Ed-D6YqMf1n1Bg"/>
+ </elements>
+ <elements xmi:id="_PkNagDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * 
"
+ name="ItemIcon" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_IzJSwCrXEd-81OQ8yF10Og"
+ headerMethod="#_PkNagjG0Ed-kc8dEZsdm2w" conditionMethod="#_99Zm1HLYEd-09ds9dfYpFw"
+ initMethod="#_PkNagzG0Ed-kc8dEZsdm2w" footerMethod="#_PkNahTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hc2WkbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PkNagjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PkNagzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_99Zm1HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._99Zm1HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PkNahTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNahTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_0-mbmGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._0-mbmGKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PkNaiTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNaiTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hc2Wl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hc2WmbBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hc2Wm7BcEeSqLfQ0kalDug"
+ called="#_PkNaiTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hc2WnLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hc2WnbBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pkg8gDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * 
"
+ name="CreateChildIconsForGenClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_IzJSwCrXEd-81OQ8yF10Og"
+ headerMethod="#_Pkg8gjG0Ed-kc8dEZsdm2w" conditionMethod="#_9_MWlHLYEd-09ds9dfYpFw"
+ initMethod="#_Pkg8gzG0Ed-kc8dEZsdm2w" footerMethod="#_Pkg8hTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HdJRgbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pkg8gjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pkg8gzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_9_MWlHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._9_MWlHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pkg8hTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8hTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_0-cqmGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._0-cqmGKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pkg8iTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8iTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HdJRh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HdJRibBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HdJRi7BcEeSqLfQ0kalDug"
+ called="#_Pkg8iTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HdJRjLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HdJRjbBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_QPtOcH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="ModuleGWTXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_QPtOcn7rEd-W9_ZFSEQEPg" conditionMethod="#_QPtOdH7rEd-W9_ZFSEQEPg"
+ initMethod="#_QPtOc37rEd-W9_ZFSEQEPg" footerMethod="#_QPtOdn7rEd-W9_ZFSEQEPg">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hawr5bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_QPtOcn7rEd-W9_ZFSEQEPg" name="header" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOcn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QPtOc37rEd-W9_ZFSEQEPg" name="init" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOc37rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QPtOdH7rEd-W9_ZFSEQEPg" name="preCondition" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOdH7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QPtOdn7rEd-W9_ZFSEQEPg" name="footer" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOdn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QP2YYH7rEd-W9_ZFSEQEPg" name="setReporterVariables"
+ patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYH7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QP2YYX7rEd-W9_ZFSEQEPg" name="setArgument" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYX7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QP2YYn7rEd-W9_ZFSEQEPg" name="ensureProjectExists" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QP2YZH7rEd-W9_ZFSEQEPg" name="doGenerate" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YZH7rEd-W9_ZFSEQEPg.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hawr67BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hawr77BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hawr8bBcEeSqLfQ0kalDug"
+ called="#_QP2YZH7rEd-W9_ZFSEQEPg"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hawr8rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hawr87BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_QRpIIH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/Images.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="Images" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_QRpIIn7rEd-W9_ZFSEQEPg" conditionMethod="#_QRpIJH7rEd-W9_ZFSEQEPg"
+ initMethod="#_QRpII37rEd-W9_ZFSEQEPg" footerMethod="#_QRpIJn7rEd-W9_ZFSEQEPg">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HcjbobBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_QRpIIn7rEd-W9_ZFSEQEPg" name="header" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIIn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QRpII37rEd-W9_ZFSEQEPg" name="init" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpII37rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QRpIJH7rEd-W9_ZFSEQEPg" name="preCondition" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIJH7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QRpIJn7rEd-W9_ZFSEQEPg" name="footer" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIJn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QRpIKH7rEd-W9_ZFSEQEPg" name="setReporterVariables"
+ patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKH7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QRpIKX7rEd-W9_ZFSEQEPg" name="setArgument" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKX7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QRpIKn7rEd-W9_ZFSEQEPg" name="ensureProjectExists" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QRpILH7rEd-W9_ZFSEQEPg" name="doGenerate" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpILH7rEd-W9_ZFSEQEPg.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hcjbp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hcjbq7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HcjbrbBcEeSqLfQ0kalDug"
+ called="#_QRpILH7rEd-W9_ZFSEQEPg"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HcjbrrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hcjbr7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_QR8DEH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/Properties.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="Properties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_QR8DEn7rEd-W9_ZFSEQEPg" conditionMethod="#_QR8DFH7rEd-W9_ZFSEQEPg"
+ initMethod="#_QR8DE37rEd-W9_ZFSEQEPg" footerMethod="#_QR8DFn7rEd-W9_ZFSEQEPg">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hbz0wbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_QR8DEn7rEd-W9_ZFSEQEPg" name="header" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DEn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QR8DE37rEd-W9_ZFSEQEPg" name="init" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DE37rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QR8DFH7rEd-W9_ZFSEQEPg" name="preCondition" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DFH7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QR8DFn7rEd-W9_ZFSEQEPg" name="footer" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DFn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QR8DGH7rEd-W9_ZFSEQEPg" name="setReporterVariables"
+ patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGH7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QR8DGX7rEd-W9_ZFSEQEPg" name="setArgument" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGX7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QR8DGn7rEd-W9_ZFSEQEPg" name="ensureProjectExists" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGn7rEd-W9_ZFSEQEPg.pt"/>
+ <methods xmi:id="_QR8DHH7rEd-W9_ZFSEQEPg" name="doGenerate" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DHH7rEd-W9_ZFSEQEPg.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hbz0x7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hbz0y7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hbz0zbBcEeSqLfQ0kalDug"
+ called="#_QR8DHH7rEd-W9_ZFSEQEPg"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hbz0zrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hbz0z7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ </libraries>
+ <libraries xmi:id="_03mkEGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.edit.call.ItemProvider">
+ <elements xmi:id="_03mkEWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ name="ItemProvider.addPropertyDescriptor.override" headerMethod="#_03mkE2J-Ed-FqczH3ESmRw"
+ conditionMethod="#_BuWv9XLZEd-09ds9dfYpFw" initMethod="#_03mkFGJ-Ed-FqczH3ESmRw"
+ footerMethod="#_03mkFmJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H_tzErBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_03mkE2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03mkFGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BuWv9XLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._BuWv9XLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_03mkFmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03mkHWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkHWJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H_tzGbBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_H_tzGrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H_tzG7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H_tzHLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H_tzHbBcEeSqLfQ0kalDug" name="_List" type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H_tzGLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H_tzH7BcEeSqLfQ0kalDug"
+ called="#_03mkHWJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_03wVEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ name="ItemProvider.getText.override" headerMethod="#_03wVEmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_BvZRxHLZEd-09ds9dfYpFw" initMethod="#_03wVE2J-Ed-FqczH3ESmRw"
+ footerMethod="#_03wVFWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_H_3kEbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_03wVEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVEmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03wVE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_BvZRxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._BvZRxHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_03wVFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVFWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_03wVG2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVG2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_H_3kGLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_H_3kGbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_H_3kGrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_H_3kG7BcEeSqLfQ0kalDug" name="_List" type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_H_3kF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_H_3kHbBcEeSqLfQ0kalDug"
+ called="#_03wVG2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_036GEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.insert
"
+ name="ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override"
+ headerMethod="#_036GEmJ-Ed-FqczH3ESmRw" conditionMethod="#_Bx7oZHLZEd-09ds9dfYpFw"
+ initMethod="#_036GE2J-Ed-FqczH3ESmRw" footerMethod="#_036GFWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IAKfAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_036GEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GEmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_036GE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Bx7oZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._Bx7oZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_036GFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GFWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_036GIGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GIGJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IAKfCLBcEeSqLfQ0kalDug" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAKfCbBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAKfCrBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAKfC7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_IAKfDLBcEeSqLfQ0kalDug" name="childCreationData"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
+ <parameters xmi:id="_IAKfDbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAKfDrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IAKfD7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IAKfB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IAKfEbBcEeSqLfQ0kalDug"
+ called="#_036GIGJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_04NBAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ name="ItemProvider.newChildDescriptorsReferenceDelegatedFeature.insert"
+ headerMethod="#_04NBAmJ-Ed-FqczH3ESmRw" conditionMethod="#_B2Z4tHLZEd-09ds9dfYpFw"
+ initMethod="#_04NBA2J-Ed-FqczH3ESmRw" footerMethod="#_04NBBWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IAUQAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_04NBAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBAmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04NBA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBA2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_B2Z4tHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._B2Z4tHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_04NBBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBBWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04NBEGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBEGJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IAUQCLBcEeSqLfQ0kalDug" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAUQCbBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAUQCrBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAUQC7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_IAUQDLBcEeSqLfQ0kalDug" name="childCreationData"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
+ <parameters xmi:id="_IAUQDbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAUQDrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IAUQD7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IAUQB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IAUQEbBcEeSqLfQ0kalDug"
+ called="#_04NBEGJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_04WyAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.insert
"
+ name="ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override"
+ headerMethod="#_04WyAmJ-Ed-FqczH3ESmRw" conditionMethod="#_B3vVdHLZEd-09ds9dfYpFw"
+ initMethod="#_04WyA2J-Ed-FqczH3ESmRw" footerMethod="#_04WyBWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IAdZ8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_04WyAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyAmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04WyA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyA2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_B3vVdHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._B3vVdHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_04WyBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyBWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04WyEGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyEGJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IAdZ-LBcEeSqLfQ0kalDug" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
+ <parameters xmi:id="_IAdZ-bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAdZ-rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAdZ-7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_IAdZ_LBcEeSqLfQ0kalDug" name="childCreationData"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
+ <parameters xmi:id="_IAdZ_bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAdZ_rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IAdZ_7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IAdZ97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IAdaAbBcEeSqLfQ0kalDug"
+ called="#_04WyEGJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_04f78GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ name="ItemProvider.newChildDescriptorsAttributeDelegatedFeature.insert"
+ headerMethod="#_04f78mJ-Ed-FqczH3ESmRw" conditionMethod="#_B4yeVHLZEd-09ds9dfYpFw"
+ initMethod="#_04f782J-Ed-FqczH3ESmRw" footerMethod="#_04f79WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IAnK8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_04f78mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f78mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04f782J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f782J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_B4yeVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._B4yeVHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_04f79WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f79WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04f8AGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f8AGJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IAnK-LBcEeSqLfQ0kalDug" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
+ <parameters xmi:id="_IAnK-bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAnK-rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAnK-7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_IAnK_LBcEeSqLfQ0kalDug" name="childCreationData"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
+ <parameters xmi:id="_IAnK_bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAnK_rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IAnK_7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IAnK97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IAnLAbBcEeSqLfQ0kalDug"
+ called="#_04f8AGJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_04ps8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.insert
"
+ name="ItemProvider.newChildDescriptorsReferenceFeature.override" headerMethod="#_04ps8mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_B63h9HLZEd-09ds9dfYpFw" initMethod="#_04ps82J-Ed-FqczH3ESmRw"
+ footerMethod="#_04ps9WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IAw78bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_04ps8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04ps82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps82J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_B63h9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._B63h9HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_04ps9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps9WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04ptAGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ptAGJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IAw7-LBcEeSqLfQ0kalDug" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAw7-bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAw7-rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IAw7-7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_IAw7_LBcEeSqLfQ0kalDug" name="childCreationData"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
+ <parameters xmi:id="_IAw7_bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAw7_rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IAw7_7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IAw797BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IAw8AbBcEeSqLfQ0kalDug"
+ called="#_04ptAGJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_04y24GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ name="ItemProvider.newChildDescriptorsReferenceFeature.insert" headerMethod="#_04y24mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_B-caZHLZEd-09ds9dfYpFw" initMethod="#_04y242J-Ed-FqczH3ESmRw"
+ footerMethod="#_04y25WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IA6F4bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_04y24mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y24mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04y242J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y242J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_B-caZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._B-caZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_04y25WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y25WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_04y28GJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y28GJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IA6F6LBcEeSqLfQ0kalDug" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IA6F6bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IA6F6rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IA6F67BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_IA6F7LBcEeSqLfQ0kalDug" name="childCreationData"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
+ <parameters xmi:id="_IA6F7bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IA6F7rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IA6F77BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IA6F57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IA6F8bBcEeSqLfQ0kalDug"
+ called="#_04y28GJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_048n4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.insert
"
+ name="ItemProvider.newChildDescriptorsAttributeFeature.override" headerMethod="#_048n4mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_B_otNHLZEd-09ds9dfYpFw" initMethod="#_048n42J-Ed-FqczH3ESmRw"
+ footerMethod="#_048n5WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IA6F87BcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_048n4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n4mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_048n42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n42J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_B_otNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._B_otNHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_048n5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n5WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_048n8GJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n8GJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IA6F-rBcEeSqLfQ0kalDug" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
+ <parameters xmi:id="_IA6F-7BcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IA6F_LBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IA6F_bBcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_IA6F_rBcEeSqLfQ0kalDug" name="childCreationData"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
+ <parameters xmi:id="_IA6F_7BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IA6GALBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IA6GAbBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IA6F-bBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IA6GA7BcEeSqLfQ0kalDug"
+ called="#_048n8GJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_05ZT0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ name="ItemProvider.newChildDescriptorsAttributeFeature.insert" headerMethod="#_05ZT0mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CBIiBHLZEd-09ds9dfYpFw" initMethod="#_05ZT02J-Ed-FqczH3ESmRw"
+ footerMethod="#_05ZT1WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IBD24bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_05ZT0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT0mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_05ZT02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT02J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CBIiBHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._CBIiBHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_05ZT1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT1WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_05ZT4GJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT4GJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IBD26LBcEeSqLfQ0kalDug" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
+ <parameters xmi:id="_IBD26bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IBD26rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IBD267BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_IBD27LBcEeSqLfQ0kalDug" name="childCreationData"
+ type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
+ <parameters xmi:id="_IBD27bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IBD27rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IBD277BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IBD257BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IBD28bBcEeSqLfQ0kalDug"
+ called="#_05ZT4GJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_051_wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ name="ItemProvider.insert" headerMethod="#_051_wmJ-Ed-FqczH3ESmRw" conditionMethod="#_CCU01HLZEd-09ds9dfYpFw"
+ initMethod="#_051_w2J-Ed-FqczH3ESmRw" footerMethod="#_051_xWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IBNA0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_051_wmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_wmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_051_w2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_w2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CCU01HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._CCU01HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_051_xWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_xWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_051_y2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_y2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IBNA2LBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IBNA2bBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IBNA2rBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_IBNA27BcEeSqLfQ0kalDug" name="_List" type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IBNA17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IBNA3bBcEeSqLfQ0kalDug"
+ called="#_051_y2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_sd5EMKoMEeOCpsO1cKKCxA" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ name="ItemProvider.getStyledText.override" headerMethod="#_sd5EMqoMEeOCpsO1cKKCxA"
+ conditionMethod="#_sd5ENKoMEeOCpsO1cKKCxA" initMethod="#_sd5EM6oMEeOCpsO1cKKCxA"
+ footerMethod="#_sd5ENqoMEeOCpsO1cKKCxA">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IAAuAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_sd5EMqoMEeOCpsO1cKKCxA" name="header" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EMqoMEeOCpsO1cKKCxA.pt"/>
+ <methods xmi:id="_sd5EM6oMEeOCpsO1cKKCxA" name="init" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EM6oMEeOCpsO1cKKCxA.pt"/>
+ <methods xmi:id="_sd5ENKoMEeOCpsO1cKKCxA" name="preCondition" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENKoMEeOCpsO1cKKCxA.pt"/>
+ <methods xmi:id="_sd5ENqoMEeOCpsO1cKKCxA" name="footer" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENqoMEeOCpsO1cKKCxA.pt"/>
+ <methods xmi:id="_sd5EPKoMEeOCpsO1cKKCxA" name="doGenerate" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt"/>
+ <parameters xmi:id="_IAAuCLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IAAuCbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IAAuCrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_IAAuC7BcEeSqLfQ0kalDug" name="_List" type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IAAuB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IAAuDbBcEeSqLfQ0kalDug"
+ called="#_sd5EPKoMEeOCpsO1cKKCxA"/>
+ </elements>
+ </libraries>
+ </viewpoints>
+ </viewpointContainer>
+ <orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prg8azG0Ed-kc8dEZsdm2w">
+ <invocations xmi:id="_IF-MKbBcEeSqLfQ0kalDug" name="EMF Edit Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
+ <invocationContractContainer xmi:id="_IF-MKrBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_IF-MK7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prg8cDG0Ed-kc8dEZsdm2w"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_DgB2IP6fEd64XaYPo3s6sPg"/>
+ <invocationContracts xmi:id="_IF-ML7BcEeSqLfQ0kalDug" factoryComponentContract="#_jzYi8FIIEd-eGOdO3WtsxA"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_L6JSwAHAEd-4faJMEplCjxw">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MMLBcEeSqLfQ0kalDug"
+ value="org.eclipse.egf.emf.pattern.base.ContentTypePatternExecutionReporter"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_IF-MM7BcEeSqLfQ0kalDug" factoryComponentContract="#_Tx5xHVkTEd-bv5aydwO2Qw"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_nz1HkSCaEd-Sse0r9LJWbA">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_IF-MNLBcEeSqLfQ0kalDug"
+ elements="#_PiIW4zG0Ed-kc8dEZsdm2w"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_IF-MN7BcEeSqLfQ0kalDug" factoryComponentContract="#_UCnhEFHVEd-dr9AWwNwIMQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_NFhJ4UMgEd-Ixul1H5ANhg"/>
+ <invocationContracts xmi:id="_IF-MOrBcEeSqLfQ0kalDug" factoryComponentContract="#_dgkvsPI7Ed-Pp8S8RvVOuQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_JWI2sPI7Ed-Pp8S8RvVOuQ"/>
+ <invocationContracts xmi:id="_IF-MPbBcEeSqLfQ0kalDug" factoryComponentContract="#_9wHxsFLMEd-ZSLMRjxSbVQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_vtlEAFLMEd-ZSLMRjxSbVQ"/>
+ </invocationContractContainer>
+ </invocations>
+ </orchestration>
+ </fcore:FactoryComponent>
+ <fcore:FactoryComponent xmi:id="_PkqGcDG0Ed-kc8dEZsdm2w" name="EMF Editor Pattern">
+ <contractContainer xmi:id="_Prg8ejG0Ed-kc8dEZsdm2w">
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prg8ezG0Ed-kc8dEZsdm2w"
+ description="EMF Editor Pattern" name="genModel" mandatory="true" invocationContracts="#_IF-MQ7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_IF-MRrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_pCqEMFIIEd-eGOdO3WtsxA"
+ description="EMF Editor Pattern" name="pattern.execution.reporter" invocationContracts="#_IF-MR7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MSrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Tx5xMlkTEd-bv5aydwO2Qw"
+ description="EMF Editor Pattern" name="pattern.ids" invocationContracts="#_IF-MS7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_IF-MTrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Y3EukFHVEd-dr9AWwNwIMQ"
+ description="EMF Editor Pattern" name="pattern.substitutions" invocationContracts="#_IF-MT7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_IF-MUbBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_NcZ6I_MqEd-6tr0C8ZV8Ew"
+ description="EMF Editor Pattern" name="usedGenPackages" invocationContracts="#_IF-MUrBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_IF-MVLBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_FqdyEFLNEd-ZSLMRjxSbVQ"
+ description="EMF Editor Pattern" name="mergeRulesURI" invocationContracts="#_IF-MVbBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_IF-MV7BcEeSqLfQ0kalDug"/>
+ </contracts>
+ </contractContainer>
+ <viewpointContainer xmi:id="_PkqGcTG0Ed-kc8dEZsdm2w">
+ <viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_PkqGcjG0Ed-kc8dEZsdm2w">
+ <libraries xmi:id="_PkqGczG0Ed-kc8dEZsdm2w" name="org.eclipse.egf.emf.pattern.editor">
+ <elements xmi:id="_PkqGdDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="PluginXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PkqGdjG0Ed-kc8dEZsdm2w" conditionMethod="#_-G79VHLYEd-09ds9dfYpFw"
+ initMethod="#_PkqGdzG0Ed-kc8dEZsdm2w" footerMethod="#_PkqGeTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HeCpYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PkqGdjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PkqGdzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-G79VHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._-G79VHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PkqGeTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGeTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pkz3cDG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cDG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SvoJeGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._SvoJeGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0_MReWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._0_MReWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pkz3cjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cjG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HeCpZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeCpa7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeCpbbBcEeSqLfQ0kalDug"
+ called="#_Pkz3cjG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HeCpbrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeCpb7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pk9BYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/manifest.mfjet"
"
+ name="ManifestMF" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_Pk9BYjG0Ed-kc8dEZsdm2w" conditionMethod="#_-A1VWHLYEd-09ds9dfYpFw"
+ initMethod="#_Pk9BYzG0Ed-kc8dEZsdm2w" footerMethod="#_Pk9BZTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HepGUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pk9BYjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pk9BYzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-A1VWHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._-A1VWHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pk9BZTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BZTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pk9BZzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BZzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SveYeGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._SveYeGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0_DHiWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._0_DHiWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pk9BaTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HepGV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HepGW7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HepGXbBcEeSqLfQ0kalDug"
+ called="#_Pk9BaTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HepGXrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HepGX7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PlQjYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ name="BuildProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PlQjYjG0Ed-kc8dEZsdm2w" conditionMethod="#_-DEJ9HLYEd-09ds9dfYpFw"
+ initMethod="#_PlQjYzG0Ed-kc8dEZsdm2w" footerMethod="#_PlQjZTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HeyQQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PlQjYjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PlQjYzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-DEJ9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._-DEJ9HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PlQjZTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjZTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PlQjZzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjZzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SvVOjGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._SvVOjGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0-5WjWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._0-5WjWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PlQjaTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjaTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HeyQR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeyQS7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeyQTbBcEeSqLfQ0kalDug"
+ called="#_PlQjaTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HeyQTrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeyQT7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PljeUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ name="PluginProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_xxtwkCg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PljeUjG0Ed-kc8dEZsdm2w" conditionMethod="#_-K9htHLYEd-09ds9dfYpFw"
+ initMethod="#_PljeUzG0Ed-kc8dEZsdm2w" footerMethod="#_PljeVTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HfO8MbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PljeUjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PljeUzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-K9htHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._-K9htHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PljeVTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeVTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PljeVzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeVzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Svx6eGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._Svx6eGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0_WCeWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._0_WCeWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PljeWTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeWTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HfO8N7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfO8O7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_pQ16sChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfO8PbBcEeSqLfQ0kalDug"
+ called="#_PljeWTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HfO8PrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfO8P7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PltPUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/ActionBarContributor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="ActionBarContributor" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PltPUjG0Ed-kc8dEZsdm2w" conditionMethod="#_-VjBFHLYEd-09ds9dfYpFw"
+ initMethod="#_PltPUzG0Ed-kc8dEZsdm2w" footerMethod="#_PltPVTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HgReAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PltPUjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PltPUzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-VjBFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._-VjBFHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PltPVTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPVTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pl2ZQDG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQDG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SwhhWGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._SwhhWGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1AFpWWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._1AFpWWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pl2ZQjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQjG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HgReB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgReC7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgReDbBcEeSqLfQ0kalDug"
+ called="#_Pl2ZQjG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HgReDrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgReD7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pmc2MDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.override
"
+ name="Editor" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PmmAIDG0Ed-kc8dEZsdm2w" conditionMethod="#_-SaNhHLYEd-09ds9dfYpFw"
+ initMethod="#_PmmAITG0Ed-kc8dEZsdm2w" footerMethod="#_PmmAIzG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HfYtMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PmmAIDG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIDG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PmmAITG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAITG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-SaNhHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._-SaNhHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PmmAIzG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PmmAJTG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SwqrSGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._SwqrSGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1APaWWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._1APaWWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PmmAJzG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJzG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HfYtN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfYtO7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfYtPbBcEeSqLfQ0kalDug"
+ called="#_PmmAJzG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HfYtPrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfYtP7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PmvxIDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/ModelWizard.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="ModelWizard" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PmvxIjG0Ed-kc8dEZsdm2w" conditionMethod="#_-Y0XhHLYEd-09ds9dfYpFw"
+ initMethod="#_PmvxIzG0Ed-kc8dEZsdm2w" footerMethod="#_PmvxJTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hf1ZIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PmvxIjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PmvxIzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-Y0XhHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._-Y0XhHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PmvxJTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxJTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pm5iIDG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIDG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SwN_WGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._SwN_WGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0_yuaWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._0_yuaWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pm5iIjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIjG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hf1ZJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hf1ZK7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hf1ZLbBcEeSqLfQ0kalDug"
+ called="#_Pm5iIjG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hf1ZLrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hf1ZL7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PnCsEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="Plugin" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PnCsEjG0Ed-kc8dEZsdm2w" conditionMethod="#_-NpCRHLYEd-09ds9dfYpFw"
+ initMethod="#_PnCsEzG0Ed-kc8dEZsdm2w" footerMethod="#_PnCsFTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HgIUEbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PnCsEjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PnCsEzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-NpCRHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._-NpCRHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PnCsFTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsFTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PnCsFzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsFzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SwE1aGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._SwE1aGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0_fzeWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._0_fzeWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PnCsGTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsGTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HgIUF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgIUG7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgIUHbBcEeSqLfQ0kalDug"
+ called="#_PnCsGTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HgIUHrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgIUH7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PnVnADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/Advisor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="Advisor" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PnVnAjG0Ed-kc8dEZsdm2w" conditionMethod="#_-P4d9HLYEd-09ds9dfYpFw"
+ initMethod="#_PnVnAzG0Ed-kc8dEZsdm2w" footerMethod="#_PnVnBTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HgbPAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PnVnAjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PnVnAzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-P4d9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._-P4d9HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PnVnBTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnBTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PnVnBzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnBzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Sv7EaGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._Sv7EaGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_0_o9aWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._0_o9aWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PnVnCTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnCTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HgbPB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgbPC7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgbPDbBcEeSqLfQ0kalDug"
+ called="#_PnVnCTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HgbPDrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HgbPD7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PnpJADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * 
"
+ name="ModelWizardIcon" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_HODPICrVEd-81OQ8yF10Og"
+ headerMethod="#_PnpJAjG0Ed-kc8dEZsdm2w" conditionMethod="#_-bppFHLYEd-09ds9dfYpFw"
+ initMethod="#_PnpJAzG0Ed-kc8dEZsdm2w" footerMethod="#_PnpJBTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HglAAbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PnpJAjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PnpJAzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-bppFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._-bppFHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PnpJBTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJBTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_1AiVSGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._1AiVSGKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PnpJCTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJCTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HglAB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HglACbBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_yLcWwCt-Ed-D6YqMf1n1Bg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HglAC7BcEeSqLfQ0kalDug"
+ called="#_PnpJCTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HglADLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HglADbBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_0yyMcCt-Ed-D6YqMf1n1Bg"/>
+ </elements>
+ <elements xmi:id="_Pn8D8DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * 
"
+ name="ModelIcon" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_HODPICrVEd-81OQ8yF10Og"
+ headerMethod="#_Pn8D8jG0Ed-kc8dEZsdm2w" conditionMethod="#_-dcY1HLYEd-09ds9dfYpFw"
+ initMethod="#_Pn8D8zG0Ed-kc8dEZsdm2w" footerMethod="#_Pn8D9TG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HguJ8bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pn8D8jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pn8D8zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-dcY1HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._-dcY1HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pn8D9TG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D9TG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_1AYkSGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._1AYkSGKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pn8D-TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D-TG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HguJ97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HguJ-bBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_yLcWwCt-Ed-D6YqMf1n1Bg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HguJ-7BcEeSqLfQ0kalDug"
+ called="#_Pn8D-TG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HguJ_LBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HguJ_bBcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_0yyMcCt-Ed-D6YqMf1n1Bg"/>
+ </elements>
+ <elements xmi:id="__H8bZBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/appengine-web.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="AppEngineWebXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#__H8bZhmtEeCMbfVQrOfmzQ" conditionMethod="#__H8baBmtEeCMbfVQrOfmzQ"
+ initMethod="#__H8bZxmtEeCMbfVQrOfmzQ" footerMethod="#__H8bahmtEeCMbfVQrOfmzQ">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HfFLMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="__H8bZhmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZhmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__H8bZxmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZxmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__H8baBmtEeCMbfVQrOfmzQ" name="preCondition" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8baBmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__H8bahmtEeCMbfVQrOfmzQ" name="footer" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bahmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__H8bbBmtEeCMbfVQrOfmzQ" name="setReporterVariables"
+ patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbBmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__H8bbRmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbRmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__H8bbhmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbhmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__H8bcBmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bcBmtEeCMbfVQrOfmzQ.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HfFLN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfFLO7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfFLPbBcEeSqLfQ0kalDug"
+ called="#__H8bcBmtEeCMbfVQrOfmzQ"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HfFLPrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HfFLP7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="__I1zQBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/home.htmljet"
"
+ name="HomeHTML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#__I1zQhmtEeCMbfVQrOfmzQ" conditionMethod="#__I1zRBmtEeCMbfVQrOfmzQ"
+ initMethod="#__I1zQxmtEeCMbfVQrOfmzQ" footerMethod="#__I1zRhmtEeCMbfVQrOfmzQ">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hd44ZbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="__I1zQhmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQhmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__I1zQxmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQxmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__I1zRBmtEeCMbfVQrOfmzQ" name="preCondition" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zRBmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__I1zRhmtEeCMbfVQrOfmzQ" name="footer" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zRhmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__I1zSBmtEeCMbfVQrOfmzQ" name="setReporterVariables"
+ patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSBmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__I1zSRmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSRmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__I1zShmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zShmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__I1zTBmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zTBmtEeCMbfVQrOfmzQ.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hd44a7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hd44b7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hd44cbBcEeSqLfQ0kalDug"
+ called="#__I1zTBmtEeCMbfVQrOfmzQ"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hd44crBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hd44c7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="__KLQABmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="ModuleGWTXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#__KLQAhmtEeCMbfVQrOfmzQ" conditionMethod="#__KLQBBmtEeCMbfVQrOfmzQ"
+ initMethod="#__KLQAxmtEeCMbfVQrOfmzQ" footerMethod="#__KLQBhmtEeCMbfVQrOfmzQ">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HeVkUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="__KLQAhmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAhmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__KLQAxmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAxmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__KLQBBmtEeCMbfVQrOfmzQ" name="preCondition" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQBBmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__KLQBhmtEeCMbfVQrOfmzQ" name="footer" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQBhmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__KLQCBmtEeCMbfVQrOfmzQ" name="setReporterVariables"
+ patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCBmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__KLQCRmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCRmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__KLQChmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQChmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__KLQDBmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQDBmtEeCMbfVQrOfmzQ.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HeVkV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeVkW7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeVkXbBcEeSqLfQ0kalDug"
+ called="#__KLQDBmtEeCMbfVQrOfmzQ"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HeVkXrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HeVkX7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="__gO_kBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/web.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="WebXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#__gO_khmtEeCMbfVQrOfmzQ" conditionMethod="#__gO_lBmtEeCMbfVQrOfmzQ"
+ initMethod="#__gO_kxmtEeCMbfVQrOfmzQ" footerMethod="#__gO_lhmtEeCMbfVQrOfmzQ">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HefVUbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="__gO_khmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_khmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__gO_kxmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_kxmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__gO_lBmtEeCMbfVQrOfmzQ" name="preCondition" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_lBmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__gO_lhmtEeCMbfVQrOfmzQ" name="footer" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_lhmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__gO_mBmtEeCMbfVQrOfmzQ" name="setReporterVariables"
+ patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mBmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__gO_mRmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mRmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__gO_mhmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mhmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__gO_nBmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_nBmtEeCMbfVQrOfmzQ.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HefVV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HefVW7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HefVXbBcEeSqLfQ0kalDug"
+ called="#__gO_nBmtEeCMbfVQrOfmzQ"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HefVXrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HefVX7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="__9b48BmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/EntryPoint.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="EntryPoint" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
+ headerMethod="#__9b48hmtEeCMbfVQrOfmzQ" conditionMethod="#__9b49BmtEeCMbfVQrOfmzQ"
+ initMethod="#__9b48xmtEeCMbfVQrOfmzQ" footerMethod="#__9b49hmtEeCMbfVQrOfmzQ">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hfh3IbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="__9b48hmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48hmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__9b48xmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48xmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__9b49BmtEeCMbfVQrOfmzQ" name="preCondition" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b49BmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__9b49hmtEeCMbfVQrOfmzQ" name="footer" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b49hmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__9b4-BmtEeCMbfVQrOfmzQ" name="setReporterVariables"
+ patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-BmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__9b4-RmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-RmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__9b4-hmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-hmtEeCMbfVQrOfmzQ.pt"/>
+ <methods xmi:id="__9b4_BmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4_BmtEeCMbfVQrOfmzQ.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hfh3J7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hfh3K7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hfh3LbBcEeSqLfQ0kalDug"
+ called="#__9b4_BmtEeCMbfVQrOfmzQ"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hfh3LrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hfh3L7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ </libraries>
+ <libraries xmi:id="_08-MQGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.editor.call.Editor">
+ <elements xmi:id="_08-MQWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.insert
"
+ name="Editor.addItemProviderFactories.override" headerMethod="#_08-MQ2J-Ed-FqczH3ESmRw"
+ conditionMethod="#_CC6qtXLZEd-09ds9dfYpFw" initMethod="#_08-MRGJ-Ed-FqczH3ESmRw"
+ footerMethod="#_08-MRmJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IBWx0rBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_08-MQ2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MQ2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_08-MRGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CC6qtXLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._CC6qtXLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_08-MRmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_08-MXGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MXGJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IBWx2bBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IBWx2rBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_IBWx27BcEeSqLfQ0kalDug" name="importedOperationClassName"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx3LBcEeSqLfQ0kalDug" name="operationMethodName"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx3bBcEeSqLfQ0kalDug" name="_ArrayListOfObject"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx3rBcEeSqLfQ0kalDug" name="_ArrayListOfSelectionChangedListener"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx37BcEeSqLfQ0kalDug" name="_CollectionOfSelectionChangedListener"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx4LBcEeSqLfQ0kalDug" name="_ArrayListOfResource"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx4bBcEeSqLfQ0kalDug" name="_CollectionOfResource"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx4rBcEeSqLfQ0kalDug" name="_MapOfResourceToDiagnostic"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx47BcEeSqLfQ0kalDug" name="_HashMapOfResourceToBoolean"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx5LBcEeSqLfQ0kalDug" name="_MapOfObjectToObject"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx5bBcEeSqLfQ0kalDug" name="_HashMapOfObjectToObject"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx5rBcEeSqLfQ0kalDug" name="_LinkedHashMapOfResourceToDiagnostic"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx57BcEeSqLfQ0kalDug" name="_CollectionOfAnything"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx6LBcEeSqLfQ0kalDug" name="_ListOfAnything" type="java.lang.String"/>
+ <parameters xmi:id="_IBWx6bBcEeSqLfQ0kalDug" name="useExtendedLabelProvider"
+ type="java.lang.Boolean"/>
+ <parameters xmi:id="_IBWx6rBcEeSqLfQ0kalDug" name="useStyledLabelProvider"
+ type="java.lang.Boolean"/>
+ <parameters xmi:id="_IBWx67BcEeSqLfQ0kalDug" name="_AdapterFactoryLabelProvider"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx7LBcEeSqLfQ0kalDug" name="_DelegatingAdapterFactoryLabelProvider"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx7bBcEeSqLfQ0kalDug" name="_DecoratingColumLabelProvider"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx7rBcEeSqLfQ0kalDug" name="_DiagnosticDecorator"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx77BcEeSqLfQ0kalDug" name="_ArrayListOfString"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx8LBcEeSqLfQ0kalDug" name="_ListOfString" type="java.lang.String"/>
+ <parameters xmi:id="_IBWx8bBcEeSqLfQ0kalDug" name="_ListOfPropertySheetPage"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBWx8rBcEeSqLfQ0kalDug" name="_ArrayListOfPropertySheetPage"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IBWx2LBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IBWx9LBcEeSqLfQ0kalDug"
+ called="#_08-MXGJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_09RHMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
"
+ name="Editor.addItemProviderFactories.insert" headerMethod="#_09RHMmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CHY7BHLZEd-09ds9dfYpFw" initMethod="#_09RHM2J-Ed-FqczH3ESmRw"
+ footerMethod="#_09RHNWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IBgi0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_09RHMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHMmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_09RHM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHM2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CHY7BHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._CHY7BHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_09RHNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHNWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_09RHS2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHS2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IBgi2LBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IBgi2bBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_IBgi2rBcEeSqLfQ0kalDug" name="importedOperationClassName"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi27BcEeSqLfQ0kalDug" name="operationMethodName"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi3LBcEeSqLfQ0kalDug" name="_ArrayListOfObject"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi3bBcEeSqLfQ0kalDug" name="_ArrayListOfSelectionChangedListener"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi3rBcEeSqLfQ0kalDug" name="_CollectionOfSelectionChangedListener"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi37BcEeSqLfQ0kalDug" name="_ArrayListOfResource"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi4LBcEeSqLfQ0kalDug" name="_CollectionOfResource"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi4bBcEeSqLfQ0kalDug" name="_MapOfResourceToDiagnostic"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi4rBcEeSqLfQ0kalDug" name="_HashMapOfResourceToBoolean"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi47BcEeSqLfQ0kalDug" name="_MapOfObjectToObject"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi5LBcEeSqLfQ0kalDug" name="_HashMapOfObjectToObject"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi5bBcEeSqLfQ0kalDug" name="_LinkedHashMapOfResourceToDiagnostic"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi5rBcEeSqLfQ0kalDug" name="_CollectionOfAnything"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi57BcEeSqLfQ0kalDug" name="_ListOfAnything" type="java.lang.String"/>
+ <parameters xmi:id="_IBgi6LBcEeSqLfQ0kalDug" name="useExtendedLabelProvider"
+ type="java.lang.Boolean"/>
+ <parameters xmi:id="_IBgi6bBcEeSqLfQ0kalDug" name="useStyledLabelProvider"
+ type="java.lang.Boolean"/>
+ <parameters xmi:id="_IBgi6rBcEeSqLfQ0kalDug" name="_AdapterFactoryLabelProvider"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi67BcEeSqLfQ0kalDug" name="_DelegatingAdapterFactoryLabelProvider"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi7LBcEeSqLfQ0kalDug" name="_DecoratingColumLabelProvider"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi7bBcEeSqLfQ0kalDug" name="_DiagnosticDecorator"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi7rBcEeSqLfQ0kalDug" name="_ArrayListOfString"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi77BcEeSqLfQ0kalDug" name="_ListOfString" type="java.lang.String"/>
+ <parameters xmi:id="_IBgi8LBcEeSqLfQ0kalDug" name="_ListOfPropertySheetPage"
+ type="java.lang.String"/>
+ <parameters xmi:id="_IBgi8bBcEeSqLfQ0kalDug" name="_ArrayListOfPropertySheetPage"
+ type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IBgi17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IBgi87BcEeSqLfQ0kalDug"
+ called="#_09RHS2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ </libraries>
+ </viewpoints>
+ </viewpointContainer>
+ <orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prg8djG0Ed-kc8dEZsdm2w">
+ <invocations xmi:id="_IF-MQbBcEeSqLfQ0kalDug" name="EMF Editor Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
+ <invocationContractContainer xmi:id="_IF-MQrBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_IF-MQ7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prg8ezG0Ed-kc8dEZsdm2w"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_DgB2IP6fEd64XaYPo3s6sPg"/>
+ <invocationContracts xmi:id="_IF-MR7BcEeSqLfQ0kalDug" factoryComponentContract="#_pCqEMFIIEd-eGOdO3WtsxA"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_L6JSwAHAEd-4faJMEplCjxw">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MSLBcEeSqLfQ0kalDug"
+ value="org.eclipse.egf.emf.pattern.base.ContentTypePatternExecutionReporter"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_IF-MS7BcEeSqLfQ0kalDug" factoryComponentContract="#_Tx5xMlkTEd-bv5aydwO2Qw"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_nz1HkSCaEd-Sse0r9LJWbA">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_IF-MTLBcEeSqLfQ0kalDug"
+ elements="#_PkqGczG0Ed-kc8dEZsdm2w"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_IF-MT7BcEeSqLfQ0kalDug" factoryComponentContract="#_Y3EukFHVEd-dr9AWwNwIMQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_NFhJ4UMgEd-Ixul1H5ANhg"/>
+ <invocationContracts xmi:id="_IF-MUrBcEeSqLfQ0kalDug" factoryComponentContract="#_NcZ6I_MqEd-6tr0C8ZV8Ew"
+ invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_JWI2sPI7Ed-Pp8S8RvVOuQ"/>
+ <invocationContracts xmi:id="_IF-MVbBcEeSqLfQ0kalDug" factoryComponentContract="#_FqdyEFLNEd-ZSLMRjxSbVQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_vtlEAFLMEd-ZSLMRjxSbVQ"/>
+ </invocationContractContainer>
+ </invocations>
+ </orchestration>
+ </fcore:FactoryComponent>
+ <fcore:FactoryComponent xmi:id="_PoF08DG0Ed-kc8dEZsdm2w" name="EMF Tests Pattern">
+ <contractContainer xmi:id="_Prg8hTG0Ed-kc8dEZsdm2w">
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prg8hjG0Ed-kc8dEZsdm2w"
+ description="EMF Tests Pattern" name="genModel" mandatory="true" invocationContracts="#_IF-MW7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_IF-MXrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_tvg04FIIEd-eGOdO3WtsxA"
+ description="EMF Tests Pattern" name="pattern.execution.reporter" invocationContracts="#_IF-MX7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MYrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Tx5xR1kTEd-bv5aydwO2Qw"
+ description="EMF Tests Pattern" name="pattern.ids" invocationContracts="#_IF-MY7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_IF-MZrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_eYFgEFHVEd-dr9AWwNwIMQ"
+ description="EMF Tests Pattern" name="pattern.substitutions" invocationContracts="#_IF-MZ7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_IF-MabBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_NcjD0vMqEd-6tr0C8ZV8Ew"
+ description="EMF Tests Pattern" name="usedGenPackages" invocationContracts="#_IF-MarBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_IF-MbLBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_LnCeMFLNEd-ZSLMRjxSbVQ"
+ description="EMF Tests Pattern" name="mergeRulesURI" invocationContracts="#_IF-MbbBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_IF-Mb7BcEeSqLfQ0kalDug"/>
+ </contracts>
+ </contractContainer>
+ <viewpointContainer xmi:id="_PoO-4DG0Ed-kc8dEZsdm2w">
+ <viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_PoO-4TG0Ed-kc8dEZsdm2w">
+ <libraries xmi:id="_PoO-4jG0Ed-kc8dEZsdm2w" name="org.eclipse.egf.emf.pattern.tests">
+ <elements xmi:id="_PoO-4zG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ name="PluginXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PoO-5TG0Ed-kc8dEZsdm2w" conditionMethod="#_-pXU9HLYEd-09ds9dfYpFw"
+ initMethod="#_PoO-5jG0Ed-kc8dEZsdm2w" footerMethod="#_PoO-6DG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hhdw0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PoO-5TG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5TG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PoO-5jG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-pXU9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._-pXU9HLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PoO-6DG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-6DG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PoO-6jG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-6jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SxaSKGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._SxaSKGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1A1QOWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._1A1QOWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PoO-7DG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-7DG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hhdw17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hhdw27BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hhdw3bBcEeSqLfQ0kalDug"
+ called="#_PoO-7DG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hhdw3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hhdw37BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PoYv4DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ name="BuildProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PoYv4jG0Ed-kc8dEZsdm2w" conditionMethod="#_-iWuBHLYEd-09ds9dfYpFw"
+ initMethod="#_PoYv4zG0Ed-kc8dEZsdm2w" footerMethod="#_PoYv5TG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hg369bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PoYv4jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PoYv4zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-iWuBHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._-iWuBHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PoYv5TG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv5TG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PoYv5zG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv5zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SxHXPGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._SxHXPGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1AsGTWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._1AsGTWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PoYv6TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv6TG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hg36-7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hg36_7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hg37AbBcEeSqLfQ0kalDug"
+ called="#_PoYv6TG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hg37ArBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hg37A7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Po1b0DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/manifest.mfjet"
"
+ name="ManifestMF" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_Po1b0jG0Ed-kc8dEZsdm2w" conditionMethod="#_-e7mmHLYEd-09ds9dfYpFw"
+ initMethod="#_Po1b0zG0Ed-kc8dEZsdm2w" footerMethod="#_Po1b1TG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HhUm4bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Po1b0jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0jG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Po1b0zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-e7mmHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._-e7mmHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Po1b1TG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b1TG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Po1b1zG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b1zG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SxRIOGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._SxRIOGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1BIyOWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._1BIyOWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Po1b2TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HhUm57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HhUm67BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HhUm7bBcEeSqLfQ0kalDug"
+ called="#_Po1b2TG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HhUm7rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HhUm77BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PplCsDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ name="PluginProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_xxtwkCg7Ed-ROrlGa8LEeQ"
+ headerMethod="#_PplCsjG0Ed-kc8dEZsdm2w" conditionMethod="#_-uRqJHLYEd-09ds9dfYpFw"
+ initMethod="#_PplCszG0Ed-kc8dEZsdm2w" footerMethod="#_PplCtTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HhxS0bBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PplCsjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCsjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PplCszG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCszG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-uRqJHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._-uRqJHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PplCtTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCtTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PplCtzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCtzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SxkDKGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._SxkDKGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1BR8KWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._1BR8KWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PplCuTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCuTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HhxS17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HhxS27BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_pQ16sChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HhxS3bBcEeSqLfQ0kalDug"
+ called="#_PplCuTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HhxS3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HhxS37BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pp39oDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.insert
"
+ name="TestCase" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_hYG6UCg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_Pp39ojG0Ed-kc8dEZsdm2w" conditionMethod="#_-w9xxHLYEd-09ds9dfYpFw"
+ initMethod="#_Pp39ozG0Ed-kc8dEZsdm2w" footerMethod="#_Pp39pTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HiXIsbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pp39ojG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ojG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pp39ozG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ozG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-w9xxHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._-w9xxHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pp39pTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39pTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PqBuoDG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuoDG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Sx2-GGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Sx2-GGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1BuoGWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._1BuoGWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PqBuojG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuojG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HiXIt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HiXIu7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HiXIvbBcEeSqLfQ0kalDug"
+ called="#_PqBuojG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HiXIvrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HiXIv7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PqeakDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/PackageExample.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="PackageExample" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PqeakjG0Ed-kc8dEZsdm2w" conditionMethod="#_-0r0JHLYEd-09ds9dfYpFw"
+ initMethod="#_PqeakzG0Ed-kc8dEZsdm2w" footerMethod="#_PqealTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hig5sbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PqeakjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PqeakzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-0r0JHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._-0r0JHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PqealTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqealTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PqealzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqealzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Sxt0KGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._Sxt0KGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1Bk3GWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._1Bk3GWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PqeamTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeamTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hig5t7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hig5u7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hig5vbBcEeSqLfQ0kalDug"
+ called="#_PqeamTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hig5vrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hig5v7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_Pq6fcDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/ModelTestSuite.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="ModelTestSuite" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_Pq6fcjG0Ed-kc8dEZsdm2w" conditionMethod="#_-7Y5FHLYEd-09ds9dfYpFw"
+ initMethod="#_Pq6fczG0Ed-kc8dEZsdm2w" footerMethod="#_Pq6fdTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_HiENwbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_Pq6fcjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fcjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pq6fczG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fczG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-7Y5FHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._-7Y5FHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_Pq6fdTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fdTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_Pq6fdzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fdzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SyAvGGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._SyAvGGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1BbtKWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._1BbtKWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_Pq6feTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6feTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_HiENx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HiENy7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HiENzbBcEeSqLfQ0kalDug"
+ called="#_Pq6feTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_HiENzrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_HiENz7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
+ </elements>
+ <elements xmi:id="_PrOBcDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/PackageTestSuite.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ name="PackageTestSuite" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
+ headerMethod="#_PrOBcjG0Ed-kc8dEZsdm2w" conditionMethod="#_-5ATdHLYEd-09ds9dfYpFw"
+ initMethod="#_PrOBczG0Ed-kc8dEZsdm2w" footerMethod="#_PrOBdTG0Ed-kc8dEZsdm2w">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_Hh6cwbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_PrOBcjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBcjG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PrOBczG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBczG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_-5ATdHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._-5ATdHLYEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_PrOBdTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBdTG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_PrOBdzG0Ed-kc8dEZsdm2w" name="setReporterVariables"
+ patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBdzG0Ed-kc8dEZsdm2w.pt"/>
+ <methods xmi:id="_SyKgGGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._SyKgGGKPEd-2a5uccsiuZA.pt"/>
+ <methods xmi:id="_1B4ZGWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._1B4ZGWKMEd-_wNQtGaQ-lw.pt"/>
+ <methods xmi:id="_PrOBeTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBeTG0Ed-kc8dEZsdm2w.pt"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_Hh6cx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hh6cy7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hh6czbBcEeSqLfQ0kalDug"
+ called="#_PrOBeTG0Ed-kc8dEZsdm2w"/>
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_Hh6czrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_Hh6cz7BcEeSqLfQ0kalDug"
+ called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
+ </elements>
+ </libraries>
+ <libraries xmi:id="_09kCIGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.tests.call.TestCase">
+ <elements xmi:id="_09kCIWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.insert
"
+ name="TestCase.implementedGenFeature.override" headerMethod="#_09kCI2J-Ed-FqczH3ESmRw"
+ conditionMethod="#_CIbc1XLZEd-09ds9dfYpFw" initMethod="#_09kCJGJ-Ed-FqczH3ESmRw"
+ footerMethod="#_09kCJmJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IB9OwrBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_09kCI2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_09kCJGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJGJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CIbc1XLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._CIbc1XLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_09kCJmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_09kCLGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCLGJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IB9OybBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IB9OyrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IB9Oy7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IB9OzLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IB9OyLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IB9OzrBcEeSqLfQ0kalDug"
+ called="#_09kCLGJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_093kIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.TODO.override
"
+ name="TestCase.getGenFeature.override" headerMethod="#_093kImJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CKEblHLZEd-09ds9dfYpFw" initMethod="#_093kI2J-Ed-FqczH3ESmRw"
+ footerMethod="#_093kJWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ICGYsbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_093kImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kImJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_093kI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kI2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CKEblHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._CKEblHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_093kJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kJWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_093kK2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kK2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_ICGYuLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ICGYubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ICGYurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ICGYu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ICGYt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ICGYvbBcEeSqLfQ0kalDug"
+ called="#_093kK2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0-KfEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.getGenFeature.annotations.insert" headerMethod="#_0-KfEmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CLQuZHLZEd-09ds9dfYpFw" initMethod="#_0-KfE2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0-KfFWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ICQJsbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0-KfEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfEmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-KfE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CLQuZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._CLQuZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0-KfFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfFWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-KfG2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfG2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_ICQJuLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ICQJubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ICQJurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ICQJu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ICQJt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ICQJvbBcEeSqLfQ0kalDug"
+ called="#_0-KfG2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0-UQEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.getGenFeature.TODO.override" headerMethod="#_0-UQEmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CMmyNHLZEd-09ds9dfYpFw" initMethod="#_0-UQE2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0-UQFWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ICZTobBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0-UQEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQEmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-UQE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQE2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CMmyNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._CMmyNHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0-UQFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQFWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-UQG2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQG2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_ICZTqLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ICZTqbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ICZTqrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ICZTq7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ICZTp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ICZTrbBcEeSqLfQ0kalDug"
+ called="#_0-UQG2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0-daAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.TODO.override
"
+ name="TestCase.setGenFeature.override" headerMethod="#_0-daAmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CPu-tHLZEd-09ds9dfYpFw" initMethod="#_0-daA2J-Ed-FqczH3ESmRw"
+ footerMethod="#_0-daBWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ICjEobBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0-daAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daAmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-daA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daA2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CPu-tHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._CPu-tHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0-daBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daBWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-daC2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daC2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_ICjEqLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ICjEqbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ICjEqrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ICjEq7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ICjEp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ICjErbBcEeSqLfQ0kalDug"
+ called="#_0-daC2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0-wU8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.setGenFeature.annotations.insert" headerMethod="#_0-wU8mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CRq4ZHLZEd-09ds9dfYpFw" initMethod="#_0-wU82J-Ed-FqczH3ESmRw"
+ footerMethod="#_0-wU9WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ICjEr7BcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0-wU8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-wU82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU82J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CRq4ZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._CRq4ZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0-wU9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU9WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-wU-2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU-2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_ICjEtrBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ICjEt7BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ICjEuLBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ICjEubBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ICjEtbBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ICjEu7BcEeSqLfQ0kalDug"
+ called="#_0-wU-2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0-6F8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.setGenFeature.TODO.override" headerMethod="#_0-6F8mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CStaNHLZEd-09ds9dfYpFw" initMethod="#_0-6F82J-Ed-FqczH3ESmRw"
+ footerMethod="#_0-6F9WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ICs1obBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0-6F8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F8mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-6F82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F82J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CStaNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._CStaNHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0-6F9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F9WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0-6F-2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F-2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_ICs1qLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ICs1qbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ICs1qrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ICs1q7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ICs1p7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ICs1rbBcEeSqLfQ0kalDug"
+ called="#_0-6F-2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_0_NA4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.TODO.override
"
+ name="TestCase.unsetGenFeature.override" headerMethod="#_0_NA4mJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CUDeBHLZEd-09ds9dfYpFw" initMethod="#_0_NA42J-Ed-FqczH3ESmRw"
+ footerMethod="#_0_NA5WJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IC1_kbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_0_NA4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA4mJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0_NA42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA42J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CUDeBHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._CUDeBHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_0_NA5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA5WJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_0_NA62J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA62J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IC1_mLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IC1_mbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IC1_mrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IC1_m7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IC1_l7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IC1_nbBcEeSqLfQ0kalDug"
+ called="#_0_NA62J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1BcckGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.unsetGenFeature.annotations.insert" headerMethod="#_1BcckmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CVZh1HLZEd-09ds9dfYpFw" initMethod="#_1Bcck2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1BcclWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IC_wkbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1BcckmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcckmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Bcck2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bcck2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CVZh1HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._CVZh1HLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1BcclWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcclWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Bccm2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bccm2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IC_wmLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IC_wmbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IC_wmrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IC_wm7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IC_wl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IC_wnbBcEeSqLfQ0kalDug"
+ called="#_1Bccm2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1BlmgGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.unsetGenFeature.TODO.override" headerMethod="#_1BlmgmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CWSSpHLZEd-09ds9dfYpFw" initMethod="#_1Blmg2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1BlmhWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IDSrgbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1BlmgmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmgmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Blmg2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmg2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CWSSpHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._CWSSpHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1BlmhWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmhWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Blmi2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmi2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IDSriLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IDSribBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IDSrirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IDSri7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IDSrh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IDSrjbBcEeSqLfQ0kalDug"
+ called="#_1Blmi2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1BvXgGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.TODO.override
"
+ name="TestCase.isSetGenFeature.override" headerMethod="#_1BvXgmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CY-aRHLZEd-09ds9dfYpFw" initMethod="#_1BvXg2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1BvXhWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IECSYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1BvXgmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXgmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1BvXg2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXg2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CY-aRHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._CY-aRHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1BvXhWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXhWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1BvXi2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXi2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IECSaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IECSabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IECSarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IECSa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IECSZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IECSbbBcEeSqLfQ0kalDug"
+ called="#_1BvXi2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1CMDcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.isSetGenFeature.annotations.insert" headerMethod="#_1CMDcmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CanZBHLZEd-09ds9dfYpFw" initMethod="#_1CMDc2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1CMDdWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IEMDYbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1CMDcmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDcmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1CMDc2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDc2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CanZBHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._CanZBHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1CMDdWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDdWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1CMDe2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDe2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IEMDaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IEMDabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IEMDarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IEMDa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IEMDZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IEMDbbBcEeSqLfQ0kalDug"
+ called="#_1CMDe2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1Ce-YGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.isSetGenFeature.TODO.override" headerMethod="#_1Ce-YmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CcGmxHLZEd-09ds9dfYpFw" initMethod="#_1Ce-Y2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1Ce-ZWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IEV0YbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1Ce-YmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-YmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Ce-Y2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-Y2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CcGmxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._CcGmxHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1Ce-ZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-ZWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Ce-a2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-a2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IEV0aLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IEV0abBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IEV0arBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IEV0a7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IEV0Z7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IEV0bbBcEeSqLfQ0kalDug"
+ called="#_1Ce-a2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1CovYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.implementedGenFeature.insert" headerMethod="#_1CovYmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CdcDhHLZEd-09ds9dfYpFw" initMethod="#_1CovY2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1CovZWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IE7qQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1CovYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovYmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1CovY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovY2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CdcDhHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._CdcDhHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1CovZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovZWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Cova2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1Cova2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IE7qSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_IE7qSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IE7qSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IE7qS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IE7qR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IE7qTbBcEeSqLfQ0kalDug"
+ called="#_1Cova2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1Cx5UGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.insert
"
+ name="TestCase.implementedGenOperation.override" headerMethod="#_1Cx5UmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CeVbZHLZEd-09ds9dfYpFw" initMethod="#_1Cx5U2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1Cx5VWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IFFbQbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1Cx5UmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5UmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Cx5U2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5U2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CeVbZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._CeVbZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1Cx5VWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5VWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1Cx5W2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5W2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IFFbSLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_IFFbSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IFFbSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IFFbS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IFFbR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IFFbTbBcEeSqLfQ0kalDug"
+ called="#_1Cx5W2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1C7qUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.genOperation.annotations.insert" headerMethod="#_1C7qUmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CgILJHLZEd-09ds9dfYpFw" initMethod="#_1C7qU2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1C7qVWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IFOlMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1C7qUmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qUmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1C7qU2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qU2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CgILJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._CgILJHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1C7qVWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qVWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1C7qW2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qW2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IFOlOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_IFOlObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IFOlOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IFOlO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IFOlN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IFOlPbBcEeSqLfQ0kalDug"
+ called="#_1C7qW2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1DFbUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.implementedGenOperation.TODO.override" headerMethod="#_1DFbUmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_CjtDlHLZEd-09ds9dfYpFw" initMethod="#_1DFbU2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1DFbVWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IFYWMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1DFbUmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbUmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1DFbU2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbU2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_CjtDlHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._CjtDlHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1DFbVWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbVWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1DFbW2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbW2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IFYWOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_IFYWObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IFYWOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IFYWO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IFYWN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IFYWPbBcEeSqLfQ0kalDug"
+ called="#_1DFbW2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1DOlQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.implementedGenOperation.insert" headerMethod="#_1DOlQmJ-Ed-FqczH3ESmRw"
+ conditionMethod="#_Ckl0ZHLZEd-09ds9dfYpFw" initMethod="#_1DOlQ2J-Ed-FqczH3ESmRw"
+ footerMethod="#_1DOlRWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IFiHMbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1DOlQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1DOlQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQ2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_Ckl0ZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._Ckl0ZHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1DOlRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlRWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1DOlS2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlS2J-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IFiHOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_IFiHObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IFiHOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IFiHO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IFiHN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IFiHPbBcEeSqLfQ0kalDug"
+ called="#_1DOlS2J-Ed-FqczH3ESmRw"/>
+ </elements>
+ <elements xmi:id="_1DYWQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.1.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ name="TestCase.insert" headerMethod="#_1DYWQmJ-Ed-FqczH3ESmRw" conditionMethod="#_ClCgVHLZEd-09ds9dfYpFw"
+ initMethod="#_1DYWQ2J-Ed-FqczH3ESmRw" footerMethod="#_1DYWRWJ-Ed-FqczH3ESmRw">
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_IF1CIbBcEeSqLfQ0kalDug"
+ name="JET"/>
+ <methods xmi:id="_1DYWQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQmJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1DYWQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQ2J-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_ClCgVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._ClCgVHLZEd-09ds9dfYpFw.pt"/>
+ <methods xmi:id="_1DYWRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWRWJ-Ed-FqczH3ESmRw.pt"/>
+ <methods xmi:id="_1DYWSmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWSmJ-Ed-FqczH3ESmRw.pt"/>
+ <parameters xmi:id="_IF1CKLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_IF1CKbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_IF1CKrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_IF1CJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_IF1CLLBcEeSqLfQ0kalDug"
+ called="#_1DYWSmJ-Ed-FqczH3ESmRw"/>
+ </elements>
+ </libraries>
+ </viewpoints>
+ </viewpointContainer>
+ <orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prg8gTG0Ed-kc8dEZsdm2w">
+ <invocations xmi:id="_IF-MWbBcEeSqLfQ0kalDug" name="EMF Tests Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
+ <invocationContractContainer xmi:id="_IF-MWrBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_IF-MW7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prg8hjG0Ed-kc8dEZsdm2w"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_DgB2IP6fEd64XaYPo3s6sPg"/>
+ <invocationContracts xmi:id="_IF-MX7BcEeSqLfQ0kalDug" factoryComponentContract="#_tvg04FIIEd-eGOdO3WtsxA"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_L6JSwAHAEd-4faJMEplCjxw">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MYLBcEeSqLfQ0kalDug"
+ value="org.eclipse.egf.emf.pattern.base.ContentTypePatternExecutionReporter"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_IF-MY7BcEeSqLfQ0kalDug" factoryComponentContract="#_Tx5xR1kTEd-bv5aydwO2Qw"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_nz1HkSCaEd-Sse0r9LJWbA">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_IF-MZLBcEeSqLfQ0kalDug"
+ elements="#_PoO-4jG0Ed-kc8dEZsdm2w"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_IF-MZ7BcEeSqLfQ0kalDug" factoryComponentContract="#_eYFgEFHVEd-dr9AWwNwIMQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_NFhJ4UMgEd-Ixul1H5ANhg"/>
+ <invocationContracts xmi:id="_IF-MarBcEeSqLfQ0kalDug" factoryComponentContract="#_NcjD0vMqEd-6tr0C8ZV8Ew"
+ invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_JWI2sPI7Ed-Pp8S8RvVOuQ"/>
+ <invocationContracts xmi:id="_IF-MbbBcEeSqLfQ0kalDug" factoryComponentContract="#_LnCeMFLNEd-ZSLMRjxSbVQ"
+ invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_vtlEAFLMEd-ZSLMRjxSbVQ"/>
+ </invocationContractContainer>
+ </invocations>
+ </orchestration>
+ </fcore:FactoryComponent>
+ <fcore:FactoryComponent xmi:id="_Prz3UDG0Ed-kc8dEZsdm2w" name="EMF Pattern">
+ <contractContainer xmi:id="_Prz3UTG0Ed-kc8dEZsdm2w">
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prz3UjG0Ed-kc8dEZsdm2w"
+ description="EMF Pattern" name="genModel" mandatory="true" invocationContracts="#_IF-Md7BcEeSqLfQ0kalDug #_IF-MhrBcEeSqLfQ0kalDug #_IF-MjbBcEeSqLfQ0kalDug #_IF-MlLBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_IF-MdrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_yqrHUFIIEd-eGOdO3WtsxA"
+ description="EMF Pattern" name="pattern.execution.reporter" invocationContracts="#_IF-MerBcEeSqLfQ0kalDug #_IF-Mh7BcEeSqLfQ0kalDug #_IF-MjrBcEeSqLfQ0kalDug #_IF-MlbBcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_IF-MebBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_JBH151eTEd-ExtSXfVloug"
+ description="EMF Pattern" name="pattern.substitutions" invocationContracts="#_IF-MfbBcEeSqLfQ0kalDug #_IF-MiLBcEeSqLfQ0kalDug #_IF-Mj7BcEeSqLfQ0kalDug #_IF-MlrBcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_IF-MfLBcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_k-TskPI7Ed-Pp8S8RvVOuQ"
+ description="EMF Pattern" name="usedGenPackages" invocationContracts="#_IF-MgLBcEeSqLfQ0kalDug #_IF-MibBcEeSqLfQ0kalDug #_IF-MkLBcEeSqLfQ0kalDug #_IF-Ml7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_IF-Mf7BcEeSqLfQ0kalDug"/>
+ </contracts>
+ <contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_TK4DEFLNEd-ZSLMRjxSbVQ"
+ description="EMF Pattern" name="mergeRulesURI" invocationContracts="#_IF-Mg7BcEeSqLfQ0kalDug #_IF-MirBcEeSqLfQ0kalDug #_IF-MkbBcEeSqLfQ0kalDug #_IF-MmLBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_IF-MgrBcEeSqLfQ0kalDug"/>
+ </contracts>
+ </contractContainer>
+ <orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prz3VDG0Ed-kc8dEZsdm2w">
+ <invocations xmi:id="_IF-McrBcEeSqLfQ0kalDug" invokedActivity="#_Pcm9sDG0Ed-kc8dEZsdm2w">
+ <invocationContractContainer xmi:id="_IF-Mc7BcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_IF-Md7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
+ invokedContract="#_Prg8ZTG0Ed-kc8dEZsdm2w"/>
+ <invocationContracts xmi:id="_IF-MerBcEeSqLfQ0kalDug" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
+ invokedContract="#_WRxYEFIIEd-eGOdO3WtsxA"/>
+ <invocationContracts xmi:id="_IF-MfbBcEeSqLfQ0kalDug" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
+ invokedContract="#_OVsagFHVEd-dr9AWwNwIMQ"/>
+ <invocationContracts xmi:id="_IF-MgLBcEeSqLfQ0kalDug" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
+ invokedContract="#_RcQCMPI7Ed-Pp8S8RvVOuQ"/>
+ <invocationContracts xmi:id="_IF-Mg7BcEeSqLfQ0kalDug" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
+ invokedContract="#_sluXsVLLEd-ZSLMRjxSbVQ"/>
+ </invocationContractContainer>
+ </invocations>
+ <invocations xmi:id="_IF-MhLBcEeSqLfQ0kalDug" invokedActivity="#_PiIW4DG0Ed-kc8dEZsdm2w">
+ <invocationContractContainer xmi:id="_IF-MhbBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_IF-MhrBcEeSqLfQ0kalDug" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
+ invokedContract="#_Prg8cDG0Ed-kc8dEZsdm2w"/>
+ <invocationContracts xmi:id="_IF-Mh7BcEeSqLfQ0kalDug" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
+ invokedContract="#_jzYi8FIIEd-eGOdO3WtsxA"/>
+ <invocationContracts xmi:id="_IF-MiLBcEeSqLfQ0kalDug" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
+ invokedContract="#_UCnhEFHVEd-dr9AWwNwIMQ"/>
+ <invocationContracts xmi:id="_IF-MibBcEeSqLfQ0kalDug" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
+ invokedContract="#_dgkvsPI7Ed-Pp8S8RvVOuQ"/>
+ <invocationContracts xmi:id="_IF-MirBcEeSqLfQ0kalDug" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
+ invokedContract="#_9wHxsFLMEd-ZSLMRjxSbVQ"/>
+ </invocationContractContainer>
+ </invocations>
+ <invocations xmi:id="_IF-Mi7BcEeSqLfQ0kalDug" invokedActivity="#_PkqGcDG0Ed-kc8dEZsdm2w">
+ <invocationContractContainer xmi:id="_IF-MjLBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_IF-MjbBcEeSqLfQ0kalDug" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
+ invokedContract="#_Prg8ezG0Ed-kc8dEZsdm2w"/>
+ <invocationContracts xmi:id="_IF-MjrBcEeSqLfQ0kalDug" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
+ invokedContract="#_pCqEMFIIEd-eGOdO3WtsxA"/>
+ <invocationContracts xmi:id="_IF-Mj7BcEeSqLfQ0kalDug" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
+ invokedContract="#_Y3EukFHVEd-dr9AWwNwIMQ"/>
+ <invocationContracts xmi:id="_IF-MkLBcEeSqLfQ0kalDug" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
+ invokedContract="#_NcZ6I_MqEd-6tr0C8ZV8Ew"/>
+ <invocationContracts xmi:id="_IF-MkbBcEeSqLfQ0kalDug" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
+ invokedContract="#_FqdyEFLNEd-ZSLMRjxSbVQ"/>
+ </invocationContractContainer>
+ </invocations>
+ <invocations xmi:id="_IF-MkrBcEeSqLfQ0kalDug" invokedActivity="#_PoF08DG0Ed-kc8dEZsdm2w">
+ <invocationContractContainer xmi:id="_IF-Mk7BcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_IF-MlLBcEeSqLfQ0kalDug" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
+ invokedContract="#_Prg8hjG0Ed-kc8dEZsdm2w"/>
+ <invocationContracts xmi:id="_IF-MlbBcEeSqLfQ0kalDug" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
+ invokedContract="#_tvg04FIIEd-eGOdO3WtsxA"/>
+ <invocationContracts xmi:id="_IF-MlrBcEeSqLfQ0kalDug" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
+ invokedContract="#_eYFgEFHVEd-dr9AWwNwIMQ"/>
+ <invocationContracts xmi:id="_IF-Ml7BcEeSqLfQ0kalDug" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
+ invokedContract="#_NcjD0vMqEd-6tr0C8ZV8Ew"/>
+ <invocationContracts xmi:id="_IF-MmLBcEeSqLfQ0kalDug" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
+ invokedContract="#_LnCeMFLNEd-ZSLMRjxSbVQ"/>
+ </invocationContractContainer>
+ </invocations>
+ </orchestration>
+ </fcore:FactoryComponent>
+</xmi:XMI>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/BuildProperties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/BuildProperties.java
new file mode 100644
index 0000000..4c74a1c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/BuildProperties.java
@@ -0,0 +1,225 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class BuildProperties extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized BuildProperties create(String lineSeparator) {
+ nl = lineSeparator;
+ BuildProperties result = new BuildProperties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + NL + "bin.includes = ";
+ protected final String TEXT_3 = ",\\";
+ protected final String TEXT_4 = NL + " icons/,\\";
+ protected final String TEXT_5 = NL + " META-INF/,\\";
+ protected final String TEXT_6 = NL + " plugin.xml,\\";
+ protected final String TEXT_7 = NL + " plugin.properties" + NL + "jars.compile.order = ";
+ protected final String TEXT_8 = NL + "source.";
+ protected final String TEXT_9 = " = ";
+ protected final String TEXT_10 = NL + "output.";
+ protected final String TEXT_11 = " = bin/" + NL;
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL;
+
+ public BuildProperties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditProjectDirectory() + "/build.properties";
+ overwrite = genModel.isUpdateClasspath()
+ && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(
+ genModel.getEditProjectDirectory()).appendSegment("plugin.xml"));
+ encoding = "ISO-8859-1";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getEditPluginID() + ".jar" : ".";
+ List<String> sourceFolders = genModel.getEditSourceFolders();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_3);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_4);
+ }
+ if (genModel.isBundleManifest()) {
+ stringBuffer.append(TEXT_5);
+ }
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(pluginClassesLocation);
+ boolean first = true;
+ for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) {
+ String sourceFolder = i.next();
+ if (i.hasNext()) {
+ sourceFolder += ",\\";
+ }
+ if (first) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(sourceFolder);
+ first = false;
+ } else {
+ stringBuffer.append(sourceFolder);
+ }
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_11);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && true;
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenClass.java
new file mode 100644
index 0000000..f03d12c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenClass.java
@@ -0,0 +1,138 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class CreateChildIconsForGenClass extends org.eclipse.egf.emf.pattern.base.GenClassGIF {
+ protected static String nl;
+
+ public static synchronized CreateChildIconsForGenClass create(String lineSeparator) {
+ nl = lineSeparator;
+ CreateChildIconsForGenClass result = new CreateChildIconsForGenClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public CreateChildIconsForGenClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenClass genClass = parameter;
+ GenModel genModel = genClass.getGenModel();
+ if (genModel.isCreationCommands() && genModel.isCreationIcons()) {
+ for (GenFeature feature : genClass.getCreateChildFeaturesIncludingDelegation()) {
+ for (GenClass childClass : genClass.getChildrenClasses(feature)) {
+ new CodegenGeneratorAdapter(parameter).generateGIF("edit/CreateChild.gif",
+ genClass.getCreateChildIconFileName(feature, childClass), genClass.getName(),
+ childClass.getName(), false);
+ }
+ }
+ }
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenClass genClass = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenPackage.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenPackage.java
new file mode 100644
index 0000000..1b3227d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenPackage.java
@@ -0,0 +1,149 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class CreateChildIconsForGenPackage extends org.eclipse.egf.emf.pattern.base.GenPackageGIF {
+ protected static String nl;
+
+ public static synchronized CreateChildIconsForGenPackage create(String lineSeparator) {
+ nl = lineSeparator;
+ CreateChildIconsForGenPackage result = new CreateChildIconsForGenPackage();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public CreateChildIconsForGenPackage() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ GenModel genModel = genPackage.getGenModel();
+ if (genModel.isCreationCommands() && genModel.isCreationIcons() && genPackage.isChildCreationExtenders()) {
+ for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> packageEntry : genPackage
+ .getExtendedChildCreationData().entrySet()) {
+ for (Map.Entry<GenClass, List<GenClass.ChildCreationData>> classEntry : packageEntry.getValue()
+ .entrySet()) {
+ GenClass genClass = classEntry.getKey();
+ for (GenClass.ChildCreationData childCreationData : classEntry.getValue()) {
+ if (childCreationData.createClassifier instanceof GenClass
+ && (childCreationData.delegatedFeature == null || classEntry.getKey()
+ .getAllGenFeatures().contains(childCreationData.delegatedFeature))) {
+ GenClass childClass = (GenClass) childCreationData.createClassifier;
+ GenFeature feature = childCreationData.createFeature;
+ new CodegenGeneratorAdapter(parameter).generateGIF("edit/CreateChild.gif",
+ genClass.getCreateChildIconFileName(genModel, feature, childClass),
+ genClass.getName(), childClass.getName(), false);
+ }
+ }
+ }
+ }
+ }
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Images.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Images.java
new file mode 100644
index 0000000..668166c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Images.java
@@ -0,0 +1,220 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Images extends org.eclipse.egf.emf.pattern.base.GenModelJava {
+ protected static String nl;
+
+ public static synchronized Images create(String lineSeparator) {
+ nl = lineSeparator;
+ Images result = new Images();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public interface ";
+ protected final String TEXT_5 = "Images extends ";
+ protected final String TEXT_6 = NL + "{";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Source(\"";
+ protected final String TEXT_8 = "\")" + NL + "\t";
+ protected final String TEXT_9 = " ";
+ protected final String TEXT_10 = "();" + NL;
+ protected final String TEXT_11 = NL + "}";
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL;
+
+ public Images() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(TEXT_14);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPath = genModel.getEditPluginDirectory();
+ packageName = genModel.getEditPluginPackageName();
+ className = genModel.getEditPluginClassName() + "Images";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getEditPluginPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getEditPluginClassName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.resources.client.ClientBundle"));
+ stringBuffer.append(TEXT_6);
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (genClass.isImage()) {
+ String image = genClass.getItemIconFileName();
+ image = image.substring(image.lastIndexOf("/icons/") + 1);
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(image);
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.resources.client.ImageResource"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genClass.getItemIconAccessorName());
+ stringBuffer.append(TEXT_10);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_11);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_12);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT)
+ && (!genModel.sameEditEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemIcon.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemIcon.java
new file mode 100644
index 0000000..d421c77
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemIcon.java
@@ -0,0 +1,133 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemIcon extends org.eclipse.egf.emf.pattern.base.GenClassGIF {
+ protected static String nl;
+
+ public static synchronized ItemIcon create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemIcon result = new ItemIcon();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ItemIcon() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenClass genClass = parameter;
+ if (genClass.isImage()) {
+ new CodegenGeneratorAdapter(parameter).generateGIF("edit/Item.gif", genClass.getItemIconFileName(),
+ genClass.getName(), null, false);
+ } else {
+ }
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenClass genClass = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProvider.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProvider.java
new file mode 100644
index 0000000..9b36975
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProvider.java
@@ -0,0 +1,792 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvider extends org.eclipse.egf.emf.pattern.base.GenClassJava {
+ protected static String nl;
+
+ public static synchronized ItemProvider create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvider result = new ItemProvider();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the item provider adapter for a {@link ";
+ protected final String TEXT_5 = "} object." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->"
+ + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_6 = " ";
+ protected final String TEXT_7 = "extends ";
+ protected final String TEXT_8 = NL + "\textends ";
+ protected final String TEXT_9 = NL + "\timplements";
+ protected final String TEXT_10 = NL + "\t\t";
+ protected final String TEXT_11 = ",";
+ protected final String TEXT_12 = NL + "{";
+ protected final String TEXT_13 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_14 = " copyright = ";
+ protected final String TEXT_15 = ";";
+ protected final String TEXT_16 = NL;
+ protected final String TEXT_17 = NL + "\t/**" + NL
+ + "\t * This constructs an instance from a factory and a notifier." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_18 = "(AdapterFactory adapterFactory)" + NL + "\t{" + NL + "\t\tsuper(adapterFactory);"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This returns the property descriptors for the adapted class." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_19 = NL + "\t@Override";
+ protected final String TEXT_20 = NL + "\tpublic ";
+ protected final String TEXT_21 = " getPropertyDescriptors(Object object)" + NL + "\t{" + NL
+ + "\t\tif (itemPropertyDescriptors == null)" + NL + "\t\t{" + NL
+ + "\t\t\tsuper.getPropertyDescriptors(object);" + NL;
+ protected final String TEXT_22 = NL + "\t\t\tadd";
+ protected final String TEXT_23 = "PropertyDescriptor(object);";
+ protected final String TEXT_24 = NL + "\t\t}" + NL + "\t\treturn itemPropertyDescriptors;" + NL + "\t}" + NL;
+ protected final String TEXT_25 = NL + "\t/**" + NL + "\t * This adds a property descriptor for the ";
+ protected final String TEXT_26 = " feature." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void add";
+ protected final String TEXT_27 = "PropertyDescriptor(Object object)" + NL + "\t{";
+ protected final String TEXT_28 = NL;
+ protected final String TEXT_29 = NL + "\t}" + NL;
+ protected final String TEXT_30 = NL
+ + "\t/**"
+ + NL
+ + "\t * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an"
+ + NL
+ + "\t * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or"
+ + NL + "\t * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_31 = NL + "\t@Override";
+ protected final String TEXT_32 = NL + "\tpublic ";
+ protected final String TEXT_33 = " getChildrenFeatures(Object object)" + NL + "\t{" + NL
+ + "\t\tif (childrenFeatures == null)" + NL + "\t\t{" + NL + "\t\t\tsuper.getChildrenFeatures(object);";
+ protected final String TEXT_34 = NL + "\t\t\tchildrenFeatures.add(";
+ protected final String TEXT_35 = ");";
+ protected final String TEXT_36 = NL + "\t\t}" + NL + "\t\treturn childrenFeatures;" + NL + "\t}" + NL;
+ protected final String TEXT_37 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_38 = NL + "\t@Override";
+ protected final String TEXT_39 = NL + "\tprotected ";
+ protected final String TEXT_40 = " getChildFeature(Object object, Object child)" + NL + "\t{" + NL
+ + "\t\t// Check the type of the specified child object and return the proper feature to use for" + NL
+ + "\t\t// adding (see {@link AddCommand}) it as a child." + NL + "" + NL
+ + "\t\treturn super.getChildFeature(object, child);" + NL + "\t}" + NL;
+ protected final String TEXT_41 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_42 = NL + "\t@Override";
+ protected final String TEXT_43 = NL + "\tpublic boolean hasChildren(Object object)" + NL + "\t{" + NL
+ + "\t\treturn hasChildren(object, ";
+ protected final String TEXT_44 = ");" + NL + "\t}" + NL;
+ protected final String TEXT_45 = NL + "\t/**" + NL + "\t * This returns ";
+ protected final String TEXT_46 = ".gif." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_47 = NL + "\t@Override";
+ protected final String TEXT_48 = NL + "\tpublic Object getImage(Object object)" + NL + "\t{" + NL
+ + "\t\treturn overlayImage(object, getResourceLocator().getImage(\"full/obj16/";
+ protected final String TEXT_49 = "\"));";
+ protected final String TEXT_50 = NL + "\t}" + NL;
+ protected final String TEXT_51 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_52 = NL + "\t@Override";
+ protected final String TEXT_53 = NL + "\tprotected boolean shouldComposeCreationImage() " + NL + "\t{" + NL
+ + "\t\treturn true;" + NL + "\t}" + NL;
+ protected final String TEXT_54 = NL + "\t/**" + NL + "\t * This returns the label text for the adapted class." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_55 = NL + "\t@Override";
+ protected final String TEXT_56 = NL + "\tpublic String getText(Object object)" + NL + "\t{";
+ protected final String TEXT_57 = NL;
+ protected final String TEXT_58 = NL + "\t}" + NL + "\t";
+ protected final String TEXT_59 = NL + "\t/**" + NL
+ + "\t * This returns the label styled text for the adapted class." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_60 = NL + "\t@Override";
+ protected final String TEXT_61 = NL + "\tpublic Object getStyledText(Object object)" + NL + "\t{";
+ protected final String TEXT_62 = NL;
+ protected final String TEXT_63 = NL + "\t}\t";
+ protected final String TEXT_64 = NL + NL + "\t/**" + NL
+ + "\t * This handles model notifications by calling {@link #updateChildren} to update any cached" + NL
+ + "\t * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_65 = NL + "\t@Override";
+ protected final String TEXT_66 = NL + "\tpublic void notifyChanged(Notification notification)" + NL + "\t{" + NL
+ + "\t\tupdateChildren(notification);";
+ protected final String TEXT_67 = NL + NL + "\t\tswitch (notification.getFeatureID(";
+ protected final String TEXT_68 = ".class))" + NL + "\t\t{";
+ protected final String TEXT_69 = NL + "\t\t\tcase ";
+ protected final String TEXT_70 = ":";
+ protected final String TEXT_71 = NL + "\t\t\t\tfireNotifyChanged(new ";
+ protected final String TEXT_72 = "(notification, notification.getNotifier(), false, true));" + NL
+ + "\t\t\t\treturn;";
+ protected final String TEXT_73 = NL + "\t\t\tcase ";
+ protected final String TEXT_74 = ":";
+ protected final String TEXT_75 = NL + "\t\t\t\tfireNotifyChanged(new ";
+ protected final String TEXT_76 = "(notification, notification.getNotifier(), true, false));" + NL
+ + "\t\t\t\treturn;";
+ protected final String TEXT_77 = NL + "\t\t\tcase ";
+ protected final String TEXT_78 = ":";
+ protected final String TEXT_79 = NL + "\t\t\t\tfireNotifyChanged(new ";
+ protected final String TEXT_80 = "(notification, notification.getNotifier(), true, true));" + NL
+ + "\t\t\t\treturn;";
+ protected final String TEXT_81 = NL + "\t\t}";
+ protected final String TEXT_82 = NL + "\t\tsuper.notifyChanged(notification);" + NL + "\t}" + NL;
+ protected final String TEXT_83 = NL + "\t/**" + NL
+ + "\t * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children" + NL
+ + "\t * that can be created under this object." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_84 = NL + "\t@Override";
+ protected final String TEXT_85 = NL + "\tprotected void collectNewChildDescriptors(";
+ protected final String TEXT_86 = " newChildDescriptors, Object object)" + NL + "\t{" + NL
+ + "\t\tsuper.collectNewChildDescriptors(newChildDescriptors, object);";
+ protected final String TEXT_87 = NL;
+ protected final String TEXT_88 = NL;
+ protected final String TEXT_89 = NL;
+ protected final String TEXT_90 = NL;
+ protected final String TEXT_91 = NL + "\t}" + NL;
+ protected final String TEXT_92 = NL + "\t/**" + NL
+ + "\t * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_93 = NL + "\t@Override";
+ protected final String TEXT_94 = NL
+ + "\tpublic String getCreateChildText(Object owner, Object feature, Object child, ";
+ protected final String TEXT_95 = " selection)" + NL + "\t{" + NL + "\t\tObject childFeature = feature;" + NL
+ + "\t\tObject childObject = child;" + NL;
+ protected final String TEXT_96 = NL + "\t\tif (childFeature instanceof ";
+ protected final String TEXT_97 = " && ";
+ protected final String TEXT_98 = ".isFeatureMap((EStructuralFeature)childFeature))" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_99 = ".Entry entry = (FeatureMap.Entry)childObject;" + NL
+ + "\t\t\tchildFeature = entry.getEStructuralFeature();" + NL + "\t\t\tchildObject = entry.getValue();" + NL
+ + "\t\t}" + NL;
+ protected final String TEXT_100 = NL + "\t\tboolean qualify =";
+ protected final String TEXT_101 = NL + "\t\t\tchildFeature == ";
+ protected final String TEXT_102 = NL + NL + "\t\tif (qualify)" + NL + "\t\t{" + NL + "\t\t\treturn getString" + NL
+ + "\t\t\t\t(\"_UI_CreateChild_text2\",";
+ protected final String TEXT_103 = NL
+ + "\t\t\t\t new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });"
+ + NL + "\t\t}" + NL + "\t\treturn super.getCreateChildText(owner, feature, child, selection);" + NL + "\t}"
+ + NL;
+ protected final String TEXT_104 = NL + "\t/**" + NL
+ + "\t * Return the resource locator for this item provider's resources." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_105 = NL + "\t@Override";
+ protected final String TEXT_106 = NL + "\tpublic ";
+ protected final String TEXT_107 = " getResourceLocator()" + NL + "\t{";
+ protected final String TEXT_108 = NL + "\t\treturn ((";
+ protected final String TEXT_109 = ")adapterFactory).getResourceLocator();";
+ protected final String TEXT_110 = NL + "\t\treturn ";
+ protected final String TEXT_111 = ".INSTANCE;";
+ protected final String TEXT_112 = NL + "\t}" + NL;
+ protected final String TEXT_113 = NL;
+ protected final String TEXT_114 = NL + "}";
+ protected final String TEXT_115 = NL;
+ protected final String TEXT_116 = NL;
+ protected final String TEXT_117 = NL;
+
+ public ItemProvider() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(TEXT_117);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenClass genClass = parameter;
+ targetPath = genClass.getGenModel().getEditDirectory();
+ packageName = genClass.getGenPackage().getProviderPackageName();
+ className = genClass.getProviderClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenClass genClass = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenClass genClass = (GenClass) argument;
+ GenPackage genPackage = genClass.getGenPackage();
+ GenModel genModel = genPackage.getGenModel();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getProviderPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.addImport("org.eclipse.emf.common.notify.AdapterFactory");
+ genModel.addImport("org.eclipse.emf.common.notify.Notification");
+ String _List = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor>"
+ : "java.util.List");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genClass.getProviderClassName());
+ stringBuffer.append(TEXT_6);
+ if (genClass.getProviderImplementsClassNames().isEmpty()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genClass.getProviderBaseClassName() != null ? genClass.getProviderBaseClassName()
+ : genModel.getImportedName("org.eclipse.emf.edit.provider.ItemProviderAdapter"));
+ }
+ if (!genClass.getProviderImplementsClassNames().isEmpty()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genClass.getProviderBaseClassName() != null ? genClass.getProviderBaseClassName()
+ : genModel.getImportedName("org.eclipse.emf.edit.provider.ItemProviderAdapter"));
+ stringBuffer.append(TEXT_9);
+ for (Iterator<String> i = genClass.getProviderImplementsClassNames().iterator(); i.hasNext();) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName(i.next()));
+ if (i.hasNext()) {
+ stringBuffer.append(TEXT_11);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_12);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_16);
+ }
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genClass.getProviderClassName());
+ stringBuffer.append(TEXT_18);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(_List);
+ stringBuffer.append(TEXT_21);
+ for (GenFeature genFeature : genClass.getPropertyFeatures()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ for (GenFeature genFeature : genClass.getPropertyFeatures()) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(TEXT_28);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.addPropertyDescriptor.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,_List:_List"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("_List", _List);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03mkEWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/addPropertyDescriptor.override.javajetinc
+ stringBuffer.append(TEXT_29);
+ }
+ if (!genClass.getChildrenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_30);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_31);
+ }
+ stringBuffer.append(TEXT_32);
+ stringBuffer
+ .append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<? extends org.eclipse.emf.ecore.EStructuralFeature>"
+ : "java.util.Collection"));
+ stringBuffer.append(TEXT_33);
+ for (GenFeature genFeature : genClass.getChildrenFeatures()) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ if (!genClass.getChildrenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_37);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_38);
+ }
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_40);
+ }
+ }
+ if (genClass.needsHasChildrenMethodOverride()) {
+ stringBuffer.append(TEXT_41);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_42);
+ }
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genModel.isOptimizedHasChildren());
+ stringBuffer.append(TEXT_44);
+ }
+ if (genClass.isImage()) {
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_46);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_47);
+ }
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_50);
+ }
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && !genModel.isCreationIcons()) {
+ stringBuffer.append(TEXT_51);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_52);
+ }
+ stringBuffer.append(TEXT_53);
+ }
+ stringBuffer.append(TEXT_54);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_55);
+ }
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(TEXT_57);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getText.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,_List:_List"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("_List", _List);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03wVEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/getText.override.javajetinc
+ stringBuffer.append(TEXT_58);
+ if (genModel.isStyleProviders()) {
+ stringBuffer.append(TEXT_59);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(TEXT_62);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getStyledText.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,_List:_List"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("_List", _List);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_sd5EMKoMEeOCpsO1cKKCxA",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/getStyledText.override.javajetinc
+ stringBuffer.append(TEXT_63);
+ }
+ stringBuffer.append(TEXT_64);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_65);
+ }
+ stringBuffer.append(TEXT_66);
+ if (!genClass.getLabelNotifyFeatures().isEmpty() || !genClass.getContentNotifyFeatures().isEmpty()
+ || !genClass.getLabelAndContentNotifyFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_68);
+ if (!genClass.getLabelNotifyFeatures().isEmpty()) {
+ for (GenFeature genFeature : genClass.getLabelNotifyFeatures()) {
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_70);
+ }
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.ViewerNotification"));
+ stringBuffer.append(TEXT_72);
+ }
+ if (!genClass.getContentNotifyFeatures().isEmpty()) {
+ for (GenFeature genFeature : genClass.getContentNotifyFeatures()) {
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_74);
+ }
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.ViewerNotification"));
+ stringBuffer.append(TEXT_76);
+ }
+ if (!genClass.getLabelAndContentNotifyFeatures().isEmpty()) {
+ for (GenFeature genFeature : genClass.getLabelAndContentNotifyFeatures()) {
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_78);
+ }
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.ViewerNotification"));
+ stringBuffer.append(TEXT_80);
+ }
+ stringBuffer.append(TEXT_81);
+ }
+ stringBuffer.append(TEXT_82);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_83);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ stringBuffer
+ .append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<java.lang.Object>"
+ : "java.util.Collection"));
+ stringBuffer.append(TEXT_86);
+ for (GenClass.ChildCreationData childCreationData : genClass.getChildCreationData()) {
+ GenFeature createFeature = childCreationData.createFeature;
+ GenFeature delegatedFeature = childCreationData.delegatedFeature;
+ GenClassifier createClassifier = childCreationData.createClassifier;
+ if (createFeature.isFeatureMapType()) {
+ if (delegatedFeature.isReferenceType()) {
+ GenClass createClass = (GenClass) createClassifier;
+ stringBuffer.append(TEXT_87);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createClass", createClass);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_036GEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/newChildDescriptorsReferenceDelegatedFeature.override.javajetinc
+ } else {
+ GenDataType createDataType = (GenDataType) createClassifier;
+ stringBuffer.append(TEXT_88);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createDataType", createDataType);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04WyAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/newChildDescriptorsAttributeDelegatedFeature.override.javajetinc
+ }
+ } else if (createFeature.isReferenceType()) {
+ GenClass createClass = (GenClass) createClassifier;
+ stringBuffer.append(TEXT_89);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createClass", createClass);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04ps8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/newChildDescriptorsReferenceFeature.override.javajetinc
+ } else {
+ GenDataType createDataType = (GenDataType) createClassifier;
+ stringBuffer.append(TEXT_90);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createDataType", createDataType);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_048n4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/newChildDescriptorsAttributeFeature.override.javajetinc
+ }
+ }
+ stringBuffer.append(TEXT_91);
+ if (!genClass.getSharedClassCreateChildFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_92);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_93);
+ }
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<?>"
+ : "java.util.Collection"));
+ stringBuffer.append(TEXT_95);
+ if (genClass.hasFeatureMapCreateChildFeatures()) {
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMapUtil"));
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_99);
+ }
+ stringBuffer.append(TEXT_100);
+ for (Iterator<GenFeature> i = genClass.getSharedClassCreateChildFeatures().iterator(); i.hasNext();) {
+ GenFeature createFeature = i.next();
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(createFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(i.hasNext() ? " ||" : ";");
+ }
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_103);
+ }
+ }
+ if (genClass.getProviderExtendsGenClass() == null
+ || genClass.getProviderExtendsGenClass().getGenPackage() != genPackage
+ && (!genPackage.isExtensibleProviderFactory() || genClass.getProviderExtendsGenClass().getGenPackage()
+ .isExtensibleProviderFactory() != genPackage.isExtensibleProviderFactory())) {
+ stringBuffer.append(TEXT_104);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_105);
+ }
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.ResourceLocator"));
+ stringBuffer.append(TEXT_107);
+ if (genPackage.isExtensibleProviderFactory()) {
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.IChildCreationExtender"));
+ stringBuffer.append(TEXT_109);
+ } else {
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genPackage.getImportedEditPluginClassName());
+ stringBuffer.append(TEXT_111);
+ }
+ stringBuffer.append(TEXT_112);
+ }
+ stringBuffer.append(TEXT_113);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.insert" args="genClass:genClass,genPackage:genPackage,genModel:genModel,_List:_List"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("_List", _List);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_051_wGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_114);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_115);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenClass genClass = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && true;
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProviderAdapterFactory.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProviderAdapterFactory.java
new file mode 100644
index 0000000..4f02a55
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProviderAdapterFactory.java
@@ -0,0 +1,838 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProviderAdapterFactory extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized ItemProviderAdapterFactory create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProviderAdapterFactory result = new ItemProviderAdapterFactory();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL
+ + NL
+ + "/**"
+ + NL
+ + " * This is the factory that is used to provide the interfaces needed to support Viewers."
+ + NL
+ + " * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}."
+ + NL + " * The adapters also support Eclipse property sheets." + NL
+ + " * Note that most of the adapters are shared among multiple instances." + NL
+ + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL
+ + "public class ";
+ protected final String TEXT_5 = " extends ";
+ protected final String TEXT_6 = " implements ComposeableAdapterFactory, IChangeNotifier";
+ protected final String TEXT_7 = ", ";
+ protected final String TEXT_8 = ", ";
+ protected final String TEXT_9 = NL + "{";
+ protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_11 = " copyright = ";
+ protected final String TEXT_12 = ";";
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL + "\t/**" + NL
+ + "\t * This keeps track of the root adapter factory that delegates to this adapter factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ComposedAdapterFactory parentAdapterFactory;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected IChangeNotifier changeNotifier = new ChangeNotifier();" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL
+ + "\t * This keeps track of all the item providers created, so that they can be {@link #dispose disposed}."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_16 = " disposable = new Disposable();" + NL;
+ protected final String TEXT_17 = NL + "\t/**" + NL + "\t * This helps manage the child creation extenders." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_18 = " childCreationExtenderManager = new ";
+ protected final String TEXT_19 = "(";
+ protected final String TEXT_20 = ".INSTANCE, ";
+ protected final String TEXT_21 = ".eNS_URI);" + NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL
+ + "\t * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_23 = " supportedTypes = new ";
+ protected final String TEXT_24 = "();" + NL + "" + NL + "\t/**" + NL + "\t * This constructs an instance." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_25 = "()" + NL + "\t{";
+ protected final String TEXT_26 = NL + "\t\tsupportedTypes.add(";
+ protected final String TEXT_27 = ".class);";
+ protected final String TEXT_28 = NL + "\t}" + NL;
+ protected final String TEXT_29 = NL
+ + "\t/**"
+ + NL
+ + "\t * This keeps track of the factory to which to delegate adapter creation for objects from that package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_30 = " ";
+ protected final String TEXT_31 = " = null;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This determines the delegate factory for the package." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_32 = " get";
+ protected final String TEXT_33 = "()" + NL + "\t{" + NL + "\t\tif (";
+ protected final String TEXT_34 = " == null)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_35 = " rootAdapterFactory = getRootAdapterFactory();" + NL
+ + "\t\t\tif (rootAdapterFactory instanceof ComposedAdapterFactory)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_36 = " delegateAdapterFactory =" + NL
+ + "\t\t\t\t\t((ComposedAdapterFactory)rootAdapterFactory).getFactoryForType(";
+ protected final String TEXT_37 = ".getPackage());" + NL + "\t\t\t\tif (delegateAdapterFactory instanceof ";
+ protected final String TEXT_38 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_39 = " = (";
+ protected final String TEXT_40 = ")delegateAdapterFactory;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL
+ + "\t\treturn ";
+ protected final String TEXT_41 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_42 = NL + "\t/**" + NL
+ + "\t * This keeps track of the one adapter used for all {@link ";
+ protected final String TEXT_43 = "} instances." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_44 = " ";
+ protected final String TEXT_45 = "ItemProvider;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This creates an adapter for a {@link ";
+ protected final String TEXT_46 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_47 = NL + "\t@Override";
+ protected final String TEXT_48 = NL + "\tpublic Adapter create";
+ protected final String TEXT_49 = "Adapter()" + NL + "\t{" + NL + "\t\tif (";
+ protected final String TEXT_50 = "ItemProvider == null)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_51 = "ItemProvider = new ";
+ protected final String TEXT_52 = "(this);" + NL + "\t\t}" + NL + "" + NL + "\t\treturn ";
+ protected final String TEXT_53 = "ItemProvider;" + NL + "\t}" + NL;
+ protected final String TEXT_54 = NL + "\t/**" + NL + "\t * This creates an adapter for a {@link ";
+ protected final String TEXT_55 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_56 = NL + "\t@Override";
+ protected final String TEXT_57 = NL + "\tpublic Adapter create";
+ protected final String TEXT_58 = "Adapter()" + NL + "\t{" + NL + "\t\treturn new ";
+ protected final String TEXT_59 = "(this);" + NL + "\t}" + NL;
+ protected final String TEXT_60 = NL + "\t/**" + NL + "\t * ";
+ protected final String TEXT_61 = " of ";
+ protected final String TEXT_62 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic Adapter create";
+ protected final String TEXT_63 = "Adapter()" + NL + "\t{" + NL + "\t\treturn" + NL + "\t\t\tget";
+ protected final String TEXT_64 = "() == null ?" + NL + "\t\t\t\tnull :" + NL + "\t\t\t\tget";
+ protected final String TEXT_65 = "().create";
+ protected final String TEXT_66 = "Adapter();" + NL + "\t}" + NL;
+ protected final String TEXT_67 = NL + "\t/**" + NL
+ + "\t * This returns the root adapter factory that contains this factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ComposeableAdapterFactory getRootAdapterFactory()" + NL + "\t{" + NL
+ + "\t\treturn parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This sets the composed adapter factory that contains this factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)" + NL
+ + "\t{" + NL + "\t\tthis.parentAdapterFactory = parentAdapterFactory;" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_68 = NL + "\t@Override";
+ protected final String TEXT_69 = NL + "\tpublic boolean isFactoryForType(Object type)" + NL + "\t{" + NL
+ + "\t\treturn supportedTypes.contains(type) || super.isFactoryForType(type);" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * This implementation substitutes the factory itself as the key for the adapter." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_70 = NL + "\t@Override";
+ protected final String TEXT_71 = NL + "\tpublic Adapter adapt(Notifier notifier, Object type)" + NL + "\t{" + NL
+ + "\t\treturn super.adapt(notifier, this);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_72 = NL + "\t@Override";
+ protected final String TEXT_73 = NL + "\tpublic Object adapt(Object object, Object type)" + NL + "\t{" + NL
+ + "\t\tif (isFactoryForType(type))" + NL + "\t\t{" + NL
+ + "\t\t\tObject adapter = super.adapt(object, type);" + NL + "\t\t\tif (!(type instanceof Class";
+ protected final String TEXT_74 = "<?>";
+ protected final String TEXT_75 = ") || ";
+ protected final String TEXT_76 = ".isInstance((Class";
+ protected final String TEXT_77 = "<?>";
+ protected final String TEXT_78 = ")type, adapter)";
+ protected final String TEXT_79 = "(((Class";
+ protected final String TEXT_80 = "<?>";
+ protected final String TEXT_81 = ")type).isInstance(adapter))";
+ protected final String TEXT_82 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\treturn adapter;" + NL + "\t\t\t}" + NL
+ + "\t\t}" + NL + "" + NL + "\t\treturn null;" + NL + "\t}" + NL;
+ protected final String TEXT_83 = NL
+ + "\t/**"
+ + NL
+ + "\t * Associates an adapter with a notifier via the base implementation, then records it to ensure it will be disposed."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_84 = NL + "\t@Override";
+ protected final String TEXT_85 = NL + "\tprotected void associate(Adapter adapter, Notifier target)" + NL + "\t{"
+ + NL + "\t\tsuper.associate(adapter, target);" + NL + "\t\tif (adapter != null)" + NL + "\t\t{" + NL
+ + "\t\t\tdisposable.add(adapter);" + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_87 = " getChildCreationExtenders()" + NL + "\t{" + NL
+ + "\t\treturn childCreationExtenderManager.getChildCreationExtenders();" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_88 = " getNewChildDescriptors(Object object, ";
+ protected final String TEXT_89 = " editingDomain)" + NL + "\t{" + NL
+ + "\t\treturn childCreationExtenderManager.getNewChildDescriptors(object, editingDomain);" + NL + "\t}"
+ + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_90 = " getResourceLocator()" + NL + "\t{" + NL
+ + "\t\treturn childCreationExtenderManager;" + NL + "\t}" + NL;
+ protected final String TEXT_91 = NL + "\t/**" + NL + "\t * This adds a listener." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void addListener(INotifyChangedListener notifyChangedListener)" + NL + "\t{"
+ + NL + "\t\tchangeNotifier.addListener(notifyChangedListener);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This removes a listener." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void removeListener(INotifyChangedListener notifyChangedListener)" + NL + "\t{" + NL
+ + "\t\tchangeNotifier.removeListener(notifyChangedListener);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void fireNotifyChanged(Notification notification)" + NL + "\t{" + NL
+ + "\t\tchangeNotifier.fireNotifyChanged(notification);" + NL + "" + NL
+ + "\t\tif (parentAdapterFactory != null)" + NL + "\t\t{" + NL
+ + "\t\t\tparentAdapterFactory.fireNotifyChanged(notification);" + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_92 = NL + "\t/**" + NL
+ + "\t * This disposes all of the item providers created by this factory. " + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void dispose()" + NL + "\t{";
+ protected final String TEXT_93 = NL + "\t\tdisposable.dispose();";
+ protected final String TEXT_94 = NL + "\t\tif (";
+ protected final String TEXT_95 = "ItemProvider != null) ";
+ protected final String TEXT_96 = "ItemProvider.dispose();";
+ protected final String TEXT_97 = NL + "\t}" + NL;
+ protected final String TEXT_98 = NL + "\t/**" + NL + "\t * A child creation extender for the {@link ";
+ protected final String TEXT_99 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class ";
+ protected final String TEXT_100 = " implements ";
+ protected final String TEXT_101 = NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * The switch for creating child descriptors specific to each extended class." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tprotected static class CreationSwitch extends ";
+ protected final String TEXT_102 = NL + "\t\t{" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * The child descriptors being populated." + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
+ protected final String TEXT_103 = " newChildDescriptors;" + NL + "" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * The domain in which to create the children." + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
+ protected final String TEXT_104 = " editingDomain;" + NL + "" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * Creates the a switch for populating child descriptors in the given domain." + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */" + NL + "\t\t\tCreationSwitch(";
+ protected final String TEXT_105 = " newChildDescriptors, ";
+ protected final String TEXT_106 = " editingDomain) " + NL + "\t\t\t{" + NL
+ + "\t\t\t\tthis.newChildDescriptors = newChildDescriptors;" + NL
+ + "\t\t\t\tthis.editingDomain = editingDomain;" + NL + "\t\t\t}";
+ protected final String TEXT_107 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
+ protected final String TEXT_108 = NL + "\t\t\t@Override";
+ protected final String TEXT_109 = NL + "\t\t\tpublic ";
+ protected final String TEXT_110 = "Object case";
+ protected final String TEXT_111 = "(";
+ protected final String TEXT_112 = " object)" + NL + "\t\t\t{";
+ protected final String TEXT_113 = NL;
+ protected final String TEXT_114 = NL;
+ protected final String TEXT_115 = NL;
+ protected final String TEXT_116 = NL;
+ protected final String TEXT_117 = NL;
+ protected final String TEXT_118 = NL + "\t\t\t\treturn null;" + NL + "\t\t\t}" + NL + " ";
+ protected final String TEXT_119 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
+ protected final String TEXT_120 = " createChildParameter(Object feature, Object child)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn new ";
+ protected final String TEXT_121 = "(null, feature, child);" + NL + "\t\t\t}" + NL + "" + NL + "\t\t}" + NL + ""
+ + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_122 = " getNewChildDescriptors(Object object, ";
+ protected final String TEXT_123 = " editingDomain)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_124 = " result = new ";
+ protected final String TEXT_125 = "();" + NL + "\t\t\tnew CreationSwitch(result, editingDomain).doSwitch((";
+ protected final String TEXT_126 = ")object);" + NL + "\t\t\treturn result;" + NL + "\t\t}" + NL + "" + NL
+ + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_127 = " getResourceLocator()" + NL + "\t\t{" + NL + "\t\t\treturn ";
+ protected final String TEXT_128 = ".INSTANCE;" + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_129 = NL + "}";
+ protected final String TEXT_130 = NL;
+ protected final String TEXT_131 = NL;
+ protected final String TEXT_132 = NL;
+
+ public ItemProviderAdapterFactory() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(TEXT_132);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getEditDirectory();
+ packageName = genPackage.getProviderPackageName();
+ className = genPackage.getItemProviderAdapterFactoryClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getProviderPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.addImport("org.eclipse.emf.common.notify.Adapter");
+ genModel.addImport("org.eclipse.emf.common.notify.Notification");
+ genModel.addImport("org.eclipse.emf.common.notify.Notifier");
+ genModel.addImport("org.eclipse.emf.edit.provider.ChangeNotifier");
+ genModel.addImport("org.eclipse.emf.edit.provider.ComposeableAdapterFactory");
+ genModel.addImport("org.eclipse.emf.edit.provider.ComposedAdapterFactory");
+ genModel.addImport("org.eclipse.emf.edit.provider.IChangeNotifier");
+ genModel.addImport("org.eclipse.emf.edit.provider.IEditingDomainItemProvider");
+ genModel.addImport("org.eclipse.emf.edit.provider.IItemLabelProvider");
+ genModel.addImport("org.eclipse.emf.edit.provider.IItemPropertySource");
+ genModel.addImport("org.eclipse.emf.edit.provider.INotifyChangedListener");
+ genModel.addImport("org.eclipse.emf.edit.provider.IStructuredItemContentProvider");
+ genModel.addImport("org.eclipse.emf.edit.provider.ITreeItemContentProvider");
+ boolean useGenerics = genModel.useGenerics();
+ String _ArrayList = genModel.getImportedName(useGenerics ? "java.util.ArrayList<java.lang.Object>"
+ : "java.util.ArrayList");
+ String _Collection = genModel.getImportedName(useGenerics ? "java.util.Collection<java.lang.Object>"
+ : "java.util.Collection");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getImportedAdapterFactoryClassName());
+ stringBuffer.append(TEXT_6);
+ if (genPackage.isDisposableProviderFactory()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.IDisposable"));
+ }
+ if (genPackage.isExtensibleProviderFactory()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.IChildCreationExtender"));
+ }
+ stringBuffer.append(TEXT_9);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_13);
+ }
+ stringBuffer.append(TEXT_14);
+ if (genPackage.isDisposableProviderFactory() && genPackage.hasStatefulProvider()) {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.Disposable"));
+ stringBuffer.append(TEXT_16);
+ }
+ if (genPackage.isExtensibleProviderFactory()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.ChildCreationExtenderManager"));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.ChildCreationExtenderManager"));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genPackage.getImportedEditPluginClassName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(_Collection);
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(_ArrayList);
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genPackage.getItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_25);
+ for (String name : genPackage.getProviderSupportedTypes()) {
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genModel.getImportedName(name));
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ for (GenPackage genDelegate : genPackage.getAdapterDelegatePackages()) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genDelegate.getImportedAdapterFactoryClassName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genPackage.getUncapAdapterFactoryDelegateName(genDelegate));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genDelegate.getImportedAdapterFactoryClassName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genPackage.getAdapterFactoryDelegateName(genDelegate));
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genPackage.getUncapAdapterFactoryDelegateName(genDelegate));
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.AdapterFactory"));
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.AdapterFactory"));
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genDelegate.getImportedAdapterFactoryClassName());
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genDelegate.getImportedAdapterFactoryClassName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getUncapAdapterFactoryDelegateName(genDelegate));
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genDelegate.getImportedAdapterFactoryClassName());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genPackage.getUncapAdapterFactoryDelegateName(genDelegate));
+ stringBuffer.append(TEXT_41);
+ }
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.isAbstract() && genClass.getProvider() != GenProviderKind.NONE_LITERAL) {
+ if (genClass.isProviderSingleton()) {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genClass.getProviderClassName());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getUncapName());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_46);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_47);
+ }
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genClass.getUncapName());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genClass.getUncapName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genClass.getProviderClassName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genClass.getUncapName());
+ stringBuffer.append(TEXT_53);
+ } else {
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_55);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_56);
+ }
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genClass.getProviderClassName());
+ stringBuffer.append(TEXT_59);
+ }
+ }
+ }
+ for (GenClass genClass : genPackage.getAdapterDelegateSuperClasses()) {
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genClass.getItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genClass.getItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genClass.getItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_66);
+ }
+ stringBuffer.append(TEXT_67);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_68);
+ }
+ stringBuffer.append(TEXT_69);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_70);
+ }
+ stringBuffer.append(TEXT_71);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_72);
+ }
+ stringBuffer.append(TEXT_73);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_74);
+ }
+ stringBuffer.append(TEXT_75);
+ if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_76);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_77);
+ }
+ stringBuffer.append(TEXT_78);
+ } else {
+ stringBuffer.append(TEXT_79);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_80);
+ }
+ stringBuffer.append(TEXT_81);
+ }
+ stringBuffer.append(TEXT_82);
+ if (genPackage.isDisposableProviderFactory() && genPackage.hasStatefulProvider()) {
+ stringBuffer.append(TEXT_83);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ }
+ if (genPackage.isExtensibleProviderFactory()) {
+ stringBuffer.append(TEXT_86);
+ stringBuffer
+ .append(genModel
+ .getImportedName(useGenerics ? "java.util.List<org.eclipse.emf.edit.provider.IChildCreationExtender>"
+ : "java.util.List"));
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genModel.getImportedName(useGenerics ? "java.util.Collection<?>"
+ : "java.util.Collection"));
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain"));
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.ResourceLocator"));
+ stringBuffer.append(TEXT_90);
+ }
+ stringBuffer.append(TEXT_91);
+ if (genPackage.isDisposableProviderFactory()) {
+ stringBuffer.append(TEXT_92);
+ if (genPackage.hasStatefulProvider()) {
+ stringBuffer.append(TEXT_93);
+ } else {
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.isAbstract() && genClass.isProviderSingleton()) {
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genClass.getUncapName());
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(genClass.getUncapName());
+ stringBuffer.append(TEXT_96);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_97);
+ }
+ if (genPackage.isChildCreationExtenders()) {
+ for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> packageEntry : genPackage
+ .getExtendedChildCreationData().entrySet()) {
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(packageEntry.getKey().getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genPackage.getChildCreationExtenderName(packageEntry.getKey()));
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.IChildCreationExtender"));
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genModel.getImportedName(packageEntry.getKey().getQualifiedSwitchClassName()));
+ stringBuffer.append(useGenerics ? "<Object>" : "");
+ stringBuffer.append(TEXT_102);
+ stringBuffer
+ .append(genModel.getImportedName(useGenerics ? "java.util.List<Object>" : "java.util.List"));
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain"));
+ stringBuffer.append(TEXT_104);
+ stringBuffer
+ .append(genModel.getImportedName(useGenerics ? "java.util.List<Object>" : "java.util.List"));
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain"));
+ stringBuffer.append(TEXT_106);
+ for (Map.Entry<GenClass, List<GenClass.ChildCreationData>> classEntry : packageEntry.getValue()
+ .entrySet()) {
+ GenClass genClass = classEntry.getKey();
+ stringBuffer.append(TEXT_107);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_108);
+ }
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genClass.getTypeParameters());
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genPackage.getClassUniqueName(genClass));
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_112);
+ for (GenClass.ChildCreationData childCreationData : classEntry.getValue()) {
+ GenFeature createFeature = childCreationData.createFeature;
+ GenFeature delegatedFeature = childCreationData.delegatedFeature;
+ GenClassifier createClassifier = childCreationData.createClassifier;
+ if (createFeature.isFeatureMapType()) {
+ if (delegatedFeature.isReferenceType()) {
+ GenClass createClass = (GenClass) createClassifier;
+ stringBuffer.append(TEXT_113);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createClass", createClass);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_036GEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/newChildDescriptorsReferenceDelegatedFeature.override.javajetinc
+ } else {
+ GenDataType createDataType = (GenDataType) createClassifier;
+ stringBuffer.append(TEXT_114);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createDataType", createDataType);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04WyAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/newChildDescriptorsAttributeDelegatedFeature.override.javajetinc
+ }
+ } else if (createFeature.isReferenceType()) {
+ GenClass createClass = (GenClass) createClassifier;
+ stringBuffer.append(TEXT_115);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createClass", createClass);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04ps8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/newChildDescriptorsReferenceFeature.override.javajetinc
+ } else {
+ GenDataType createDataType = (GenDataType) createClassifier;
+ stringBuffer.append(TEXT_116);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createDataType", createDataType);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_048n4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ItemProvider/newChildDescriptorsAttributeFeature.override.javajetinc
+ }
+ stringBuffer.append(TEXT_117);
+ }
+ stringBuffer.append(TEXT_118);
+ }
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.command.CommandParameter"));
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.command.CommandParameter"));
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(_Collection);
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain"));
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(_ArrayList);
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(_ArrayList);
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.ResourceLocator"));
+ stringBuffer.append(TEXT_127);
+ stringBuffer.append(genPackage.getImportedEditPluginClassName());
+ stringBuffer.append(TEXT_128);
+ }
+ }
+ stringBuffer.append(TEXT_129);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_130);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (!genPackage.getGenClasses().isEmpty());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ManifestMF.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ManifestMF.java
new file mode 100644
index 0000000..3a8eab9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ManifestMF.java
@@ -0,0 +1,261 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ManifestMF extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized ManifestMF create(String lineSeparator) {
+ nl = lineSeparator;
+ ManifestMF result = new ManifestMF();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL
+ + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
+ protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL
+ + "Bundle-ClassPath: ";
+ protected final String TEXT_3 = ".jar";
+ protected final String TEXT_4 = ".";
+ protected final String TEXT_5 = NL + "Bundle-Activator: ";
+ protected final String TEXT_6 = "$Implementation";
+ protected final String TEXT_7 = "$Activator";
+ protected final String TEXT_8 = NL + "Bundle-Vendor: %providerName" + NL + "Bundle-Localization: plugin";
+ protected final String TEXT_9 = NL + "Bundle-RequiredExecutionEnvironment: J2SE-1.5";
+ protected final String TEXT_10 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.6";
+ protected final String TEXT_11 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.7";
+ protected final String TEXT_12 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.8";
+ protected final String TEXT_13 = NL + "Export-Package: ";
+ protected final String TEXT_14 = ",";
+ protected final String TEXT_15 = NL + " ";
+ protected final String TEXT_16 = NL + "Require-Bundle: ";
+ protected final String TEXT_17 = ";resolution:=optional;x-installation:=greedy";
+ protected final String TEXT_18 = ";visibility:=reexport";
+ protected final String TEXT_19 = ",";
+ protected final String TEXT_20 = NL + " ";
+ protected final String TEXT_21 = ";resolution:=optional;x-installation:=greedy";
+ protected final String TEXT_22 = ";visibility:=reexport";
+ protected final String TEXT_23 = NL + "Import-Package: org.osgi.framework";
+ protected final String TEXT_24 = NL + "Eclipse-LazyStart: true";
+ protected final String TEXT_25 = NL + "Bundle-ActivationPolicy: lazy" + NL;
+ protected final String TEXT_26 = NL;
+ protected final String TEXT_27 = NL;
+
+ public ManifestMF() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(TEXT_27);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditProjectDirectory() + "/META-INF/MANIFEST.MF";
+ overwrite = genModel.isUpdateClasspath();
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genModel.getEditPluginID());
+ stringBuffer.append(TEXT_2);
+ if (genModel.isRuntimeJar()) {
+ stringBuffer.append(genModel.getEditPluginID());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ }
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getQualifiedEditPluginClassName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_7);
+ }
+ }
+ stringBuffer.append(TEXT_8);
+ if (genModel.getComplianceLevel() == GenJDKLevel.JDK50_LITERAL) {
+ stringBuffer.append(TEXT_9);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK60_LITERAL) {
+ stringBuffer.append(TEXT_10);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK70_LITERAL) {
+ stringBuffer.append(TEXT_11);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK80_LITERAL) {
+ stringBuffer.append(TEXT_12);
+ }
+ Iterator<String> packagesIterator = genModel.getEditQualifiedPackageNames().iterator();
+ if (packagesIterator.hasNext()) {
+ String pack = packagesIterator.next();
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(pack);
+ while (packagesIterator.hasNext()) {
+ pack = packagesIterator.next();
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(pack);
+ }
+ }
+ Iterator<String> requiredPluginIterator = genModel.getEditRequiredPlugins().iterator();
+ if (requiredPluginIterator.hasNext()) {
+ String pluginID = requiredPluginIterator.next();
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(pluginID);
+ if (pluginID.startsWith("org.eclipse.core.runtime")) {
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_17);
+ }
+ } else {
+ stringBuffer.append(TEXT_18);
+ }
+ while (requiredPluginIterator.hasNext()) {
+ pluginID = requiredPluginIterator.next();
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(pluginID);
+ if (pluginID.startsWith("org.eclipse.core.runtime")) {
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_21);
+ }
+ } else if (!pluginID.equals("org.eclipse.xtext.xbase.lib")
+ && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {
+ stringBuffer.append(TEXT_22);
+ }
+ }
+ }
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_23);
+ }
+ if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22
+ || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
+ stringBuffer.append(TEXT_24);
+ }
+ stringBuffer.append(TEXT_25);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (genModel.isBundleManifest()) && (!genModel.sameEditEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ModuleGWTXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ModuleGWTXML.java
new file mode 100644
index 0000000..d40d040
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ModuleGWTXML.java
@@ -0,0 +1,204 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ModuleGWTXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized ModuleGWTXML create(String lineSeparator) {
+ nl = lineSeparator;
+ ModuleGWTXML result = new ModuleGWTXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ + NL
+ + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">"
+ + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + NL + "<module>";
+ protected final String TEXT_4 = NL + " <inherits name=\"";
+ protected final String TEXT_5 = "\" />";
+ protected final String TEXT_6 = NL + " <source path=\"";
+ protected final String TEXT_7 = "\"/>";
+ protected final String TEXT_8 = NL + "</module>" + NL;
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL;
+
+ public ModuleGWTXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(TEXT_10);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditDirectory() + "/" + genModel.getQualifiedEditModuleName().replace(".", "/")
+ + ".gwt.xml";
+ overwrite = false;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ for (String inherits : genModel.getEditModuleInherits()) {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(inherits);
+ stringBuffer.append(TEXT_5);
+ }
+ for (String source : genModel.getEditModuleSources()) {
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(source);
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate
+ && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT && !genModel.sameModelEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Plugin.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Plugin.java
new file mode 100644
index 0000000..c90c44f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Plugin.java
@@ -0,0 +1,535 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Plugin extends org.eclipse.egf.emf.pattern.base.GenModelJava {
+ protected static String nl;
+
+ public static synchronized Plugin create(String lineSeparator) {
+ nl = lineSeparator;
+ Plugin result = new Plugin();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the central singleton for the ";
+ protected final String TEXT_5 = " edit plugin." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
+ protected final String TEXT_6 = " extends EMFPlugin" + NL + "{";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = " copyright = ";
+ protected final String TEXT_9 = ";";
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_12 = " INSTANCE = new ";
+ protected final String TEXT_13 = "();" + NL;
+ protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper" + NL + "\t\t (new ResourceLocator [] " + NL
+ + "\t\t {";
+ protected final String TEXT_17 = NL + "\t\t ";
+ protected final String TEXT_18 = ".INSTANCE,";
+ protected final String TEXT_19 = NL + "\t\t });" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance." + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_20 = NL + "\t@Override";
+ protected final String TEXT_21 = NL + "\tpublic ResourceLocator getPluginResourceLocator()" + NL + "\t{";
+ protected final String TEXT_22 = NL + "\t\treturn null;";
+ protected final String TEXT_23 = NL + "\t\treturn plugin;";
+ protected final String TEXT_24 = NL + "\t}" + NL;
+ protected final String TEXT_25 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class Implementation extends EclipsePlugin" + NL + "\t{" + NL + "\t\t/**"
+ + NL + "\t\t * Creates an instance." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->";
+ protected final String TEXT_26 = NL + "\t\t * @param descriptor the description of the plugin.";
+ protected final String TEXT_27 = NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic Implementation(";
+ protected final String TEXT_28 = " descriptor";
+ protected final String TEXT_29 = ")" + NL + "\t\t{" + NL + "\t\t\tsuper(";
+ protected final String TEXT_30 = "descriptor";
+ protected final String TEXT_31 = ");" + NL + "" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//"
+ + NL + "\t\t\tplugin = this;" + NL + "\t\t}";
+ protected final String TEXT_32 = NL + "\t" + NL + "\t\t/**" + NL
+ + "\t\t * The actual implementation of the purely OSGi-compatible <b>Bundle Activator</b>." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic static final class Activator extends ";
+ protected final String TEXT_33 = ".OSGiDelegatingBundleActivator" + NL + "\t\t{";
+ protected final String TEXT_34 = NL + "\t\t\t@Override";
+ protected final String TEXT_35 = NL + "\t\t\tprotected ";
+ protected final String TEXT_36 = " createBundle()" + NL + "\t\t\t{" + NL + "\t\t\t\treturn new Implementation();"
+ + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_37 = NL + "\t}" + NL;
+ protected final String TEXT_38 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_39 = " PROPERTIES = ";
+ protected final String TEXT_40 = ".create(";
+ protected final String TEXT_41 = ".class);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tpublic String getString(String key, boolean translate)" + NL + "\t{";
+ protected final String TEXT_42 = NL + "\t\t";
+ protected final String TEXT_43 = "else ";
+ protected final String TEXT_44 = "if (\"_UI_";
+ protected final String TEXT_45 = "_type\".equals(key)) return PROPERTIES.";
+ protected final String TEXT_46 = "Type();";
+ protected final String TEXT_47 = NL + "\t\t";
+ protected final String TEXT_48 = "else ";
+ protected final String TEXT_49 = " if (\"_UI_Unknown_type\".equals(key)) return PROPERTIES.unknownType();" + NL
+ + "\t\telse if (\"_UI_Unknown_datatype\".equals(key)) return PROPERTIES.unknownDatatype();";
+ protected final String TEXT_50 = NL + "\t\telse if (\"_UI_";
+ protected final String TEXT_51 = "_";
+ protected final String TEXT_52 = "_feature\".equals(key)) return PROPERTIES.";
+ protected final String TEXT_53 = "_";
+ protected final String TEXT_54 = "Feature();";
+ protected final String TEXT_55 = NL + "\t\telse if (\"_UI_";
+ protected final String TEXT_56 = "_";
+ protected final String TEXT_57 = "_description\".equals(key)) return PROPERTIES.";
+ protected final String TEXT_58 = "_";
+ protected final String TEXT_59 = "Description();";
+ protected final String TEXT_60 = NL
+ + "\t\telse if (\"_UI_Unknown_feature\".equals(key)) return PROPERTIES.unknownFeature();";
+ protected final String TEXT_61 = NL + "\t\telse if (\"_UI_";
+ protected final String TEXT_62 = "_";
+ protected final String TEXT_63 = "_literal\".equals(key)) return PROPERTIES.";
+ protected final String TEXT_64 = "_";
+ protected final String TEXT_65 = "Literal();";
+ protected final String TEXT_66 = NL;
+ protected final String TEXT_67 = " = ";
+ protected final String TEXT_68 = NL + "\t\telse if (\"";
+ protected final String TEXT_69 = "\".equals(key)) return PROPERTIES.";
+ protected final String TEXT_70 = "();";
+ protected final String TEXT_71 = NL + "\t\telse return key;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t@Override" + NL
+ + "\tpublic String getString(String key, Object [] substitutions, boolean translate)" + NL + "\t{";
+ protected final String TEXT_72 = NL
+ + "\t\tif (\"_UI_CreateChild_text\".equals(key)) return PROPERTIES.createChildText(substitutions[0]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateChild_text2\".equals(key)) return PROPERTIES.createChildText2(substitutions[0], substitutions[1]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateChild_text3\".equals(key)) return PROPERTIES.createChildText3(substitutions[1]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateChild_tooltip\".equals(key)) return PROPERTIES.createChildTooltip(substitutions[0], substitutions[1]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateChild_description\".equals(key)) return PROPERTIES.createChildDescripition(substitutions[0], substitutions[1], substitutions[2]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateSibling_description\".equals(key)) return PROPERTIES.createSiblingDescription(substitutions[0], substitutions[1], substitutions[2]);";
+ protected final String TEXT_73 = NL + "\t\t";
+ protected final String TEXT_74 = "else ";
+ protected final String TEXT_75 = "if (\"_UI_PropertyDescriptor_description\".equals(key)) return PROPERTIES.propertyDescriptorDescription(substitutions[0], substitutions[1]);"
+ + NL
+ + "\t\telse return key;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected static final ";
+ protected final String TEXT_76 = " IMAGES = ";
+ protected final String TEXT_77 = ".create(";
+ protected final String TEXT_78 = ".class);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tpublic Object getImage(String key)" + NL + "\t{";
+ protected final String TEXT_79 = NL + "\t\t";
+ protected final String TEXT_80 = "else ";
+ protected final String TEXT_81 = "if (\"";
+ protected final String TEXT_82 = "\".equals(key)) return IMAGES.";
+ protected final String TEXT_83 = "();";
+ protected final String TEXT_84 = NL + "\t\t";
+ protected final String TEXT_85 = "else ";
+ protected final String TEXT_86 = "return key;" + NL + "\t}" + NL;
+ protected final String TEXT_87 = NL + "}";
+ protected final String TEXT_88 = NL;
+ protected final String TEXT_89 = NL;
+ protected final String TEXT_90 = NL;
+
+ public Plugin() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(TEXT_90);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPath = genModel.getEditPluginDirectory();
+ packageName = genModel.getEditPluginPackageName();
+ className = genModel.getEditPluginClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getEditPluginPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.addImport("org.eclipse.emf.common.EMFPlugin");
+ genModel.addImport("org.eclipse.emf.common.util.ResourceLocator");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getEditPluginClassName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getEditPluginClassName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getEditPluginClassName());
+ stringBuffer.append(TEXT_13);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getEditPluginClassName());
+ stringBuffer.append(TEXT_16);
+ for (String pluginClassName : genModel.getEditResourceDelegateImportedPluginClassNames()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(pluginClassName);
+ stringBuffer.append(TEXT_18);
+ }
+ stringBuffer.append(TEXT_19);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_20);
+ }
+ stringBuffer.append(TEXT_21);
+ if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_22);
+ } else {
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_25);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(genModel.getImportedName("org.eclipse.core.runtime.IPluginDescriptor"));
+ stringBuffer.append(TEXT_28);
+ }
+ stringBuffer.append(TEXT_29);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.EMFPlugin"));
+ stringBuffer.append(TEXT_33);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_34);
+ }
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getImportedName("org.osgi.framework.BundleActivator"));
+ stringBuffer.append(TEXT_36);
+ }
+ stringBuffer.append(TEXT_37);
+ } else {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditPluginClassName() + "Properties"));
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.core.client.GWT"));
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditPluginClassName() + "Properties"));
+ stringBuffer.append(TEXT_41);
+ boolean first = true;
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ stringBuffer.append(TEXT_42);
+ if (first) {
+ first = false;
+ } else {
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genClass.getUncapName());
+ stringBuffer.append(TEXT_46);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_47);
+ if (first) {
+ first = false;
+ } else {
+ stringBuffer.append(TEXT_48);
+ }
+ stringBuffer.append(TEXT_49);
+ for (GenFeature genFeature : genModel.getFilteredAllGenFeatures()) {
+ String description = genFeature.getPropertyDescription();
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getGenClass().getUncapName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_54);
+ if (description != null && description.length() > 0) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genFeature.getGenClass().getUncapName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_59);
+ }
+ }
+ stringBuffer.append(TEXT_60);
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {
+ for (GenEnum genEnum : genPackage.getGenEnums()) {
+ for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genEnumLiteral.getName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genEnum.getSafeUncapName());
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genEnumLiteral.getName());
+ stringBuffer.append(TEXT_65);
+ }
+ }
+ }
+ }
+ for (String category : genModel.getPropertyCategories()) {
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genModel.getPropertyCategoryKey(category));
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(category);
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genModel.getPropertyCategoryKey(category));
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genModel.getPropertyCategoryKey(category));
+ stringBuffer.append(TEXT_70);
+ }
+ stringBuffer.append(TEXT_71);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_72);
+ }
+ stringBuffer.append(TEXT_73);
+ if (!genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_74);
+ }
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditPluginClassName() + "Images"));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.core.client.GWT"));
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditPluginClassName() + "Images"));
+ stringBuffer.append(TEXT_78);
+ first = true;
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (genClass.isImage()) {
+ String image = genClass.getItemIconFileName();
+ image = image.substring(image.lastIndexOf("/icons/") + 7, image.length() - 4);
+ stringBuffer.append(TEXT_79);
+ if (first) {
+ first = false;
+ } else {
+ stringBuffer.append(TEXT_80);
+ }
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(image);
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(genClass.getItemIconAccessorName());
+ stringBuffer.append(TEXT_83);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_84);
+ if (first) {
+ first = false;
+ } else {
+ stringBuffer.append(TEXT_85);
+ }
+ stringBuffer.append(TEXT_86);
+ }
+ stringBuffer.append(TEXT_87);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_88);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (!genModel.sameEditEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginProperties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginProperties.java
new file mode 100644
index 0000000..69fd053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginProperties.java
@@ -0,0 +1,274 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PluginProperties extends org.eclipse.egf.emf.pattern.base.GenModelProperties {
+ protected static String nl;
+
+ public static synchronized PluginProperties create(String lineSeparator) {
+ nl = lineSeparator;
+ PluginProperties result = new PluginProperties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + NL + "pluginName = ";
+ protected final String TEXT_3 = " Edit Support" + NL + "providerName = www.example.org";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "_UI_CreateChild_text = {0}" + NL + "_UI_CreateChild_text2 = {1} ";
+ protected final String TEXT_6 = "| ";
+ protected final String TEXT_7 = "{0}"
+ + NL
+ + "_UI_CreateChild_text3 = {1}"
+ + NL
+ + "_UI_CreateChild_tooltip = Create New {0} Under {1} Feature"
+ + NL
+ + "_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}."
+ + NL
+ + "_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent."
+ + NL;
+ protected final String TEXT_8 = NL + "_UI_PropertyDescriptor_description = The {0} of the {1}" + NL;
+ protected final String TEXT_9 = NL + "_UI_";
+ protected final String TEXT_10 = "_type = ";
+ protected final String TEXT_11 = NL + "_UI_Unknown_type = Object" + NL + "" + NL + "_UI_Unknown_datatype= Value"
+ + NL;
+ protected final String TEXT_12 = NL + "_UI_";
+ protected final String TEXT_13 = "_";
+ protected final String TEXT_14 = "_feature = ";
+ protected final String TEXT_15 = NL + "_UI_";
+ protected final String TEXT_16 = "_";
+ protected final String TEXT_17 = "_description = ";
+ protected final String TEXT_18 = NL + "_UI_Unknown_feature = Unspecified" + NL;
+ protected final String TEXT_19 = NL + "_UI_";
+ protected final String TEXT_20 = "_";
+ protected final String TEXT_21 = "_literal = ";
+ protected final String TEXT_22 = NL;
+ protected final String TEXT_23 = " = ";
+ protected final String TEXT_24 = NL;
+ protected final String TEXT_25 = NL;
+ protected final String TEXT_26 = NL;
+
+ public PluginProperties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(TEXT_26);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditProjectDirectory() + "/plugin.properties";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_3);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_4);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_5);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getFormattedName());
+ }
+ }
+ }
+ stringBuffer.append(TEXT_11);
+ for (GenFeature genFeature : genModel.getFilteredAllGenFeatures()) {
+ String description = genFeature.getPropertyDescription();
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getFormattedName());
+ if (description != null && description.length() > 0) {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(description);
+ }
+ }
+ stringBuffer.append(TEXT_18);
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {
+ for (GenEnum genEnum : genPackage.getGenEnums()) {
+ for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genEnumLiteral.getName());
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genEnumLiteral.getLiteral());
+ }
+ }
+ }
+ }
+ for (String category : genModel.getPropertyCategories()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genModel.getPropertyCategoryKey(category));
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(category);
+ }
+ }
+ stringBuffer.append(TEXT_24);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (true);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginXML.java
new file mode 100644
index 0000000..4a1d632
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginXML.java
@@ -0,0 +1,410 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PluginXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized PluginXML create(String lineSeparator) {
+ nl = lineSeparator;
+ PluginXML result = new PluginXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>"
+ + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+ protected final String TEXT_4 = NL + "<plugin>";
+ protected final String TEXT_5 = NL + "<plugin" + NL + " name=\"%pluginName\"" + NL + " id=\"";
+ protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL
+ + " provider-name=\"%providerName\"" + NL + " class=\"";
+ protected final String TEXT_7 = "$Implementation\">" + NL + "" + NL + " <requires>";
+ protected final String TEXT_8 = NL + " <import plugin=\"";
+ protected final String TEXT_9 = "\"";
+ protected final String TEXT_10 = " export=\"true\"";
+ protected final String TEXT_11 = "/>";
+ protected final String TEXT_12 = NL + " </requires>" + NL + "" + NL + " <runtime>";
+ protected final String TEXT_13 = NL + " <library name=\"";
+ protected final String TEXT_14 = ".jar\">";
+ protected final String TEXT_15 = NL + " <library name=\".\">";
+ protected final String TEXT_16 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL
+ + " </runtime>";
+ protected final String TEXT_17 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.generated_package\">";
+ protected final String TEXT_18 = NL + " <!-- @generated ";
+ protected final String TEXT_19 = " -->";
+ protected final String TEXT_20 = NL + " <package" + NL + " uri=\"";
+ protected final String TEXT_21 = "\"";
+ protected final String TEXT_22 = NL + " class=\"";
+ protected final String TEXT_23 = "\"" + NL + " genModel=\"";
+ protected final String TEXT_24 = "\"/>";
+ protected final String TEXT_25 = NL + " class=\"";
+ protected final String TEXT_26 = "\"/>";
+ protected final String TEXT_27 = NL + " </extension>";
+ protected final String TEXT_28 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.content_parser\">";
+ protected final String TEXT_29 = NL + " <!-- @generated ";
+ protected final String TEXT_30 = " -->";
+ protected final String TEXT_31 = NL + " <parser" + NL + " contentTypeIdentifier=\"";
+ protected final String TEXT_32 = "\"" + NL + " class=\"";
+ protected final String TEXT_33 = "\"/>" + NL + " </extension>" + NL + "" + NL
+ + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
+ protected final String TEXT_34 = NL + " <!-- @generated ";
+ protected final String TEXT_35 = " -->";
+ protected final String TEXT_36 = NL + " <content-type" + NL + " base-type=\"";
+ protected final String TEXT_37 = "\"" + NL + " file-extensions=\"";
+ protected final String TEXT_38 = "\"" + NL + " id=\"";
+ protected final String TEXT_39 = "\"" + NL + " name=\"%_UI_";
+ protected final String TEXT_40 = "_content_type\"" + NL + " priority=\"normal\">" + NL
+ + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
+ protected final String TEXT_41 = NL + " <parameter name=\"namespace\" value=\"";
+ protected final String TEXT_42 = "\"/>";
+ protected final String TEXT_43 = NL + " <parameter name=\"kind\" value=\"xmi\"/>";
+ protected final String TEXT_44 = NL + " </describer>" + NL + " </content-type>" + NL
+ + " </extension>";
+ protected final String TEXT_45 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.extension_parser\">";
+ protected final String TEXT_46 = NL + " <!-- @generated ";
+ protected final String TEXT_47 = " -->";
+ protected final String TEXT_48 = NL + " <parser" + NL + " type=\"";
+ protected final String TEXT_49 = "\"" + NL + " class=\"";
+ protected final String TEXT_50 = "\"/>";
+ protected final String TEXT_51 = NL + " </extension>";
+ protected final String TEXT_52 = NL + NL
+ + " <extension point=\"org.eclipse.emf.edit.itemProviderAdapterFactories\">";
+ protected final String TEXT_53 = NL + " <!-- @generated ";
+ protected final String TEXT_54 = " -->";
+ protected final String TEXT_55 = NL + " <factory" + NL + " uri=\"";
+ protected final String TEXT_56 = "\"" + NL + " class=\"";
+ protected final String TEXT_57 = "\"" + NL + " supportedTypes=";
+ protected final String TEXT_58 = NL + " ";
+ protected final String TEXT_59 = "\"/>";
+ protected final String TEXT_60 = NL + " </extension>";
+ protected final String TEXT_61 = NL + NL + " <extension point=\"org.eclipse.emf.edit.childCreationExtenders\">";
+ protected final String TEXT_62 = NL + " <!-- @generated ";
+ protected final String TEXT_63 = " -->";
+ protected final String TEXT_64 = NL + " <extender" + NL + " uri=\"";
+ protected final String TEXT_65 = "\"" + NL + " class=\"";
+ protected final String TEXT_66 = "$";
+ protected final String TEXT_67 = "\"/>";
+ protected final String TEXT_68 = NL + " </extension>";
+ protected final String TEXT_69 = NL + NL + "</plugin>" + NL;
+ protected final String TEXT_70 = NL;
+ protected final String TEXT_71 = NL;
+
+ public PluginXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(TEXT_71);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditProjectDirectory() + "/plugin.xml";
+ overwrite = true;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ String key = genModel.getPluginKey();
+ boolean hasKey = key != null && !key.equals("");
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ if (genModel.isBundleManifest()) {
+ stringBuffer.append(TEXT_4);
+ } else {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getEditPluginID());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel.getQualifiedEditPluginClassName());
+ stringBuffer.append(TEXT_7);
+ for (String pluginID : genModel.getEditRequiredPlugins()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(pluginID);
+ stringBuffer.append(TEXT_9);
+ if (!pluginID.startsWith("org.eclipse.core.runtime")) {
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ if (genModel.isRuntimeJar()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getEditPluginID());
+ stringBuffer.append(TEXT_14);
+ } else {
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ }
+ if (genModel.sameModelEditProject()) {
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ stringBuffer.append(TEXT_17);
+ if (hasKey) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_21);
+ if (genModel.hasLocalGenModel()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genModel.getRelativeGenModelLocation());
+ stringBuffer.append(TEXT_24);
+ } else {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_28);
+ if (hasKey) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genPackage.getContentTypeIdentifier());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genPackage.getQualifiedEffectiveResourceFactoryClassName());
+ stringBuffer.append(TEXT_33);
+ if (hasKey) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi"
+ : "org.eclipse.core.runtime.xml");
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getFileExtensions());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getContentTypeIdentifier());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_40);
+ if (genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_42);
+ }
+ if (genPackage.isXMIResource()) {
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ } else if (genPackage.getResource() != GenResourceKind.NONE_LITERAL) {
+ stringBuffer.append(TEXT_45);
+ if (hasKey) {
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_47);
+ }
+ for (String fileExtension : genPackage.getFileExtensionList()) {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(fileExtension);
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genPackage.getQualifiedResourceFactoryClassName());
+ stringBuffer.append(TEXT_50);
+ }
+ stringBuffer.append(TEXT_51);
+ }
+ }
+ }
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (!genPackage.getGenClasses().isEmpty()) {
+ stringBuffer.append(TEXT_52);
+ if (hasKey) {
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_54);
+ }
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genPackage.getQualifiedItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_57);
+ for (ListIterator<?> j = genPackage.getProviderSupportedTypes().listIterator(); j.hasNext();) {
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(j.hasPrevious() ? " " : "\"");
+ stringBuffer.append(j.next());
+ if (!j.hasNext()) {
+ stringBuffer.append(TEXT_59);
+ }
+ }
+ stringBuffer.append(TEXT_60);
+ if (genPackage.isChildCreationExtenders()) {
+ Map<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> extendedChildCreationData = genPackage
+ .getExtendedChildCreationData();
+ if (!extendedChildCreationData.isEmpty()) {
+ stringBuffer.append(TEXT_61);
+ if (hasKey) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_63);
+ }
+ for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> entry : extendedChildCreationData
+ .entrySet()) {
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(entry.getKey().getNSURI());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genPackage.getQualifiedItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genPackage.getChildCreationExtenderName(entry.getKey()));
+ stringBuffer.append(TEXT_67);
+ }
+ stringBuffer.append(TEXT_68);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_69);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT)
+ && (!genModel.sameEditEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Properties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Properties.java
new file mode 100644
index 0000000..5d3ae3c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Properties.java
@@ -0,0 +1,410 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Properties extends org.eclipse.egf.emf.pattern.base.GenModelJava {
+ protected static String nl;
+
+ public static synchronized Properties create(String lineSeparator) {
+ nl = lineSeparator;
+ Properties result = new Properties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public interface ";
+ protected final String TEXT_5 = "Properties extends ";
+ protected final String TEXT_6 = NL + "{";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_CreateChild_text\")" + NL + "\t@DefaultMessage(\"{0}\")" + NL
+ + "\tString createChildText(Object type);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_CreateChild_text2\")" + NL + "\t@DefaultMessage(\"{1} ";
+ protected final String TEXT_8 = "| ";
+ protected final String TEXT_9 = "{0}\")"
+ + NL
+ + "\tString createChildText2(Object type, Object feature);"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\t@Key(\"_UI_CreateChild_text3\")"
+ + NL
+ + "\t@DefaultMessage(\"{0}\")"
+ + NL
+ + "\tString createChildText3(Object feature);"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\t@Key(\"_UI_CreateChild_tooltip\")"
+ + NL
+ + "\t@DefaultMessage(\"Create New {0} Under {1} Feature\")"
+ + NL
+ + "\tString createChildTooltip(Object type, Object feature);"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\t@Key(\"_UI_CreateChild_description\")"
+ + NL
+ + "\t@DefaultMessage(\"Create a new child of type {0} for the {1} feature of the selected {2}.\")"
+ + NL
+ + "\tString createChildDescripition(Object type, Object feature, Object selection);"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\t@Key(\"_UI_CreateSibling_description\")"
+ + NL
+ + "\t@DefaultMessage(\"Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.\")"
+ + NL + "\tString createSiblingDescription(Object type, Object feature, Object selection);" + NL;
+ protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_PropertyDescriptor_description\")" + NL + "\t@DefaultMessage(\"The {0} of the {1}\")" + NL
+ + "\tString propertyDescriptorDescription(Object feature, Object type);" + NL;
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
+ protected final String TEXT_12 = "_type\")" + NL + "\t@DefaultMessage(\"";
+ protected final String TEXT_13 = "\")" + NL + "\tString ";
+ protected final String TEXT_14 = "Type();" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_Unknown_type\")" + NL + "\t@DefaultMessage(\"Object\")" + NL + "\tString unknownType();"
+ + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_Unknown_datatype\")" + NL
+ + "\t@DefaultMessage(\"Value\")" + NL + "\tString unknownDatatype();" + NL;
+ protected final String TEXT_16 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
+ protected final String TEXT_17 = "_";
+ protected final String TEXT_18 = "_feature\")" + NL + "\t@DefaultMessage(\"";
+ protected final String TEXT_19 = "\")" + NL + "\tString ";
+ protected final String TEXT_20 = "_";
+ protected final String TEXT_21 = "Feature();" + NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
+ protected final String TEXT_23 = "_";
+ protected final String TEXT_24 = "_description\")" + NL + "\t@DefaultMessage(\"";
+ protected final String TEXT_25 = "\")" + NL + "\tString ";
+ protected final String TEXT_26 = "_";
+ protected final String TEXT_27 = "Description();" + NL;
+ protected final String TEXT_28 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_Unknown_feature\")" + NL + "\t@DefaultMessage(\"Unspecified\")" + NL
+ + "\tString unknownFeature();" + NL;
+ protected final String TEXT_29 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
+ protected final String TEXT_30 = "_";
+ protected final String TEXT_31 = "_literal\")" + NL + "\t@DefaultMessage(\"";
+ protected final String TEXT_32 = "\")" + NL + "\tString ";
+ protected final String TEXT_33 = "_";
+ protected final String TEXT_34 = "Literal();" + NL;
+ protected final String TEXT_35 = NL;
+ protected final String TEXT_36 = " = ";
+ protected final String TEXT_37 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"";
+ protected final String TEXT_38 = "\")" + NL + "\t@DefaultMessage(\"";
+ protected final String TEXT_39 = "\")" + NL + "\tString ";
+ protected final String TEXT_40 = "();" + NL;
+ protected final String TEXT_41 = NL + "}";
+ protected final String TEXT_42 = NL;
+ protected final String TEXT_43 = NL;
+ protected final String TEXT_44 = NL;
+
+ public Properties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(TEXT_44);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPath = genModel.getEditPluginDirectory();
+ packageName = genModel.getEditPluginPackageName();
+ className = genModel.getEditPluginClassName() + "Properties";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getEditPluginPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getEditPluginClassName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.i18n.client.Messages"));
+ stringBuffer.append(TEXT_6);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_7);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genClass.getUncapName());
+ stringBuffer.append(TEXT_14);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_15);
+ for (GenFeature genFeature : genModel.getFilteredAllGenFeatures()) {
+ String description = genFeature.getPropertyDescription();
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getGenClass().getUncapName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_21);
+ if (description != null && description.length() > 0) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(description);
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genFeature.getGenClass().getUncapName());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_27);
+ }
+ }
+ stringBuffer.append(TEXT_28);
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {
+ for (GenEnum genEnum : genPackage.getGenEnums()) {
+ for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genEnumLiteral.getName());
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genEnumLiteral.getLiteral());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genEnum.getSafeUncapName());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genEnumLiteral.getName());
+ stringBuffer.append(TEXT_34);
+ }
+ }
+ }
+ }
+ for (String category : genModel.getPropertyCategories()) {
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getPropertyCategoryKey(category));
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(category);
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genModel.getPropertyCategoryKey(category));
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(category);
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genModel.getPropertyCategoryKey(category));
+ stringBuffer.append(TEXT_40);
+ }
+ stringBuffer.append(TEXT_41);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_42);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT)
+ && (!genModel.sameEditEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvideraddPropertyDescriptoroverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvideraddPropertyDescriptoroverride.java
new file mode 100644
index 0000000..d8d0521
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvideraddPropertyDescriptoroverride.java
@@ -0,0 +1,263 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvideraddPropertyDescriptoroverride {
+ protected static String nl;
+
+ public static synchronized ItemProvideraddPropertyDescriptoroverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvideraddPropertyDescriptoroverride result = new ItemProvideraddPropertyDescriptoroverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\titemPropertyDescriptors.add" + NL + "\t\t\t(createItemPropertyDescriptor"
+ + NL + "\t\t\t\t(((";
+ protected final String TEXT_2 = ")adapterFactory).getRootAdapterFactory()," + NL + "\t\t\t\t getResourceLocator(),"
+ + NL + "\t\t\t\t getString(\"_UI_";
+ protected final String TEXT_3 = "_";
+ protected final String TEXT_4 = "_feature\"),";
+ protected final String TEXT_5 = NL + "\t\t\t\t getString(\"_UI_PropertyDescriptor_description\", \"_UI_";
+ protected final String TEXT_6 = "_";
+ protected final String TEXT_7 = "_feature\", \"_UI_";
+ protected final String TEXT_8 = "_type\"),";
+ protected final String TEXT_9 = NL + "\t\t\t\t getString(\"_UI_";
+ protected final String TEXT_10 = "_";
+ protected final String TEXT_11 = "_description\"),";
+ protected final String TEXT_12 = NL + "\t\t\t\t ";
+ protected final String TEXT_13 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_14 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_15 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_16 = ",";
+ protected final String TEXT_17 = NL + "\t\t\t\t null,";
+ protected final String TEXT_18 = NL + "\t\t\t\t ";
+ protected final String TEXT_19 = ".";
+ protected final String TEXT_20 = ",";
+ protected final String TEXT_21 = NL + "\t\t\t\t null,";
+ protected final String TEXT_22 = NL + "\t\t\t\t getString(\"";
+ protected final String TEXT_23 = "\"),";
+ protected final String TEXT_24 = NL + "\t\t\t\t null));";
+ protected final String TEXT_25 = NL + "\t\t\t\t new String[] {";
+ protected final String TEXT_26 = NL + "\t\t\t\t\t\"";
+ protected final String TEXT_27 = "\"";
+ protected final String TEXT_28 = ",";
+ protected final String TEXT_29 = NL + "\t\t\t\t }));";
+ protected final String TEXT_30 = NL;
+ protected final String TEXT_31 = NL;
+ protected final String TEXT_32 = NL;
+
+ public ItemProvideraddPropertyDescriptoroverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object _ListParameter : _ListList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this._List = (java.lang.String) _ListParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(TEXT_32);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("_List", this._List);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.String _List = null;
+
+ public void set__List(java.lang.String object) {
+ this._List = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("_List", this._List);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.ComposeableAdapterFactory"));
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getNonNLS());
+ if (genFeature.getPropertyDescription() == null || genFeature.getPropertyDescription().length() == 0) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(genModel.getNonNLS(3));
+ } else {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getGenClass().getName());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getProperty() == GenPropertyKind.EDITABLE_LITERAL ? "true" : "false");
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.isPropertyMultiLine() ? "true" : "false");
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.isPropertySortChoices() ? "true" : "false");
+ stringBuffer.append(TEXT_16);
+ if (genFeature.isReferenceType()) {
+ stringBuffer.append(TEXT_17);
+ } else {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.ItemPropertyDescriptor"));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getPropertyImageName());
+ stringBuffer.append(TEXT_20);
+ }
+ if (genFeature.getPropertyCategory() == null || genFeature.getPropertyCategory().length() == 0) {
+ stringBuffer.append(TEXT_21);
+ } else {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genModel.getPropertyCategoryKey(genFeature.getPropertyCategory()));
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genFeature.getPropertyFilterFlags().isEmpty()) {
+ stringBuffer.append(TEXT_24);
+ } else {
+ stringBuffer.append(TEXT_25);
+ for (Iterator<String> j = genFeature.getPropertyFilterFlags().iterator(); j.hasNext();) {
+ String filterFlag = j.next();
+ if (filterFlag != null && filterFlag.length() > 0) {
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(filterFlag);
+ stringBuffer.append(TEXT_27);
+ if (j.hasNext()) {
+ stringBuffer.append(TEXT_28);
+ }
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ }
+ stringBuffer.append(TEXT_29);
+ }
+ stringBuffer.append(TEXT_30);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetStyledTextoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetStyledTextoverride.java
new file mode 100644
index 0000000..69ce2d3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetStyledTextoverride.java
@@ -0,0 +1,360 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidergetStyledTextoverride {
+ protected static String nl;
+
+ public static synchronized ItemProvidergetStyledTextoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidergetStyledTextoverride result = new ItemProvidergetStyledTextoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t\t";
+ protected final String TEXT_3 = "<?, ?>";
+ protected final String TEXT_4 = " ";
+ protected final String TEXT_5 = " = (";
+ protected final String TEXT_6 = "<?, ?>";
+ protected final String TEXT_7 = ")object;";
+ protected final String TEXT_8 = NL + "\t\treturn new ";
+ protected final String TEXT_9 = "(\"\" + ";
+ protected final String TEXT_10 = ".getKey()).append(\" -> \", ";
+ protected final String TEXT_11 = ".QUALIFIER_STYLER).append(\"\" + ";
+ protected final String TEXT_12 = ".getValue());";
+ protected final String TEXT_13 = NL + "\t\tString key = crop(\"\" + ";
+ protected final String TEXT_14 = ".getKey());";
+ protected final String TEXT_15 = NL + "\t\tString key = \"\" + ";
+ protected final String TEXT_16 = ".getKey();";
+ protected final String TEXT_17 = NL + "\t\tString value = crop(\"\" + ";
+ protected final String TEXT_18 = ".getValue());";
+ protected final String TEXT_19 = NL + "\t\tString value = \"\" + ";
+ protected final String TEXT_20 = ".getValue();";
+ protected final String TEXT_21 = NL + "\t\treturn new ";
+ protected final String TEXT_22 = "(key).append(\" -> \", ";
+ protected final String TEXT_23 = ".QUALIFIER_STYLER).append(value);";
+ protected final String TEXT_24 = NL + "\t\t";
+ protected final String TEXT_25 = " ";
+ protected final String TEXT_26 = " = (";
+ protected final String TEXT_27 = ")object;" + NL + "\t\treturn new ";
+ protected final String TEXT_28 = "(getString(\"_UI_";
+ protected final String TEXT_29 = "_type\"), ";
+ protected final String TEXT_30 = ".QUALIFIER_STYLER).append(\" \").append(";
+ protected final String TEXT_31 = ".toString(";
+ protected final String TEXT_32 = ".";
+ protected final String TEXT_33 = "()));";
+ protected final String TEXT_34 = NL + "\t\tString label = crop(((";
+ protected final String TEXT_35 = ")object).";
+ protected final String TEXT_36 = "());";
+ protected final String TEXT_37 = NL + "\t\tString label = ((";
+ protected final String TEXT_38 = ")object).";
+ protected final String TEXT_39 = "();";
+ protected final String TEXT_40 = NL + "\t\t";
+ protected final String TEXT_41 = " labelValue = ((";
+ protected final String TEXT_42 = ")object).eGet(";
+ protected final String TEXT_43 = ");";
+ protected final String TEXT_44 = NL + "\t\t";
+ protected final String TEXT_45 = " labelValue = ((";
+ protected final String TEXT_46 = ")object).";
+ protected final String TEXT_47 = "();";
+ protected final String TEXT_48 = NL + "\t\tString label = labelValue == null ? null : labelValue.toString();";
+ protected final String TEXT_49 = NL + " \t";
+ protected final String TEXT_50 = " styledLabel = new ";
+ protected final String TEXT_51 = "();" + NL + "\t\tif (label == null || label.length() == 0) " + NL + "\t\t{" + NL
+ + "\t\t\tstyledLabel.append(getString(\"_UI_";
+ protected final String TEXT_52 = "_type\"), ";
+ protected final String TEXT_53 = ".QUALIFIER_STYLER); ";
+ protected final String TEXT_54 = NL + "\t\t} else {" + NL + "\t\t\tstyledLabel.append(getString(\"_UI_";
+ protected final String TEXT_55 = "_type\"), ";
+ protected final String TEXT_56 = ".QUALIFIER_STYLER).append(\" \" + label);";
+ protected final String TEXT_57 = NL + "\t\t}" + NL + "\t\treturn styledLabel;";
+ protected final String TEXT_58 = NL + "\t\treturn new ";
+ protected final String TEXT_59 = "(getString(\"_UI_";
+ protected final String TEXT_60 = "_type\"));";
+ protected final String TEXT_61 = NL;
+ protected final String TEXT_62 = NL;
+ protected final String TEXT_63 = NL;
+
+ public ItemProvidergetStyledTextoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object _ListParameter : _ListList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this._List = (java.lang.String) _ListParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(TEXT_63);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("_List", this._List);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.String _List = null;
+
+ public void set__List(java.lang.String object) {
+ this._List = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("_List", this._List);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genClass.isMapEntry()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_3);
+ }
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ if (!genClass.getMapEntryKeyFeature().isPropertyMultiLine()
+ && !genClass.getMapEntryValueFeature().isPropertyMultiLine()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ } else {
+ if (genClass.getMapEntryKeyFeature().isPropertyMultiLine()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genClass.getMapEntryValueFeature().isPropertyMultiLine()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ } else if (genClass.getLabelFeature() != null) {
+ GenFeature labelFeature = genClass.getLabelFeature();
+ if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic()
+ && !labelFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(labelFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genClass.getLabelFeature().getGetAccessor());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ } else {
+ if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic()
+ && !labelFeature.isSuppressedGetVisibility()) {
+ if (labelFeature.isPropertyMultiLine()) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_36);
+ } else {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_39);
+ }
+ } else {
+ if (labelFeature.isSuppressedGetVisibility() || labelFeature.getGenClass().isDynamic()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(labelFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_43);
+ } else {
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(labelFeature.getRawImportedType());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_47);
+ }
+ stringBuffer.append(TEXT_48);
+ }
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_57);
+ }
+ } else {
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_61);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetTextoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetTextoverride.java
new file mode 100644
index 0000000..488000b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetTextoverride.java
@@ -0,0 +1,330 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidergetTextoverride {
+ protected static String nl;
+
+ public static synchronized ItemProvidergetTextoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidergetTextoverride result = new ItemProvidergetTextoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t\treturn ((";
+ protected final String TEXT_3 = ")getStyledText(object)).getString();";
+ protected final String TEXT_4 = NL + "\t\t";
+ protected final String TEXT_5 = "<?, ?>";
+ protected final String TEXT_6 = " ";
+ protected final String TEXT_7 = " = (";
+ protected final String TEXT_8 = "<?, ?>";
+ protected final String TEXT_9 = ")object;";
+ protected final String TEXT_10 = NL + "\t\treturn \"\" + ";
+ protected final String TEXT_11 = ".getKey() + \" -> \" + ";
+ protected final String TEXT_12 = ".getValue();";
+ protected final String TEXT_13 = NL + "\t\tString key = crop(\"\" + ";
+ protected final String TEXT_14 = ".getKey());";
+ protected final String TEXT_15 = NL + "\t\tString key = \"\" + ";
+ protected final String TEXT_16 = ".getKey();";
+ protected final String TEXT_17 = NL + "\t\tString value = crop(\"\" + ";
+ protected final String TEXT_18 = ".getValue());";
+ protected final String TEXT_19 = NL + "\t\tString value = \"\" + ";
+ protected final String TEXT_20 = ".getValue();";
+ protected final String TEXT_21 = NL + "\t\treturn key + \" -> \" + value;";
+ protected final String TEXT_22 = NL + "\t\t";
+ protected final String TEXT_23 = " ";
+ protected final String TEXT_24 = " = (";
+ protected final String TEXT_25 = ")object;" + NL + "\t\treturn getString(\"_UI_";
+ protected final String TEXT_26 = "_type\") + \" \" + ";
+ protected final String TEXT_27 = ".";
+ protected final String TEXT_28 = "();";
+ protected final String TEXT_29 = NL + "\t\tString label = crop(((";
+ protected final String TEXT_30 = ")object).";
+ protected final String TEXT_31 = "());";
+ protected final String TEXT_32 = NL + "\t\tString label = ((";
+ protected final String TEXT_33 = ")object).";
+ protected final String TEXT_34 = "();";
+ protected final String TEXT_35 = NL + "\t\t";
+ protected final String TEXT_36 = " labelValue = ((";
+ protected final String TEXT_37 = ")object).eGet(";
+ protected final String TEXT_38 = ");";
+ protected final String TEXT_39 = NL + "\t\t";
+ protected final String TEXT_40 = " labelValue = ((";
+ protected final String TEXT_41 = ")object).";
+ protected final String TEXT_42 = "();";
+ protected final String TEXT_43 = NL + "\t\tString label = labelValue == null ? null : labelValue.toString();";
+ protected final String TEXT_44 = NL + "\t\treturn label == null || label.length() == 0 ?" + NL
+ + "\t\t\tgetString(\"_UI_";
+ protected final String TEXT_45 = "_type\") :";
+ protected final String TEXT_46 = NL + "\t\t\tgetString(\"_UI_";
+ protected final String TEXT_47 = "_type\") + \" \" + label;";
+ protected final String TEXT_48 = NL + "\t\treturn getString(\"_UI_";
+ protected final String TEXT_49 = "_type\");";
+ protected final String TEXT_50 = NL;
+ protected final String TEXT_51 = NL;
+ protected final String TEXT_52 = NL;
+
+ public ItemProvidergetTextoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object _ListParameter : _ListList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this._List = (java.lang.String) _ListParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(TEXT_52);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("_List", this._List);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.String _List = null;
+
+ public void set__List(java.lang.String object) {
+ this._List = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("_List", this._List);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.isStyleProviders()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
+ stringBuffer.append(TEXT_3);
+ } else {
+ if (genClass.isMapEntry()) {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (!genClass.getMapEntryKeyFeature().isPropertyMultiLine()
+ && !genClass.getMapEntryValueFeature().isPropertyMultiLine()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ } else {
+ if (genClass.getMapEntryKeyFeature().isPropertyMultiLine()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genClass.getMapEntryValueFeature().isPropertyMultiLine()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ } else if (genClass.getLabelFeature() != null) {
+ GenFeature labelFeature = genClass.getLabelFeature();
+ if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic()
+ && !labelFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genClass.getLabelFeature().getGetAccessor());
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ } else {
+ if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic()
+ && !labelFeature.isSuppressedGetVisibility()) {
+ if (labelFeature.isPropertyMultiLine()) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_31);
+ } else {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_34);
+ }
+ } else {
+ if (labelFeature.isSuppressedGetVisibility() || labelFeature.getGenClass().isDynamic()) {
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(labelFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_38);
+ } else {
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(labelFeature.getRawImportedType());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_42);
+ }
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ }
+ } else {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ }
+ stringBuffer.append(TEXT_50);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProviderinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProviderinsert.java
new file mode 100644
index 0000000..fd8ec00
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProviderinsert.java
@@ -0,0 +1,146 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProviderinsert {
+ protected static String nl;
+
+ public static synchronized ItemProviderinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProviderinsert result = new ItemProviderinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ItemProviderinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object _ListParameter : _ListList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this._List = (java.lang.String) _ListParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("_List", this._List);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.String _List = null;
+
+ public void set__List(java.lang.String object) {
+ this._List = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("_List", this._List);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert.java
new file mode 100644
index 0000000..6ec9018
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert.java
@@ -0,0 +1,199 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert {
+ protected static String nl;
+
+ public static synchronized ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert create(
+ String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert result = new ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> createDataTypeList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> delegatedFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createClassifierList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> childCreationDataList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object createDataTypeParameter : createDataTypeList) {
+ for (Object createFeatureParameter : createFeatureList) {
+ for (Object delegatedFeatureParameter : delegatedFeatureList) {
+ for (Object createClassifierParameter : createClassifierList) {
+ for (Object childCreationDataParameter : childCreationDataList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.createDataType = (org.eclipse.emf.codegen.ecore.genmodel.GenDataType) createDataTypeParameter;
+ this.createFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) createFeatureParameter;
+ this.delegatedFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) delegatedFeatureParameter;
+ this.createClassifier = (org.eclipse.emf.codegen.ecore.genmodel.GenClassifier) createClassifierParameter;
+ this.childCreationData = (org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData) childCreationDataParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("createDataType", this.createDataType);
+ parameterValues.put("createFeature", this.createFeature);
+ parameterValues.put("delegatedFeature", this.delegatedFeature);
+ parameterValues.put("createClassifier", this.createClassifier);
+ parameterValues.put("childCreationData", this.childCreationData);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenDataType createDataType = null;
+
+ public void set_createDataType(org.eclipse.emf.codegen.ecore.genmodel.GenDataType object) {
+ this.createDataType = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature createFeature = null;
+
+ public void set_createFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.createFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature delegatedFeature = null;
+
+ public void set_delegatedFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.delegatedFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClassifier createClassifier = null;
+
+ public void set_createClassifier(org.eclipse.emf.codegen.ecore.genmodel.GenClassifier object) {
+ this.createClassifier = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData childCreationData = null;
+
+ public void set_childCreationData(org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData object) {
+ this.childCreationData = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("createDataType", this.createDataType);
+ parameters.put("createFeature", this.createFeature);
+ parameters.put("delegatedFeature", this.delegatedFeature);
+ parameters.put("createClassifier", this.createClassifier);
+ parameters.put("childCreationData", this.childCreationData);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride.java
new file mode 100644
index 0000000..84fb6cc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride.java
@@ -0,0 +1,271 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride create(
+ String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride result = new ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t\tnewChildDescriptors.add" + NL + "\t\t\t(createChildParameter" + NL
+ + "\t\t\t\t(";
+ protected final String TEXT_2 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_3 = ".createEntry" + NL + "\t\t\t\t\t(";
+ protected final String TEXT_4 = ",";
+ protected final String TEXT_5 = NL + "\t\t\t\t\t ";
+ protected final String TEXT_6 = ")));";
+ protected final String TEXT_7 = NL + "\t\t\t\t\t ";
+ protected final String TEXT_8 = ")));";
+ protected final String TEXT_9 = NL + "\t\t\t\t\t ";
+ protected final String TEXT_10 = ".createFromString(";
+ protected final String TEXT_11 = ", ";
+ protected final String TEXT_12 = "))));";
+ protected final String TEXT_13 = " // TODO: ensure this is a valid literal value";
+ protected final String TEXT_14 = NL;
+ protected final String TEXT_15 = NL;
+ protected final String TEXT_16 = NL;
+ protected final String TEXT_17 = NL;
+
+ public ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> createDataTypeList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> delegatedFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createClassifierList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> childCreationDataList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object createDataTypeParameter : createDataTypeList) {
+ for (Object createFeatureParameter : createFeatureList) {
+ for (Object delegatedFeatureParameter : delegatedFeatureList) {
+ for (Object createClassifierParameter : createClassifierList) {
+ for (Object childCreationDataParameter : childCreationDataList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.createDataType = (org.eclipse.emf.codegen.ecore.genmodel.GenDataType) createDataTypeParameter;
+ this.createFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) createFeatureParameter;
+ this.delegatedFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) delegatedFeatureParameter;
+ this.createClassifier = (org.eclipse.emf.codegen.ecore.genmodel.GenClassifier) createClassifierParameter;
+ this.childCreationData = (org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData) childCreationDataParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(TEXT_17);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("createDataType", this.createDataType);
+ parameterValues.put("createFeature", this.createFeature);
+ parameterValues.put("delegatedFeature", this.delegatedFeature);
+ parameterValues.put("createClassifier", this.createClassifier);
+ parameterValues.put("childCreationData", this.childCreationData);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenDataType createDataType = null;
+
+ public void set_createDataType(org.eclipse.emf.codegen.ecore.genmodel.GenDataType object) {
+ this.createDataType = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature createFeature = null;
+
+ public void set_createFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.createFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature delegatedFeature = null;
+
+ public void set_delegatedFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.delegatedFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClassifier createClassifier = null;
+
+ public void set_createClassifier(org.eclipse.emf.codegen.ecore.genmodel.GenClassifier object) {
+ this.createClassifier = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData childCreationData = null;
+
+ public void set_childCreationData(org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData object) {
+ this.childCreationData = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("createDataType", this.createDataType);
+ parameters.put("createFeature", this.createFeature);
+ parameters.put("delegatedFeature", this.delegatedFeature);
+ parameters.put("createClassifier", this.createClassifier);
+ parameters.put("childCreationData", this.childCreationData);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(createFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMapUtil"));
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(delegatedFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_4);
+ if (delegatedFeature.isEnumBasedType()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(delegatedFeature.getTypeGenEnum().getStaticValue(
+ delegatedFeature.getEcoreFeature().getDefaultValueLiteral()));
+ stringBuffer.append(TEXT_6);
+ } else if (delegatedFeature.isStringBasedType()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(delegatedFeature.getCreateChildValueLiteral());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ String literal = delegatedFeature.getCreateChildValueLiteral();
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(createDataType.getGenPackage().getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(createDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(literal);
+ stringBuffer.append(TEXT_12);
+ if (literal != null) {
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_13);
+ }
+ }
+ stringBuffer.append(TEXT_14);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.insert" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createDataType", createDataType);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04f78GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_15);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureinsert.java
new file mode 100644
index 0000000..36bc85e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureinsert.java
@@ -0,0 +1,198 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidernewChildDescriptorsAttributeFeatureinsert {
+ protected static String nl;
+
+ public static synchronized ItemProvidernewChildDescriptorsAttributeFeatureinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidernewChildDescriptorsAttributeFeatureinsert result = new ItemProvidernewChildDescriptorsAttributeFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ItemProvidernewChildDescriptorsAttributeFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> createDataTypeList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> delegatedFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createClassifierList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> childCreationDataList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object createDataTypeParameter : createDataTypeList) {
+ for (Object createFeatureParameter : createFeatureList) {
+ for (Object delegatedFeatureParameter : delegatedFeatureList) {
+ for (Object createClassifierParameter : createClassifierList) {
+ for (Object childCreationDataParameter : childCreationDataList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.createDataType = (org.eclipse.emf.codegen.ecore.genmodel.GenDataType) createDataTypeParameter;
+ this.createFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) createFeatureParameter;
+ this.delegatedFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) delegatedFeatureParameter;
+ this.createClassifier = (org.eclipse.emf.codegen.ecore.genmodel.GenClassifier) createClassifierParameter;
+ this.childCreationData = (org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData) childCreationDataParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("createDataType", this.createDataType);
+ parameterValues.put("createFeature", this.createFeature);
+ parameterValues.put("delegatedFeature", this.delegatedFeature);
+ parameterValues.put("createClassifier", this.createClassifier);
+ parameterValues.put("childCreationData", this.childCreationData);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenDataType createDataType = null;
+
+ public void set_createDataType(org.eclipse.emf.codegen.ecore.genmodel.GenDataType object) {
+ this.createDataType = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature createFeature = null;
+
+ public void set_createFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.createFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature delegatedFeature = null;
+
+ public void set_delegatedFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.delegatedFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClassifier createClassifier = null;
+
+ public void set_createClassifier(org.eclipse.emf.codegen.ecore.genmodel.GenClassifier object) {
+ this.createClassifier = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData childCreationData = null;
+
+ public void set_childCreationData(org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData object) {
+ this.childCreationData = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("createDataType", this.createDataType);
+ parameters.put("createFeature", this.createFeature);
+ parameters.put("delegatedFeature", this.delegatedFeature);
+ parameters.put("createClassifier", this.createClassifier);
+ parameters.put("childCreationData", this.childCreationData);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureoverride.java
new file mode 100644
index 0000000..241be9c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureoverride.java
@@ -0,0 +1,264 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidernewChildDescriptorsAttributeFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ItemProvidernewChildDescriptorsAttributeFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidernewChildDescriptorsAttributeFeatureoverride result = new ItemProvidernewChildDescriptorsAttributeFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t\tnewChildDescriptors.add" + NL + "\t\t\t(createChildParameter" + NL
+ + "\t\t\t\t(";
+ protected final String TEXT_2 = ",";
+ protected final String TEXT_3 = NL + "\t\t\t\t ";
+ protected final String TEXT_4 = "));";
+ protected final String TEXT_5 = NL + "\t\t\t\t ";
+ protected final String TEXT_6 = "));";
+ protected final String TEXT_7 = NL + "\t\t\t\t ";
+ protected final String TEXT_8 = ".createFromString(";
+ protected final String TEXT_9 = ", ";
+ protected final String TEXT_10 = ")));";
+ protected final String TEXT_11 = " // TODO: ensure this is a valid literal value";
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL;
+ protected final String TEXT_15 = NL;
+
+ public ItemProvidernewChildDescriptorsAttributeFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> createDataTypeList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> delegatedFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createClassifierList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> childCreationDataList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object createDataTypeParameter : createDataTypeList) {
+ for (Object createFeatureParameter : createFeatureList) {
+ for (Object delegatedFeatureParameter : delegatedFeatureList) {
+ for (Object createClassifierParameter : createClassifierList) {
+ for (Object childCreationDataParameter : childCreationDataList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.createDataType = (org.eclipse.emf.codegen.ecore.genmodel.GenDataType) createDataTypeParameter;
+ this.createFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) createFeatureParameter;
+ this.delegatedFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) delegatedFeatureParameter;
+ this.createClassifier = (org.eclipse.emf.codegen.ecore.genmodel.GenClassifier) createClassifierParameter;
+ this.childCreationData = (org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData) childCreationDataParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(TEXT_15);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("createDataType", this.createDataType);
+ parameterValues.put("createFeature", this.createFeature);
+ parameterValues.put("delegatedFeature", this.delegatedFeature);
+ parameterValues.put("createClassifier", this.createClassifier);
+ parameterValues.put("childCreationData", this.childCreationData);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenDataType createDataType = null;
+
+ public void set_createDataType(org.eclipse.emf.codegen.ecore.genmodel.GenDataType object) {
+ this.createDataType = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature createFeature = null;
+
+ public void set_createFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.createFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature delegatedFeature = null;
+
+ public void set_delegatedFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.delegatedFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClassifier createClassifier = null;
+
+ public void set_createClassifier(org.eclipse.emf.codegen.ecore.genmodel.GenClassifier object) {
+ this.createClassifier = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData childCreationData = null;
+
+ public void set_childCreationData(org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData object) {
+ this.childCreationData = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("createDataType", this.createDataType);
+ parameters.put("createFeature", this.createFeature);
+ parameters.put("delegatedFeature", this.delegatedFeature);
+ parameters.put("createClassifier", this.createClassifier);
+ parameters.put("childCreationData", this.childCreationData);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(createFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_2);
+ if (createFeature.isEnumBasedType()) {
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(createFeature.getTypeGenEnum().getStaticValue(
+ createFeature.getEcoreFeature().getDefaultValueLiteral()));
+ stringBuffer.append(TEXT_4);
+ } else if (createFeature.isStringBasedType()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(createFeature.getCreateChildValueLiteral());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ String literal = createFeature.getCreateChildValueLiteral();
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(createDataType.getGenPackage().getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(createDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(literal);
+ stringBuffer.append(TEXT_10);
+ if (literal != null) {
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_11);
+ }
+ }
+ stringBuffer.append(TEXT_12);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.insert" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createDataType", createDataType);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_05ZT0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_13);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert.java
new file mode 100644
index 0000000..d954cfd
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert.java
@@ -0,0 +1,199 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert {
+ protected static String nl;
+
+ public static synchronized ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert create(
+ String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert result = new ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> createClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> delegatedFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createClassifierList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> childCreationDataList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object createClassParameter : createClassList) {
+ for (Object createFeatureParameter : createFeatureList) {
+ for (Object delegatedFeatureParameter : delegatedFeatureList) {
+ for (Object createClassifierParameter : createClassifierList) {
+ for (Object childCreationDataParameter : childCreationDataList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.createClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) createClassParameter;
+ this.createFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) createFeatureParameter;
+ this.delegatedFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) delegatedFeatureParameter;
+ this.createClassifier = (org.eclipse.emf.codegen.ecore.genmodel.GenClassifier) createClassifierParameter;
+ this.childCreationData = (org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData) childCreationDataParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("createClass", this.createClass);
+ parameterValues.put("createFeature", this.createFeature);
+ parameterValues.put("delegatedFeature", this.delegatedFeature);
+ parameterValues.put("createClassifier", this.createClassifier);
+ parameterValues.put("childCreationData", this.childCreationData);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass createClass = null;
+
+ public void set_createClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.createClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature createFeature = null;
+
+ public void set_createFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.createFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature delegatedFeature = null;
+
+ public void set_delegatedFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.delegatedFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClassifier createClassifier = null;
+
+ public void set_createClassifier(org.eclipse.emf.codegen.ecore.genmodel.GenClassifier object) {
+ this.createClassifier = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData childCreationData = null;
+
+ public void set_childCreationData(org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData object) {
+ this.childCreationData = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("createClass", this.createClass);
+ parameters.put("createFeature", this.createFeature);
+ parameters.put("delegatedFeature", this.delegatedFeature);
+ parameters.put("createClassifier", this.createClassifier);
+ parameters.put("childCreationData", this.childCreationData);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride.java
new file mode 100644
index 0000000..dffab7c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride.java
@@ -0,0 +1,256 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride create(
+ String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride result = new ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t\tnewChildDescriptors.add" + NL + "\t\t\t(createChildParameter" + NL
+ + "\t\t\t\t(";
+ protected final String TEXT_2 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_3 = ".createEntry" + NL + "\t\t\t\t\t(";
+ protected final String TEXT_4 = ",";
+ protected final String TEXT_5 = NL + "\t\t\t\t\t ";
+ protected final String TEXT_6 = ".create(";
+ protected final String TEXT_7 = "))));";
+ protected final String TEXT_8 = NL + "\t\t\t\t\t ";
+ protected final String TEXT_9 = ".create";
+ protected final String TEXT_10 = "())));";
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL;
+
+ public ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> createClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> delegatedFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createClassifierList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> childCreationDataList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object createClassParameter : createClassList) {
+ for (Object createFeatureParameter : createFeatureList) {
+ for (Object delegatedFeatureParameter : delegatedFeatureList) {
+ for (Object createClassifierParameter : createClassifierList) {
+ for (Object childCreationDataParameter : childCreationDataList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.createClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) createClassParameter;
+ this.createFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) createFeatureParameter;
+ this.delegatedFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) delegatedFeatureParameter;
+ this.createClassifier = (org.eclipse.emf.codegen.ecore.genmodel.GenClassifier) createClassifierParameter;
+ this.childCreationData = (org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData) childCreationDataParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(TEXT_14);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("createClass", this.createClass);
+ parameterValues.put("createFeature", this.createFeature);
+ parameterValues.put("delegatedFeature", this.delegatedFeature);
+ parameterValues.put("createClassifier", this.createClassifier);
+ parameterValues.put("childCreationData", this.childCreationData);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass createClass = null;
+
+ public void set_createClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.createClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature createFeature = null;
+
+ public void set_createFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.createFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature delegatedFeature = null;
+
+ public void set_delegatedFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.delegatedFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClassifier createClassifier = null;
+
+ public void set_createClassifier(org.eclipse.emf.codegen.ecore.genmodel.GenClassifier object) {
+ this.createClassifier = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData childCreationData = null;
+
+ public void set_childCreationData(org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData object) {
+ this.childCreationData = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("createClass", this.createClass);
+ parameters.put("createFeature", this.createFeature);
+ parameters.put("delegatedFeature", this.delegatedFeature);
+ parameters.put("createClassifier", this.createClassifier);
+ parameters.put("childCreationData", this.childCreationData);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(createFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMapUtil"));
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(delegatedFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_4);
+ if (createClass.isMapEntry()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(createClass.getGenPackage().getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(createClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_7);
+ } else {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(createClass.getGenPackage().getQualifiedFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(createClass.getName());
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.insert" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createClass", createClass);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04NBAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_12);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureinsert.java
new file mode 100644
index 0000000..b3afcb3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureinsert.java
@@ -0,0 +1,198 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidernewChildDescriptorsReferenceFeatureinsert {
+ protected static String nl;
+
+ public static synchronized ItemProvidernewChildDescriptorsReferenceFeatureinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidernewChildDescriptorsReferenceFeatureinsert result = new ItemProvidernewChildDescriptorsReferenceFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ItemProvidernewChildDescriptorsReferenceFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> createClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> delegatedFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createClassifierList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> childCreationDataList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object createClassParameter : createClassList) {
+ for (Object createFeatureParameter : createFeatureList) {
+ for (Object delegatedFeatureParameter : delegatedFeatureList) {
+ for (Object createClassifierParameter : createClassifierList) {
+ for (Object childCreationDataParameter : childCreationDataList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.createClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) createClassParameter;
+ this.createFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) createFeatureParameter;
+ this.delegatedFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) delegatedFeatureParameter;
+ this.createClassifier = (org.eclipse.emf.codegen.ecore.genmodel.GenClassifier) createClassifierParameter;
+ this.childCreationData = (org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData) childCreationDataParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("createClass", this.createClass);
+ parameterValues.put("createFeature", this.createFeature);
+ parameterValues.put("delegatedFeature", this.delegatedFeature);
+ parameterValues.put("createClassifier", this.createClassifier);
+ parameterValues.put("childCreationData", this.childCreationData);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass createClass = null;
+
+ public void set_createClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.createClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature createFeature = null;
+
+ public void set_createFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.createFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature delegatedFeature = null;
+
+ public void set_delegatedFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.delegatedFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClassifier createClassifier = null;
+
+ public void set_createClassifier(org.eclipse.emf.codegen.ecore.genmodel.GenClassifier object) {
+ this.createClassifier = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData childCreationData = null;
+
+ public void set_childCreationData(org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData object) {
+ this.childCreationData = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("createClass", this.createClass);
+ parameters.put("createFeature", this.createFeature);
+ parameters.put("delegatedFeature", this.delegatedFeature);
+ parameters.put("createClassifier", this.createClassifier);
+ parameters.put("childCreationData", this.childCreationData);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureoverride.java
new file mode 100644
index 0000000..3939328
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureoverride.java
@@ -0,0 +1,249 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ItemProvidernewChildDescriptorsReferenceFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ItemProvidernewChildDescriptorsReferenceFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ItemProvidernewChildDescriptorsReferenceFeatureoverride result = new ItemProvidernewChildDescriptorsReferenceFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t\tnewChildDescriptors.add" + NL + "\t\t\t(createChildParameter" + NL
+ + "\t\t\t\t(";
+ protected final String TEXT_2 = ",";
+ protected final String TEXT_3 = NL + "\t\t\t\t ";
+ protected final String TEXT_4 = ".create(";
+ protected final String TEXT_5 = ")));";
+ protected final String TEXT_6 = NL + "\t\t\t\t ";
+ protected final String TEXT_7 = ".create";
+ protected final String TEXT_8 = "()));";
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL;
+
+ public ItemProvidernewChildDescriptorsReferenceFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> createClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> delegatedFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> createClassifierList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> childCreationDataList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object createClassParameter : createClassList) {
+ for (Object createFeatureParameter : createFeatureList) {
+ for (Object delegatedFeatureParameter : delegatedFeatureList) {
+ for (Object createClassifierParameter : createClassifierList) {
+ for (Object childCreationDataParameter : childCreationDataList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.createClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) createClassParameter;
+ this.createFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) createFeatureParameter;
+ this.delegatedFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) delegatedFeatureParameter;
+ this.createClassifier = (org.eclipse.emf.codegen.ecore.genmodel.GenClassifier) createClassifierParameter;
+ this.childCreationData = (org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData) childCreationDataParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(TEXT_12);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("createClass", this.createClass);
+ parameterValues.put("createFeature", this.createFeature);
+ parameterValues.put("delegatedFeature", this.delegatedFeature);
+ parameterValues.put("createClassifier", this.createClassifier);
+ parameterValues.put("childCreationData", this.childCreationData);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass createClass = null;
+
+ public void set_createClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.createClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature createFeature = null;
+
+ public void set_createFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.createFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature delegatedFeature = null;
+
+ public void set_delegatedFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.delegatedFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClassifier createClassifier = null;
+
+ public void set_createClassifier(org.eclipse.emf.codegen.ecore.genmodel.GenClassifier object) {
+ this.createClassifier = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData childCreationData = null;
+
+ public void set_childCreationData(org.eclipse.emf.codegen.ecore.genmodel.GenClass.ChildCreationData object) {
+ this.childCreationData = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("createClass", this.createClass);
+ parameters.put("createFeature", this.createFeature);
+ parameters.put("delegatedFeature", this.delegatedFeature);
+ parameters.put("createClassifier", this.createClassifier);
+ parameters.put("childCreationData", this.childCreationData);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(createFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_2);
+ if (createClass.isMapEntry()) {
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(createClass.getGenPackage().getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(createClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_5);
+ } else {
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(createClass.getGenPackage().getQualifiedFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(createClass.getName());
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.insert" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("createClass", createClass);
+ callParameters.put("createFeature", createFeature);
+ callParameters.put("delegatedFeature", delegatedFeature);
+ callParameters.put("createClassifier", createClassifier);
+ callParameters.put("childCreationData", childCreationData);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04y24GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_10);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ActionBarContributor.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ActionBarContributor.java
new file mode 100644
index 0000000..165290b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ActionBarContributor.java
@@ -0,0 +1,1260 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ActionBarContributor extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized ActionBarContributor create(String lineSeparator) {
+ nl = lineSeparator;
+ ActionBarContributor result = new ActionBarContributor();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the action bar contributor for the ";
+ protected final String TEXT_5 = " model editor." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_6 = NL + "\textends ";
+ protected final String TEXT_7 = NL + "\timplements ";
+ protected final String TEXT_8 = NL + "{";
+ protected final String TEXT_9 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static final String copyright = ";
+ protected final String TEXT_10 = ";";
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * Action to create objects from the ";
+ protected final String TEXT_13 = " model." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class NewAction extends ";
+ protected final String TEXT_14 = NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic void run(";
+ protected final String TEXT_15 = " action)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_16 = " wizard = new ";
+ protected final String TEXT_17 = "();" + NL + "\t\t\twizard.init(getWindow().getWorkbench(), ";
+ protected final String TEXT_18 = ".EMPTY);" + NL + "\t\t\t";
+ protected final String TEXT_19 = " wizardDialog = new ";
+ protected final String TEXT_20 = "(getWindow().getShell(), wizard);" + NL + "\t\t\twizardDialog.open();" + NL
+ + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_21 = NL + "\t/**" + NL + "\t * This keeps track of the active editor." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_22 = " activeEditorPart;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This keeps track of the current selection provider." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_23 = " selectionProvider;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This action opens the Properties view." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_24 = " showPropertiesViewAction =" + NL + "\t\tnew ";
+ protected final String TEXT_25 = "(";
+ protected final String TEXT_26 = ".INSTANCE.getString(\"_UI_ShowPropertiesView_menu_item\"))";
+ protected final String TEXT_27 = NL + "\t\t{";
+ protected final String TEXT_28 = NL + "\t\t\t@Override";
+ protected final String TEXT_29 = NL + "\t\t\tpublic void run()" + NL + "\t\t\t{" + NL + "\t\t\t\ttry" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tgetPage().showView(\"org.eclipse.ui.views.PropertySheet\");";
+ protected final String TEXT_30 = NL + "\t\t\t\t}" + NL + "\t\t\t\tcatch (";
+ protected final String TEXT_31 = " exception)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_32 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};"
+ + NL + "" + NL + "\t/**" + NL + "\t * This action refreshes the viewer of the current editor if the editor"
+ + NL + "\t * implements {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_33 = " refreshViewerAction =" + NL + "\t\tnew ";
+ protected final String TEXT_34 = "(";
+ protected final String TEXT_35 = ".INSTANCE.getString(\"_UI_RefreshViewer_menu_item\"))";
+ protected final String TEXT_36 = NL + "\t\t{";
+ protected final String TEXT_37 = NL + "\t\t\t@Override";
+ protected final String TEXT_38 = NL + "\t\t\tpublic boolean isEnabled()" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn activeEditorPart instanceof ";
+ protected final String TEXT_39 = ";" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_40 = NL + "\t\t\t@Override";
+ protected final String TEXT_41 = NL + "\t\t\tpublic void run()" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tif (activeEditorPart instanceof ";
+ protected final String TEXT_42 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_43 = " viewer = ((";
+ protected final String TEXT_44 = ")activeEditorPart).getViewer();" + NL + "\t\t\t\t\tif (viewer != null)" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tviewer.refresh();" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}" + NL + "\t\t};" + NL;
+ protected final String TEXT_45 = NL
+ + "\t/**"
+ + NL
+ + "\t * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor"
+ + NL + "\t * generated for the current selection by the item provider." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_46 = " createChildActions;" + NL;
+ protected final String TEXT_47 = NL
+ + "\t/**"
+ + NL
+ + "\t * This will contain a map of {@link org.eclipse.emf.edit.ui.action.CreateChildAction}s, keyed by sub-menu text."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_48 = " createChildSubmenuActions;" + NL;
+ protected final String TEXT_49 = NL
+ + "\t/**"
+ + NL
+ + "\t * This is the menu manager into which menu contribution items should be added for CreateChild actions."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_50 = " createChildMenuManager;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding to each descriptor"
+ + NL + "\t * generated for the current selection by the item provider." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_51 = " createSiblingActions;" + NL;
+ protected final String TEXT_52 = NL
+ + "\t/**"
+ + NL
+ + "\t * This will contain a map of {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction}s, keyed by submenu text."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_53 = " createSiblingSubmenuActions;" + NL;
+ protected final String TEXT_54 = NL
+ + "\t/**"
+ + NL
+ + "\t * This is the menu manager into which menu contribution items should be added for CreateSibling actions."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_55 = " createSiblingMenuManager;" + NL;
+ protected final String TEXT_56 = NL + "\t/**" + NL + "\t * This creates an instance of the contributor." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_57 = "()" + NL + "\t{" + NL + "\t\tsuper(ADDITIONS_LAST_STYLE);" + NL
+ + "\t\tloadResourceAction = new ";
+ protected final String TEXT_58 = "();" + NL + "\t\tvalidateAction = new ";
+ protected final String TEXT_59 = "();";
+ protected final String TEXT_60 = NL + "\t\tliveValidationAction = new ";
+ protected final String TEXT_61 = ".LiveValidator.LiveValidationAction(";
+ protected final String TEXT_62 = ".getPlugin().getDialogSettings());";
+ protected final String TEXT_63 = NL + "\t\tcontrolAction = new ";
+ protected final String TEXT_64 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This adds Separators for editor additions to the tool bar." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_65 = NL + "\t@Override";
+ protected final String TEXT_66 = NL + "\tpublic void contributeToToolBar(";
+ protected final String TEXT_67 = " toolBarManager)" + NL + "\t{" + NL + "\t\ttoolBarManager.add(new ";
+ protected final String TEXT_68 = "(\"";
+ protected final String TEXT_69 = "-settings\"));";
+ protected final String TEXT_70 = NL + "\t\ttoolBarManager.add(new ";
+ protected final String TEXT_71 = "(\"";
+ protected final String TEXT_72 = "-additions\"));";
+ protected final String TEXT_73 = NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This adds to the menu bar a menu and some separators for editor additions," + NL
+ + "\t * as well as the sub-menus for object creation items." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_74 = NL + "\t@Override";
+ protected final String TEXT_75 = NL + "\tpublic void contributeToMenu(";
+ protected final String TEXT_76 = " menuManager)" + NL + "\t{" + NL + "\t\tsuper.contributeToMenu(menuManager);"
+ + NL + "" + NL + "\t\t";
+ protected final String TEXT_77 = " submenuManager = new ";
+ protected final String TEXT_78 = "(";
+ protected final String TEXT_79 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_80 = "_menu\"), \"";
+ protected final String TEXT_81 = "MenuID\");";
+ protected final String TEXT_82 = NL + "\t\tmenuManager.insertAfter(\"additions\", submenuManager);";
+ protected final String TEXT_83 = NL + "\t\tsubmenuManager.add(new ";
+ protected final String TEXT_84 = "(\"settings\"));";
+ protected final String TEXT_85 = NL + "\t\tsubmenuManager.add(new ";
+ protected final String TEXT_86 = "(\"actions\"));";
+ protected final String TEXT_87 = NL + "\t\tsubmenuManager.add(new ";
+ protected final String TEXT_88 = "(\"additions\"));";
+ protected final String TEXT_89 = NL + "\t\tsubmenuManager.add(new ";
+ protected final String TEXT_90 = "(\"additions-end\"));";
+ protected final String TEXT_91 = NL;
+ protected final String TEXT_92 = NL + "\t\t// Prepare for CreateChild item addition or removal." + NL + "\t\t//"
+ + NL + "\t\tcreateChildMenuManager = new ";
+ protected final String TEXT_93 = "(";
+ protected final String TEXT_94 = ".INSTANCE.getString(\"_UI_CreateChild_menu_item\"));";
+ protected final String TEXT_95 = NL + "\t\tsubmenuManager.insertBefore(\"additions\", createChildMenuManager);";
+ protected final String TEXT_96 = NL + NL + "\t\t// Prepare for CreateSibling item addition or removal." + NL
+ + "\t\t//" + NL + "\t\tcreateSiblingMenuManager = new ";
+ protected final String TEXT_97 = "(";
+ protected final String TEXT_98 = ".INSTANCE.getString(\"_UI_CreateSibling_menu_item\"));";
+ protected final String TEXT_99 = NL + "\t\tsubmenuManager.insertBefore(\"additions\", createSiblingMenuManager);";
+ protected final String TEXT_100 = NL + NL + "\t\t// Force an update because Eclipse hides empty menus now." + NL
+ + "\t\t//" + NL + "\t\tsubmenuManager.addMenuListener" + NL + "\t\t\t(new ";
+ protected final String TEXT_101 = "()" + NL + "\t\t\t {" + NL + "\t\t\t\t public void menuAboutToShow(";
+ protected final String TEXT_102 = " menuManager)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t menuManager.updateAll(true);" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL;
+ protected final String TEXT_103 = NL + "\t\t// Add your contributions." + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL;
+ protected final String TEXT_104 = NL
+ + "\t\taddGlobalActions(submenuManager);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * When the active editor changes, this remembers the change and registers with it as a selection provider."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_105 = NL + "\t@Override";
+ protected final String TEXT_106 = NL + "\tpublic void setActiveEditor(";
+ protected final String TEXT_107 = " part)" + NL + "\t{" + NL + "\t\tsuper.setActiveEditor(part);" + NL
+ + "\t\tactiveEditorPart = part;" + NL + "" + NL + "\t\t// Switch to the new selection provider." + NL
+ + "\t\t//" + NL + "\t\tif (selectionProvider != null)" + NL + "\t\t{" + NL
+ + "\t\t\tselectionProvider.removeSelectionChangedListener(this);" + NL + "\t\t}" + NL
+ + "\t\tif (part == null)" + NL + "\t\t{" + NL + "\t\t\tselectionProvider = null;" + NL + "\t\t}" + NL
+ + "\t\telse" + NL + "\t\t{" + NL + "\t\t\tselectionProvider = part.getSite().getSelectionProvider();" + NL
+ + "\t\t\tselectionProvider.addSelectionChangedListener(this);" + NL + "" + NL
+ + "\t\t\t// Fake a selection changed event to update the menus." + NL + "\t\t\t//" + NL
+ + "\t\t\tif (selectionProvider.getSelection() != null)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tselectionChanged(new ";
+ protected final String TEXT_108 = "(selectionProvider, selectionProvider.getSelection()));"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionChangedListener},"
+ + NL
+ + "\t * handling {@link org.eclipse.jface.viewers.SelectionChangedEvent}s by querying for the children and siblings"
+ + NL + "\t * that can be added to the selected object and updating the menus accordingly." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void selectionChanged(";
+ protected final String TEXT_109 = " event)" + NL + "\t{";
+ protected final String TEXT_110 = NL + "\t\t// Remove any menu items for old selection." + NL + "\t\t//" + NL
+ + "\t\tif (createChildMenuManager != null)" + NL + "\t\t{";
+ protected final String TEXT_111 = NL
+ + "\t\t\tdepopulateManager(createChildMenuManager, createChildSubmenuActions);";
+ protected final String TEXT_112 = NL + "\t\t\tdepopulateManager(createChildMenuManager, createChildActions);" + NL
+ + "\t\t}" + NL + "\t\tif (createSiblingMenuManager != null)" + NL + "\t\t{";
+ protected final String TEXT_113 = NL
+ + "\t\t\tdepopulateManager(createSiblingMenuManager, createSiblingSubmenuActions);";
+ protected final String TEXT_114 = NL + "\t\t\tdepopulateManager(createSiblingMenuManager, createSiblingActions);"
+ + NL + "\t\t}" + NL + "" + NL
+ + "\t\t// Query the new selection for appropriate new child/sibling descriptors" + NL + "\t\t//" + NL
+ + "\t\t";
+ protected final String TEXT_115 = " newChildDescriptors = null;" + NL + "\t\t";
+ protected final String TEXT_116 = " newSiblingDescriptors = null;" + NL + "" + NL + "\t\t";
+ protected final String TEXT_117 = " selection = event.getSelection();" + NL + "\t\tif (selection instanceof ";
+ protected final String TEXT_118 = " && ((IStructuredSelection)selection).size() == 1)" + NL + "\t\t{" + NL
+ + "\t\t\tObject object = ((";
+ protected final String TEXT_119 = ")selection).getFirstElement();" + NL + "" + NL + "\t\t\t";
+ protected final String TEXT_120 = " domain = ((";
+ protected final String TEXT_121 = ")activeEditorPart).getEditingDomain();" + NL + "" + NL
+ + "\t\t\tnewChildDescriptors = domain.getNewChildDescriptors(object, null);" + NL
+ + "\t\t\tnewSiblingDescriptors = domain.getNewChildDescriptors(null, object);" + NL + "\t\t}" + NL + ""
+ + NL + "\t\t// Generate actions for selection; populate and redraw the menus." + NL + "\t\t//" + NL
+ + "\t\tcreateChildActions = generateCreateChildActions(newChildDescriptors, selection);";
+ protected final String TEXT_122 = NL + "\t\tcreateChildSubmenuActions = extractSubmenuActions(createChildActions);";
+ protected final String TEXT_123 = NL
+ + "\t\tcreateSiblingActions = generateCreateSiblingActions(newSiblingDescriptors, selection);";
+ protected final String TEXT_124 = NL
+ + "\t\tcreateSiblingSubmenuActions = extractSubmenuActions(createSiblingActions);";
+ protected final String TEXT_125 = NL + NL + "\t\tif (createChildMenuManager != null)" + NL + "\t\t{";
+ protected final String TEXT_126 = NL
+ + "\t\t\tpopulateManager(createChildMenuManager, createChildSubmenuActions, null);";
+ protected final String TEXT_127 = NL + "\t\t\tpopulateManager(createChildMenuManager, createChildActions, null);"
+ + NL + "\t\t\tcreateChildMenuManager.update(true);" + NL + "\t\t}" + NL
+ + "\t\tif (createSiblingMenuManager != null)" + NL + "\t\t{";
+ protected final String TEXT_128 = NL
+ + "\t\t\tpopulateManager(createSiblingMenuManager, createSiblingSubmenuActions, null);";
+ protected final String TEXT_129 = NL
+ + "\t\t\tpopulateManager(createSiblingMenuManager, createSiblingActions, null);" + NL
+ + "\t\t\tcreateSiblingMenuManager.update(true);" + NL + "\t\t}";
+ protected final String TEXT_130 = NL + "\t\t// Add your contributions." + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT";
+ protected final String TEXT_131 = NL + "\t}" + NL;
+ protected final String TEXT_132 = NL
+ + "\t/**"
+ + NL
+ + "\t * This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction} for each object in <code>descriptors</code>,"
+ + NL + "\t * and returns the collection of these actions." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_133 = " generateCreateChildActions(";
+ protected final String TEXT_134 = " descriptors, ";
+ protected final String TEXT_135 = " selection)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_136 = " actions = new ";
+ protected final String TEXT_137 = "();" + NL + "\t\tif (descriptors != null)" + NL + "\t\t{";
+ protected final String TEXT_138 = NL + "\t\t\tfor (";
+ protected final String TEXT_139 = " descriptor : descriptors)";
+ protected final String TEXT_140 = NL + "\t\t\tfor (";
+ protected final String TEXT_141 = " i = descriptors.iterator(); i.hasNext(); )";
+ protected final String TEXT_142 = NL + "\t\t\t{" + NL + "\t\t\t\tactions.add(new ";
+ protected final String TEXT_143 = "(activeEditorPart, selection, ";
+ protected final String TEXT_144 = "descriptor";
+ protected final String TEXT_145 = "i.next()";
+ protected final String TEXT_146 = "));"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\treturn actions;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This generates a {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each object in <code>descriptors</code>,"
+ + NL + "\t * and returns the collection of these actions." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_147 = " generateCreateSiblingActions(";
+ protected final String TEXT_148 = " descriptors, ";
+ protected final String TEXT_149 = " selection)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_150 = " actions = new ";
+ protected final String TEXT_151 = "();" + NL + "\t\tif (descriptors != null)" + NL + "\t\t{";
+ protected final String TEXT_152 = NL + "\t\t\tfor (";
+ protected final String TEXT_153 = " descriptor : descriptors)";
+ protected final String TEXT_154 = NL + "\t\t\tfor (";
+ protected final String TEXT_155 = " i = descriptors.iterator(); i.hasNext(); )";
+ protected final String TEXT_156 = NL + "\t\t\t{" + NL + "\t\t\t\tactions.add(new ";
+ protected final String TEXT_157 = "(activeEditorPart, selection, ";
+ protected final String TEXT_158 = "descriptor";
+ protected final String TEXT_159 = "i.next()";
+ protected final String TEXT_160 = "));"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\treturn actions;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.ActionContributionItem}s"
+ + NL
+ + "\t * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection,"
+ + NL + "\t * by inserting them before the specified contribution item <code>contributionID</code>." + NL
+ + "\t * If <code>contributionID</code> is <code>null</code>, they are simply added." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void populateManager(";
+ protected final String TEXT_161 = " manager, ";
+ protected final String TEXT_162 = " actions, String contributionID)" + NL + "\t{" + NL + "\t\tif (actions != null)"
+ + NL + "\t\t{";
+ protected final String TEXT_163 = NL + "\t\t\tfor (";
+ protected final String TEXT_164 = " action : actions)";
+ protected final String TEXT_165 = NL + "\t\t\tfor (";
+ protected final String TEXT_166 = " i = actions.iterator(); i.hasNext(); )";
+ protected final String TEXT_167 = NL + "\t\t\t{";
+ protected final String TEXT_168 = NL + "\t\t\t\t";
+ protected final String TEXT_169 = " action = (IAction)i.next();";
+ protected final String TEXT_170 = NL
+ + "\t\t\t\tif (contributionID != null)"
+ + NL
+ + "\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\tmanager.insertBefore(contributionID, action);"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t\telse"
+ + NL
+ + "\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\tmanager.add(action);"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.ActionContributionItem}s"
+ + NL
+ + "\t * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void depopulateManager(";
+ protected final String TEXT_171 = " manager, ";
+ protected final String TEXT_172 = " actions)" + NL + "\t{" + NL + "\t\tif (actions != null)" + NL + "\t\t{" + NL
+ + "\t\t\t";
+ protected final String TEXT_173 = "[] items = manager.getItems();" + NL
+ + "\t\t\tfor (int i = 0; i < items.length; i++)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Look into SubContributionItems" + NL + "\t\t\t\t//" + NL + "\t\t\t\t";
+ protected final String TEXT_174 = " contributionItem = items[i];" + NL
+ + "\t\t\t\twhile (contributionItem instanceof ";
+ protected final String TEXT_175 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tcontributionItem = ((";
+ protected final String TEXT_176 = ")contributionItem).getInnerItem();" + NL + "\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t// Delete the ActionContributionItems with matching action." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tif (contributionItem instanceof ";
+ protected final String TEXT_177 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_178 = " action = ((";
+ protected final String TEXT_179 = ")contributionItem).getAction();" + NL
+ + "\t\t\t\t\tif (actions.contains(action))" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tmanager.remove(contributionItem);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_180 = NL
+ + "\t/**"
+ + NL
+ + "\t * This extracts those actions in the <code>submenuActions</code> collection whose text is qualified and returns"
+ + NL + "\t * a map of these actions, keyed by submenu text." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_181 = " extractSubmenuActions(";
+ protected final String TEXT_182 = " createActions)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_183 = " createSubmenuActions = new ";
+ protected final String TEXT_184 = "();" + NL + "\t\tif (createActions != null)" + NL + "\t\t{" + NL + "\t\t\tfor (";
+ protected final String TEXT_185 = " actions = createActions.iterator(); actions.hasNext(); )" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t";
+ protected final String TEXT_186 = " action = ";
+ protected final String TEXT_187 = "(";
+ protected final String TEXT_188 = ")";
+ protected final String TEXT_189 = "actions.next();" + NL + "\t\t\t\t";
+ protected final String TEXT_190 = " st = new ";
+ protected final String TEXT_191 = "(action.getText(), \"|\");";
+ protected final String TEXT_192 = NL + "\t\t\t\tif (st.countTokens() == 2)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tString text = st.nextToken().trim();" + NL + "\t\t\t\t\t";
+ protected final String TEXT_193 = " submenuActions = ";
+ protected final String TEXT_194 = "(";
+ protected final String TEXT_195 = ")";
+ protected final String TEXT_196 = "createSubmenuActions.get(text);" + NL + "\t\t\t\t\tif (submenuActions == null)"
+ + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tcreateSubmenuActions.put(text, submenuActions = new ";
+ protected final String TEXT_197 = "());"
+ + NL
+ + "\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\taction.setText(st.nextToken().trim());"
+ + NL
+ + "\t\t\t\t\tsubmenuActions.add(action);"
+ + NL
+ + "\t\t\t\t\tactions.remove();"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\treturn createSubmenuActions;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.MenuManager}s containing"
+ + NL
+ + "\t * {@link org.eclipse.jface.action.ActionContributionItem}s based on the {@link org.eclipse.jface.action.IAction}s"
+ + NL
+ + "\t * contained in the <code>submenuActions</code> collection, by inserting them before the specified contribution"
+ + NL + "\t * item <code>contributionID</code>." + NL
+ + "\t * If <code>contributionID</code> is <code>null</code>, they are simply added." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void populateManager(";
+ protected final String TEXT_198 = " manager, ";
+ protected final String TEXT_199 = " submenuActions, String contributionID)" + NL + "\t{" + NL
+ + "\t\tif (submenuActions != null)" + NL + "\t\t{";
+ protected final String TEXT_200 = NL + "\t\t\tfor (";
+ protected final String TEXT_201 = " entry : submenuActions.entrySet())" + NL + "\t\t\t{";
+ protected final String TEXT_202 = NL + "\t\t\tfor (";
+ protected final String TEXT_203 = " entries = submenuActions.entrySet().iterator(); entries.hasNext();)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_204 = " entry = (";
+ protected final String TEXT_205 = ")entries.next();";
+ protected final String TEXT_206 = NL + "\t\t\t\t";
+ protected final String TEXT_207 = " submenuManager = new ";
+ protected final String TEXT_208 = "(";
+ protected final String TEXT_209 = "(String)";
+ protected final String TEXT_210 = "entry.getKey());" + NL + "\t\t\t\tif (contributionID != null)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tmanager.insertBefore(contributionID, submenuManager);" + NL + "\t\t\t\t}"
+ + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tmanager.add(submenuManager);" + NL + "\t\t\t\t}"
+ + NL + "\t\t\t\tpopulateManager(submenuManager, ";
+ protected final String TEXT_211 = "(";
+ protected final String TEXT_212 = ")";
+ protected final String TEXT_213 = "entry.getValue(), null);"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.MenuManager}s and their"
+ + NL
+ + "\t * {@link org.eclipse.jface.action.ActionContributionItem}s based on the {@link org.eclipse.jface.action.IAction}s"
+ + NL + "\t * contained in the <code>submenuActions</code> map." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected void depopulateManager(";
+ protected final String TEXT_214 = " manager, ";
+ protected final String TEXT_215 = " submenuActions)" + NL + "\t{" + NL + "\t\tif (submenuActions != null)" + NL
+ + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_216 = "[] items = manager.getItems();" + NL
+ + "\t\t\tfor (int i = 0; i < items.length; i++)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_217 = " contributionItem = items[i];" + NL + "\t\t\t\tif (contributionItem instanceof ";
+ protected final String TEXT_218 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_219 = " submenuManager = (";
+ protected final String TEXT_220 = ")contributionItem;" + NL
+ + "\t\t\t\t\tif (submenuActions.containsKey(submenuManager.getMenuText()))" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tdepopulateManager(submenuManager, ";
+ protected final String TEXT_221 = "(";
+ protected final String TEXT_222 = ")";
+ protected final String TEXT_223 = "submenuActions.get(contributionItem));" + NL
+ + "\t\t\t\t\t\tmanager.remove(contributionItem);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_224 = NL + "\t/**" + NL + "\t * This populates the pop-up menu before it appears." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_225 = NL + "\t@Override";
+ protected final String TEXT_226 = NL + "\tpublic void menuAboutToShow(";
+ protected final String TEXT_227 = " menuManager)" + NL + "\t{" + NL + "\t\tsuper.menuAboutToShow(menuManager);";
+ protected final String TEXT_228 = NL + "\t\t";
+ protected final String TEXT_229 = " submenuManager = null;" + NL + "" + NL + "\t\tsubmenuManager = new ";
+ protected final String TEXT_230 = "(";
+ protected final String TEXT_231 = ".INSTANCE.getString(\"_UI_CreateChild_menu_item\"));";
+ protected final String TEXT_232 = NL + "\t\tpopulateManager(submenuManager, createChildSubmenuActions, null);";
+ protected final String TEXT_233 = NL + "\t\tpopulateManager(submenuManager, createChildActions, null);" + NL
+ + "\t\tmenuManager.insertBefore(\"edit\", submenuManager);";
+ protected final String TEXT_234 = NL + NL + "\t\tsubmenuManager = new ";
+ protected final String TEXT_235 = "(";
+ protected final String TEXT_236 = ".INSTANCE.getString(\"_UI_CreateSibling_menu_item\"));";
+ protected final String TEXT_237 = NL + "\t\tpopulateManager(submenuManager, createSiblingSubmenuActions, null);";
+ protected final String TEXT_238 = NL + "\t\tpopulateManager(submenuManager, createSiblingActions, null);" + NL
+ + "\t\tmenuManager.insertBefore(\"edit\", submenuManager);";
+ protected final String TEXT_239 = NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This inserts global actions before the \"additions-end\" separator." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_240 = NL + "\t@Override";
+ protected final String TEXT_241 = NL + "\tprotected void addGlobalActions(";
+ protected final String TEXT_242 = " menuManager)" + NL + "\t{" + NL
+ + "\t\tmenuManager.insertAfter(\"additions-end\", new ";
+ protected final String TEXT_243 = "(\"ui-actions\"));";
+ protected final String TEXT_244 = NL + "\t\tmenuManager.insertAfter(\"ui-actions\", showPropertiesViewAction);";
+ protected final String TEXT_245 = NL + NL
+ + "\t\trefreshViewerAction.setEnabled(refreshViewerAction.isEnabled());\t\t" + NL
+ + "\t\tmenuManager.insertAfter(\"ui-actions\", refreshViewerAction);";
+ protected final String TEXT_246 = NL + NL + "\t\tsuper.addGlobalActions(menuManager);" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * This ensures that a delete action will clean up all references to deleted objects."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_247 = NL + "\t@Override";
+ protected final String TEXT_248 = NL + "\tprotected boolean removeAllReferencesOnDelete()" + NL + "\t{" + NL
+ + "\t\treturn true;" + NL + "\t}" + NL + "" + NL + "}";
+ protected final String TEXT_249 = NL;
+ protected final String TEXT_250 = NL;
+ protected final String TEXT_251 = NL;
+
+ public ActionBarContributor() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_250);
+ stringBuffer.append(TEXT_251);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getEditorDirectory();
+ packageName = genPackage.getPresentationPackageName();
+ className = genPackage.getActionBarContributorClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel();
+
+ String _CollectionOfAnything = null;
+ String _CollectionOfIAction = null;
+ String _ArrayListOfIAction = null;
+ String _CollectionOfExtendsIAction = null;
+ String _IteratorOfIAction = null;
+ String _MapOfStringToCollectionOfIAction = null;
+ String _MapEntryOfStringToCollectionOfIAction = null;
+ String _LinkedHashMapOfStringToCollectionOfIAction = null;
+ if (genModel.isCreationCommands()) {
+ _CollectionOfAnything = genModel.getImportedName("Collection" + (genModel.useGenerics() ? "<?>" : ""));
+ _CollectionOfIAction = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.Collection<org.eclipse.jface.action.IAction>"
+ : "java.util.Collection");
+ _ArrayListOfIAction = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.ArrayList<org.eclipse.jface.action.IAction>"
+ : "java.util.ArrayList");
+ _CollectionOfExtendsIAction = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.Collection<? extends org.eclipse.jface.action.IAction>"
+ : "java.util.Collection");
+ if (genModel.isCreationSubmenus()) {
+ _IteratorOfIAction = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.Iterator<org.eclipse.jface.action.IAction>"
+ : "java.util.Iterator");
+ _MapOfStringToCollectionOfIAction = genModel.getImportedName("java.util.Map")
+ + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ _MapEntryOfStringToCollectionOfIAction = genModel.getImportedName("java.util.Map") + ".Entry"
+ + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ _LinkedHashMapOfStringToCollectionOfIAction = genModel.getImportedName("java.util.LinkedHashMap")
+ + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ }
+ }
+
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getPresentationPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getActionBarContributorClassName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor"));
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.ISelectionChangedListener"));
+ stringBuffer.append(TEXT_8);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_11);
+ }
+ if (genModel.isRichClientPlatform() && genPackage.isGenerateModelWizard()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate"));
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.StructuredSelection"));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.wizard.WizardDialog"));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.wizard.WizardDialog"));
+ stringBuffer.append(TEXT_20);
+ }
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.ui.IEditorPart"));
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.ISelectionProvider"));
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Action"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_27);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_28);
+ }
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.ui.PartInitException"));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Action"));
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_36);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_37);
+ }
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.IViewerProvider"));
+ stringBuffer.append(TEXT_39);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_40);
+ }
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.IViewerProvider"));
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.Viewer"));
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.IViewerProvider"));
+ stringBuffer.append(TEXT_44);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_46);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(_MapOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_48);
+ }
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IMenuManager"));
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_51);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(_MapOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_53);
+ }
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IMenuManager"));
+ stringBuffer.append(TEXT_55);
+ }
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genPackage.getActionBarContributorClassName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.ui.action.LoadResourceAction"));
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.ui.action.ValidateAction"));
+ stringBuffer.append(TEXT_59);
+ if (genModel.getDecoration() == GenDecoration.LIVE) {
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.ui.provider.DiagnosticDecorator"));
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_62);
+ }
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.ui.action.ControlAction"));
+ stringBuffer.append(TEXT_64);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_65);
+ }
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IToolBarManager"));
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Separator"));
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genPackage.getPrefix().toLowerCase(genModel.getLocale()));
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Separator"));
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genPackage.getPrefix().toLowerCase(genModel.getLocale()));
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_73);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_74);
+ }
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IMenuManager"));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IMenuManager"));
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Separator"));
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Separator"));
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Separator"));
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Separator"));
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_91);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IMenuListener"));
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IMenuManager"));
+ stringBuffer.append(TEXT_102);
+ } else {
+ stringBuffer.append(TEXT_103);
+ }
+ stringBuffer.append(TEXT_104);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_105);
+ }
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.ui.IEditorPart"));
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.SelectionChangedEvent"));
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.SelectionChangedEvent"));
+ stringBuffer.append(TEXT_109);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_110);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_111);
+ }
+ stringBuffer.append(TEXT_112);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_113);
+ }
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(_CollectionOfAnything);
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(_CollectionOfAnything);
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.ISelection"));
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.IStructuredSelection"));
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.IStructuredSelection"));
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain"));
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.IEditingDomainProvider"));
+ stringBuffer.append(TEXT_121);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_122);
+ }
+ stringBuffer.append(TEXT_123);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_124);
+ }
+ stringBuffer.append(TEXT_125);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_126);
+ }
+ stringBuffer.append(TEXT_127);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_128);
+ }
+ stringBuffer.append(TEXT_129);
+ } else {
+ stringBuffer.append(TEXT_130);
+ }
+ stringBuffer.append(TEXT_131);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(_CollectionOfAnything);
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.ISelection"));
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(_ArrayListOfIAction);
+ stringBuffer.append(TEXT_137);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
+ stringBuffer.append(TEXT_139);
+ } else {
+ stringBuffer.append(TEXT_140);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(TEXT_141);
+ }
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.ui.action.CreateChildAction"));
+ stringBuffer.append(TEXT_143);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_144);
+ } else {
+ stringBuffer.append(TEXT_145);
+ }
+ stringBuffer.append(TEXT_146);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(_CollectionOfAnything);
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.ISelection"));
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(_ArrayListOfIAction);
+ stringBuffer.append(TEXT_151);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
+ stringBuffer.append(TEXT_153);
+ } else {
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(TEXT_155);
+ }
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.ui.action.CreateSiblingAction"));
+ stringBuffer.append(TEXT_157);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_158);
+ } else {
+ stringBuffer.append(TEXT_159);
+ }
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IContributionManager"));
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(_CollectionOfExtendsIAction);
+ stringBuffer.append(TEXT_162);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
+ stringBuffer.append(TEXT_164);
+ } else {
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(TEXT_166);
+ }
+ stringBuffer.append(TEXT_167);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_168);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
+ stringBuffer.append(TEXT_169);
+ }
+ stringBuffer.append(TEXT_170);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IContributionManager"));
+ stringBuffer.append(TEXT_171);
+ stringBuffer.append(_CollectionOfExtendsIAction);
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IContributionItem"));
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IContributionItem"));
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.SubContributionItem"));
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.SubContributionItem"));
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.ActionContributionItem"));
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.ActionContributionItem"));
+ stringBuffer.append(TEXT_179);
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_180);
+ stringBuffer.append(_MapOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_182);
+ stringBuffer.append(_MapOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_183);
+ stringBuffer.append(_LinkedHashMapOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_184);
+ stringBuffer.append(_IteratorOfIAction);
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
+ stringBuffer.append(TEXT_186);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_187);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
+ stringBuffer.append(TEXT_188);
+ }
+ stringBuffer.append(TEXT_189);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_190);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_193);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_195);
+ }
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(_ArrayListOfIAction);
+ stringBuffer.append(TEXT_197);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IContributionManager"));
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(_MapOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_199);
+ if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_200);
+ stringBuffer.append(_MapEntryOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_201);
+ } else {
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(TEXT_203);
+ stringBuffer.append(_MapEntryOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(_MapEntryOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_205);
+ }
+ stringBuffer.append(TEXT_206);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_208);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_209);
+ }
+ stringBuffer.append(TEXT_210);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_212);
+ }
+ stringBuffer.append(TEXT_213);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IContributionManager"));
+ stringBuffer.append(TEXT_214);
+ stringBuffer.append(_MapOfStringToCollectionOfIAction);
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IContributionItem"));
+ stringBuffer.append(TEXT_216);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IContributionItem"));
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_218);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_219);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_220);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_221);
+ stringBuffer.append(_CollectionOfIAction);
+ stringBuffer.append(TEXT_222);
+ }
+ stringBuffer.append(TEXT_223);
+ }
+ }
+ stringBuffer.append(TEXT_224);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_225);
+ }
+ stringBuffer.append(TEXT_226);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IMenuManager"));
+ stringBuffer.append(TEXT_227);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_228);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_229);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_230);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_231);
+ stringBuffer.append(genModel.getNonNLS());
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_232);
+ }
+ stringBuffer.append(TEXT_233);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.MenuManager"));
+ stringBuffer.append(TEXT_235);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_236);
+ stringBuffer.append(genModel.getNonNLS());
+ if (genModel.isCreationSubmenus()) {
+ stringBuffer.append(TEXT_237);
+ }
+ stringBuffer.append(TEXT_238);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_239);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_240);
+ }
+ stringBuffer.append(TEXT_241);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IMenuManager"));
+ stringBuffer.append(TEXT_242);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.Separator"));
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_244);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_245);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_246);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_247);
+ }
+ stringBuffer.append(TEXT_248);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_249);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate
+ && (genPackage.hasConcreteClasses() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Advisor.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Advisor.java
new file mode 100644
index 0000000..f4de089
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Advisor.java
@@ -0,0 +1,949 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Advisor extends org.eclipse.egf.emf.pattern.base.GenModelJava {
+ protected static String nl;
+
+ public static synchronized Advisor create(String lineSeparator) {
+ nl = lineSeparator;
+ Advisor result = new Advisor();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + "import java.io.File;" + NL + "import java.util.Arrays;";
+ protected final String TEXT_5 = NL + "import java.util.Iterator;";
+ protected final String TEXT_6 = NL + "import java.util.List;";
+ protected final String TEXT_7 = NL + NL + "import org.eclipse.equinox.app.IApplication;" + NL
+ + "import org.eclipse.equinox.app.IApplicationContext;" + NL + "" + NL
+ + "import org.eclipse.jface.action.GroupMarker;" + NL + "import org.eclipse.jface.action.IAction;" + NL
+ + "import org.eclipse.jface.action.IMenuManager;" + NL + "import org.eclipse.jface.action.MenuManager;"
+ + NL + "import org.eclipse.jface.action.Separator;" + NL
+ + "import org.eclipse.jface.dialogs.MessageDialog;" + NL + "import org.eclipse.jface.window.Window;";
+ protected final String TEXT_8 = NL + "import org.eclipse.swt.SWT;";
+ protected final String TEXT_9 = NL + "import org.eclipse.swt.graphics.Point;" + NL
+ + "import org.eclipse.swt.widgets.Display;";
+ protected final String TEXT_10 = NL + "import org.eclipse.swt.widgets.FileDialog;" + NL
+ + "import org.eclipse.swt.widgets.Shell;";
+ protected final String TEXT_11 = NL + "import org.eclipse.ui.IEditorDescriptor;" + NL
+ + "import org.eclipse.ui.IFolderLayout;" + NL + "import org.eclipse.ui.IPageLayout;" + NL
+ + "import org.eclipse.ui.IPerspectiveFactory;" + NL + "import org.eclipse.ui.IWorkbench;" + NL
+ + "import org.eclipse.ui.IWorkbenchActionConstants;" + NL + "import org.eclipse.ui.IWorkbenchPage;" + NL
+ + "import org.eclipse.ui.IWorkbenchWindow;" + NL + "import org.eclipse.ui.PartInitException;" + NL
+ + "import org.eclipse.ui.PlatformUI;" + NL + "import org.eclipse.ui.actions.ActionFactory;";
+ protected final String TEXT_12 = NL + "import org.eclipse.ui.actions.ContributionItemFactory;";
+ protected final String TEXT_13 = NL + "import org.eclipse.ui.application.ActionBarAdvisor;" + NL
+ + "import org.eclipse.ui.application.IActionBarConfigurer;" + NL
+ + "import org.eclipse.ui.application.IWorkbenchConfigurer;" + NL
+ + "import org.eclipse.ui.application.IWorkbenchWindowConfigurer;" + NL
+ + "import org.eclipse.ui.application.WorkbenchAdvisor;" + NL
+ + "import org.eclipse.ui.application.WorkbenchWindowAdvisor;" + NL + "" + NL
+ + "import org.eclipse.emf.common.ui.URIEditorInput;" + NL
+ + "import org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate;" + NL
+ + "import org.eclipse.emf.common.util.URI;";
+ protected final String TEXT_14 = NL + "import org.eclipse.emf.common.util.UniqueEList;";
+ protected final String TEXT_15 = NL + "import org.eclipse.emf.edit.ui.action.LoadResourceAction;" + NL
+ + "import org.eclipse.emf.edit.ui.util.EditUIUtil;" + NL + "" + NL + "import ";
+ protected final String TEXT_16 = ";";
+ protected final String TEXT_17 = NL + NL + NL + "/**" + NL
+ + " * Customized {@link WorkbenchAdvisor} for the RCP application." + NL + " * <!-- begin-user-doc -->"
+ + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
+ protected final String TEXT_18 = " extends WorkbenchAdvisor" + NL + "{";
+ protected final String TEXT_19 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static final String copyright = ";
+ protected final String TEXT_20 = ";";
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The default file extension filters for use in dialogs."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_23 = NL + "\tprivate static final String[] FILE_EXTENSION_FILTERS = ";
+ protected final String TEXT_24 = "(String[])";
+ protected final String TEXT_25 = ".FILE_EXTENSION_FILTERS.toArray(new String[0]);";
+ protected final String TEXT_26 = NL
+ + "\tprivate static final String[] FILE_EXTENSION_FILTERS = getFileExtensionFilters();"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Returns the default file extension filters. This method should only be used to initialize {@link #FILE_EXTENSION_FILTERS}."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String[] getFileExtensionFilters()" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_27 = " result = new ";
+ protected final String TEXT_28 = "();";
+ protected final String TEXT_29 = NL + "\t\tresult.addAll(";
+ protected final String TEXT_30 = ".FILE_EXTENSION_FILTERS);";
+ protected final String TEXT_31 = NL + "\t\treturn ";
+ protected final String TEXT_32 = "(String[])";
+ protected final String TEXT_33 = "result.toArray(new String[0]);" + NL + "\t}";
+ protected final String TEXT_34 = " ";
+ protected final String TEXT_35 = NL + NL + "\t/**" + NL
+ + "\t * This looks up a string in the plugin's plugin.properties file." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String getString(String key)" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_36 = ".INSTANCE.getString(key);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This looks up a string in plugin.properties, making a substitution." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String getString(String key, Object s1)" + NL + "\t{" + NL
+ + "\t\treturn ";
+ protected final String TEXT_37 = ".INSTANCE.getString(key, new Object [] { s1 });" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * RCP's application" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class Application implements IApplication" + NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)"
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */" + NL + "\t\tpublic Object start(IApplicationContext context) throws Exception" + NL
+ + "\t\t{" + NL + "\t\t\tWorkbenchAdvisor workbenchAdvisor = new ";
+ protected final String TEXT_38 = "();" + NL + "\t\t\tDisplay display = PlatformUI.createDisplay();" + NL
+ + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tint returnCode = PlatformUI.createAndRunWorkbench(display, workbenchAdvisor);" + NL
+ + "\t\t\t\tif (returnCode == PlatformUI.RETURN_RESTART)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\treturn IApplication.EXIT_RESTART;" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\treturn IApplication.EXIT_OK;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\tfinally"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tdisplay.dispose();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "" + NL
+ + "\t\t/**" + NL + "\t\t * @see org.eclipse.equinox.app.IApplication#stop()" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic void stop()" + NL + "\t\t{" + NL + "\t\t\t// Do nothing." + NL + "\t\t}"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * RCP's perspective" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class Perspective implements IPerspectiveFactory" + NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * Perspective ID" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->"
+ + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic static final String ID_PERSPECTIVE = \"";
+ protected final String TEXT_39 = "Perspective\";";
+ protected final String TEXT_40 = NL
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)"
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tpublic void createInitialLayout(IPageLayout layout)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tlayout.setEditorAreaVisible(true);"
+ + NL
+ + "\t\t\tlayout.addPerspectiveShortcut(ID_PERSPECTIVE);"
+ + NL
+ + ""
+ + NL
+ + "\t\t\tIFolderLayout right = layout.createFolder(\"right\", IPageLayout.RIGHT, (float)0.66, layout.getEditorArea());";
+ protected final String TEXT_41 = NL
+ + "\t\t\tright.addView(IPageLayout.ID_OUTLINE);"
+ + NL
+ + ""
+ + NL
+ + "\t\t\tIFolderLayout bottonRight = layout.createFolder(\"bottonRight\", IPageLayout.BOTTOM, (float)0.60, \"right\");";
+ protected final String TEXT_42 = NL
+ + "\t\t\tbottonRight.addView(IPageLayout.ID_PROP_SHEET);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + "\t"
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * RCP's window advisor"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static class WindowAdvisor extends WorkbenchWindowAdvisor"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see WorkbenchWindowAdvisor#WorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)"
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */" + NL + "\t\tpublic WindowAdvisor(IWorkbenchWindowConfigurer configurer)" + NL + "\t\t{"
+ + NL + "\t\t\tsuper(configurer);" + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL
+ + "\t\t * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */";
+ protected final String TEXT_43 = NL + "\t\t@Override";
+ protected final String TEXT_44 = NL + "\t\tpublic void preWindowOpen()" + NL + "\t\t{" + NL
+ + "\t\t\tIWorkbenchWindowConfigurer configurer = getWindowConfigurer();" + NL
+ + "\t\t\tconfigurer.setInitialSize(new Point(600, 450));" + NL + "\t\t\tconfigurer.setShowCoolBar(false);"
+ + NL + "\t\t\tconfigurer.setShowStatusLine(true);" + NL
+ + "\t\t\tconfigurer.setTitle(getString(\"_UI_Application_title\"));";
+ protected final String TEXT_45 = NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)"
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */";
+ protected final String TEXT_46 = NL + "\t\t@Override";
+ protected final String TEXT_47 = NL
+ + "\t\tpublic ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\treturn new WindowActionBarAdvisor(configurer);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * RCP's action bar advisor"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static class WindowActionBarAdvisor extends ActionBarAdvisor"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see ActionBarAdvisor#ActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)"
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tpublic WindowActionBarAdvisor(IActionBarConfigurer configurer)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tsuper(configurer);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see org.eclipse.ui.application.ActionBarAdvisor#fillMenuBar(org.eclipse.jface.action.IMenuManager)"
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */";
+ protected final String TEXT_48 = NL + "\t\t@Override";
+ protected final String TEXT_49 = NL + "\t\tprotected void fillMenuBar(IMenuManager menuBar)" + NL + "\t\t{" + NL
+ + "\t\t\tIWorkbenchWindow window = getActionBarConfigurer().getWindowConfigurer().getWindow();" + NL
+ + "\t\t\tmenuBar.add(createFileMenu(window));" + NL + "\t\t\tmenuBar.add(createEditMenu(window));" + NL
+ + "\t\t\tmenuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL
+ + "\t\t\tmenuBar.add(createWindowMenu(window));" + NL
+ + "\t\t\tmenuBar.add(createHelpMenu(window));\t\t\t\t\t" + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL
+ + "\t\t * Creates the 'File' menu." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tprotected IMenuManager createFileMenu(IWorkbenchWindow window)" + NL + "\t\t{" + NL
+ + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_File_label\"),";
+ protected final String TEXT_50 = NL + "\t\t\tIWorkbenchActionConstants.M_FILE); " + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.FILE_START));" + NL + "\t" + NL
+ + "\t\t\tIMenuManager newMenu = new MenuManager(getString(\"_UI_Menu_New_label\"), \"new\");";
+ protected final String TEXT_51 = NL + "\t\t\tnewMenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));"
+ + NL + "\t" + NL + "\t\t\tmenu.add(newMenu);" + NL + "\t\t\tmenu.add(new Separator());" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CLOSE.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CLOSE_ALL.create(window));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE_AS.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE_ALL.create(window));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.QUIT.create(window));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.FILE_END));" + NL + "\t\t\treturn menu;" + NL
+ + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * Creates the 'Edit' menu." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tprotected IMenuManager createEditMenu(IWorkbenchWindow window)" + NL + "\t\t{" + NL
+ + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_Edit_label\"),";
+ protected final String TEXT_52 = NL + "\t\t\tIWorkbenchActionConstants.M_EDIT);" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_START));" + NL + "\t" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.UNDO.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.REDO.create(window));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.UNDO_EXT));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CUT.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.COPY.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.PASTE.create(window));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.CUT_EXT));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.DELETE.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SELECT_ALL.create(window));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.ADD_EXT));" + NL + "\t" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_END));" + NL
+ + "\t\t\tmenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t\t\treturn menu;" + NL
+ + "\t\t}" + NL + "\t" + NL + "\t\t/**" + NL + "\t\t * Creates the 'Window' menu." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tprotected IMenuManager createWindowMenu(IWorkbenchWindow window)" + NL + "\t\t{"
+ + NL + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_Window_label\"),";
+ protected final String TEXT_53 = NL + "\t\t\tIWorkbenchActionConstants.M_WINDOW);" + NL + "\t" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.OPEN_NEW_WINDOW.create(window));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));";
+ protected final String TEXT_54 = NL + "\t\t\tmenu.add(ContributionItemFactory.OPEN_WINDOWS.create(window));";
+ protected final String TEXT_55 = NL
+ + "\t"
+ + NL
+ + "\t\t\treturn menu;"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * Creates the 'Help' menu."
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tprotected IMenuManager createHelpMenu(IWorkbenchWindow window)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_Help_label\"), IWorkbenchActionConstants.M_HELP);";
+ protected final String TEXT_56 = NL + "\t\t\t// Welcome or intro page would go here" + NL
+ + "\t\t\t// Help contents would go here" + NL + "\t\t\t// Tips and tricks page would go here" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.HELP_START));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.HELP_END));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t\t\treturn menu;"
+ + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL
+ + "\t\t * Adds the specified action to the given menu and also registers the action with the" + NL
+ + "\t\t * action bar configurer, in order to activate its key binding." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tprotected void addToMenuAndRegister(IMenuManager menuManager, IAction action)" + NL
+ + "\t\t{" + NL + "\t\t\tmenuManager.add(action);" + NL
+ + "\t\t\tgetActionBarConfigurer().registerGlobalAction(action);" + NL + "\t\t}" + NL + "\t}" + NL + "\t"
+ + NL + "\t/**" + NL + "\t * About action for the RCP application." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class AboutAction extends WorkbenchWindowActionDelegate" + NL + "\t{" + NL + "\t\t/**"
+ + NL + "\t\t * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic void run(IAction action)" + NL + "\t\t{" + NL
+ + "\t\t\tMessageDialog.openInformation(getWindow().getShell(), getString(\"_UI_About_title\"),";
+ protected final String TEXT_57 = NL + "\t\t\tgetString(\"_UI_About_text\"));";
+ protected final String TEXT_58 = NL + "\t\t}" + NL + "\t}" + NL + "\t";
+ protected final String TEXT_59 = NL + "\t/**" + NL + "\t * Open action for the objects from the ";
+ protected final String TEXT_60 = " model." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class OpenAction extends WorkbenchWindowActionDelegate" + NL + "\t{" + NL + "\t\t/**"
+ + NL + "\t\t * Opens the editors for the files selected using the file dialog." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic void run(IAction action)" + NL + "\t\t{" + NL
+ + "\t\t\tString[] filePaths = openFilePathDialog(getWindow().getShell(), SWT.OPEN, null);" + NL
+ + "\t\t\tif (filePaths.length > 0)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\topenEditor(getWindow().getWorkbench(), URI.createFileURI(filePaths[0]));" + NL + "\t\t\t}" + NL
+ + "\t\t}" + NL + "\t}";
+ protected final String TEXT_61 = NL + "\t" + NL + "\t/**" + NL + "\t * Open URI action for the objects from the ";
+ protected final String TEXT_62 = " model."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static class OpenURIAction extends WorkbenchWindowActionDelegate"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * Opens the editors for the files selected using the LoadResourceDialog."
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tpublic void run(IAction action)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tLoadResourceAction.LoadResourceDialog loadResourceDialog = new LoadResourceAction.LoadResourceDialog(getWindow().getShell());"
+ + NL + "\t\t\tif (Window.OK == loadResourceDialog.open())" + NL + "\t\t\t{";
+ protected final String TEXT_63 = NL + "\t\t\t\tfor (URI uri : loadResourceDialog.getURIs())" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\topenEditor(getWindow().getWorkbench(), uri);" + NL + "\t\t\t\t}";
+ protected final String TEXT_64 = NL
+ + "\t\t\t\tfor (Iterator i = loadResourceDialog.getURIs().iterator(); i.hasNext();)" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\topenEditor(getWindow().getWorkbench(), (URI)i.next());" + NL + "\t\t\t\t}";
+ protected final String TEXT_65 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "\t";
+ protected final String TEXT_66 = NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static String[] openFilePathDialog(Shell shell, int style, String[] fileExtensionFilters)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn openFilePathDialog(shell, style, fileExtensionFilters, (style & SWT.OPEN) != 0, (style & SWT.OPEN) != 0, (style & SWT.SAVE) != 0);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static String[] openFilePathDialog(Shell shell, int style, String[] fileExtensionFilters, boolean includeGroupFilter, boolean includeAllFilter, boolean addExtension)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tFileDialog fileDialog = new FileDialog(shell, style);"
+ + NL
+ + "\t\tif (fileExtensionFilters == null)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tfileExtensionFilters = FILE_EXTENSION_FILTERS;"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t// If requested, augment the file extension filters by adding a group of all the other filters (*.ext1;*.ext2;...)"
+ + NL + "\t\t// at the beginning and/or an all files wildcard (*.*) at the end." + NL + "\t\t//" + NL
+ + "\t\tincludeGroupFilter &= fileExtensionFilters.length > 1;" + NL
+ + "\t\tint offset = includeGroupFilter ? 1 : 0;" + NL + "\t\t" + NL
+ + "\t\tif (includeGroupFilter || includeAllFilter)" + NL + "\t\t{" + NL
+ + "\t\t\tint size = fileExtensionFilters.length + offset + (includeAllFilter ? 1 : 0);" + NL
+ + "\t\t\tString[] allFilters = new String[size];" + NL + "\t\t\t";
+ protected final String TEXT_67 = " group = includeGroupFilter ? new ";
+ protected final String TEXT_68 = "() : null;" + NL + "\t\t\t" + NL
+ + "\t\t\tfor (int i = 0; i < fileExtensionFilters.length; i++)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tif (includeGroupFilter)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tif (i != 0)" + NL + "\t\t\t\t\t{"
+ + NL + "\t\t\t\t\t\tgroup.append(';');" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\tgroup.append(fileExtensionFilters[i]);" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tallFilters[i + offset] = fileExtensionFilters[i];" + NL + "\t\t\t}" + NL + "\t\t\t" + NL
+ + "\t\t\tif (includeGroupFilter)" + NL + "\t\t\t{" + NL + "\t\t\t\tallFilters[0] = group.toString();" + NL
+ + "\t\t\t}" + NL + "\t\t\tif (includeAllFilter)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tallFilters[allFilters.length - 1] = \"*.*\";";
+ protected final String TEXT_69 = NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t\t"
+ + NL
+ + "\t\t\tfileDialog.setFilterExtensions(allFilters);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\telse"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tfileDialog.setFilterExtensions(fileExtensionFilters);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\tfileDialog.open();"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\tString[] filenames = fileDialog.getFileNames();"
+ + NL
+ + "\t\tString[] result = new String[filenames.length];"
+ + NL
+ + "\t\tString path = fileDialog.getFilterPath() + File.separator;"
+ + NL
+ + "\t\tString extension = null;"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t// If extension adding requested, get the dotted extension corresponding to the selected filter."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tif (addExtension)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tint i = fileDialog.getFilterIndex();"
+ + NL
+ + "\t\t\tif (i != -1 && (!includeAllFilter || i != fileExtensionFilters.length))"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\ti = includeGroupFilter && i == 0 ? 0 : i - offset;"
+ + NL
+ + "\t\t\t\tString filter = fileExtensionFilters[i];"
+ + NL
+ + "\t\t\t\tint dot = filter.lastIndexOf('.');"
+ + NL
+ + "\t\t\t\tif (dot == 1 && filter.charAt(0) == '*')"
+ + NL
+ + "\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\textension = filter.substring(dot);"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t// Build the result by adding the selected path and, if needed, auto-appending the extension."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tfor (int i = 0; i < filenames.length; i++)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tString filename = path + filenames[i];"
+ + NL
+ + "\t\t\tif (extension != null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tint dot = filename.lastIndexOf('.');"
+ + NL
+ + "\t\t\t\tif (dot == -1 || !Arrays.asList(fileExtensionFilters).contains(\"*\" + filename.substring(dot)))";
+ protected final String TEXT_70 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tfilename += extension;" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}" + NL + "\t\t\tresult[i] = filename;" + NL + "\t\t}" + NL + "\t\treturn result;" + NL + "\t}";
+ protected final String TEXT_71 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static boolean openEditor(IWorkbench workbench, URI uri)" + NL + "\t{" + NL
+ + "\t\tIWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow();" + NL
+ + "\t\tIWorkbenchPage page = workbenchWindow.getActivePage();" + NL + "\t\t" + NL
+ + "\t\tIEditorDescriptor editorDescriptor = EditUIUtil.getDefaultEditor(uri, null);" + NL
+ + "\t\tif (editorDescriptor == null)" + NL + "\t\t{" + NL + "\t\t\tMessageDialog.openError(" + NL
+ + "\t\t\t\tworkbenchWindow.getShell()," + NL + "\t\t\t\tgetString(\"_UI_Error_title\"),";
+ protected final String TEXT_72 = NL + "\t\t\t\tgetString(\"_WARN_No_Editor\", uri.lastSegment()));";
+ protected final String TEXT_73 = NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL
+ + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tpage.openEditor(new URIEditorInput(uri), editorDescriptor.getId());" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (PartInitException exception)" + NL + "\t\t\t{" + NL + "\t\t\t\tMessageDialog.openError("
+ + NL + "\t\t\t\t\tworkbenchWindow.getShell()," + NL + "\t\t\t\t\tgetString(\"_UI_OpenEditorError_label\"),";
+ protected final String TEXT_74 = NL + "\t\t\t\t\texception.getMessage());" + NL + "\t\t\t\treturn false;" + NL
+ + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn true;" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL
+ + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#getInitialWindowPerspectiveId()" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_75 = NL + "\t\t@Override";
+ protected final String TEXT_76 = NL
+ + "\tpublic String getInitialWindowPerspectiveId()"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn Perspective.ID_PERSPECTIVE;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#initialize(org.eclipse.ui.application.IWorkbenchConfigurer)"
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_77 = NL + "\t\t@Override";
+ protected final String TEXT_78 = NL
+ + "\tpublic void initialize(IWorkbenchConfigurer configurer)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tsuper.initialize(configurer);"
+ + NL
+ + "\t\tconfigurer.setSaveAndRestore(true);"
+ + NL
+ + "\t}"
+ + NL
+ + "\t"
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)"
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_79 = NL + "\t\t@Override";
+ protected final String TEXT_80 = NL
+ + "\tpublic WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer)"
+ + NL + "\t{" + NL + "\t\treturn new WindowAdvisor(configurer);" + NL + "\t}" + NL + "}";
+ protected final String TEXT_81 = NL;
+ protected final String TEXT_82 = NL;
+ protected final String TEXT_83 = NL;
+
+ public Advisor() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(TEXT_83);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPath = genModel.getEditorPluginDirectory();
+ packageName = genModel.getEditorPluginPackageName();
+ className = genModel.getEditorAdvisorClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2004-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ String _ListOfString = "List" + (genModel.useGenerics() ? "<String>" : "");
+ String _UniqueEListOfString = "UniqueEList" + (genModel.useGenerics() ? "<String>" : "");
+ String _StringBuilder = genModel.getImportedName(genModel.useGenerics() ? "java.lang.StringBuilder"
+ : "java.lang.StringBuffer");
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getEditorPluginPackageName());
+ stringBuffer.append(TEXT_3);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_4);
+ }
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_5);
+ }
+ if (genModel.getAllGenPackagesWithConcreteClasses().size() > 1) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_12);
+ }
+ stringBuffer.append(TEXT_13);
+ if (genModel.getAllGenPackagesWithConcreteClasses().size() > 1) {
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getQualifiedEditorPluginClassName());
+ stringBuffer.append(TEXT_16);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getEditorAdvisorClassName());
+ stringBuffer.append(TEXT_18);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_21);
+ }
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_22);
+ if (genModel.getAllGenPackagesWithConcreteClasses().size() == 1) {
+ stringBuffer.append(TEXT_23);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_24);
+ }
+ stringBuffer
+ .append(genModel.getAllGenPackagesWithConcreteClasses().get(0).getImportedEditorClassName());
+ stringBuffer.append(TEXT_25);
+ } else {
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(_UniqueEListOfString);
+ stringBuffer.append(TEXT_28);
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithConcreteClasses()) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genPackage.getImportedEditorClassName());
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ }
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getEditorPluginClassName());
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getQualifiedEditorPluginClassName());
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genModel.getEditorAdvisorClassName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_42);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_45);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_46);
+ }
+ stringBuffer.append(TEXT_47);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_48);
+ }
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_53);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_54);
+ }
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_58);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_62);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_63);
+ } else {
+ stringBuffer.append(TEXT_64);
+ }
+ stringBuffer.append(TEXT_65);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(_StringBuilder);
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(_StringBuilder);
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_70);
+ }
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_74);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_75);
+ }
+ stringBuffer.append(TEXT_76);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_77);
+ }
+ stringBuffer.append(TEXT_78);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_79);
+ }
+ stringBuffer.append(TEXT_80);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_81);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && (genModel.isRichClientPlatform());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/AppEngineWebXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/AppEngineWebXML.java
new file mode 100644
index 0000000..37127ee
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/AppEngineWebXML.java
@@ -0,0 +1,188 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class AppEngineWebXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized AppEngineWebXML create(String lineSeparator) {
+ nl = lineSeparator;
+ AppEngineWebXML result = new AppEngineWebXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "<appengine-web-app xmlns=\"http://appengine.google.com/ns/1.0\">" + NL
+ + "\t<application>";
+ protected final String TEXT_4 = "-editor</application>" + NL + "\t<version>1</version>" + NL
+ + "</appengine-web-app>" + NL;
+ protected final String TEXT_5 = NL;
+ protected final String TEXT_6 = NL;
+
+ public AppEngineWebXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditorProjectDirectory() + "/war/WEB-INF/appengine-web.xml";
+ overwrite = false;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genModel.getModelName().toLowerCase().replaceAll("\\s", "-"));
+ stringBuffer.append(TEXT_4);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/BuildProperties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/BuildProperties.java
new file mode 100644
index 0000000..c3cccc5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/BuildProperties.java
@@ -0,0 +1,230 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class BuildProperties extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized BuildProperties create(String lineSeparator) {
+ nl = lineSeparator;
+ BuildProperties result = new BuildProperties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + NL + "bin.includes = ";
+ protected final String TEXT_3 = ",\\" + NL + " icons/,\\";
+ protected final String TEXT_4 = NL + " META-INF/,\\";
+ protected final String TEXT_5 = NL + " plugin.xml,\\";
+ protected final String TEXT_6 = NL + " plugin.properties" + NL + "jars.compile.order = ";
+ protected final String TEXT_7 = NL + "source.";
+ protected final String TEXT_8 = " = ";
+ protected final String TEXT_9 = NL + "output.";
+ protected final String TEXT_10 = " = ";
+ protected final String TEXT_11 = "bin";
+ protected final String TEXT_12 = "war/WEB-INF/classes";
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL;
+ protected final String TEXT_15 = NL;
+
+ public BuildProperties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(TEXT_15);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditorProjectDirectory() + "/build.properties";
+ overwrite = genModel.isUpdateClasspath()
+ && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(
+ genModel.getEditorProjectDirectory()).appendSegment("plugin.xml"));
+ encoding = "ISO-8859-1";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2008 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getEditorPluginID() + ".jar" : ".";
+ List<String> sourceFolders = genModel.getEditorSourceFolders();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_3);
+ if (genModel.isBundleManifest()) {
+ stringBuffer.append(TEXT_4);
+ }
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(pluginClassesLocation);
+ boolean first = true;
+ for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) {
+ String sourceFolder = i.next();
+ if (i.hasNext()) {
+ sourceFolder += ",\\";
+ }
+ if (first) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(sourceFolder);
+ first = false;
+ } else {
+ stringBuffer.append(sourceFolder);
+ }
+ }
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_10);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_11);
+ } else {
+ stringBuffer.append(TEXT_12);
+ }
+ stringBuffer.append(TEXT_13);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && true;
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Editor.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Editor.java
new file mode 100644
index 0000000..0efa9fb
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Editor.java
@@ -0,0 +1,2905 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Editor extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized Editor create(String lineSeparator) {
+ nl = lineSeparator;
+ Editor result = new Editor();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL + "" + NL + "" + NL + "import java.io.IOException;" + NL
+ + "import java.io.InputStream;" + NL + "" + NL + "import java.util.ArrayList;" + NL
+ + "import java.util.Collection;" + NL + "import java.util.Collections;" + NL
+ + "import java.util.EventObject;" + NL + "import java.util.HashMap;" + NL + "import java.util.Iterator;"
+ + NL + "import java.util.LinkedHashMap;" + NL + "import java.util.List;" + NL + "import java.util.Map;";
+ protected final String TEXT_4 = NL + NL + "import org.eclipse.core.resources.IFile;" + NL
+ + "import org.eclipse.core.resources.IMarker;" + NL + "import org.eclipse.core.resources.IResource;" + NL
+ + "import org.eclipse.core.resources.IResourceChangeEvent;" + NL
+ + "import org.eclipse.core.resources.IResourceChangeListener;" + NL
+ + "import org.eclipse.core.resources.IResourceDelta;" + NL
+ + "import org.eclipse.core.resources.IResourceDeltaVisitor;" + NL
+ + "import org.eclipse.core.resources.ResourcesPlugin;";
+ protected final String TEXT_5 = NL;
+ protected final String TEXT_6 = NL + "import org.eclipse.core.runtime.CoreException;" + NL
+ + "import org.eclipse.core.runtime.IPath;";
+ protected final String TEXT_7 = NL + "import org.eclipse.core.runtime.IProgressMonitor;" + NL
+ + "import org.eclipse.core.runtime.NullProgressMonitor;" + NL + "" + NL
+ + "import org.eclipse.jface.action.IMenuListener;" + NL + "import org.eclipse.jface.action.IMenuManager;"
+ + NL + "import org.eclipse.jface.action.IStatusLineManager;" + NL
+ + "import org.eclipse.jface.action.IToolBarManager;" + NL + "import org.eclipse.jface.action.MenuManager;"
+ + NL + "import org.eclipse.jface.action.Separator;" + NL + "" + NL
+ + "import org.eclipse.jface.dialogs.MessageDialog;" + NL
+ + "import org.eclipse.jface.dialogs.ProgressMonitorDialog;" + NL;
+ protected final String TEXT_8 = NL + "import org.eclipse.jface.util.LocalSelectionTransfer;" + NL;
+ protected final String TEXT_9 = NL + "import org.eclipse.jface.viewers.ColumnWeightData;";
+ protected final String TEXT_10 = NL + "import org.eclipse.jface.viewers.ISelection;" + NL
+ + "import org.eclipse.jface.viewers.ISelectionChangedListener;" + NL
+ + "import org.eclipse.jface.viewers.ISelectionProvider;" + NL
+ + "import org.eclipse.jface.viewers.IStructuredSelection;";
+ protected final String TEXT_11 = NL + "import org.eclipse.jface.viewers.ListViewer;";
+ protected final String TEXT_12 = NL + "import org.eclipse.jface.viewers.SelectionChangedEvent;" + NL
+ + "import org.eclipse.jface.viewers.StructuredSelection;" + NL
+ + "import org.eclipse.jface.viewers.StructuredViewer;";
+ protected final String TEXT_13 = NL + "import org.eclipse.jface.viewers.TableLayout;" + NL
+ + "import org.eclipse.jface.viewers.TableViewer;";
+ protected final String TEXT_14 = NL + "import org.eclipse.jface.viewers.TreeViewer;" + NL
+ + "import org.eclipse.jface.viewers.Viewer;" + NL + "" + NL + "import org.eclipse.swt.SWT;" + NL + "" + NL
+ + "import org.eclipse.swt.custom.CTabFolder;" + NL + "" + NL + "import org.eclipse.swt.dnd.DND;";
+ protected final String TEXT_15 = NL + "import org.eclipse.swt.dnd.FileTransfer;";
+ protected final String TEXT_16 = NL + "import org.eclipse.swt.dnd.Transfer;" + NL + "" + NL
+ + "import org.eclipse.swt.events.ControlAdapter;" + NL + "import org.eclipse.swt.events.ControlEvent;" + NL
+ + "" + NL + "import org.eclipse.swt.graphics.Point;";
+ protected final String TEXT_17 = NL + NL + "import org.eclipse.swt.layout.FillLayout;";
+ protected final String TEXT_18 = NL + NL + "import org.eclipse.swt.widgets.Composite;" + NL
+ + "import org.eclipse.swt.widgets.Menu;";
+ protected final String TEXT_19 = NL + "import org.eclipse.swt.widgets.Table;" + NL
+ + "import org.eclipse.swt.widgets.TableColumn;";
+ protected final String TEXT_20 = NL + "import org.eclipse.swt.widgets.Tree;";
+ protected final String TEXT_21 = NL + "import org.eclipse.swt.widgets.TreeColumn;";
+ protected final String TEXT_22 = NL + NL + "import org.eclipse.ui.IActionBars;" + NL
+ + "import org.eclipse.ui.IEditorInput;" + NL + "import org.eclipse.ui.IEditorPart;" + NL
+ + "import org.eclipse.ui.IEditorSite;";
+ protected final String TEXT_23 = NL + "import org.eclipse.ui.IFileEditorInput;";
+ protected final String TEXT_24 = NL + "import org.eclipse.ui.IPartListener;" + NL
+ + "import org.eclipse.ui.IWorkbenchPart;" + NL + "import org.eclipse.ui.PartInitException;";
+ protected final String TEXT_25 = NL + NL + "import org.eclipse.ui.dialogs.SaveAsDialog;" + NL + "" + NL
+ + "import org.eclipse.ui.ide.IGotoMarker;";
+ protected final String TEXT_26 = NL;
+ protected final String TEXT_27 = NL + "import org.eclipse.ui.part.FileEditorInput;";
+ protected final String TEXT_28 = NL + "import org.eclipse.ui.part.MultiPageEditorPart;" + NL + "" + NL
+ + "import org.eclipse.ui.views.contentoutline.ContentOutline;" + NL
+ + "import org.eclipse.ui.views.contentoutline.ContentOutlinePage;" + NL
+ + "import org.eclipse.ui.views.contentoutline.IContentOutlinePage;" + NL + "" + NL
+ + "import org.eclipse.ui.views.properties.IPropertySheetPage;" + NL
+ + "import org.eclipse.ui.views.properties.PropertySheet;" + NL
+ + "import org.eclipse.ui.views.properties.PropertySheetPage;" + NL + "" + NL
+ + "import org.eclipse.emf.common.command.BasicCommandStack;" + NL
+ + "import org.eclipse.emf.common.command.Command;" + NL
+ + "import org.eclipse.emf.common.command.CommandStack;" + NL
+ + "import org.eclipse.emf.common.command.CommandStackListener;" + NL + "" + NL
+ + "import org.eclipse.emf.common.notify.AdapterFactory;" + NL
+ + "import org.eclipse.emf.common.notify.Notification;" + NL;
+ protected final String TEXT_29 = NL + "import org.eclipse.emf.common.ui.MarkerHelper;";
+ protected final String TEXT_30 = NL + "import org.eclipse.emf.common.ui.ViewerPane;";
+ protected final String TEXT_31 = NL + NL + "import org.eclipse.emf.common.ui.editor.ProblemEditorPart;" + NL + ""
+ + NL + "import org.eclipse.emf.common.ui.viewer.IViewerProvider;" + NL + "" + NL
+ + "import org.eclipse.emf.common.util.BasicDiagnostic;" + NL
+ + "import org.eclipse.emf.common.util.Diagnostic;" + NL + "import org.eclipse.emf.common.util.URI;" + NL;
+ protected final String TEXT_32 = NL + "import org.eclipse.emf.ecore.EObject;" + NL
+ + "import org.eclipse.emf.ecore.EValidator;";
+ protected final String TEXT_33 = NL + NL + "import org.eclipse.emf.ecore.resource.Resource;";
+ protected final String TEXT_34 = NL + "import org.eclipse.emf.ecore.resource.ResourceSet;";
+ protected final String TEXT_35 = NL + NL + "import org.eclipse.emf.ecore.util.EContentAdapter;" + NL
+ + "import org.eclipse.emf.ecore.util.EcoreUtil;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;" + NL
+ + "import org.eclipse.emf.edit.domain.EditingDomain;" + NL
+ + "import org.eclipse.emf.edit.domain.IEditingDomainProvider;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;" + NL
+ + "import org.eclipse.emf.edit.provider.ComposedAdapterFactory;" + NL
+ + "import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;" + NL
+ + "import org.eclipse.emf.edit.ui.dnd.LocalTransfer;" + NL
+ + "import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;" + NL
+ + "import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;";
+ protected final String TEXT_36 = NL + "import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;";
+ protected final String TEXT_37 = NL + NL + "import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;";
+ protected final String TEXT_38 = NL + "import org.eclipse.emf.edit.ui.util.EditUIUtil;";
+ protected final String TEXT_39 = NL + NL + "import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;" + NL
+ + "" + NL + "import ";
+ protected final String TEXT_40 = ";" + NL;
+ protected final String TEXT_41 = NL + NL + NL + "/**" + NL + " * This is an example of a ";
+ protected final String TEXT_42 = " model editor." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_43 = NL + "\textends MultiPageEditorPart" + NL
+ + "\timplements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider";
+ protected final String TEXT_44 = ", IGotoMarker";
+ protected final String TEXT_45 = NL + "{";
+ protected final String TEXT_46 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_47 = " copyright = ";
+ protected final String TEXT_48 = ";";
+ protected final String TEXT_49 = NL;
+ protected final String TEXT_50 = NL + "\t/**" + NL
+ + "\t * The filters for file extensions supported by the editor." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_51 = NL + "\tpublic static final ";
+ protected final String TEXT_52 = " FILE_EXTENSION_FILTERS = prefixExtensions(";
+ protected final String TEXT_53 = ".FILE_EXTENSIONS, \"*.\");";
+ protected final String TEXT_54 = NL + "\t";
+ protected final String TEXT_55 = NL + "\tpublic static final ";
+ protected final String TEXT_56 = " FILE_EXTENSION_FILTERS = prefixExtensions(";
+ protected final String TEXT_57 = ".asList(";
+ protected final String TEXT_58 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_59 = "FilenameExtensions\").split(\"\\\\s*,\\\\s*\")), \"*.\");";
+ protected final String TEXT_60 = NL + "\t";
+ protected final String TEXT_61 = NL + "\t/**" + NL
+ + "\t * Returns a new unmodifiable list containing prefixed versions of the extensions in the given list."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static ";
+ protected final String TEXT_62 = " prefixExtensions(";
+ protected final String TEXT_63 = " extensions, String prefix)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_64 = " result = new ";
+ protected final String TEXT_65 = "();";
+ protected final String TEXT_66 = NL + "\t\tfor (String extension : extensions)" + NL + "\t\t{" + NL
+ + "\t\t\tresult.add(prefix + extension);";
+ protected final String TEXT_67 = NL + "\t\tfor (Iterator iterator = extensions.iterator() ; iterator.hasNext(); )"
+ + NL + "\t\t{" + NL + "\t\t\tresult.add(prefix + (String)iterator.next());";
+ protected final String TEXT_68 = NL + "\t\t}" + NL + "\t\treturn Collections.unmodifiableList(result);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_69 = NL + "\t/**" + NL
+ + "\t * This keeps track of the editing domain that is used to track all changes to the model." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected AdapterFactoryEditingDomain editingDomain;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is the one adapter factory used for providing views of the model." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ComposedAdapterFactory adapterFactory;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is the content outline page." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected IContentOutlinePage contentOutlinePage;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is a kludge..." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprotected IStatusLineManager contentOutlineStatusLineManager;"
+ + NL + "" + NL + "\t/**" + NL + "\t * This is the content outline page's viewer." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected TreeViewer contentOutlineViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is the property sheet page." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_70 = " propertySheetPages = new ";
+ protected final String TEXT_71 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is the viewer that shadows the selection in the content outline." + NL
+ + "\t * The parent relation must be correctly defined for this to work." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected TreeViewer selectionViewer;";
+ protected final String TEXT_72 = NL + NL + "\t/**" + NL
+ + "\t * This inverts the roll of parent and child in the content provider and show parents as a tree." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected TreeViewer parentViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This shows how a tree view works." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected TreeViewer treeViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This shows how a list view works." + NL + "\t * A list viewer doesn't support icons." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ListViewer listViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This shows how a table view works." + NL + "\t * A table can be used as a list with icons." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected TableViewer tableViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This shows how a tree view with columns works." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected TreeViewer treeViewerWithColumns;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This keeps track of the active viewer pane, in the book." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected ViewerPane currentViewerPane;";
+ protected final String TEXT_73 = NL
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This keeps track of the active content viewer, which may be either one of the viewers in the pages or the content outline viewer."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected Viewer currentViewer;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This listens to which ever viewer is active."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected ISelectionChangedListener selectionChangedListener;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this editor."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_74 = " selectionChangedListeners = new ";
+ protected final String TEXT_75 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * This keeps track of the selection of the editor as a whole." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected ISelection editorSelection = StructuredSelection.EMPTY;" + NL;
+ protected final String TEXT_76 = NL + "\t/**" + NL
+ + "\t * The MarkerHelper is responsible for creating workspace resource markers presented" + NL
+ + "\t * in Eclipse's Problems View." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected MarkerHelper markerHelper = new EditUIMarkerHelper();" + NL;
+ protected final String TEXT_77 = NL + "\t/**" + NL + "\t * This listens for when the outline becomes active" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected IPartListener partListener =" + NL + "\t\tnew IPartListener()" + NL + "\t\t{"
+ + NL + "\t\t\tpublic void partActivated(IWorkbenchPart p)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tif (p instanceof ContentOutline)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tif (((ContentOutline)p).getCurrentPage() == contentOutlinePage)" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tgetActionBarContributor().setActiveEditor(";
+ protected final String TEXT_78 = ".this);" + NL + "" + NL + "\t\t\t\t\t\tsetCurrentViewer(contentOutlineViewer);"
+ + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse if (p instanceof PropertySheet)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tif (propertySheetPages.contains(((PropertySheet)p).getCurrentPage()))" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tgetActionBarContributor().setActiveEditor(";
+ protected final String TEXT_79 = ".this);" + NL + "\t\t\t\t\t\thandleActivate();" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t\telse if (p == ";
+ protected final String TEXT_80 = ".this)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\thandleActivate();" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\tpublic void partBroughtToTop(IWorkbenchPart p)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL
+ + "\t\t\tpublic void partClosed(IWorkbenchPart p)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL
+ + "\t\t\t}" + NL + "\t\t\tpublic void partDeactivated(IWorkbenchPart p)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL + "\t\t\tpublic void partOpened(IWorkbenchPart p)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL + "\t\t};" + NL + "" + NL + "\t/**" + NL
+ + "\t * Resources that have been removed since last activation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_81 = " removedResources = new ";
+ protected final String TEXT_82 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * Resources that have been changed since last activation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_83 = " changedResources = new ";
+ protected final String TEXT_84 = "();" + NL + "" + NL + "\t/**" + NL + "\t * Resources that have been saved." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_85 = " savedResources = new ";
+ protected final String TEXT_86 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * Map to store the diagnostic associated with a resource." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_87 = " resourceToDiagnosticMap = new ";
+ protected final String TEXT_88 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * Controls whether the problem indication should be updated." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected boolean updateProblemIndication = true;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Adapter used to update the problem indication when resources are demanded loaded." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected EContentAdapter problemIndicationAdapter =" + NL
+ + "\t\tnew EContentAdapter()" + NL + "\t\t{";
+ protected final String TEXT_89 = NL + "\t\t\t@Override";
+ protected final String TEXT_90 = NL + "\t\t\tpublic void notifyChanged(Notification notification)" + NL + "\t\t\t{"
+ + NL + "\t\t\t\tif (notification.getNotifier() instanceof Resource)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tswitch (notification.getFeatureID(Resource.class))" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tcase Resource.RESOURCE__IS_LOADED:" + NL + "\t\t\t\t\t\tcase Resource.RESOURCE__ERRORS:"
+ + NL + "\t\t\t\t\t\tcase Resource.RESOURCE__WARNINGS:" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tResource resource = (Resource)notification.getNotifier();" + NL
+ + "\t\t\t\t\t\t\tDiagnostic diagnostic = analyzeResourceProblems(resource, null);" + NL
+ + "\t\t\t\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, diagnostic);" + NL + "\t\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t\t\telse" + NL + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.remove(resource);" + NL + "\t\t\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\t\t\tif (updateProblemIndication)" + NL + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t\t\t(new Runnable()"
+ + NL + "\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t public void run()" + NL
+ + "\t\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t\t updateProblemIndication();" + NL
+ + "\t\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t\t\tbreak;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.notifyChanged(notification);" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_91 = NL + "\t\t\t@Override";
+ protected final String TEXT_92 = NL + "\t\t\tprotected void setTarget(Resource target)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tbasicSetTarget(target);" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_93 = NL + "\t\t\t@Override";
+ protected final String TEXT_94 = NL + "\t\t\tprotected void unsetTarget(Resource target)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tbasicUnsetTarget(target);" + NL + "\t\t\t\tresourceToDiagnosticMap.remove(target);" + NL
+ + "\t\t\t\tif (updateProblemIndication)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t(new Runnable()" + NL
+ + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t updateProblemIndication();" + NL + "\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t });" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};";
+ protected final String TEXT_95 = NL + NL + "\t/**" + NL + "\t * This listens for workspace changes." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected IResourceChangeListener resourceChangeListener =" + NL
+ + "\t\tnew IResourceChangeListener()" + NL + "\t\t{" + NL
+ + "\t\t\tpublic void resourceChanged(IResourceChangeEvent event)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tIResourceDelta delta = event.getDelta();" + NL + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tclass ResourceDeltaVisitor implements IResourceDeltaVisitor" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tprotected ResourceSet resourceSet = editingDomain.getResourceSet();" + NL
+ + "\t\t\t\t\t\tprotected ";
+ protected final String TEXT_96 = " changedResources = new ";
+ protected final String TEXT_97 = "();" + NL + "\t\t\t\t\t\tprotected ";
+ protected final String TEXT_98 = " removedResources = new ";
+ protected final String TEXT_99 = "();" + NL + "" + NL + "\t\t\t\t\t\tpublic boolean visit(";
+ protected final String TEXT_100 = "final ";
+ protected final String TEXT_101 = "IResourceDelta delta)" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tif (delta.getResource().getType() == IResource.FILE)" + NL + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tif (delta.getKind() == IResourceDelta.REMOVED ||" + NL
+ + "\t\t\t\t\t\t\t\t delta.getKind() == IResourceDelta.CHANGED";
+ protected final String TEXT_102 = " && delta.getFlags() != IResourceDelta.MARKERS";
+ protected final String TEXT_103 = ")" + NL + "\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t";
+ protected final String TEXT_104 = "final ";
+ protected final String TEXT_105 = "Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false);"
+ + NL
+ + "\t\t\t\t\t\t\t\t\tif (resource != null)"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\tif (delta.getKind() == IResourceDelta.REMOVED)"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\tremovedResources.add(resource);" + NL + "\t\t\t\t\t\t\t\t\t\t}";
+ protected final String TEXT_106 = NL + "\t\t\t\t\t\t\t\t\t\telse if (!savedResources.remove(resource))" + NL
+ + "\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\tchangedResources.add(resource);" + NL
+ + "\t\t\t\t\t\t\t\t\t\t}";
+ protected final String TEXT_107 = NL + "\t\t\t\t\t\t\t\t\t\telse" + NL + "\t\t\t\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\t\t\t\tif ((delta.getFlags() & IResourceDelta.MARKERS) != 0)" + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\t\t";
+ protected final String TEXT_108 = ".DiagnosticAdapter.update(resource, markerHelper.getMarkerDiagnostics(resource, (IFile)delta.getResource()));"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\tif ((delta.getFlags() & IResourceDelta.CONTENT) != 0)"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t\tif (!savedResources.remove(resource))"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t\t\tchangedResources.add(resource);"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t\t\t}";
+ protected final String TEXT_109 = NL + "\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t\t\t\treturn false;" + NL + "\t\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\t\treturn true;"
+ + NL + "\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\tpublic ";
+ protected final String TEXT_110 = " getChangedResources()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\treturn changedResources;" + NL + "\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\tpublic ";
+ protected final String TEXT_111 = " getRemovedResources()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\treturn removedResources;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\tfinal ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();" + NL
+ + "\t\t\t\t\tdelta.accept(visitor);" + NL + "" + NL
+ + "\t\t\t\t\tif (!visitor.getRemovedResources().isEmpty())" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t(new Runnable()" + NL
+ + "\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t removedResources.addAll(visitor.getRemovedResources());" + NL
+ + "\t\t\t\t\t\t\t\t\t if (!isDirty())" + NL + "\t\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t\t getSite().getPage().closeEditor(";
+ protected final String TEXT_112 = ".this, false);" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL
+ + "\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\tif (!visitor.getChangedResources().isEmpty())" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t(new Runnable()" + NL
+ + "\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t changedResources.addAll(visitor.getChangedResources());" + NL
+ + "\t\t\t\t\t\t\t\t\t if (getSite().getPage().getActiveEditor() == ";
+ protected final String TEXT_113 = ".this)" + NL + "\t\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t\t handleActivate();" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL
+ + "\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tcatch (CoreException exception)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_114 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};";
+ protected final String TEXT_115 = NL + NL + "\t/**" + NL
+ + "\t * Handles activation of the editor or it's associated views." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected void handleActivate()" + NL + "\t{" + NL + "\t\t// Recompute the read only state." + NL
+ + "\t\t//" + NL + "\t\tif (editingDomain.getResourceToReadOnlyMap() != null)" + NL + "\t\t{" + NL
+ + "\t\t editingDomain.getResourceToReadOnlyMap().clear();" + NL + "" + NL
+ + "\t\t // Refresh any actions that may become enabled or disabled." + NL + "\t\t //" + NL
+ + "\t\t setSelection(getSelection());" + NL + "\t\t}" + NL + "" + NL
+ + "\t\tif (!removedResources.isEmpty())" + NL + "\t\t{" + NL + "\t\t\tif (handleDirtyConflict())" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tgetSite().getPage().closeEditor(";
+ protected final String TEXT_116 = ".this, false);" + NL + "\t\t\t}" + NL + "\t\t\telse" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tremovedResources.clear();" + NL + "\t\t\t\tchangedResources.clear();" + NL
+ + "\t\t\t\tsavedResources.clear();" + NL + "\t\t\t}" + NL + "\t\t}" + NL
+ + "\t\telse if (!changedResources.isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\tchangedResources.removeAll(savedResources);" + NL + "\t\t\thandleChangedResources();" + NL
+ + "\t\t\tchangedResources.clear();" + NL + "\t\t\tsavedResources.clear();" + NL + "\t\t}" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * Handles what to do with changed resources on activation." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void handleChangedResources()" + NL + "\t{" + NL
+ + "\t\tif (!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict()))" + NL + "\t\t{" + NL
+ + "\t\t\tif (isDirty())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tchangedResources.addAll(editingDomain.getResourceSet().getResources());" + NL + "\t\t\t}" + NL
+ + "\t\t\teditingDomain.getCommandStack().flush();" + NL + "" + NL
+ + "\t\t\tupdateProblemIndication = false;";
+ protected final String TEXT_117 = NL + "\t\t\tfor (Resource resource : changedResources)";
+ protected final String TEXT_118 = NL + "\t\t\tfor (Iterator i = changedResources.iterator(); i.hasNext(); )";
+ protected final String TEXT_119 = NL + "\t\t\t{";
+ protected final String TEXT_120 = NL + "\t\t\t\tResource resource = (Resource)i.next();";
+ protected final String TEXT_121 = NL + "\t\t\t\tif (resource.isLoaded())" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tresource.unload();" + NL + "\t\t\t\t\ttry" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tresource.load(Collections.EMPTY_MAP);" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\tcatch (IOException exception)" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tif (!resourceToDiagnosticMap.containsKey(resource))" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_122 = NL + "\t\t\tif (AdapterFactoryEditingDomain.isStale(editorSelection))" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tsetSelection(StructuredSelection.EMPTY);" + NL + "\t\t\t}";
+ protected final String TEXT_123 = NL + NL + "\t\t\tupdateProblemIndication = true;" + NL
+ + "\t\t\tupdateProblemIndication();" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Updates the problems indication with the information described in the specified diagnostic." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void updateProblemIndication()" + NL + "\t{" + NL
+ + "\t\tif (updateProblemIndication)" + NL + "\t\t{" + NL + "\t\t\tBasicDiagnostic diagnostic =" + NL
+ + "\t\t\t\tnew BasicDiagnostic" + NL + "\t\t\t\t\t(Diagnostic.OK," + NL + "\t\t\t\t\t \"";
+ protected final String TEXT_124 = "\",";
+ protected final String TEXT_125 = NL + "\t\t\t\t\t 0," + NL + "\t\t\t\t\t null," + NL
+ + "\t\t\t\t\t new Object [] { editingDomain.getResourceSet() });";
+ protected final String TEXT_126 = NL + "\t\t\tfor (Diagnostic childDiagnostic : resourceToDiagnosticMap.values())";
+ protected final String TEXT_127 = NL
+ + "\t\t\tfor (Iterator i = resourceToDiagnosticMap.values().iterator(); i.hasNext(); )";
+ protected final String TEXT_128 = NL + "\t\t\t{";
+ protected final String TEXT_129 = NL + "\t\t\t\tDiagnostic childDiagnostic = (Diagnostic)i.next();";
+ protected final String TEXT_130 = NL + "\t\t\t\tif (childDiagnostic.getSeverity() != Diagnostic.OK)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tdiagnostic.add(childDiagnostic);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL
+ + "" + NL + "\t\t\tint lastEditorPage = getPageCount() - 1;" + NL
+ + "\t\t\tif (lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t((ProblemEditorPart)getEditor(lastEditorPage)).setDiagnostic(diagnostic);" + NL
+ + "\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tsetActivePage(lastEditorPage);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL
+ + "\t\t\telse if (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tProblemEditorPart problemEditorPart = new ProblemEditorPart();" + NL
+ + "\t\t\t\tproblemEditorPart.setDiagnostic(diagnostic);";
+ protected final String TEXT_131 = NL + "\t\t\t\tproblemEditorPart.setMarkerHelper(markerHelper);";
+ protected final String TEXT_132 = NL + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\taddPage(++lastEditorPage, problemEditorPart, getEditorInput());" + NL
+ + "\t\t\t\t\tsetPageText(lastEditorPage, problemEditorPart.getPartName());" + NL
+ + "\t\t\t\t\tsetActivePage(lastEditorPage);" + NL + "\t\t\t\t\tshowTabs();" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tcatch (PartInitException exception)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_133 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t}" + NL + "\t\t\t}";
+ protected final String TEXT_134 = NL + NL + "\t\t\tif (markerHelper.hasMarkers(editingDomain.getResourceSet()))"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tmarkerHelper.deleteMarkers(editingDomain.getResourceSet());" + NL
+ + "\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\ttry" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tmarkerHelper.createMarkers(diagnostic);" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\tcatch (CoreException exception)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\t";
+ protected final String TEXT_135 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}";
+ protected final String TEXT_136 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Shows a dialog that asks if conflicting changes should be discarded." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected boolean handleDirtyConflict()" + NL + "\t{" + NL + "\t\treturn" + NL
+ + "\t\t\tMessageDialog.openQuestion" + NL + "\t\t\t\t(getSite().getShell()," + NL
+ + "\t\t\t\t getString(\"_UI_FileConflict_label\"),";
+ protected final String TEXT_137 = NL + "\t\t\t\t getString(\"_WARN_FileConflict\"));";
+ protected final String TEXT_138 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This creates a model editor."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_139 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t\tinitializeEditingDomain();"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This sets up the editing domain for the model editor."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void initializeEditingDomain()" + NL + "\t{" + NL
+ + "\t\t// Create an adapter factory that yields item providers." + NL + "\t\t//" + NL
+ + "\t\tadapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);"
+ + NL + "" + NL + "\t\tadapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory());";
+ protected final String TEXT_140 = NL;
+ protected final String TEXT_141 = NL
+ + "\t\tadapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());"
+ + NL
+ + ""
+ + NL
+ + "\t\t// Create the command stack that will notify this editor as commands are executed."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tBasicCommandStack commandStack = new BasicCommandStack();"
+ + NL
+ + ""
+ + NL
+ + "\t\t// Add a listener to set the most recent command's affected objects to be the selection of the viewer with focus."
+ + NL + "\t\t//" + NL + "\t\tcommandStack.addCommandStackListener" + NL
+ + "\t\t\t(new CommandStackListener()" + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public void commandStackChanged(final EventObject event)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t getContainer().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t (new Runnable()" + NL
+ + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t firePropertyChange(IEditorPart.PROP_DIRTY);" + NL + "" + NL
+ + "\t\t\t\t\t\t\t\t // Try to select the affected objects." + NL + "\t\t\t\t\t\t\t\t //" + NL
+ + "\t\t\t\t\t\t\t\t Command mostRecentCommand = ((CommandStack)event.getSource()).getMostRecentCommand();"
+ + NL + "\t\t\t\t\t\t\t\t if (mostRecentCommand != null)" + NL + "\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t setSelectionToViewer(mostRecentCommand.getAffectedObjects());" + NL
+ + "\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t for (Iterator";
+ protected final String TEXT_142 = "<PropertySheetPage>";
+ protected final String TEXT_143 = " i = propertySheetPages.iterator(); i.hasNext(); )" + NL + "\t\t\t\t\t\t\t\t {"
+ + NL + "\t\t\t\t\t\t\t\t\t PropertySheetPage propertySheetPage = ";
+ protected final String TEXT_144 = "(PropertySheetPage)";
+ protected final String TEXT_145 = "i.next();" + NL
+ + "\t\t\t\t\t\t\t\t\t if (propertySheetPage.getControl().isDisposed())" + NL + "\t\t\t\t\t\t\t\t\t {"
+ + NL + "\t\t\t\t\t\t\t\t\t\t i.remove();" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t\t else"
+ + NL + "\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t propertySheetPage.refresh();" + NL
+ + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t }" + NL
+ + "\t\t\t\t\t\t });" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL + "" + NL
+ + "\t\t// Create the editing domain with a special command stack." + NL + "\t\t//" + NL
+ + "\t\teditingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack, new ";
+ protected final String TEXT_146 = "());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is here for the listener to be able to call it." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_147 = NL + "\t\t\t@Override";
+ protected final String TEXT_148 = NL + "\tprotected void firePropertyChange(int action)" + NL + "\t{" + NL
+ + "\t\tsuper.firePropertyChange(action);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This sets the selection into whichever viewer is active." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void setSelectionToViewer(";
+ protected final String TEXT_149 = " collection)" + NL + "\t{" + NL + "\t\tfinal ";
+ protected final String TEXT_150 = " theSelection = collection;" + NL + "\t\t// Make sure it's okay." + NL
+ + "\t\t//" + NL + "\t\tif (theSelection != null && !theSelection.isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\tRunnable runnable =" + NL + "\t\t\t\tnew Runnable()" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tpublic void run()" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t// Try to select the items in the current content viewer of the editor." + NL
+ + "\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\tif (currentViewer != null)" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tcurrentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t};" + NL
+ + "\t\t\tgetSite().getShell().getDisplay().asyncExec(runnable);" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL
+ + "\t * This returns the editing domain as required by the {@link IEditingDomainProvider} interface." + NL
+ + "\t * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain}" + NL
+ + "\t * and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic EditingDomain getEditingDomain()" + NL + "\t{" + NL
+ + "\t\treturn editingDomain;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider" + NL + "\t{"
+ + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tpublic ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory)" + NL + "\t\t{" + NL
+ + "\t\t\tsuper(adapterFactory);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */";
+ protected final String TEXT_151 = NL + "\t\t@Override";
+ protected final String TEXT_152 = NL + "\t\tpublic Object [] getElements(Object object)" + NL + "\t\t{" + NL
+ + "\t\t\tObject parent = super.getParent(object);" + NL
+ + "\t\t\treturn (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();" + NL
+ + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_153 = NL + "\t\t@Override";
+ protected final String TEXT_154 = NL + "\t\tpublic Object [] getChildren(Object object)" + NL + "\t\t{" + NL
+ + "\t\t\tObject parent = super.getParent(object);" + NL
+ + "\t\t\treturn (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();" + NL
+ + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_155 = NL + "\t\t@Override";
+ protected final String TEXT_156 = NL + "\t\tpublic boolean hasChildren(Object object)" + NL + "\t\t{" + NL
+ + "\t\t\tObject parent = super.getParent(object);" + NL + "\t\t\treturn parent != null;" + NL + "\t\t}"
+ + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->"
+ + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_157 = NL + "\t\t@Override";
+ protected final String TEXT_158 = NL + "\t\tpublic Object getParent(Object object)" + NL + "\t\t{" + NL
+ + "\t\t\treturn null;" + NL + "\t\t}" + NL + "\t}";
+ protected final String TEXT_159 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void setCurrentViewerPane(ViewerPane viewerPane)" + NL + "\t{" + NL
+ + "\t\tif (currentViewerPane != viewerPane)" + NL + "\t\t{" + NL + "\t\t\tif (currentViewerPane != null)"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tcurrentViewerPane.showFocus(false);" + NL + "\t\t\t}" + NL
+ + "\t\t\tcurrentViewerPane = viewerPane;" + NL + "\t\t}" + NL
+ + "\t\tsetCurrentViewer(currentViewerPane.getViewer());" + NL + "\t}";
+ protected final String TEXT_160 = NL
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This makes sure that one content viewer, either for the current page or the outline view, if it has focus,"
+ + NL
+ + "\t * is the current one."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic void setCurrentViewer(Viewer viewer)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\t// If it is changing..."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tif (currentViewer != viewer)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tif (selectionChangedListener == null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\t// Create the listener on demand."
+ + NL
+ + "\t\t\t\t//"
+ + NL
+ + "\t\t\t\tselectionChangedListener ="
+ + NL
+ + "\t\t\t\t\tnew ISelectionChangedListener()"
+ + NL
+ + "\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t// This just notifies those things that are affected by the section."
+ + NL
+ + "\t\t\t\t\t\t//"
+ + NL
+ + "\t\t\t\t\t\tpublic void selectionChanged(SelectionChangedEvent selectionChangedEvent)"
+ + NL
+ + "\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\tsetSelection(selectionChangedEvent.getSelection());"
+ + NL
+ + "\t\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\t};"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t// Stop listening to the old one."
+ + NL
+ + "\t\t\t//"
+ + NL
+ + "\t\t\tif (currentViewer != null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tcurrentViewer.removeSelectionChangedListener(selectionChangedListener);"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t// Start listening to the new one."
+ + NL
+ + "\t\t\t//"
+ + NL
+ + "\t\t\tif (viewer != null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tviewer.addSelectionChangedListener(selectionChangedListener);"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t// Remember it."
+ + NL
+ + "\t\t\t//"
+ + NL
+ + "\t\t\tcurrentViewer = viewer;"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t// Set the editors selection based on the current viewer's selection."
+ + NL
+ + "\t\t\t//"
+ + NL
+ + "\t\t\tsetSelection(currentViewer == null ? StructuredSelection.EMPTY : currentViewer.getSelection());"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This returns the viewer as required by the {@link IViewerProvider} interface."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic Viewer getViewer()"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn currentViewer;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This creates a context menu for the viewer and adds a listener as well registering the menu for extension."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void createContextMenuFor(StructuredViewer viewer)" + NL + "\t{" + NL
+ + "\t\tMenuManager contextMenu = new MenuManager(\"#PopUp\");";
+ protected final String TEXT_161 = NL + "\t\tcontextMenu.add(new Separator(\"additions\"));";
+ protected final String TEXT_162 = NL + "\t\tcontextMenu.setRemoveAllWhenShown(true);" + NL
+ + "\t\tcontextMenu.addMenuListener(this);" + NL
+ + "\t\tMenu menu= contextMenu.createContextMenu(viewer.getControl());" + NL
+ + "\t\tviewer.getControl().setMenu(menu);";
+ protected final String TEXT_163 = NL
+ + "\t\tgetSite().registerContextMenu(contextMenu, new UnwrappingSelectionProvider(viewer));";
+ protected final String TEXT_164 = NL + "\t\tgetSite().registerContextMenu(contextMenu, viewer);";
+ protected final String TEXT_165 = NL + NL
+ + "\t\tint dndOperations = DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK;" + NL
+ + "\t\tTransfer[] transfers = new Transfer[] { LocalTransfer.getInstance()";
+ protected final String TEXT_166 = ", LocalSelectionTransfer.getTransfer(), FileTransfer.getInstance()";
+ protected final String TEXT_167 = " };"
+ + NL
+ + "\t\tviewer.addDragSupport(dndOperations, transfers, new ViewerDragAdapter(viewer));"
+ + NL
+ + "\t\tviewer.addDropSupport(dndOperations, transfers, new EditingDomainViewerDropAdapter(editingDomain, viewer));"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This is the method called to load a resource into the editing domain's resource set based on the editor's input."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void createModel()" + NL + "\t{";
+ protected final String TEXT_168 = NL + "\t\tURI resourceURI = EditUIUtil.getURI(getEditorInput());";
+ protected final String TEXT_169 = NL + "\t\tURI resourceURI = URI.createURI(getEditorInput().getName());";
+ protected final String TEXT_170 = NL
+ + "\t\t// Assumes that the input is a file object."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tIFileEditorInput modelFile = (IFileEditorInput)getEditorInput();"
+ + NL
+ + "\t\tURI resourceURI = URI.createPlatformResourceURI(modelFile.getFile().getFullPath().toString(), true);";
+ protected final String TEXT_171 = NL + "\t\tException exception = null;" + NL + "\t\tResource resource = null;"
+ + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t// Load the resource through the editing domain." + NL
+ + "\t\t\t//" + NL + "\t\t\tresource = editingDomain.getResourceSet().getResource(resourceURI, true);" + NL
+ + "\t\t}" + NL + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL
+ + "\t\t\tresource = editingDomain.getResourceSet().getResource(resourceURI, false);" + NL + "\t\t}" + NL
+ + "" + NL + "\t\tDiagnostic diagnostic = analyzeResourceProblems(resource, exception);" + NL
+ + "\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t{" + NL
+ + "\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));" + NL
+ + "\t\t}" + NL + "\t\teditingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter);" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns a diagnostic describing the errors and warnings listed in the resource" + NL
+ + "\t * and the specified exception (if any)." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic Diagnostic analyzeResourceProblems(Resource resource, Exception exception)" + NL + "\t{" + NL
+ + "\t\tif (!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\tBasicDiagnostic basicDiagnostic =" + NL + "\t\t\t\tnew BasicDiagnostic" + NL
+ + "\t\t\t\t\t(Diagnostic.ERROR," + NL + "\t\t\t\t\t \"";
+ protected final String TEXT_172 = "\",";
+ protected final String TEXT_173 = NL + "\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t getString(\"_UI_CreateModelError_message\", resource.getURI()),";
+ protected final String TEXT_174 = NL
+ + "\t\t\t\t\t new Object [] { exception == null ? (Object)resource : exception });" + NL
+ + "\t\t\tbasicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true));" + NL
+ + "\t\t\treturn basicDiagnostic;" + NL + "\t\t}" + NL + "\t\telse if (exception != null)" + NL + "\t\t{"
+ + NL + "\t\t\treturn" + NL + "\t\t\t\tnew BasicDiagnostic" + NL + "\t\t\t\t\t(Diagnostic.ERROR," + NL
+ + "\t\t\t\t\t \"";
+ protected final String TEXT_175 = "\",";
+ protected final String TEXT_176 = NL + "\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t getString(\"_UI_CreateModelError_message\", resource.getURI()),";
+ protected final String TEXT_177 = NL + "\t\t\t\t\t new Object[] { exception });" + NL + "\t\t}" + NL + "\t\telse"
+ + NL + "\t\t{" + NL + "\t\t\treturn Diagnostic.OK_INSTANCE;" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * This is the method used by the framework to install your own controls." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_178 = NL + "\t@Override";
+ protected final String TEXT_179 = NL + "\tpublic void createPages()" + NL + "\t{" + NL
+ + "\t\t// Creates the model from the editor input" + NL + "\t\t//" + NL + "\t\tcreateModel();" + NL + ""
+ + NL + "\t\t// Only creates the other pages if there is something that can be edited" + NL + "\t\t//" + NL
+ + "\t\tif (!getEditingDomain().getResourceSet().getResources().isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\t// Create a page for the selection tree view." + NL + "\t\t\t//";
+ protected final String TEXT_180 = NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL
+ + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_181 = ".this)" + NL + "\t\t\t\t\t{";
+ protected final String TEXT_182 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_183 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tTree tree = new Tree(composite, SWT.MULTI);" + NL
+ + "\t\t\t\t\t\t\tTreeViewer newTreeViewer = new TreeViewer(tree);" + NL
+ + "\t\t\t\t\t\t\treturn newTreeViewer;" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_184 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_185 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "" + NL + "\t\t\t\tselectionViewer = (TreeViewer)viewerPane.getViewer();" + NL
+ + "\t\t\t\tselectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
+ + "" + NL + "\t\t\t\tselectionViewer.setLabelProvider(";
+ protected final String TEXT_186 = "new ";
+ protected final String TEXT_187 = "(";
+ protected final String TEXT_188 = "new ";
+ protected final String TEXT_189 = "(";
+ protected final String TEXT_190 = "new ";
+ protected final String TEXT_191 = "(adapterFactory";
+ protected final String TEXT_192 = ", selectionViewer";
+ protected final String TEXT_193 = ")";
+ protected final String TEXT_194 = ", new ";
+ protected final String TEXT_195 = "(editingDomain";
+ protected final String TEXT_196 = ".getResourceSet()";
+ protected final String TEXT_197 = ", selectionViewer";
+ protected final String TEXT_198 = ", ";
+ protected final String TEXT_199 = ".getPlugin().getDialogSettings()";
+ protected final String TEXT_200 = "))";
+ protected final String TEXT_201 = ")";
+ protected final String TEXT_202 = ");"
+ + NL
+ + "\t\t\t\tselectionViewer.setInput(editingDomain.getResourceSet());"
+ + NL
+ + "\t\t\t\tselectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);"
+ + NL + "\t\t\t\tviewerPane.setTitle(editingDomain.getResourceSet());" + NL + "" + NL
+ + "\t\t\t\tnew AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);";
+ protected final String TEXT_203 = NL + "\t\t\t\tnew ";
+ protected final String TEXT_204 = "(selectionViewer, new ";
+ protected final String TEXT_205 = ".EditingDomainLocationListener(editingDomain, selectionViewer));";
+ protected final String TEXT_206 = NL + NL + "\t\t\t\tcreateContextMenuFor(selectionViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_SelectionPage_label\"));";
+ protected final String TEXT_207 = NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\t// Create a page for the parent tree view." + NL + "\t\t\t//" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_208 = ".this)" + NL + "\t\t\t\t\t{";
+ protected final String TEXT_209 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_210 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tTree tree = new Tree(composite, SWT.MULTI);" + NL
+ + "\t\t\t\t\t\t\tTreeViewer newTreeViewer = new TreeViewer(tree);" + NL
+ + "\t\t\t\t\t\t\treturn newTreeViewer;" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_211 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_212 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "" + NL + "\t\t\t\tparentViewer = (TreeViewer)viewerPane.getViewer();" + NL
+ + "\t\t\t\tparentViewer.setAutoExpandLevel(30);" + NL
+ + "\t\t\t\tparentViewer.setContentProvider(new ReverseAdapterFactoryContentProvider(adapterFactory));" + NL
+ + "\t\t\t\tparentViewer.setLabelProvider(";
+ protected final String TEXT_213 = "new ";
+ protected final String TEXT_214 = "(";
+ protected final String TEXT_215 = "new ";
+ protected final String TEXT_216 = "(adapterFactory";
+ protected final String TEXT_217 = ", parentViewer";
+ protected final String TEXT_218 = ")";
+ protected final String TEXT_219 = ")";
+ protected final String TEXT_220 = ");" + NL + "" + NL + "\t\t\t\tcreateContextMenuFor(parentViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_ParentPage_label\"));";
+ protected final String TEXT_221 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the list viewer"
+ + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL
+ + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_222 = ".this)" + NL + "\t\t\t\t\t{";
+ protected final String TEXT_223 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_224 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new ListViewer(composite);" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_225 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_226 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "\t\t\t\tlistViewer = (ListViewer)viewerPane.getViewer();" + NL
+ + "\t\t\t\tlistViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
+ + "\t\t\t\tlistViewer.setLabelProvider(";
+ protected final String TEXT_227 = "new ";
+ protected final String TEXT_228 = "(";
+ protected final String TEXT_229 = "new ";
+ protected final String TEXT_230 = "(adapterFactory";
+ protected final String TEXT_231 = ", listViewer";
+ protected final String TEXT_232 = ")";
+ protected final String TEXT_233 = ")";
+ protected final String TEXT_234 = ");" + NL + "" + NL + "\t\t\t\tcreateContextMenuFor(listViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_ListPage_label\"));";
+ protected final String TEXT_235 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the tree viewer"
+ + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL
+ + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_236 = ".this)" + NL + "\t\t\t\t\t{";
+ protected final String TEXT_237 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_238 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TreeViewer(composite);" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_239 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_240 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "\t\t\t\ttreeViewer = (TreeViewer)viewerPane.getViewer();" + NL
+ + "\t\t\t\ttreeViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
+ + "\t\t\t\ttreeViewer.setLabelProvider(";
+ protected final String TEXT_241 = "new ";
+ protected final String TEXT_242 = "(";
+ protected final String TEXT_243 = "new ";
+ protected final String TEXT_244 = "(";
+ protected final String TEXT_245 = "new ";
+ protected final String TEXT_246 = "(adapterFactory";
+ protected final String TEXT_247 = ", treeViewer";
+ protected final String TEXT_248 = ")";
+ protected final String TEXT_249 = ", new ";
+ protected final String TEXT_250 = "(editingDomain";
+ protected final String TEXT_251 = ".getResourceSet()";
+ protected final String TEXT_252 = ", treeViewer))";
+ protected final String TEXT_253 = ")";
+ protected final String TEXT_254 = ");" + NL + "" + NL
+ + "\t\t\t\tnew AdapterFactoryTreeEditor(treeViewer.getTree(), adapterFactory);";
+ protected final String TEXT_255 = NL + "\t\t\t\tnew ";
+ protected final String TEXT_256 = "(treeViewer, new ";
+ protected final String TEXT_257 = ".EditingDomainLocationListener(editingDomain, treeViewer));";
+ protected final String TEXT_258 = NL + NL + "\t\t\t\tcreateContextMenuFor(treeViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TreePage_label\"));";
+ protected final String TEXT_259 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the table viewer."
+ + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL
+ + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_260 = ".this)" + NL + "\t\t\t\t\t{";
+ protected final String TEXT_261 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_262 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TableViewer(composite);" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_263 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_264 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "\t\t\t\ttableViewer = (TableViewer)viewerPane.getViewer();" + NL + "" + NL
+ + "\t\t\t\tTable table = tableViewer.getTable();" + NL + "\t\t\t\tTableLayout layout = new TableLayout();"
+ + NL + "\t\t\t\ttable.setLayout(layout);" + NL + "\t\t\t\ttable.setHeaderVisible(true);" + NL
+ + "\t\t\t\ttable.setLinesVisible(true);" + NL + "" + NL
+ + "\t\t\t\tTableColumn objectColumn = new TableColumn(table, SWT.NONE);" + NL
+ + "\t\t\t\tlayout.addColumnData(new ColumnWeightData(3, 100, true));" + NL
+ + "\t\t\t\tobjectColumn.setText(getString(\"_UI_ObjectColumn_label\"));";
+ protected final String TEXT_265 = NL + "\t\t\t\tobjectColumn.setResizable(true);" + NL + "" + NL
+ + "\t\t\t\tTableColumn selfColumn = new TableColumn(table, SWT.NONE);" + NL
+ + "\t\t\t\tlayout.addColumnData(new ColumnWeightData(2, 100, true));" + NL
+ + "\t\t\t\tselfColumn.setText(getString(\"_UI_SelfColumn_label\"));";
+ protected final String TEXT_266 = NL + "\t\t\t\tselfColumn.setResizable(true);" + NL + "" + NL
+ + "\t\t\t\ttableViewer.setColumnProperties(new String [] {\"a\", \"b\"});";
+ protected final String TEXT_267 = NL
+ + "\t\t\t\ttableViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
+ + "\t\t\t\ttableViewer.setLabelProvider(";
+ protected final String TEXT_268 = "new ";
+ protected final String TEXT_269 = "(";
+ protected final String TEXT_270 = "new ";
+ protected final String TEXT_271 = "(";
+ protected final String TEXT_272 = "new ";
+ protected final String TEXT_273 = "(adapterFactory";
+ protected final String TEXT_274 = ", tableViewer";
+ protected final String TEXT_275 = ")";
+ protected final String TEXT_276 = ", new ";
+ protected final String TEXT_277 = "(editingDomain";
+ protected final String TEXT_278 = ".getResourceSet()";
+ protected final String TEXT_279 = ", tableViewer";
+ protected final String TEXT_280 = ", ";
+ protected final String TEXT_281 = ".getPlugin().getDialogSettings()";
+ protected final String TEXT_282 = "))";
+ protected final String TEXT_283 = ")";
+ protected final String TEXT_284 = ");" + NL;
+ protected final String TEXT_285 = NL + "\t\t\t\tnew ";
+ protected final String TEXT_286 = "(tableViewer, new ";
+ protected final String TEXT_287 = ".EditingDomainLocationListener(editingDomain, tableViewer));" + NL;
+ protected final String TEXT_288 = NL + "\t\t\t\tcreateContextMenuFor(tableViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TablePage_label\"));";
+ protected final String TEXT_289 = NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\t// This is the page for the table tree viewer." + NL + "\t\t\t//" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_290 = ".this)" + NL + "\t\t\t\t\t{";
+ protected final String TEXT_291 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_292 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TreeViewer(composite);" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_293 = NL + "\t\t\t\t\t\t@Override";
+ protected final String TEXT_294 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "" + NL + "\t\t\t\ttreeViewerWithColumns = (TreeViewer)viewerPane.getViewer();" + NL + "" + NL
+ + "\t\t\t\tTree tree = treeViewerWithColumns.getTree();" + NL
+ + "\t\t\t\ttree.setLayoutData(new FillLayout());" + NL + "\t\t\t\ttree.setHeaderVisible(true);" + NL
+ + "\t\t\t\ttree.setLinesVisible(true);" + NL + "" + NL
+ + "\t\t\t\tTreeColumn objectColumn = new TreeColumn(tree, SWT.NONE);" + NL
+ + "\t\t\t\tobjectColumn.setText(getString(\"_UI_ObjectColumn_label\"));";
+ protected final String TEXT_295 = NL + "\t\t\t\tobjectColumn.setResizable(true);" + NL
+ + "\t\t\t\tobjectColumn.setWidth(250);" + NL + "" + NL
+ + "\t\t\t\tTreeColumn selfColumn = new TreeColumn(tree, SWT.NONE);" + NL
+ + "\t\t\t\tselfColumn.setText(getString(\"_UI_SelfColumn_label\"));";
+ protected final String TEXT_296 = NL + "\t\t\t\tselfColumn.setResizable(true);" + NL
+ + "\t\t\t\tselfColumn.setWidth(200);" + NL + "" + NL
+ + "\t\t\t\ttreeViewerWithColumns.setColumnProperties(new String [] {\"a\", \"b\"});";
+ protected final String TEXT_297 = NL
+ + "\t\t\t\ttreeViewerWithColumns.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));"
+ + NL + "\t\t\t\ttreeViewerWithColumns.setLabelProvider(";
+ protected final String TEXT_298 = "new ";
+ protected final String TEXT_299 = "(";
+ protected final String TEXT_300 = "new ";
+ protected final String TEXT_301 = "(";
+ protected final String TEXT_302 = "new ";
+ protected final String TEXT_303 = "(adapterFactory";
+ protected final String TEXT_304 = ", treeViewerWithColumns";
+ protected final String TEXT_305 = ")";
+ protected final String TEXT_306 = ", new ";
+ protected final String TEXT_307 = "(editingDomain";
+ protected final String TEXT_308 = ".getResourceSet()";
+ protected final String TEXT_309 = ", treeViewerWithColumns";
+ protected final String TEXT_310 = ", ";
+ protected final String TEXT_311 = ".getPlugin().getDialogSettings()";
+ protected final String TEXT_312 = "))";
+ protected final String TEXT_313 = ")";
+ protected final String TEXT_314 = ");" + NL;
+ protected final String TEXT_315 = NL + "\t\t\t\tnew ";
+ protected final String TEXT_316 = "(treeViewerWithColumns, new ";
+ protected final String TEXT_317 = ".EditingDomainLocationListener(editingDomain, treeViewerWithColumns));" + NL;
+ protected final String TEXT_318 = NL + "\t\t\t\tcreateContextMenuFor(treeViewerWithColumns);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TreeWithColumnsPage_label\"));";
+ protected final String TEXT_319 = NL + "\t\t\t}";
+ protected final String TEXT_320 = NL + "\t\t\tTree tree = new Tree(getContainer(), SWT.MULTI);" + NL
+ + "\t\t\tselectionViewer = new TreeViewer(tree);" + NL + "\t\t\tsetCurrentViewer(selectionViewer);" + NL
+ + "" + NL + "\t\t\tselectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));"
+ + NL + "\t\t\tselectionViewer.setLabelProvider(";
+ protected final String TEXT_321 = "new ";
+ protected final String TEXT_322 = "(";
+ protected final String TEXT_323 = "new ";
+ protected final String TEXT_324 = "(";
+ protected final String TEXT_325 = "new ";
+ protected final String TEXT_326 = "(adapterFactory";
+ protected final String TEXT_327 = ", selectionViewer";
+ protected final String TEXT_328 = ")";
+ protected final String TEXT_329 = ", new ";
+ protected final String TEXT_330 = "(editingDomain";
+ protected final String TEXT_331 = ".getResourceSet()";
+ protected final String TEXT_332 = ", selectionViewer";
+ protected final String TEXT_333 = ", ";
+ protected final String TEXT_334 = ".getPlugin().getDialogSettings()";
+ protected final String TEXT_335 = "))";
+ protected final String TEXT_336 = ")";
+ protected final String TEXT_337 = ");"
+ + NL
+ + "\t\t\tselectionViewer.setInput(editingDomain.getResourceSet());"
+ + NL
+ + "\t\t\tselectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);"
+ + NL + "" + NL + "\t\t\tnew AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);";
+ protected final String TEXT_338 = NL + "\t\t\tnew ";
+ protected final String TEXT_339 = "(selectionViewer, new ";
+ protected final String TEXT_340 = ".EditingDomainLocationListener(editingDomain, selectionViewer));";
+ protected final String TEXT_341 = NL + NL + "\t\t\tcreateContextMenuFor(selectionViewer);" + NL
+ + "\t\t\tint pageIndex = addPage(tree);" + NL
+ + "\t\t\tsetPageText(pageIndex, getString(\"_UI_SelectionPage_label\"));";
+ protected final String TEXT_342 = NL + NL + "\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL
+ + "\t\t\t\t(new Runnable()" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t {"
+ + NL + "\t\t\t\t\t\t setActivePage(0);" + NL + "\t\t\t\t\t }" + NL + "\t\t\t\t });" + NL + "\t\t}" + NL
+ + "" + NL + "\t\t// Ensures that this editor will only display the page's tab" + NL
+ + "\t\t// area if there are more than one page" + NL + "\t\t//" + NL
+ + "\t\tgetContainer().addControlListener" + NL + "\t\t\t(new ControlAdapter()" + NL + "\t\t\t {" + NL
+ + "\t\t\t\tboolean guard = false;";
+ protected final String TEXT_343 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_344 = NL + "\t\t\t\tpublic void controlResized(ControlEvent event)" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\tif (!guard)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tguard = true;" + NL
+ + "\t\t\t\t\t\thideTabs();" + NL + "\t\t\t\t\t\tguard = false;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}"
+ + NL + "\t\t\t });" + NL + "" + NL + "\t\tgetSite().getShell().getDisplay().asyncExec" + NL
+ + "\t\t\t(new Runnable()" + NL + "\t\t\t {" + NL + "\t\t\t\t public void run()" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t updateProblemIndication();" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * If there is just one page in the multi-page editor part," + NL
+ + "\t * this hides the single tab at the bottom." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void hideTabs()"
+ + NL + "\t{" + NL + "\t\tif (getPageCount() <= 1)" + NL + "\t\t{" + NL + "\t\t\tsetPageText(0, \"\");";
+ protected final String TEXT_345 = NL + "\t\t\tif (getContainer() instanceof CTabFolder)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t((CTabFolder)getContainer()).setTabHeight(1);" + NL
+ + "\t\t\t\tPoint point = getContainer().getSize();" + NL
+ + "\t\t\t\tgetContainer().setSize(point.x, point.y + 6);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * If there is more than one page in the multi-page editor part," + NL
+ + "\t * this shows the tabs at the bottom." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void showTabs()"
+ + NL + "\t{" + NL + "\t\tif (getPageCount() > 1)" + NL + "\t\t{" + NL
+ + "\t\t\tsetPageText(0, getString(\"_UI_SelectionPage_label\"));";
+ protected final String TEXT_346 = NL + "\t\t\tif (getContainer() instanceof CTabFolder)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t((CTabFolder)getContainer()).setTabHeight(SWT.DEFAULT);" + NL
+ + "\t\t\t\tPoint point = getContainer().getSize();" + NL
+ + "\t\t\t\tgetContainer().setSize(point.x, point.y - 6);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * This is used to track the active viewer." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_347 = NL + "\t@Override";
+ protected final String TEXT_348 = NL + "\tprotected void pageChange(int pageIndex)" + NL + "\t{" + NL
+ + "\t\tsuper.pageChange(pageIndex);" + NL + "" + NL + "\t\tif (contentOutlinePage != null)" + NL + "\t\t{"
+ + NL + "\t\t\thandleContentOutlineSelection(contentOutlinePage.getSelection());" + NL + "\t\t}" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is how the framework determines which interfaces we implement." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_349 = NL + "\t@SuppressWarnings(\"";
+ protected final String TEXT_350 = "rawtypes";
+ protected final String TEXT_351 = "unchecked";
+ protected final String TEXT_352 = "\")";
+ protected final String TEXT_353 = NL + "\t@Override";
+ protected final String TEXT_354 = NL + "\tpublic Object getAdapter(Class key)" + NL + "\t{" + NL
+ + "\t\tif (key.equals(IContentOutlinePage.class))" + NL + "\t\t{" + NL
+ + "\t\t\treturn showOutlineView() ? getContentOutlinePage() : null;" + NL + "\t\t}" + NL
+ + "\t\telse if (key.equals(IPropertySheetPage.class))" + NL + "\t\t{" + NL
+ + "\t\t\treturn getPropertySheetPage();" + NL + "\t\t}";
+ protected final String TEXT_355 = NL + "\t\telse if (key.equals(IGotoMarker.class))" + NL + "\t\t{" + NL
+ + "\t\t\treturn this;" + NL + "\t\t}";
+ protected final String TEXT_356 = NL + "\t\telse" + NL + "\t\t{" + NL + "\t\t\treturn super.getAdapter(key);" + NL
+ + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This accesses a cached version of the content outliner." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic IContentOutlinePage getContentOutlinePage()" + NL + "\t{" + NL
+ + "\t\tif (contentOutlinePage == null)" + NL + "\t\t{" + NL
+ + "\t\t\t// The content outline is just a tree." + NL + "\t\t\t//" + NL
+ + "\t\t\tclass MyContentOutlinePage extends ContentOutlinePage" + NL + "\t\t\t{";
+ protected final String TEXT_357 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_358 = NL + "\t\t\t\tpublic void createControl(Composite parent)" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\tsuper.createControl(parent);" + NL + "\t\t\t\t\tcontentOutlineViewer = getTreeViewer();"
+ + NL + "\t\t\t\t\tcontentOutlineViewer.addSelectionChangedListener(this);" + NL + "" + NL
+ + "\t\t\t\t\t// Set up the tree viewer." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tcontentOutlineViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));"
+ + NL + "\t\t\t\t\tcontentOutlineViewer.setLabelProvider(";
+ protected final String TEXT_359 = "new ";
+ protected final String TEXT_360 = "(";
+ protected final String TEXT_361 = "new ";
+ protected final String TEXT_362 = "(";
+ protected final String TEXT_363 = "new ";
+ protected final String TEXT_364 = "(adapterFactory";
+ protected final String TEXT_365 = ", contentOutlineViewer";
+ protected final String TEXT_366 = ")";
+ protected final String TEXT_367 = ", new ";
+ protected final String TEXT_368 = "(editingDomain";
+ protected final String TEXT_369 = ".getResourceSet()";
+ protected final String TEXT_370 = ", contentOutlineViewer";
+ protected final String TEXT_371 = ", ";
+ protected final String TEXT_372 = ".getPlugin().getDialogSettings()";
+ protected final String TEXT_373 = "))";
+ protected final String TEXT_374 = ")";
+ protected final String TEXT_375 = ");" + NL
+ + "\t\t\t\t\tcontentOutlineViewer.setInput(editingDomain.getResourceSet());" + NL;
+ protected final String TEXT_376 = NL + "\t\t\t\t\tnew ";
+ protected final String TEXT_377 = "(contentOutlineViewer, new ";
+ protected final String TEXT_378 = ".EditingDomainLocationListener(editingDomain, contentOutlineViewer));" + NL;
+ protected final String TEXT_379 = NL
+ + "\t\t\t\t\t// Make sure our popups work."
+ + NL
+ + "\t\t\t\t\t//"
+ + NL
+ + "\t\t\t\t\tcreateContextMenuFor(contentOutlineViewer);"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t\t\tif (!editingDomain.getResourceSet().getResources().isEmpty())"
+ + NL
+ + "\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t // Select the root object in the view."
+ + NL
+ + "\t\t\t\t\t //"
+ + NL
+ + "\t\t\t\t\t contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);"
+ + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL;
+ protected final String TEXT_380 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_381 = NL
+ + "\t\t\t\tpublic void makeContributions(IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager)"
+ + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tsuper.makeContributions(menuManager, toolBarManager, statusLineManager);" + NL
+ + "\t\t\t\t\tcontentOutlineStatusLineManager = statusLineManager;" + NL + "\t\t\t\t}" + NL;
+ protected final String TEXT_382 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_383 = NL + "\t\t\t\tpublic void setActionBars(IActionBars actionBars)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.setActionBars(actionBars);" + NL
+ + "\t\t\t\t\tgetActionBarContributor().shareGlobalActions(this, actionBars);" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}" + NL + "" + NL + "\t\t\tcontentOutlinePage = new MyContentOutlinePage();" + NL + "" + NL
+ + "\t\t\t// Listen to selection so that we can handle it is a special way." + NL + "\t\t\t//" + NL
+ + "\t\t\tcontentOutlinePage.addSelectionChangedListener" + NL + "\t\t\t\t(new ISelectionChangedListener()"
+ + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t // This ensures that we handle selections correctly." + NL
+ + "\t\t\t\t\t //" + NL + "\t\t\t\t\t public void selectionChanged(SelectionChangedEvent event)" + NL
+ + "\t\t\t\t\t {" + NL + "\t\t\t\t\t\t handleContentOutlineSelection(event.getSelection());" + NL
+ + "\t\t\t\t\t }" + NL + "\t\t\t\t });" + NL + "\t\t}" + NL + "" + NL + "\t\treturn contentOutlinePage;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This accesses a cached version of the property sheet."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic IPropertySheetPage getPropertySheetPage()" + NL + "\t{" + NL
+ + "\t\tPropertySheetPage propertySheetPage =" + NL + "\t\t\tnew ExtendedPropertySheetPage(editingDomain";
+ protected final String TEXT_384 = ", ExtendedPropertySheetPage.Decoration.MANUAL";
+ protected final String TEXT_385 = ", ExtendedPropertySheetPage.Decoration.LIVE, ";
+ protected final String TEXT_386 = ".getPlugin().getDialogSettings()";
+ protected final String TEXT_387 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_388 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_389 = NL + "\t\t\t\tpublic void setSelectionToViewer(";
+ protected final String TEXT_390 = " selection)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_391 = ".this.setSelectionToViewer(selection);" + NL + "\t\t\t\t\t";
+ protected final String TEXT_392 = ".this.setFocus();" + NL + "\t\t\t\t}" + NL;
+ protected final String TEXT_393 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_394 = NL + "\t\t\t\tpublic void setActionBars(IActionBars actionBars)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.setActionBars(actionBars);" + NL
+ + "\t\t\t\t\tgetActionBarContributor().shareGlobalActions(this, actionBars);" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t};" + NL
+ + "\t\tpropertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory));"
+ + NL + "\t\tpropertySheetPages.add(propertySheetPage);" + NL + "" + NL + "\t\treturn propertySheetPage;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This deals with how we want selection in the outliner to affect the other views." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void handleContentOutlineSelection(ISelection selection)" + NL + "\t{";
+ protected final String TEXT_395 = NL
+ + "\t\tif (currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection)";
+ protected final String TEXT_396 = NL
+ + "\t\tif (selectionViewer != null && !selection.isEmpty() && selection instanceof IStructuredSelection)";
+ protected final String TEXT_397 = NL + "\t\t{" + NL + "\t\t\tIterator";
+ protected final String TEXT_398 = "<?>";
+ protected final String TEXT_399 = " selectedElements = ((IStructuredSelection)selection).iterator();" + NL
+ + "\t\t\tif (selectedElements.hasNext())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Get the first selected element." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tObject selectedElement = selectedElements.next();" + NL;
+ protected final String TEXT_400 = NL
+ + "\t\t\t\t// If it's the selection viewer, then we want it to select the same selection as this selection."
+ + NL + "\t\t\t\t//" + NL + "\t\t\t\tif (currentViewerPane.getViewer() == selectionViewer)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_401 = " selectionList = new ";
+ protected final String TEXT_402 = "();" + NL + "\t\t\t\t\tselectionList.add(selectedElement);" + NL
+ + "\t\t\t\t\twhile (selectedElements.hasNext())" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tselectionList.add(selectedElements.next());" + NL + "\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\t// Set the selection to the widget." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tselectionViewer.setSelection(new StructuredSelection(selectionList));" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t// Set the input to the widget." + NL
+ + "\t\t\t\t\t//" + NL + "\t\t\t\t\tif (currentViewerPane.getViewer().getInput() != selectedElement)" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tcurrentViewerPane.getViewer().setInput(selectedElement);" + NL
+ + "\t\t\t\t\t\tcurrentViewerPane.setTitle(selectedElement);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}";
+ protected final String TEXT_403 = NL + "\t\t\t\t";
+ protected final String TEXT_404 = " selectionList = new ";
+ protected final String TEXT_405 = "();" + NL + "\t\t\t\tselectionList.add(selectedElement);" + NL
+ + "\t\t\t\twhile (selectedElements.hasNext())" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tselectionList.add(selectedElements.next());" + NL + "\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t// Set the selection to the widget." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tselectionViewer.setSelection(new StructuredSelection(selectionList));";
+ protected final String TEXT_406 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is for implementing {@link IEditorPart} and simply tests the command stack." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_407 = NL + "\t@Override";
+ protected final String TEXT_408 = NL + "\tpublic boolean isDirty()" + NL + "\t{" + NL
+ + "\t\treturn ((BasicCommandStack)editingDomain.getCommandStack()).isSaveNeeded();" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * This is for implementing {@link IEditorPart} and simply saves the model file."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_409 = NL + "\t@Override";
+ protected final String TEXT_410 = NL + "\tpublic void doSave(IProgressMonitor progressMonitor)" + NL + "\t{" + NL
+ + "\t\t// Save only resources that have actually changed." + NL + "\t\t//" + NL + "\t\tfinal ";
+ protected final String TEXT_411 = " saveOptions = new ";
+ protected final String TEXT_412 = "();";
+ protected final String TEXT_413 = NL
+ + "\t\tsaveOptions.put(Resource.OPTION_SAVE_ONLY_IF_CHANGED, Resource.OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER);";
+ protected final String TEXT_414 = NL
+ + "\t\tsaveOptions.put(Resource.OPTION_LINE_DELIMITER, Resource.OPTION_LINE_DELIMITER_UNSPECIFIED);";
+ protected final String TEXT_415 = NL
+ + NL
+ + "\t\t// Do the work within an operation because this is a long running activity that modifies the workbench."
+ + NL + "\t\t//" + NL + "\t\t";
+ protected final String TEXT_416 = " operation =" + NL + "\t\t\tnew ";
+ protected final String TEXT_417 = "()" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// This is the method that gets invoked when the operation runs." + NL + "\t\t\t\t//";
+ protected final String TEXT_418 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_419 = NL + "\t\t\t\tpublic void ";
+ protected final String TEXT_420 = "(IProgressMonitor monitor)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\t// Save the resources to the file system." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tboolean first = true;";
+ protected final String TEXT_421 = NL
+ + "\t\t\t\t\tfor (Resource resource : editingDomain.getResourceSet().getResources())";
+ protected final String TEXT_422 = NL
+ + "\t\t\t\t\tfor (Iterator i = editingDomain.getResourceSet().getResources().iterator(); i.hasNext(); )";
+ protected final String TEXT_423 = NL + "\t\t\t\t\t{";
+ protected final String TEXT_424 = NL + "\t\t\t\t\t\tResource resource = (Resource)i.next();";
+ protected final String TEXT_425 = NL
+ + "\t\t\t\t\t\tif ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource))"
+ + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\ttry" + NL + "\t\t\t\t\t\t\t{";
+ protected final String TEXT_426 = NL + "\t\t\t\t\t\t\t\tlong timeStamp = resource.getTimeStamp();" + NL
+ + "\t\t\t\t\t\t\t\tresource.save(saveOptions);" + NL
+ + "\t\t\t\t\t\t\t\tif (resource.getTimeStamp() != timeStamp)" + NL + "\t\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\t\tsavedResources.add(resource);" + NL + "\t\t\t\t\t\t\t\t}";
+ protected final String TEXT_427 = NL + "\t\t\t\t\t\t\t\tresource.save(saveOptions);" + NL
+ + "\t\t\t\t\t\t\t\tsavedResources.add(resource);";
+ protected final String TEXT_428 = NL + "\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\tcatch (Exception exception)" + NL
+ + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));"
+ + NL + "\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\tfirst = false;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}"
+ + NL + "\t\t\t\t}" + NL + "\t\t\t};" + NL + "" + NL + "\t\tupdateProblemIndication = false;" + NL
+ + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t// This runs the options, and shows progress." + NL + "\t\t\t//"
+ + NL + "\t\t\tnew ProgressMonitorDialog(getSite().getShell()).run(true, false, operation);" + NL + "" + NL
+ + "\t\t\t// Refresh the necessary state." + NL + "\t\t\t//" + NL
+ + "\t\t\t((BasicCommandStack)editingDomain.getCommandStack()).saveIsDone();" + NL
+ + "\t\t\tfirePropertyChange(IEditorPart.PROP_DIRTY);" + NL + "\t\t}" + NL
+ + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL + "\t\t\t// Something went wrong that shouldn't."
+ + NL + "\t\t\t//" + NL + "\t\t\t";
+ protected final String TEXT_429 = ".INSTANCE.log(exception);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\tupdateProblemIndication = true;"
+ + NL
+ + "\t\tupdateProblemIndication();"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This returns whether something has been persisted to the URI of the specified resource."
+ + NL
+ + "\t * The implementation uses the URI converter from the editor's resource set to try to open an input stream."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected boolean isPersisted(Resource resource)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tboolean result = false;"
+ + NL
+ + "\t\ttry"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tInputStream stream = editingDomain.getResourceSet().getURIConverter().createInputStream(resource.getURI());"
+ + NL + "\t\t\tif (stream != null)" + NL + "\t\t\t{" + NL + "\t\t\t\tresult = true;" + NL
+ + "\t\t\t\tstream.close();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (IOException e)" + NL
+ + "\t\t{" + NL + "\t\t\t// Ignore" + NL + "\t\t}" + NL + "\t\treturn result;" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * This always returns true because it is not currently supported." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_430 = NL + "\t@Override";
+ protected final String TEXT_431 = NL + "\tpublic boolean isSaveAsAllowed()" + NL + "\t{" + NL + "\t\treturn true;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This also changes the editor's input." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_432 = NL + "\t@Override";
+ protected final String TEXT_433 = NL + "\tpublic void doSaveAs()" + NL + "\t{";
+ protected final String TEXT_434 = NL + "\t\tnew ";
+ protected final String TEXT_435 = "(getSite().getShell(), null, SWT.NONE)" + NL + "\t\t\t{";
+ protected final String TEXT_436 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_437 = NL + "\t\t\t\tprotected boolean isSave()" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\treturn true;" + NL + "\t\t\t\t}" + NL;
+ protected final String TEXT_438 = NL + "\t\t\t\t@Override";
+ protected final String TEXT_439 = NL + "\t\t\t\tprotected boolean processResources()" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\t";
+ protected final String TEXT_440 = " uris = getURIs();" + NL + "\t\t\t\t\tif (uris.size() > 0)" + NL + "\t\t\t\t\t{"
+ + NL + "\t\t\t\t\t\tURI uri = ";
+ protected final String TEXT_441 = "uris.get(0);" + NL + "\t\t\t\t\t\tdoSaveAs(uri, new ";
+ protected final String TEXT_442 = "(uri));" + NL + "\t\t\t\t\t\treturn true;" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\telse" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\treturn false;" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}.open();";
+ protected final String TEXT_443 = NL + "\t\tString[] filters = ";
+ protected final String TEXT_444 = "(String[])";
+ protected final String TEXT_445 = "FILE_EXTENSION_FILTERS.toArray(new String[FILE_EXTENSION_FILTERS.size()]);" + NL
+ + "\t\tString[] files = ";
+ protected final String TEXT_446 = ".openFilePathDialog(getSite().getShell(), ";
+ protected final String TEXT_447 = ".SAVE, filters);" + NL + "\t\tif (files.length > 0)" + NL + "\t\t{" + NL
+ + "\t\t\tURI uri = URI.createFileURI(files[0]);" + NL + "\t\t\tdoSaveAs(uri, new ";
+ protected final String TEXT_448 = "(uri));" + NL + "\t\t}";
+ protected final String TEXT_449 = NL
+ + "\t\tSaveAsDialog saveAsDialog = new SaveAsDialog(getSite().getShell());"
+ + NL
+ + "\t\tsaveAsDialog.open();"
+ + NL
+ + "\t\tIPath path = saveAsDialog.getResult();"
+ + NL
+ + "\t\tif (path != null)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tIFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);"
+ + NL
+ + "\t\t\tif (file != null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tdoSaveAs(URI.createPlatformResourceURI(file.getFullPath().toString(), true), new FileEditorInput(file));"
+ + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_450 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected void doSaveAs(URI uri, IEditorInput editorInput)" + NL + "\t{" + NL + "\t\t(";
+ protected final String TEXT_451 = "(Resource)";
+ protected final String TEXT_452 = "editingDomain.getResourceSet().getResources().get(0)).setURI(uri);" + NL
+ + "\t\tsetInputWithNotify(editorInput);" + NL + "\t\tsetPartName(editorInput.getName());" + NL
+ + "\t\tIProgressMonitor progressMonitor =" + NL + "\t\t\tgetActionBars().getStatusLineManager() != null ?"
+ + NL + "\t\t\t\tgetActionBars().getStatusLineManager().getProgressMonitor() :" + NL + "\t\t\t\tnew ";
+ protected final String TEXT_453 = "();" + NL + "\t\tdoSave(progressMonitor);" + NL + "\t}";
+ protected final String TEXT_454 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void gotoMarker(IMarker marker)" + NL + "\t{";
+ protected final String TEXT_455 = NL + "\t\t";
+ protected final String TEXT_456 = " targetObjects = markerHelper.getTargetObjects(editingDomain, marker);" + NL
+ + "\t\tif (!targetObjects.isEmpty())" + NL + "\t\t{" + NL + "\t\t\tsetSelectionToViewer(targetObjects);"
+ + NL + "\t\t}";
+ protected final String TEXT_457 = NL + "\t\ttry" + NL + "\t\t{" + NL
+ + "\t\t\tif (marker.isSubtypeOf(EValidator.MARKER))" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tString uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);" + NL
+ + "\t\t\t\tif (uriAttribute != null)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tURI uri = URI.createURI(uriAttribute);" + NL
+ + "\t\t\t\t\tEObject eObject = editingDomain.getResourceSet().getEObject(uri, true);" + NL
+ + "\t\t\t\t\tif (eObject != null)" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));" + NL
+ + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL
+ + "\t\tcatch (CoreException exception)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_458 = ".INSTANCE.log(exception);" + NL + "\t\t}";
+ protected final String TEXT_459 = NL + "\t}";
+ protected final String TEXT_460 = NL + NL + "\t/**" + NL + "\t * This is called during startup." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_461 = NL + "\t@Override";
+ protected final String TEXT_462 = NL + "\tpublic void init(IEditorSite site, IEditorInput editorInput)" + NL
+ + "\t{" + NL + "\t\tsetSite(site);" + NL + "\t\tsetInputWithNotify(editorInput);" + NL
+ + "\t\tsetPartName(editorInput.getName());" + NL + "\t\tsite.setSelectionProvider(this);" + NL
+ + "\t\tsite.getPage().addPartListener(partListener);";
+ protected final String TEXT_463 = NL
+ + "\t\tResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);";
+ protected final String TEXT_464 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_465 = NL + "\t@Override";
+ protected final String TEXT_466 = NL + "\tpublic void setFocus()" + NL + "\t{";
+ protected final String TEXT_467 = NL + "\t\tif (currentViewerPane != null)" + NL + "\t\t{" + NL
+ + "\t\t\tcurrentViewerPane.setFocus();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL
+ + "\t\t\tgetControl(getActivePage()).setFocus();" + NL + "\t\t}";
+ protected final String TEXT_468 = NL + "\t\tgetControl(getActivePage()).setFocus();";
+ protected final String TEXT_469 = NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic void addSelectionChangedListener(ISelectionChangedListener listener)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tselectionChangedListeners.add(listener);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic void removeSelectionChangedListener(ISelectionChangedListener listener)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tselectionChangedListeners.remove(listener);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic ISelection getSelection()"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn editorSelection;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to set this editor's overall selection."
+ + NL + "\t * Calling this result will notify the listeners." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void setSelection(ISelection selection)" + NL + "\t{" + NL + "\t\teditorSelection = selection;"
+ + NL;
+ protected final String TEXT_470 = NL + "\t\tfor (ISelectionChangedListener listener : selectionChangedListeners)";
+ protected final String TEXT_471 = NL
+ + "\t\tfor (Iterator listeners = selectionChangedListeners.iterator(); listeners.hasNext(); )";
+ protected final String TEXT_472 = NL + "\t\t{";
+ protected final String TEXT_473 = NL
+ + "\t\t\tISelectionChangedListener listener = (ISelectionChangedListener)listeners.next();";
+ protected final String TEXT_474 = NL
+ + "\t\t\tlistener.selectionChanged(new SelectionChangedEvent(this, selection));"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\tsetStatusLineManager(selection);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic void setStatusLineManager(ISelection selection)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tIStatusLineManager statusLineManager = currentViewer != null && currentViewer == contentOutlineViewer ?"
+ + NL + "\t\t\tcontentOutlineStatusLineManager : getActionBars().getStatusLineManager();" + NL + "" + NL
+ + "\t\tif (statusLineManager != null)" + NL + "\t\t{" + NL
+ + "\t\t\tif (selection instanceof IStructuredSelection)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_475 = " collection = ((IStructuredSelection)selection).toList();" + NL
+ + "\t\t\t\tswitch (collection.size())" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tcase 0:" + NL + "\t\t\t\t\t{"
+ + NL + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_NoObjectSelected\"));";
+ protected final String TEXT_476 = NL
+ + "\t\t\t\t\t\tbreak;"
+ + NL
+ + "\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\tcase 1:"
+ + NL
+ + "\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\tString text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());"
+ + NL + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_SingleObjectSelected\", text));";
+ protected final String TEXT_477 = NL
+ + "\t\t\t\t\t\tbreak;"
+ + NL
+ + "\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\tdefault:"
+ + NL
+ + "\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_MultiObjectSelected\", Integer.toString(collection.size())));";
+ protected final String TEXT_478 = NL + "\t\t\t\t\t\tbreak;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}" + NL + "\t\t\telse" + NL + "\t\t\t{" + NL + "\t\t\t\tstatusLineManager.setMessage(\"\");";
+ protected final String TEXT_479 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This looks up a string in the plugin's plugin.properties file." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String getString(String key)" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_480 = ".INSTANCE.getString(key);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This looks up a string in plugin.properties, making a substitution." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String getString(String key, Object s1)" + NL + "\t{" + NL
+ + "\t\treturn ";
+ protected final String TEXT_481 = ".INSTANCE.getString(key, new Object [] { s1 });"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.action.IMenuListener} to help fill the context menus with contributions from the Edit menu."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void menuAboutToShow(IMenuManager menuManager)" + NL + "\t{" + NL
+ + "\t\t((IMenuListener)getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic EditingDomainActionBarContributor getActionBarContributor()" + NL + "\t{" + NL
+ + "\t\treturn (EditingDomainActionBarContributor)getEditorSite().getActionBarContributor();" + NL + "\t}"
+ + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic IActionBars getActionBars()" + NL + "\t{" + NL
+ + "\t\treturn getActionBarContributor().getActionBars();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic AdapterFactory getAdapterFactory()" + NL + "\t{" + NL
+ + "\t\treturn adapterFactory;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_482 = NL + "\t@Override";
+ protected final String TEXT_483 = NL + "\tpublic void dispose()" + NL + "\t{" + NL
+ + "\t\tupdateProblemIndication = false;" + NL;
+ protected final String TEXT_484 = NL
+ + "\t\tResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);" + NL;
+ protected final String TEXT_485 = NL + "\t\tgetSite().getPage().removePartListener(partListener);" + NL + "" + NL
+ + "\t\tadapterFactory.dispose();" + NL + "" + NL
+ + "\t\tif (getActionBarContributor().getActiveEditor() == this)" + NL + "\t\t{" + NL
+ + "\t\t\tgetActionBarContributor().setActiveEditor(null);" + NL + "\t\t}" + NL;
+ protected final String TEXT_486 = NL + "\t\tfor (PropertySheetPage propertySheetPage : propertySheetPages)";
+ protected final String TEXT_487 = NL + "\t\tfor (Iterator i = propertySheetPages.iterator(); i.hasNext(); )";
+ protected final String TEXT_488 = NL + "\t\t{";
+ protected final String TEXT_489 = NL + "\t\t\tPropertySheetPage propertySheetPage = (PropertySheetPage)i.next();";
+ protected final String TEXT_490 = NL + "\t\t\tpropertySheetPage.dispose();" + NL + "\t\t}" + NL + "" + NL
+ + "\t\tif (contentOutlinePage != null)" + NL + "\t\t{" + NL + "\t\t\tcontentOutlinePage.dispose();" + NL
+ + "\t\t}" + NL + "" + NL + "\t\tsuper.dispose();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns whether the outline view should be presented to the user." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected boolean showOutlineView()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_491 = ";" + NL + "\t}" + NL + "}";
+ protected final String TEXT_492 = NL;
+ protected final String TEXT_493 = NL;
+ protected final String TEXT_494 = NL;
+
+ public Editor() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_493);
+ stringBuffer.append(TEXT_494);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getEditorDirectory();
+ packageName = genPackage.getPresentationPackageName();
+ className = genPackage.getEditorClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ String importedOperationClassName = genModel
+ .getImportedName(genModel.isRichClientPlatform() ? "org.eclipse.jface.operation.IRunnableWithProgress"
+ : "org.eclipse.ui.actions.WorkspaceModifyOperation");
+ String operationMethodName = genModel.isRichClientPlatform() ? "run" : "execute";
+ String _ArrayListOfObject = "ArrayList" + (genModel.useGenerics() ? "<Object>" : "");
+ String _ArrayListOfSelectionChangedListener = "ArrayList"
+ + (genModel.useGenerics() ? "<ISelectionChangedListener>" : "");
+ String _CollectionOfSelectionChangedListener = "Collection"
+ + (genModel.useGenerics() ? "<ISelectionChangedListener>" : "");
+ String _ArrayListOfResource = "ArrayList" + (genModel.useGenerics() ? "<Resource>" : "");
+ String _CollectionOfResource = "Collection" + (genModel.useGenerics() ? "<Resource>" : "");
+ String _MapOfResourceToDiagnostic = "Map" + (genModel.useGenerics() ? "<Resource, Diagnostic>" : "");
+ String _HashMapOfResourceToBoolean = "HashMap" + (genModel.useGenerics() ? "<Resource, Boolean>" : "");
+ String _MapOfObjectToObject = "Map" + (genModel.useGenerics() ? "<Object, Object>" : "");
+ String _HashMapOfObjectToObject = "HashMap" + (genModel.useGenerics() ? "<Object, Object>" : "");
+ String _LinkedHashMapOfResourceToDiagnostic = "LinkedHashMap"
+ + (genModel.useGenerics() ? "<Resource, Diagnostic>" : "");
+ String _CollectionOfAnything = "Collection" + (genModel.useGenerics() ? "<?>" : "");
+ String _ListOfAnything = "List" + (genModel.useGenerics() ? "<?>" : "");
+ boolean useExtendedLabelProvider = genModel.isStyleProviders() || genModel.isFontProviders()
+ || genModel.isColorProviders();
+ boolean useStyledLabelProvider = genModel.isStyleProviders();
+ String _AdapterFactoryLabelProvider = (useStyledLabelProvider ? "AdapterFactoryLabelProvider.StyledLabelProvider"
+ : "AdapterFactoryLabelProvider"
+ + (genModel.isFontProviders() && genModel.isColorProviders() ? ".FontAndColorProvider"
+ : genModel.isFontProviders() ? ".FontProvider"
+ : genModel.isColorProviders() ? ".ColorProvider" : ""));
+ String _DelegatingAdapterFactoryLabelProvider = useStyledLabelProvider ? genModel
+ .getImportedName("org.eclipse.emf.edit.ui.provider.DelegatingStyledCellLabelProvider")
+ + (genModel.isFontProviders() && genModel.isColorProviders() ? ".FontAndColorProvider" : genModel
+ .isFontProviders() ? ".FontProvider" : genModel.isColorProviders() ? ".ColorProvider" : "")
+ : "";
+ String _DecoratingColumLabelProvider = genModel.getDecoration() != GenDecoration.NONE ? genModel
+ .getImportedName("org.eclipse.emf.edit.ui.provider.DecoratingColumLabelProvider")
+ + (useStyledLabelProvider ? ".StyledLabelProvider" : "") : "";
+ String _DiagnosticDecorator = genModel.getDecoration() != GenDecoration.NONE ? genModel
+ .getImportedName("org.eclipse.emf.edit.ui.provider.DiagnosticDecorator")
+ + (useStyledLabelProvider ? ".Styled" : "") : "";
+ String _ArrayListOfString = "ArrayList" + (genModel.useGenerics() ? "<String>" : "");
+ String _ListOfString = "List" + (genModel.useGenerics() ? "<String>" : "");
+ String _ListOfPropertySheetPage = "List" + (genModel.useGenerics() ? "<PropertySheetPage>" : "");
+ String _ArrayListOfPropertySheetPage = "ArrayList" + (genModel.useGenerics() ? "<PropertySheetPage>" : "");
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getPresentationPackageName());
+ stringBuffer.append(TEXT_3);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_4);
+ }
+ stringBuffer.append(TEXT_5);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF29_VALUE) {
+ stringBuffer.append(TEXT_8);
+ }
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_13);
+ }
+ stringBuffer.append(TEXT_14);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF29_VALUE) {
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_17);
+ }
+ stringBuffer.append(TEXT_18);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ if (!genModel.isRichClientPlatform() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_29);
+ }
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ if (!genModel.isRichClientPlatform() && genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF23_VALUE) {
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(TEXT_33);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_34);
+ }
+ stringBuffer.append(TEXT_35);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {
+ stringBuffer.append(TEXT_36);
+ }
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_37);
+ }
+ if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_38);
+ }
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genPackage.getQualifiedItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_40);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_43);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_49);
+ }
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_50);
+ if (genPackage.isGenerateModelWizard()) {
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genPackage.getImportedModelWizardClassName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_54);
+ } else {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genModel.getImportedName("java.util.Arrays"));
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(genModel.getNonNLS(3));
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(_ArrayListOfString);
+ stringBuffer.append(TEXT_65);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_66);
+ } else {
+ stringBuffer.append(TEXT_67);
+ }
+ stringBuffer.append(TEXT_68);
+ }
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(_ListOfPropertySheetPage);
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(_ArrayListOfPropertySheetPage);
+ stringBuffer.append(TEXT_71);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_72);
+ }
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(_CollectionOfSelectionChangedListener);
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(_ArrayListOfSelectionChangedListener);
+ stringBuffer.append(TEXT_75);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_76);
+ }
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(_CollectionOfResource);
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(_ArrayListOfResource);
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(_CollectionOfResource);
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(_ArrayListOfResource);
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(_CollectionOfResource);
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(_ArrayListOfResource);
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(_MapOfResourceToDiagnostic);
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(_LinkedHashMapOfResourceToDiagnostic);
+ stringBuffer.append(TEXT_88);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_89);
+ }
+ stringBuffer.append(TEXT_90);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_91);
+ }
+ stringBuffer.append(TEXT_92);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_93);
+ }
+ stringBuffer.append(TEXT_94);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(_CollectionOfResource);
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(_ArrayListOfResource);
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(_CollectionOfResource);
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(_ArrayListOfResource);
+ stringBuffer.append(TEXT_99);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_100);
+ }
+ stringBuffer.append(TEXT_101);
+ if (genModel.getDecoration() == GenDecoration.NONE) {
+ stringBuffer.append(TEXT_102);
+ }
+ stringBuffer.append(TEXT_103);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_104);
+ }
+ stringBuffer.append(TEXT_105);
+ if (genModel.getDecoration() == GenDecoration.NONE) {
+ stringBuffer.append(TEXT_106);
+ } else {
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_108);
+ }
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(_CollectionOfResource);
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(_CollectionOfResource);
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_114);
+ }
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_116);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_117);
+ } else {
+ stringBuffer.append(TEXT_118);
+ }
+ stringBuffer.append(TEXT_119);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_120);
+ }
+ stringBuffer.append(TEXT_121);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {
+ stringBuffer.append(TEXT_122);
+ }
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genPackage.getGenModel().getEditorPluginID());
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_125);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_126);
+ } else {
+ stringBuffer.append(TEXT_127);
+ }
+ stringBuffer.append(TEXT_128);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_129);
+ }
+ stringBuffer.append(TEXT_130);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_131);
+ }
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_133);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_135);
+ }
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(TEXT_140);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.override" args="genPackage:genPackage,genModel:genModel,importedOperationClassName:importedOperationClassName,operationMethodName:operationMethodName,_ArrayListOfObject:_ArrayListOfObject,_ArrayListOfSelectionChangedListener:_ArrayListOfSelectionChangedListener,_CollectionOfSelectionChangedListener:_CollectionOfSelectionChangedListener,_ArrayListOfResource:_ArrayListOfResource,_CollectionOfResource:_CollectionOfResource,_MapOfResourceToDiagnostic:_MapOfResourceToDiagnostic,_HashMapOfResourceToBoolean:_HashMapOfResourceToBoolean,_MapOfObjectToObject:_MapOfObjectToObject,_HashMapOfObjectToObject:_HashMapOfObjectToObject,_LinkedHashMapOfResourceToDiagnostic:_LinkedHashMapOfResourceToDiagnostic,_CollectionOfAnything:_CollectionOfAnything,_ListOfAnything:_ListOfAnything,useExtendedLabelProvider:useExtendedLabelProvider,useStyledLabelProvider:useStyledLabelProvider,_AdapterFactoryLabelProvider:_AdapterFactoryLabelProvider,_DelegatingAdapterFactoryLabelProvider:_DelegatingAdapterFactoryLabelProvider,_DecoratingColumLabelProvider:_DecoratingColumLabelProvider,_DiagnosticDecorator:_DiagnosticDecorator,_ArrayListOfString:_ArrayListOfString,_ListOfString:_ListOfString,_ListOfPropertySheetPage:_ListOfPropertySheetPage,_ArrayListOfPropertySheetPage:_ArrayListOfPropertySheetPage"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("importedOperationClassName", importedOperationClassName);
+ callParameters.put("operationMethodName", operationMethodName);
+ callParameters.put("_ArrayListOfObject", _ArrayListOfObject);
+ callParameters.put("_ArrayListOfSelectionChangedListener", _ArrayListOfSelectionChangedListener);
+ callParameters.put("_CollectionOfSelectionChangedListener", _CollectionOfSelectionChangedListener);
+ callParameters.put("_ArrayListOfResource", _ArrayListOfResource);
+ callParameters.put("_CollectionOfResource", _CollectionOfResource);
+ callParameters.put("_MapOfResourceToDiagnostic", _MapOfResourceToDiagnostic);
+ callParameters.put("_HashMapOfResourceToBoolean", _HashMapOfResourceToBoolean);
+ callParameters.put("_MapOfObjectToObject", _MapOfObjectToObject);
+ callParameters.put("_HashMapOfObjectToObject", _HashMapOfObjectToObject);
+ callParameters.put("_LinkedHashMapOfResourceToDiagnostic", _LinkedHashMapOfResourceToDiagnostic);
+ callParameters.put("_CollectionOfAnything", _CollectionOfAnything);
+ callParameters.put("_ListOfAnything", _ListOfAnything);
+ callParameters.put("useExtendedLabelProvider", useExtendedLabelProvider);
+ callParameters.put("useStyledLabelProvider", useStyledLabelProvider);
+ callParameters.put("_AdapterFactoryLabelProvider", _AdapterFactoryLabelProvider);
+ callParameters.put("_DelegatingAdapterFactoryLabelProvider", _DelegatingAdapterFactoryLabelProvider);
+ callParameters.put("_DecoratingColumLabelProvider", _DecoratingColumLabelProvider);
+ callParameters.put("_DiagnosticDecorator", _DiagnosticDecorator);
+ callParameters.put("_ArrayListOfString", _ArrayListOfString);
+ callParameters.put("_ListOfString", _ListOfString);
+ callParameters.put("_ListOfPropertySheetPage", _ListOfPropertySheetPage);
+ callParameters.put("_ArrayListOfPropertySheetPage", _ArrayListOfPropertySheetPage);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_08-MQWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Editor/addItemproviderFactories.override.javajetinc"
+ stringBuffer.append(TEXT_141);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_142);
+ }
+ stringBuffer.append(TEXT_143);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_144);
+ }
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(_HashMapOfResourceToBoolean);
+ stringBuffer.append(TEXT_146);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_147);
+ }
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(_CollectionOfAnything);
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(_CollectionOfAnything);
+ stringBuffer.append(TEXT_150);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_151);
+ }
+ stringBuffer.append(TEXT_152);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_153);
+ }
+ stringBuffer.append(TEXT_154);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_155);
+ }
+ stringBuffer.append(TEXT_156);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_157);
+ }
+ stringBuffer.append(TEXT_158);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_159);
+ }
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_162);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {
+ stringBuffer.append(TEXT_163);
+ } else {
+ stringBuffer.append(TEXT_164);
+ }
+ stringBuffer.append(TEXT_165);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF29_VALUE) {
+ stringBuffer.append(TEXT_166);
+ }
+ stringBuffer.append(TEXT_167);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {
+ stringBuffer.append(TEXT_168);
+ } else if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_169);
+ } else {
+ stringBuffer.append(TEXT_170);
+ }
+ stringBuffer.append(TEXT_171);
+ stringBuffer.append(genPackage.getGenModel().getEditorPluginID());
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genPackage.getGenModel().getEditorPluginID());
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_177);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_178);
+ }
+ stringBuffer.append(TEXT_179);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_180);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_181);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_182);
+ }
+ stringBuffer.append(TEXT_183);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_184);
+ }
+ stringBuffer.append(TEXT_185);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_186);
+ stringBuffer.append(_DelegatingAdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_187);
+ }
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_188);
+ stringBuffer.append(_DecoratingColumLabelProvider);
+ stringBuffer.append(TEXT_189);
+ }
+ stringBuffer.append(TEXT_190);
+ stringBuffer.append(_AdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_191);
+ if (useExtendedLabelProvider) {
+ stringBuffer.append(TEXT_192);
+ }
+ stringBuffer.append(TEXT_193);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_195);
+ if (genModel.getDecoration() == GenDecoration.MANUAL) {
+ stringBuffer.append(TEXT_196);
+ }
+ stringBuffer.append(TEXT_197);
+ if (genModel.getDecoration() == GenDecoration.LIVE) {
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_199);
+ }
+ stringBuffer.append(TEXT_200);
+ }
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_201);
+ }
+ stringBuffer.append(TEXT_202);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_203);
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_205);
+ }
+ stringBuffer.append(TEXT_206);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_208);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_209);
+ }
+ stringBuffer.append(TEXT_210);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_211);
+ }
+ stringBuffer.append(TEXT_212);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_213);
+ stringBuffer.append(_DelegatingAdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_214);
+ }
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(_AdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_216);
+ if (useExtendedLabelProvider) {
+ stringBuffer.append(TEXT_217);
+ }
+ stringBuffer.append(TEXT_218);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_219);
+ }
+ stringBuffer.append(TEXT_220);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_221);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_222);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_223);
+ }
+ stringBuffer.append(TEXT_224);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_225);
+ }
+ stringBuffer.append(TEXT_226);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_227);
+ stringBuffer.append(_DelegatingAdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_228);
+ }
+ stringBuffer.append(TEXT_229);
+ stringBuffer.append(_AdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_230);
+ if (useExtendedLabelProvider) {
+ stringBuffer.append(TEXT_231);
+ }
+ stringBuffer.append(TEXT_232);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_233);
+ }
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_235);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_236);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_237);
+ }
+ stringBuffer.append(TEXT_238);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_239);
+ }
+ stringBuffer.append(TEXT_240);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_241);
+ stringBuffer.append(_DelegatingAdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_242);
+ }
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(_DecoratingColumLabelProvider);
+ stringBuffer.append(TEXT_244);
+ }
+ stringBuffer.append(TEXT_245);
+ stringBuffer.append(_AdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_246);
+ if (useExtendedLabelProvider) {
+ stringBuffer.append(TEXT_247);
+ }
+ stringBuffer.append(TEXT_248);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_249);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_250);
+ if (genModel.getDecoration() == GenDecoration.MANUAL) {
+ stringBuffer.append(TEXT_251);
+ }
+ stringBuffer.append(TEXT_252);
+ }
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_253);
+ }
+ stringBuffer.append(TEXT_254);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_255);
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer.append(TEXT_256);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_257);
+ }
+ stringBuffer.append(TEXT_258);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_259);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_260);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_261);
+ }
+ stringBuffer.append(TEXT_262);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_263);
+ }
+ stringBuffer.append(TEXT_264);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_265);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_266);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_267);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_268);
+ stringBuffer.append(_DelegatingAdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_269);
+ }
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_270);
+ stringBuffer.append(_DecoratingColumLabelProvider);
+ stringBuffer.append(TEXT_271);
+ }
+ stringBuffer.append(TEXT_272);
+ stringBuffer.append(_AdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_273);
+ if (useExtendedLabelProvider) {
+ stringBuffer.append(TEXT_274);
+ }
+ stringBuffer.append(TEXT_275);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_276);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_277);
+ if (genModel.getDecoration() == GenDecoration.MANUAL) {
+ stringBuffer.append(TEXT_278);
+ }
+ stringBuffer.append(TEXT_279);
+ if (genModel.getDecoration() == GenDecoration.LIVE) {
+ stringBuffer.append(TEXT_280);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_281);
+ }
+ stringBuffer.append(TEXT_282);
+ }
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_283);
+ }
+ stringBuffer.append(TEXT_284);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_285);
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer.append(TEXT_286);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_287);
+ }
+ stringBuffer.append(TEXT_288);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_289);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_290);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_291);
+ }
+ stringBuffer.append(TEXT_292);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_293);
+ }
+ stringBuffer.append(TEXT_294);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_295);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_296);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_297);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_298);
+ stringBuffer.append(_DelegatingAdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_299);
+ }
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_300);
+ stringBuffer.append(_DecoratingColumLabelProvider);
+ stringBuffer.append(TEXT_301);
+ }
+ stringBuffer.append(TEXT_302);
+ stringBuffer.append(_AdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_303);
+ if (useExtendedLabelProvider) {
+ stringBuffer.append(TEXT_304);
+ }
+ stringBuffer.append(TEXT_305);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_306);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_307);
+ if (genModel.getDecoration() == GenDecoration.MANUAL) {
+ stringBuffer.append(TEXT_308);
+ }
+ stringBuffer.append(TEXT_309);
+ if (genModel.getDecoration() == GenDecoration.LIVE) {
+ stringBuffer.append(TEXT_310);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_311);
+ }
+ stringBuffer.append(TEXT_312);
+ }
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_313);
+ }
+ stringBuffer.append(TEXT_314);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_315);
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer.append(TEXT_316);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_317);
+ }
+ stringBuffer.append(TEXT_318);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_319);
+ } else {
+ stringBuffer.append(TEXT_320);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_321);
+ stringBuffer.append(_DelegatingAdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_322);
+ }
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_323);
+ stringBuffer.append(_DecoratingColumLabelProvider);
+ stringBuffer.append(TEXT_324);
+ }
+ stringBuffer.append(TEXT_325);
+ stringBuffer.append(_AdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_326);
+ if (useExtendedLabelProvider) {
+ stringBuffer.append(TEXT_327);
+ }
+ stringBuffer.append(TEXT_328);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_329);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_330);
+ if (genModel.getDecoration() == GenDecoration.MANUAL) {
+ stringBuffer.append(TEXT_331);
+ }
+ stringBuffer.append(TEXT_332);
+ if (genModel.getDecoration() == GenDecoration.LIVE) {
+ stringBuffer.append(TEXT_333);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_334);
+ }
+ stringBuffer.append(TEXT_335);
+ }
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_336);
+ }
+ stringBuffer.append(TEXT_337);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_338);
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer.append(TEXT_339);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_340);
+ }
+ stringBuffer.append(TEXT_341);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_342);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_343);
+ }
+ stringBuffer.append(TEXT_344);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_345);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_346);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_347);
+ }
+ stringBuffer.append(TEXT_348);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_349);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_350);
+ } else {
+ stringBuffer.append(TEXT_351);
+ }
+ stringBuffer.append(TEXT_352);
+ }
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_353);
+ }
+ stringBuffer.append(TEXT_354);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_355);
+ }
+ stringBuffer.append(TEXT_356);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_357);
+ }
+ stringBuffer.append(TEXT_358);
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_359);
+ stringBuffer.append(_DelegatingAdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_360);
+ }
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_361);
+ stringBuffer.append(_DecoratingColumLabelProvider);
+ stringBuffer.append(TEXT_362);
+ }
+ stringBuffer.append(TEXT_363);
+ stringBuffer.append(_AdapterFactoryLabelProvider);
+ stringBuffer.append(TEXT_364);
+ if (useExtendedLabelProvider) {
+ stringBuffer.append(TEXT_365);
+ }
+ stringBuffer.append(TEXT_366);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_367);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_368);
+ if (genModel.getDecoration() == GenDecoration.MANUAL) {
+ stringBuffer.append(TEXT_369);
+ }
+ stringBuffer.append(TEXT_370);
+ if (genModel.getDecoration() == GenDecoration.LIVE) {
+ stringBuffer.append(TEXT_371);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_372);
+ }
+ stringBuffer.append(TEXT_373);
+ }
+ if (useStyledLabelProvider) {
+ stringBuffer.append(TEXT_374);
+ }
+ stringBuffer.append(TEXT_375);
+ if (genModel.getDecoration() != GenDecoration.NONE) {
+ stringBuffer.append(TEXT_376);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer.append(TEXT_377);
+ stringBuffer.append(_DiagnosticDecorator);
+ stringBuffer.append(TEXT_378);
+ }
+ stringBuffer.append(TEXT_379);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_380);
+ }
+ stringBuffer.append(TEXT_381);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_382);
+ }
+ stringBuffer.append(TEXT_383);
+ if (genModel.getDecoration() == GenDecoration.MANUAL) {
+ stringBuffer.append(TEXT_384);
+ } else if (genModel.getDecoration() == GenDecoration.LIVE) {
+ stringBuffer.append(TEXT_385);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_386);
+ }
+ stringBuffer.append(TEXT_387);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_388);
+ }
+ stringBuffer.append(TEXT_389);
+ stringBuffer.append(_ListOfAnything);
+ stringBuffer.append(TEXT_390);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_391);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_392);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_393);
+ }
+ stringBuffer.append(TEXT_394);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_395);
+ } else {
+ stringBuffer.append(TEXT_396);
+ }
+ stringBuffer.append(TEXT_397);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_398);
+ }
+ stringBuffer.append(TEXT_399);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_400);
+ stringBuffer.append(_ArrayListOfObject);
+ stringBuffer.append(TEXT_401);
+ stringBuffer.append(_ArrayListOfObject);
+ stringBuffer.append(TEXT_402);
+ } else {
+ stringBuffer.append(TEXT_403);
+ stringBuffer.append(_ArrayListOfObject);
+ stringBuffer.append(TEXT_404);
+ stringBuffer.append(_ArrayListOfObject);
+ stringBuffer.append(TEXT_405);
+ }
+ stringBuffer.append(TEXT_406);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_407);
+ }
+ stringBuffer.append(TEXT_408);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_409);
+ }
+ stringBuffer.append(TEXT_410);
+ stringBuffer.append(_MapOfObjectToObject);
+ stringBuffer.append(TEXT_411);
+ stringBuffer.append(_HashMapOfObjectToObject);
+ stringBuffer.append(TEXT_412);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {
+ stringBuffer.append(TEXT_413);
+ }
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF29_VALUE) {
+ stringBuffer.append(TEXT_414);
+ }
+ stringBuffer.append(TEXT_415);
+ stringBuffer.append(importedOperationClassName);
+ stringBuffer.append(TEXT_416);
+ stringBuffer.append(importedOperationClassName);
+ stringBuffer.append(TEXT_417);
+ if (!genModel.isRichClientPlatform() && genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_418);
+ }
+ stringBuffer.append(TEXT_419);
+ stringBuffer.append(operationMethodName);
+ stringBuffer.append(TEXT_420);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_421);
+ } else {
+ stringBuffer.append(TEXT_422);
+ }
+ stringBuffer.append(TEXT_423);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_424);
+ }
+ stringBuffer.append(TEXT_425);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {
+ stringBuffer.append(TEXT_426);
+ } else {
+ stringBuffer.append(TEXT_427);
+ }
+ stringBuffer.append(TEXT_428);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_429);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_430);
+ }
+ stringBuffer.append(TEXT_431);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_432);
+ }
+ stringBuffer.append(TEXT_433);
+ if (genModel.isRichClientPlatform()) {
+ if (genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_434);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.dialogs.ResourceDialog"));
+ stringBuffer.append(TEXT_435);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_436);
+ }
+ stringBuffer.append(TEXT_437);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_438);
+ }
+ stringBuffer.append(TEXT_439);
+ stringBuffer.append("List" + (genModel.useGenerics() ? "<URI>" : ""));
+ stringBuffer.append(TEXT_440);
+ stringBuffer.append(genModel.useGenerics() ? "" : "(URI)");
+ stringBuffer.append(TEXT_441);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.URIEditorInput"));
+ stringBuffer.append(TEXT_442);
+ } else {
+ stringBuffer.append(TEXT_443);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_444);
+ }
+ stringBuffer.append(TEXT_445);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditorAdvisorClassName()));
+ stringBuffer.append(TEXT_446);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.swt.SWT"));
+ stringBuffer.append(TEXT_447);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.URIEditorInput"));
+ stringBuffer.append(TEXT_448);
+ }
+ } else {
+ stringBuffer.append(TEXT_449);
+ }
+ stringBuffer.append(TEXT_450);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_451);
+ }
+ stringBuffer.append(TEXT_452);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.core.runtime.NullProgressMonitor"));
+ stringBuffer.append(TEXT_453);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_454);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {
+ stringBuffer.append(TEXT_455);
+ stringBuffer.append(_ListOfAnything);
+ stringBuffer.append(TEXT_456);
+ } else {
+ stringBuffer.append(TEXT_457);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_458);
+ }
+ stringBuffer.append(TEXT_459);
+ }
+ stringBuffer.append(TEXT_460);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_461);
+ }
+ stringBuffer.append(TEXT_462);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_463);
+ }
+ stringBuffer.append(TEXT_464);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_465);
+ }
+ stringBuffer.append(TEXT_466);
+ if (genPackage.isMultipleEditorPages()) {
+ stringBuffer.append(TEXT_467);
+ } else {
+ stringBuffer.append(TEXT_468);
+ }
+ stringBuffer.append(TEXT_469);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_470);
+ } else {
+ stringBuffer.append(TEXT_471);
+ }
+ stringBuffer.append(TEXT_472);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_473);
+ }
+ stringBuffer.append(TEXT_474);
+ stringBuffer.append(_CollectionOfAnything);
+ stringBuffer.append(TEXT_475);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_476);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_477);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_478);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_479);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_480);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_481);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_482);
+ }
+ stringBuffer.append(TEXT_483);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_484);
+ }
+ stringBuffer.append(TEXT_485);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_486);
+ } else {
+ stringBuffer.append(TEXT_487);
+ }
+ stringBuffer.append(TEXT_488);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_489);
+ }
+ stringBuffer.append(TEXT_490);
+ stringBuffer.append(genPackage.isMultipleEditorPages());
+ stringBuffer.append(TEXT_491);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_492);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate
+ && (genPackage.hasConcreteClasses() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/EntryPoint.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/EntryPoint.java
new file mode 100644
index 0000000..6d67dde
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/EntryPoint.java
@@ -0,0 +1,252 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class EntryPoint extends org.eclipse.egf.emf.pattern.base.GenModelJava {
+ protected static String nl;
+
+ public static synchronized EntryPoint create(String lineSeparator) {
+ nl = lineSeparator;
+ EntryPoint result = new EntryPoint();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL + "" + NL + "import org.eclipse.emf.edit.ui.EditorEntryPoint;";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the entry point." + NL
+ + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL
+ + "public class ";
+ protected final String TEXT_5 = " extends EditorEntryPoint" + NL + "{";
+ protected final String TEXT_6 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_7 = " copyright = ";
+ protected final String TEXT_8 = ";";
+ protected final String TEXT_9 = NL + "\t";
+ protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tpublic void onModuleLoad()" + NL + "\t{" + NL + "\t\tsuper.onModuleLoad();" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tprotected void registerPackages(";
+ protected final String TEXT_11 = ".Registry packageRegistry)" + NL + "\t{";
+ protected final String TEXT_12 = NL + "\t\tpackageRegistry.put(";
+ protected final String TEXT_13 = ".eNS_URI, ";
+ protected final String TEXT_14 = ".eINSTANCE);";
+ protected final String TEXT_15 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tprotected void configureItemProviderAdapterFactories(";
+ protected final String TEXT_16 = " adapterFactory)" + NL + "\t{";
+ protected final String TEXT_17 = NL + "\t\tadapterFactory.addAdapterFactory(new ";
+ protected final String TEXT_18 = "());";
+ protected final String TEXT_19 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tprotected String getApplicationTitle()" + NL + "\t{" + NL + "\t\treturn \"";
+ protected final String TEXT_20 = " Application\";";
+ protected final String TEXT_21 = NL + "\t}" + NL + "}";
+ protected final String TEXT_22 = NL;
+ protected final String TEXT_23 = NL;
+ protected final String TEXT_24 = NL;
+
+ public EntryPoint() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(TEXT_24);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPath = genModel.getEditorPluginDirectory();
+ packageName = genModel.getEditorPluginPackageName();
+ className = genModel.getEditorEntryPointClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 20010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getEditorPluginPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getEditorEntryPointClassName());
+ stringBuffer.append(TEXT_5);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_11);
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.ComposedAdapterFactory"));
+ stringBuffer.append(TEXT_16);
+ for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genPackage.getImportedItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_18);
+ }
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_21);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_22);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/HomeHTML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/HomeHTML.java
new file mode 100644
index 0000000..edc15bc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/HomeHTML.java
@@ -0,0 +1,197 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class HomeHTML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized HomeHTML create(String lineSeparator) {
+ nl = lineSeparator;
+ HomeHTML result = new HomeHTML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<!doctype html>" + NL
+ + "<html style=\"height : 100%\"> " + NL + " <head>" + NL
+ + " <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">" + NL + "" + NL
+ + " <!-- -->" + NL
+ + " <!-- Any title is fine -->" + NL
+ + " <!-- -->" + NL + " <title>";
+ protected final String TEXT_2 = " Application</title>" + NL + " " + NL + " <style TYPE=\"text/css\">" + NL
+ + " <!--" + NL + " .ToolBar" + NL + " {" + NL + " background-color: #d0e4f6;"
+ + NL + " }" + NL + " .ToolBarButton" + NL + " {" + NL + " float: left;" + NL
+ + " margin-top: 5px;" + NL + " }" + NL + " .ToolBarButtonLeftMargin" + NL
+ + " {" + NL + " float: left;" + NL + " margin-left: 10px;" + NL
+ + " margin-top: 5px;" + NL + " }" + NL + " .Header" + NL + " {" + NL
+ + " background-color: #628cd5;" + NL + " color: #FFFFFF;" + NL + " float: left;"
+ + NL + " font-weight: bold;" + NL + " font-size: xx-large;" + NL + " }" + NL
+ + " .HeaderLabel" + NL + " {" + NL + " float: left;" + NL
+ + " margin-left: 10px;" + NL + " }" + NL + " .PropertiesTitle" + NL + " {"
+ + NL + " background-color: #628cd5;" + NL + " color: #FFFFFF;" + NL
+ + " font-weight: bold;" + NL + " font-size: large;" + NL + " }" + NL
+ + " .PropertiesTitleLabel" + NL + " {" + NL + " float: left;" + NL
+ + " margin-left: 5px;" + NL + " }" + NL + " -->" + NL + " </style>" + NL + "" + NL
+ + " <!-- -->" + NL
+ + " <!-- This script loads your compiled module. -->" + NL
+ + " <!-- If you add any GWT meta tags, they must -->" + NL
+ + " <!-- be added before this line. -->" + NL
+ + " <script type=\"text/javascript\" language=\"javascript\" src=\"";
+ protected final String TEXT_3 = "/";
+ protected final String TEXT_4 = ".nocache.js\"></script>" + NL + " </head>" + NL + "" + NL
+ + " <body style=\"height : 100%\">" + NL + " <div id=\"main\" style=\"height : 100%\">" + NL
+ + " </div>" + NL + " </body>" + NL + "</html>" + NL;
+ protected final String TEXT_5 = NL;
+ protected final String TEXT_6 = NL;
+
+ public HomeHTML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditorProjectDirectory() + "/war/" + genModel.getEditorHomePageName() + ".html";
+ overwrite = false;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getQualifiedEditorModuleName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genModel.getQualifiedEditorModuleName());
+ stringBuffer.append(TEXT_4);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ManifestMF.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ManifestMF.java
new file mode 100644
index 0000000..2c94385
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ManifestMF.java
@@ -0,0 +1,261 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ManifestMF extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized ManifestMF create(String lineSeparator) {
+ nl = lineSeparator;
+ ManifestMF result = new ManifestMF();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL
+ + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
+ protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL
+ + "Bundle-ClassPath: ";
+ protected final String TEXT_3 = ".jar";
+ protected final String TEXT_4 = ".";
+ protected final String TEXT_5 = NL + "Bundle-Activator: ";
+ protected final String TEXT_6 = "$Implementation";
+ protected final String TEXT_7 = NL + "Bundle-Vendor: %providerName" + NL + "Bundle-Localization: plugin";
+ protected final String TEXT_8 = NL + "Bundle-RequiredExecutionEnvironment: J2SE-1.5";
+ protected final String TEXT_9 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.6";
+ protected final String TEXT_10 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.7";
+ protected final String TEXT_11 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.8";
+ protected final String TEXT_12 = NL + "Export-Package: ";
+ protected final String TEXT_13 = ",";
+ protected final String TEXT_14 = NL + " ";
+ protected final String TEXT_15 = NL + "Require-Bundle: ";
+ protected final String TEXT_16 = ";visibility:=reexport";
+ protected final String TEXT_17 = ",";
+ protected final String TEXT_18 = NL + " ";
+ protected final String TEXT_19 = ";visibility:=reexport";
+ protected final String TEXT_20 = NL + "Import-Package: org.eclipse.emf.common.ui," + NL
+ + " org.eclipse.emf.common.ui.action," + NL + " org.eclipse.emf.common.ui.dialogs," + NL
+ + " org.eclipse.emf.common.ui.editor," + NL + " org.eclipse.emf.common.ui.viewer," + NL
+ + " org.eclipse.emf.edit.ui," + NL + " org.eclipse.emf.edit.ui.action," + NL
+ + " org.eclipse.emf.edit.ui.celleditor," + NL + " org.eclipse.emf.edit.ui.dnd," + NL
+ + " org.eclipse.emf.edit.ui.provider," + NL + " org.eclipse.emf.edit.ui.util," + NL
+ + " org.eclipse.emf.edit.ui.view," + NL + " org.eclipse.jface.action," + NL + " org.eclipse.jface.dialogs,"
+ + NL + " org.eclipse.jface.operation," + NL + " org.eclipse.jface.viewers," + NL
+ + " org.eclipse.jface.window," + NL + " org.eclipse.jface.wizard," + NL + " org.eclipse.swt," + NL
+ + " org.eclipse.swt.custom," + NL + " org.eclipse.swt.dnd," + NL + " org.eclipse.swt.events," + NL
+ + " org.eclipse.swt.graphics," + NL + " org.eclipse.swt.layout," + NL + " org.eclipse.swt.widgets," + NL
+ + " org.eclipse.ui;ui.workbench=\"split\"," + NL + " org.eclipse.ui.actions;ui.workbench=\"split\"," + NL
+ + " org.eclipse.ui.application," + NL + " org.eclipse.ui.part;ui.workbench=\"split\"," + NL
+ + " org.eclipse.ui.views," + NL + " org.eclipse.ui.views.contentoutline," + NL
+ + " org.eclipse.ui.views.properties;ui.views=\"split\"";
+ protected final String TEXT_21 = NL + "Eclipse-LazyStart: true";
+ protected final String TEXT_22 = NL + "Bundle-ActivationPolicy: lazy" + NL;
+ protected final String TEXT_23 = NL;
+ protected final String TEXT_24 = NL;
+
+ public ManifestMF() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(TEXT_24);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditorProjectDirectory() + "/META-INF/MANIFEST.MF";
+ overwrite = genModel.isUpdateClasspath();
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genModel.getEditorPluginID());
+ stringBuffer.append(TEXT_2);
+ if (genModel.isRuntimeJar()) {
+ stringBuffer.append(genModel.getEditorPluginID());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ }
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getQualifiedEditorPluginClassName());
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ if (genModel.getComplianceLevel() == GenJDKLevel.JDK50_LITERAL) {
+ stringBuffer.append(TEXT_8);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK60_LITERAL) {
+ stringBuffer.append(TEXT_9);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK70_LITERAL) {
+ stringBuffer.append(TEXT_10);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK80_LITERAL) {
+ stringBuffer.append(TEXT_11);
+ }
+ Iterator<String> packagesIterator = genModel.getEditorQualifiedPackageNames().iterator();
+ if (packagesIterator.hasNext()) {
+ String pack = packagesIterator.next();
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(pack);
+ while (packagesIterator.hasNext()) {
+ pack = packagesIterator.next();
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(pack);
+ }
+ }
+ Iterator<String> requiredPluginIterator = genModel.getEditorRequiredPlugins().iterator();
+ if (requiredPluginIterator.hasNext()) {
+ String pluginID = requiredPluginIterator.next();
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(pluginID);
+ if (!pluginID.startsWith("org.eclipse.core.runtime")) {
+ stringBuffer.append(TEXT_16);
+ }
+ while (requiredPluginIterator.hasNext()) {
+ pluginID = requiredPluginIterator.next();
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(pluginID);
+ if (!pluginID.startsWith("org.eclipse.core.runtime") && !pluginID.equals("org.eclipse.xtext.xbase.lib")
+ && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {
+ stringBuffer.append(TEXT_19);
+ }
+ }
+ }
+ if (genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_20);
+ }
+ if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22
+ || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && (genModel.isBundleManifest());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelIcon.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelIcon.java
new file mode 100644
index 0000000..124ed99
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelIcon.java
@@ -0,0 +1,133 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ModelIcon extends org.eclipse.egf.emf.pattern.base.GenPackageGIF {
+ protected static String nl;
+
+ public static synchronized ModelIcon create(String lineSeparator) {
+ nl = lineSeparator;
+ ModelIcon result = new ModelIcon();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ModelIcon() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ if (genPackage.hasConcreteClasses()) {
+ new CodegenGeneratorAdapter(parameter).generateGIF("editor/ModelFile.gif",
+ genPackage.getModelIconFileName(), genPackage.getPrefix(), null, false);
+ } else {
+ }
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizard.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizard.java
new file mode 100644
index 0000000..40149bd
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizard.java
@@ -0,0 +1,1224 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ModelWizard extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized ModelWizard create(String lineSeparator) {
+ nl = lineSeparator;
+ ModelWizard result = new ModelWizard();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL + "" + NL + "" + NL + "import java.util.ArrayList;" + NL
+ + "import java.util.Arrays;" + NL + "import java.util.Collection;" + NL + "import java.util.Collections;"
+ + NL + "import java.util.HashMap;";
+ protected final String TEXT_4 = NL + "import java.util.Iterator;";
+ protected final String TEXT_5 = NL + "import java.util.List;" + NL + "import java.util.Map;" + NL
+ + "import java.util.MissingResourceException;" + NL + "import java.util.StringTokenizer;" + NL;
+ protected final String TEXT_6 = NL + "import org.eclipse.emf.common.CommonPlugin;" + NL;
+ protected final String TEXT_7 = NL + "import org.eclipse.emf.common.util.URI;" + NL + "" + NL
+ + "import org.eclipse.emf.ecore.EClass;" + NL + "import org.eclipse.emf.ecore.EClassifier;" + NL + "" + NL
+ + "import org.eclipse.emf.ecore.resource.Resource;" + NL
+ + "import org.eclipse.emf.ecore.resource.ResourceSet;" + NL + "" + NL
+ + "import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;" + NL + "" + NL
+ + "import org.eclipse.emf.ecore.EObject;" + NL + "" + NL + "import org.eclipse.emf.ecore.xmi.XMLResource;"
+ + NL + "" + NL + "import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;" + NL;
+ protected final String TEXT_8 = NL + "import org.eclipse.core.resources.IContainer;" + NL
+ + "import org.eclipse.core.resources.IFile;" + NL + "import org.eclipse.core.resources.IFolder;" + NL
+ + "import org.eclipse.core.resources.IProject;" + NL + "import org.eclipse.core.resources.IResource;" + NL
+ + "import org.eclipse.core.resources.ResourcesPlugin;" + NL;
+ protected final String TEXT_9 = NL + "import org.eclipse.core.runtime.IProgressMonitor;" + NL + "" + NL
+ + "import org.eclipse.jface.dialogs.MessageDialog;" + NL + "" + NL
+ + "import org.eclipse.jface.viewers.IStructuredSelection;" + NL + "" + NL
+ + "import org.eclipse.jface.wizard.Wizard;" + NL + "import org.eclipse.jface.wizard.WizardPage;" + NL + ""
+ + NL + "import org.eclipse.swt.SWT;" + NL + "" + NL + "import org.eclipse.swt.events.ModifyListener;" + NL
+ + "import org.eclipse.swt.events.ModifyEvent;" + NL + "" + NL + "import org.eclipse.swt.layout.GridData;"
+ + NL + "import org.eclipse.swt.layout.GridLayout;" + NL + "" + NL + "import org.eclipse.swt.widgets.Combo;"
+ + NL + "import org.eclipse.swt.widgets.Composite;" + NL + "import org.eclipse.swt.widgets.Label;" + NL + ""
+ + NL + "import org.eclipse.ui.INewWizard;" + NL + "import org.eclipse.ui.IWorkbench;" + NL;
+ protected final String TEXT_10 = NL + "import org.eclipse.ui.actions.WorkspaceModifyOperation;" + NL + "" + NL
+ + "import org.eclipse.ui.dialogs.WizardNewFileCreationPage;" + NL + "" + NL
+ + "import org.eclipse.ui.part.FileEditorInput;" + NL + "import org.eclipse.ui.part.ISetSelectionTarget;"
+ + NL;
+ protected final String TEXT_11 = NL + "import ";
+ protected final String TEXT_12 = ";";
+ protected final String TEXT_13 = NL + "import ";
+ protected final String TEXT_14 = ";" + NL + "import ";
+ protected final String TEXT_15 = ";" + NL + NL;
+ protected final String TEXT_16 = NL + NL + NL + "/**" + NL
+ + " * This is a simple wizard for creating a new model file." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_17 = " extends Wizard implements INewWizard" + NL + "{";
+ protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_19 = " copyright = ";
+ protected final String TEXT_20 = ";";
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The supported extensions for created files." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_23 = " FILE_EXTENSIONS =" + NL + "\t\tCollections.unmodifiableList(Arrays.asList(";
+ protected final String TEXT_24 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_25 = "FilenameExtensions\").split(\"\\\\s*,\\\\s*\")));";
+ protected final String TEXT_26 = NL + NL + "\t/**" + NL
+ + "\t * A formatted list of supported file extensions, suitable for display." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final String FORMATTED_FILE_EXTENSIONS =" + NL + "\t\t";
+ protected final String TEXT_27 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_28 = "FilenameExtensions\").replaceAll(\"\\\\s*,\\\\s*\", \", \");";
+ protected final String TEXT_29 = NL + NL + "\t/**" + NL + "\t * This caches an instance of the model package." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_30 = " ";
+ protected final String TEXT_31 = " = ";
+ protected final String TEXT_32 = ".eINSTANCE;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This caches an instance of the model factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_33 = " ";
+ protected final String TEXT_34 = " = ";
+ protected final String TEXT_35 = ".get";
+ protected final String TEXT_36 = "();" + NL;
+ protected final String TEXT_37 = NL + "\t/**" + NL + "\t * This is the file creation page." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_38 = "NewFileCreationPage newFileCreationPage;" + NL;
+ protected final String TEXT_39 = NL + "\t/**" + NL + "\t * This is the initial object creation page." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_40 = "InitialObjectCreationPage initialObjectCreationPage;" + NL + "" + NL + "\t/**"
+ + NL + "\t * Remember the selection during initialization for populating the default container." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected IStructuredSelection selection;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Remember the workbench during initialization." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected IWorkbench workbench;" + NL + "" + NL + "\t/**";
+ protected final String TEXT_41 = NL + "\t * Caches the names of the types that can be created as the root object.";
+ protected final String TEXT_42 = NL + "\t * Caches the names of the features representing global elements.";
+ protected final String TEXT_43 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_44 = " initialObjectNames;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This just records the information." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void init(IWorkbench workbench, IStructuredSelection selection)" + NL + "\t{" + NL
+ + "\t\tthis.workbench = workbench;" + NL + "\t\tthis.selection = selection;" + NL + "\t\tsetWindowTitle(";
+ protected final String TEXT_45 = ".INSTANCE.getString(\"_UI_Wizard_label\"));";
+ protected final String TEXT_46 = NL
+ + "\t\tsetDefaultPageImageDescriptor(ExtendedImageRegistry.INSTANCE.getImageDescriptor(";
+ protected final String TEXT_47 = ".INSTANCE.getImage(\"full/wizban/New";
+ protected final String TEXT_48 = "\")));";
+ protected final String TEXT_49 = NL + "\t}" + NL + "" + NL + "\t/**";
+ protected final String TEXT_50 = NL + "\t * Returns the names of the types that can be created as the root object.";
+ protected final String TEXT_51 = NL + "\t * Returns the names of the features representing global elements.";
+ protected final String TEXT_52 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_53 = " getInitialObjectNames()" + NL + "\t{" + NL
+ + "\t\tif (initialObjectNames == null)" + NL + "\t\t{" + NL + "\t\t\tinitialObjectNames = new ";
+ protected final String TEXT_54 = "();";
+ protected final String TEXT_55 = NL + "\t\t\tfor (EClassifier eClassifier : ";
+ protected final String TEXT_56 = ".getEClassifiers())";
+ protected final String TEXT_57 = NL + "\t\t\tfor (Iterator classifiers = ";
+ protected final String TEXT_58 = ".getEClassifiers().iterator(); classifiers.hasNext(); )";
+ protected final String TEXT_59 = NL + "\t\t\t{";
+ protected final String TEXT_60 = NL + "\t\t\t\tEClassifier eClassifier = (EClassifier)classifiers.next();";
+ protected final String TEXT_61 = NL + "\t\t\t\tif (eClassifier instanceof EClass)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tEClass eClass = (EClass)eClassifier;" + NL + "\t\t\t\t\tif (!eClass.isAbstract())" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tinitialObjectNames.add(eClass.getName());" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}";
+ protected final String TEXT_62 = NL + "\t\t\tfor (";
+ protected final String TEXT_63 = " eStructuralFeature : ";
+ protected final String TEXT_64 = ".INSTANCE.getAllElements(";
+ protected final String TEXT_65 = ".INSTANCE.getDocumentRoot(";
+ protected final String TEXT_66 = ")))";
+ protected final String TEXT_67 = NL + "\t\t\tfor (Iterator elements = ";
+ protected final String TEXT_68 = ".INSTANCE.getAllElements(";
+ protected final String TEXT_69 = ".INSTANCE.getDocumentRoot(";
+ protected final String TEXT_70 = ")).iterator(); elements.hasNext(); )";
+ protected final String TEXT_71 = NL + "\t\t\t{";
+ protected final String TEXT_72 = NL + "\t\t\t\t";
+ protected final String TEXT_73 = " eStructuralFeature = (";
+ protected final String TEXT_74 = ")elements.next();";
+ protected final String TEXT_75 = NL + "\t\t\t\tif (eStructuralFeature.isChangeable())" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tEClassifier eClassifier = eStructuralFeature.getEType();" + NL
+ + "\t\t\t\t\tif (eClassifier instanceof EClass)" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tEClass eClass = (EClass)eClassifier;" + NL + "\t\t\t\t\t\tif (!eClass.isAbstract())" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tinitialObjectNames.add(eStructuralFeature.getName());" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}";
+ protected final String TEXT_76 = NL + "\t\t\tCollections.sort(initialObjectNames, ";
+ protected final String TEXT_77 = "CommonPlugin.INSTANCE.getComparator()";
+ protected final String TEXT_78 = "java.text.Collator.getInstance()";
+ protected final String TEXT_79 = ");" + NL + "\t\t}" + NL + "\t\treturn initialObjectNames;" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * Create a new model." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected EObject createInitialModel()" + NL + "\t{";
+ protected final String TEXT_80 = NL + "\t\tEClass eClass = (EClass)";
+ protected final String TEXT_81 = ".getEClassifier(initialObjectCreationPage.getInitialObjectName());" + NL
+ + "\t\tEObject rootObject = ";
+ protected final String TEXT_82 = ".create(eClass);";
+ protected final String TEXT_83 = NL + "\t\tEClass eClass = ";
+ protected final String TEXT_84 = ".INSTANCE.getDocumentRoot(";
+ protected final String TEXT_85 = ");"
+ + NL
+ + "\t\tEStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(initialObjectCreationPage.getInitialObjectName());"
+ + NL + "\t\tEObject rootObject = ";
+ protected final String TEXT_86 = ".create(eClass);" + NL + "\t\trootObject.eSet(eStructuralFeature, ";
+ protected final String TEXT_87 = ".create((EClass)eStructuralFeature.getEType()));";
+ protected final String TEXT_88 = NL + "\t\treturn rootObject;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Do the work after everything is specified." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_89 = NL + "\t@Override";
+ protected final String TEXT_90 = NL + "\tpublic boolean performFinish()" + NL + "\t{" + NL + "\t\ttry" + NL
+ + "\t\t{";
+ protected final String TEXT_91 = NL + "\t\t\t// Get the URI of the model file." + NL + "\t\t\t//" + NL
+ + "\t\t\tfinal URI fileURI = getModelURI();" + NL + "\t\t\tif (new ";
+ protected final String TEXT_92 = "(fileURI.toFileString()).exists())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tif (!MessageDialog.openQuestion" + NL + "\t\t\t\t\t\t(getShell()," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_93 = ".INSTANCE.getString(\"_UI_Question_title\"),";
+ protected final String TEXT_94 = NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_95 = ".INSTANCE.getString(\"_WARN_FileConflict\", new String []{ fileURI.toFileString() })))";
+ protected final String TEXT_96 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tinitialObjectCreationPage.selectFileField();"
+ + NL + "\t\t\t\t\treturn false;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\t" + NL
+ + "\t\t\t// Do the work within an operation." + NL + "\t\t\t//" + NL + "\t\t\t";
+ protected final String TEXT_97 = " operation = new ";
+ protected final String TEXT_98 = "()" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tpublic void run(IProgressMonitor progressMonitor)";
+ protected final String TEXT_99 = NL + "\t\t\t// Remember the file." + NL + "\t\t\t//" + NL
+ + "\t\t\tfinal IFile modelFile = getModelFile();" + NL + "" + NL
+ + "\t\t\t// Do the work within an operation." + NL + "\t\t\t//" + NL
+ + "\t\t\tWorkspaceModifyOperation operation =" + NL + "\t\t\t\tnew WorkspaceModifyOperation()" + NL
+ + "\t\t\t\t{";
+ protected final String TEXT_100 = NL + "\t\t\t\t\t@Override";
+ protected final String TEXT_101 = NL + "\t\t\t\t\tprotected void execute(IProgressMonitor progressMonitor)";
+ protected final String TEXT_102 = NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\ttry" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t// Create a resource set" + NL + "\t\t\t\t\t\t\t//" + NL
+ + "\t\t\t\t\t\t\tResourceSet resourceSet = new ResourceSetImpl();" + NL;
+ protected final String TEXT_103 = NL + "\t\t\t\t\t\t\t// Get the URI of the model file." + NL + "\t\t\t\t\t\t\t//"
+ + NL
+ + "\t\t\t\t\t\t\tURI fileURI = URI.createPlatformResourceURI(modelFile.getFullPath().toString(), true);"
+ + NL;
+ protected final String TEXT_104 = NL + "\t\t\t\t\t\t\t// Create a resource for this file." + NL
+ + "\t\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\t\tResource resource = resourceSet.createResource(fileURI";
+ protected final String TEXT_105 = ", ";
+ protected final String TEXT_106 = ".eCONTENT_TYPE";
+ protected final String TEXT_107 = ");" + NL + "" + NL
+ + "\t\t\t\t\t\t\t// Add the initial model object to the contents." + NL + "\t\t\t\t\t\t\t//" + NL
+ + "\t\t\t\t\t\t\tEObject rootObject = createInitialModel();" + NL + "\t\t\t\t\t\t\tif (rootObject != null)"
+ + NL + "\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\tresource.getContents().add(rootObject);" + NL
+ + "\t\t\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\t\t\t// Save the contents of the resource to the file system." + NL + "\t\t\t\t\t\t\t//" + NL
+ + "\t\t\t\t\t\t\t";
+ protected final String TEXT_108 = " options = new ";
+ protected final String TEXT_109 = "();" + NL
+ + "\t\t\t\t\t\t\toptions.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding());" + NL
+ + "\t\t\t\t\t\t\tresource.save(options);" + NL + "\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t\tcatch (Exception exception)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t";
+ protected final String TEXT_110 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\tfinally"
+ + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tprogressMonitor.done();" + NL + "\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t}" + NL + "\t\t\t\t};" + NL + "" + NL + "\t\t\tgetContainer().run(false, false, operation);"
+ + NL;
+ protected final String TEXT_111 = NL + "\t\t\treturn ";
+ protected final String TEXT_112 = ".openEditor(workbench, fileURI);\t\t\t";
+ protected final String TEXT_113 = NL + "\t\t\t// Select the new file resource in the current view." + NL
+ + "\t\t\t//" + NL + "\t\t\t";
+ protected final String TEXT_114 = " workbenchWindow = workbench.getActiveWorkbenchWindow();" + NL + "\t\t\t";
+ protected final String TEXT_115 = " page = workbenchWindow.getActivePage();" + NL + "\t\t\tfinal ";
+ protected final String TEXT_116 = " activePart = page.getActivePart();" + NL
+ + "\t\t\tif (activePart instanceof ISetSelectionTarget)" + NL + "\t\t\t{" + NL + "\t\t\t\tfinal ";
+ protected final String TEXT_117 = " targetSelection = new ";
+ protected final String TEXT_118 = "(modelFile);" + NL + "\t\t\t\tgetShell().getDisplay().asyncExec" + NL
+ + "\t\t\t\t\t(new Runnable()" + NL + "\t\t\t\t\t {" + NL + "\t\t\t\t\t\t public void run()" + NL
+ + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t ((ISetSelectionTarget)activePart).selectReveal(targetSelection);"
+ + NL + "\t\t\t\t\t\t }" + NL + "\t\t\t\t\t });" + NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\t// Open an editor on the new file." + NL + "\t\t\t//" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tpage.openEditor" + NL + "\t\t\t\t\t(new FileEditorInput(modelFile)," + NL
+ + "\t\t\t\t\t workbench.getEditorRegistry().getDefaultEditor";
+ protected final String TEXT_119 = "(modelFile.getFullPath().toString()).getId());";
+ protected final String TEXT_120 = NL + "\t\t\t\t\t \t(modelFile.getFullPath().toString()," + NL + "\t\t\t\t\t \t ";
+ protected final String TEXT_121 = ".getContentTypeManager().getContentType(";
+ protected final String TEXT_122 = ".eCONTENT_TYPE)).getId());";
+ protected final String TEXT_123 = "\t\t\t\t\t \t " + NL + "\t\t\t}" + NL + "\t\t\tcatch (";
+ protected final String TEXT_124 = " exception)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tMessageDialog.openError(workbenchWindow.getShell(), ";
+ protected final String TEXT_125 = ".INSTANCE.getString(\"_UI_OpenEditorError_label\"), exception.getMessage());";
+ protected final String TEXT_126 = NL + "\t\t\t\treturn false;" + NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\treturn true;";
+ protected final String TEXT_127 = NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL
+ + "\t\t\t";
+ protected final String TEXT_128 = ".INSTANCE.log(exception);" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL
+ + "\t}" + NL;
+ protected final String TEXT_129 = NL + "\t/**" + NL + "\t * This is the one page of the wizard." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic class ";
+ protected final String TEXT_130 = "NewFileCreationPage extends WizardNewFileCreationPage" + NL + "\t{" + NL
+ + "\t\t/**" + NL + "\t\t * Pass in the selection." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_131 = "NewFileCreationPage(String pageId, IStructuredSelection selection)" + NL
+ + "\t\t{" + NL + "\t\t\tsuper(pageId, selection);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * The framework calls this to see if the file is correct." + NL + "\t\t * <!-- begin-user-doc -->"
+ + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_132 = NL + "\t\t@Override";
+ protected final String TEXT_133 = NL + "\t\tprotected boolean validatePage()" + NL + "\t\t{" + NL
+ + "\t\t\tif (super.validatePage())" + NL + "\t\t\t{" + NL + "\t\t\t\tString extension = new ";
+ protected final String TEXT_134 = "(getFileName()).getFileExtension();"
+ + NL
+ + "\t\t\t\tif (extension == null || !FILE_EXTENSIONS.contains(extension))"
+ + NL
+ + "\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\tString key = FILE_EXTENSIONS.size() > 1 ? \"_WARN_FilenameExtensions\" : \"_WARN_FilenameExtension\";";
+ protected final String TEXT_135 = NL + "\t\t\t\t\tsetErrorMessage(";
+ protected final String TEXT_136 = ".INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));"
+ + NL
+ + "\t\t\t\t\treturn false;"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t\treturn true;"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t\treturn false;"
+ + NL
+ + "\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tpublic IFile getModelFile()"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\treturn ResourcesPlugin.getWorkspace().getRoot().getFile(getContainerFullPath().append(getFileName()));"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_137 = NL + "\t/**" + NL
+ + "\t * This is the page where the type of object to create is selected." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic class ";
+ protected final String TEXT_138 = "InitialObjectCreationPage extends WizardPage" + NL + "\t{";
+ protected final String TEXT_139 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_140 = " fileField;" + NL;
+ protected final String TEXT_141 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tprotected Combo initialObjectField;" + NL + "" + NL + "\t\t/**" + NL + "\t\t * @generated" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t */" + NL
+ + "\t\tprotected ";
+ protected final String TEXT_142 = " encodings;" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->"
+ + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tprotected Combo encodingField;" + NL + "" + NL + "\t\t/**" + NL + "\t\t * Pass in the selection."
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_143 = "InitialObjectCreationPage(String pageId)" + NL + "\t\t{" + NL
+ + "\t\t\tsuper(pageId);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->"
+ + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tpublic void createControl(Composite parent)" + NL + "\t\t{" + NL
+ + "\t\t\tComposite composite = new Composite(parent, SWT.NONE);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tGridLayout layout = new GridLayout();" + NL + "\t\t\t\tlayout.numColumns = 1;" + NL
+ + "\t\t\t\tlayout.verticalSpacing = 12;" + NL + "\t\t\t\tcomposite.setLayout(layout);" + NL + "" + NL
+ + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.verticalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tdata.grabExcessVerticalSpace = true;" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;"
+ + NL + "\t\t\t\tcomposite.setLayoutData(data);" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_144 = "\t\t\t" + NL + "\t\t\tLabel resourceURILabel = new Label(composite, SWT.LEFT);"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tresourceURILabel.setText(";
+ protected final String TEXT_145 = ".INSTANCE.getString(\"_UI_File_label\"));";
+ protected final String TEXT_146 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tresourceURILabel.setLayoutData(data);" + NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\tComposite fileComposite = new Composite(composite, SWT.NONE);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.END;" + NL
+ + "\t\t\t\tfileComposite.setLayoutData(data);" + NL + "" + NL
+ + "\t\t\t\tGridLayout layout = new GridLayout();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tlayout.marginHeight = 0;" + NL
+ + "\t\t\t\tlayout.marginWidth = 0;" + NL + "\t\t\t\tlayout.numColumns = 2;" + NL
+ + "\t\t\t\tfileComposite.setLayout(layout);" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tfileField = new ";
+ protected final String TEXT_147 = "(fileComposite, SWT.BORDER);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL + "\t\t\t\tdata.horizontalSpan = 1;" + NL
+ + "\t\t\t\tfileField.setLayoutData(data);" + NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\tfileField.addModifyListener(validator);" + NL;
+ protected final String TEXT_148 = NL + "\t\t\t";
+ protected final String TEXT_149 = " resourceURIBrowseFileSystemButton = new ";
+ protected final String TEXT_150 = "(fileComposite, SWT.PUSH);" + NL
+ + "\t\t\tresourceURIBrowseFileSystemButton.setText(";
+ protected final String TEXT_151 = ".INSTANCE.getString(\"_UI_Browse_label\"));";
+ protected final String TEXT_152 = NL + NL + "\t\t\tresourceURIBrowseFileSystemButton.addSelectionListener" + NL
+ + "\t\t\t\t(new ";
+ protected final String TEXT_153 = "()" + NL + "\t\t\t\t {";
+ protected final String TEXT_154 = NL + "\t\t\t\t\t @Override";
+ protected final String TEXT_155 = NL + "\t\t\t\t\t public void widgetSelected(";
+ protected final String TEXT_156 = " event)" + NL + "\t\t\t\t\t {" + NL + "\t\t\t\t\t\t String[] filters = ";
+ protected final String TEXT_157 = "(String[])";
+ protected final String TEXT_158 = ".FILE_EXTENSION_FILTERS.toArray(new String[";
+ protected final String TEXT_159 = ".FILE_EXTENSION_FILTERS.size()]);" + NL + "\t\t\t\t\t\t String[] files = ";
+ protected final String TEXT_160 = ".openFilePathDialog(getShell(), ";
+ protected final String TEXT_161 = ".SAVE, filters);" + NL + "\t\t\t\t\t\t if (files.length > 0)" + NL
+ + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t fileField.setText(files[0]);" + NL + "\t\t\t\t\t\t }" + NL
+ + "\t\t\t\t\t }" + NL + "\t\t\t\t });";
+ protected final String TEXT_162 = NL + "\t\t\tLabel containerLabel = new Label(composite, SWT.LEFT);" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tcontainerLabel.setText(";
+ protected final String TEXT_163 = ".INSTANCE.getString(\"_UI_ModelObject\"));";
+ protected final String TEXT_164 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tcontainerLabel.setLayoutData(data);"
+ + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tinitialObjectField = new Combo(composite, SWT.BORDER);" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tGridData data = new GridData();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL + "\t\t\t\tinitialObjectField.setLayoutData(data);"
+ + NL + "\t\t\t}" + NL;
+ protected final String TEXT_165 = NL + "\t\t\tfor (String objectName : getInitialObjectNames())" + NL + "\t\t\t{"
+ + NL + "\t\t\t\tinitialObjectField.add(getLabel(objectName));" + NL + "\t\t\t}";
+ protected final String TEXT_166 = NL + "\t\t\tfor (Iterator i = getInitialObjectNames().iterator(); i.hasNext(); )"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tinitialObjectField.add(getLabel((String)i.next()));" + NL + "\t\t\t}";
+ protected final String TEXT_167 = NL + NL + "\t\t\tif (initialObjectField.getItemCount() == 1)" + NL + "\t\t\t{"
+ + NL + "\t\t\t\tinitialObjectField.select(0);" + NL + "\t\t\t}" + NL
+ + "\t\t\tinitialObjectField.addModifyListener(validator);" + NL + "" + NL
+ + "\t\t\tLabel encodingLabel = new Label(composite, SWT.LEFT);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tencodingLabel.setText(";
+ protected final String TEXT_168 = ".INSTANCE.getString(\"_UI_XMLEncoding\"));";
+ protected final String TEXT_169 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tencodingLabel.setLayoutData(data);"
+ + NL + "\t\t\t}" + NL + "\t\t\tencodingField = new Combo(composite, SWT.BORDER);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL + "\t\t\t\tencodingField.setLayoutData(data);" + NL
+ + "\t\t\t}" + NL;
+ protected final String TEXT_170 = NL + "\t\t\tfor (String encoding : getEncodings())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tencodingField.add(encoding);" + NL + "\t\t\t}";
+ protected final String TEXT_171 = NL + "\t\t\tfor (Iterator i = getEncodings().iterator(); i.hasNext(); )" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tencodingField.add((String)i.next());" + NL + "\t\t\t}";
+ protected final String TEXT_172 = NL + NL + "\t\t\tencodingField.select(0);" + NL
+ + "\t\t\tencodingField.addModifyListener(validator);" + NL + "" + NL
+ + "\t\t\tsetPageComplete(validatePage());" + NL + "\t\t\tsetControl(composite);" + NL + "\t\t}" + NL + ""
+ + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ModifyListener validator =" + NL
+ + "\t\t\tnew ModifyListener()" + NL + "\t\t\t{" + NL + "\t\t\t\tpublic void modifyText(ModifyEvent e)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tsetPageComplete(validatePage());" + NL + "\t\t\t\t}" + NL + "\t\t\t};" + NL
+ + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected boolean validatePage()" + NL + "\t\t{";
+ protected final String TEXT_173 = NL
+ + "\t\t\tURI fileURI = getFileURI();"
+ + NL
+ + "\t\t\tif (fileURI == null || fileURI.isEmpty())"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tsetErrorMessage(null);"
+ + NL
+ + "\t\t\t\treturn false;"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t\tString extension = fileURI.fileExtension();"
+ + NL
+ + "\t\t\tif (extension == null || !FILE_EXTENSIONS.contains(extension))"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tString key = FILE_EXTENSIONS.size() > 1 ? \"_WARN_FilenameExtensions\" : \"_WARN_FilenameExtension\";";
+ protected final String TEXT_174 = NL + "\t\t\t\tsetErrorMessage(";
+ protected final String TEXT_175 = ".INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));" + NL
+ + "\t\t\t\treturn false;" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tsetErrorMessage(null);";
+ protected final String TEXT_176 = NL
+ + "\t\t\treturn getInitialObjectName() != null && getEncodings().contains(encodingField.getText());" + NL
+ + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_177 = NL + "\t\t@Override";
+ protected final String TEXT_178 = NL + "\t\tpublic void setVisible(boolean visible)" + NL + "\t\t{" + NL
+ + "\t\t\tsuper.setVisible(visible);" + NL + "\t\t\tif (visible)" + NL + "\t\t\t{";
+ protected final String TEXT_179 = NL + "\t\t\t\tif (initialObjectField.getItemCount() == 1)" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\tinitialObjectField.clearSelection();" + NL + "\t\t\t\t\tencodingField.setFocus();" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tencodingField.clearSelection();"
+ + NL + "\t\t\t\t\tinitialObjectField.setFocus();" + NL + "\t\t\t\t}";
+ protected final String TEXT_180 = NL + "\t\t\t\tinitialObjectField.clearSelection();" + NL
+ + "\t\t\t\tencodingField.clearSelection();" + NL + "\t\t\t\tfileField.setFocus();";
+ protected final String TEXT_181 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic String getInitialObjectName()" + NL + "\t\t{" + NL
+ + "\t\t\tString label = initialObjectField.getText();" + NL;
+ protected final String TEXT_182 = NL + "\t\t\tfor (String name : getInitialObjectNames())";
+ protected final String TEXT_183 = NL + "\t\t\tfor (Iterator i = getInitialObjectNames().iterator(); i.hasNext(); )";
+ protected final String TEXT_184 = NL + "\t\t\t{";
+ protected final String TEXT_185 = NL + "\t\t\t\tString name = (String)i.next();";
+ protected final String TEXT_186 = NL + "\t\t\t\tif (getLabel(name).equals(label))" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\treturn name;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\treturn null;" + NL + "\t\t}"
+ + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->"
+ + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic String getEncoding()" + NL + "\t\t{" + NL
+ + "\t\t\treturn encodingField.getText();" + NL + "\t\t}";
+ protected final String TEXT_187 = NL + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tpublic URI getFileURI()" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn URI.createFileURI(fileField.getText());" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception exception)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore" + NL + "\t\t\t}" + NL
+ + "\t\t\treturn null;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->"
+ + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tpublic void selectFileField()" + NL + "\t\t{" + NL + "\t\t\t\tinitialObjectField.clearSelection();"
+ + NL + "\t\t\t\tencodingField.clearSelection();" + NL + "\t\t\t\tfileField.selectAll();" + NL
+ + "\t\t\t\tfileField.setFocus();" + NL + "\t\t}\t\t";
+ protected final String TEXT_188 = NL + NL + "\t\t/**" + NL + "\t\t * Returns the label for the specified ";
+ protected final String TEXT_189 = " name." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tprotected String getLabel(String ";
+ protected final String TEXT_190 = "Name)" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn ";
+ protected final String TEXT_191 = ".INSTANCE.getString(\"";
+ protected final String TEXT_192 = "\" + ";
+ protected final String TEXT_193 = "Name + \"_";
+ protected final String TEXT_194 = "\");";
+ protected final String TEXT_195 = NL + "\t\t\t}" + NL + "\t\t\tcatch(MissingResourceException mre)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_196 = ".INSTANCE.log(mre);" + NL + "\t\t\t}" + NL + "\t\t\treturn ";
+ protected final String TEXT_197 = "Name;" + NL + "\t\t}";
+ protected final String TEXT_198 = NL + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_199 = " getEncodings()" + NL + "\t\t{" + NL + "\t\t\tif (encodings == null)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tencodings = new ";
+ protected final String TEXT_200 = "();" + NL
+ + "\t\t\t\tfor (StringTokenizer stringTokenizer = new StringTokenizer(";
+ protected final String TEXT_201 = ".INSTANCE.getString(\"_UI_XMLEncodingChoices\")); stringTokenizer.hasMoreTokens(); )";
+ protected final String TEXT_202 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tencodings.add(stringTokenizer.nextToken());"
+ + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\treturn encodings;" + NL + "\t\t}" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * The framework calls this to create the contents of the wizard." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_203 = NL + "\t\t@Override";
+ protected final String TEXT_204 = NL + "\tpublic void addPages()" + NL + "\t{";
+ protected final String TEXT_205 = NL + "\t\t// Create a page, set the title, and the initial model file name." + NL
+ + "\t\t//" + NL + "\t\tnewFileCreationPage = new ";
+ protected final String TEXT_206 = "NewFileCreationPage(\"Whatever\", selection);";
+ protected final String TEXT_207 = NL + "\t\tnewFileCreationPage.setTitle(";
+ protected final String TEXT_208 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_209 = "_label\"));";
+ protected final String TEXT_210 = NL + "\t\tnewFileCreationPage.setDescription(";
+ protected final String TEXT_211 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_212 = "_description\"));";
+ protected final String TEXT_213 = NL + "\t\tnewFileCreationPage.setFileName(";
+ protected final String TEXT_214 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_215 = "FilenameDefaultBase\") + \".\" + ";
+ protected final String TEXT_216 = "(String)";
+ protected final String TEXT_217 = "FILE_EXTENSIONS.get(0));";
+ protected final String TEXT_218 = NL + "\t\taddPage(newFileCreationPage);" + NL + "" + NL
+ + "\t\t// Try and get the resource selection to determine a current directory for the file dialog." + NL
+ + "\t\t//" + NL + "\t\tif (selection != null && !selection.isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\t// Get the resource..." + NL + "\t\t\t//" + NL
+ + "\t\t\tObject selectedElement = selection.iterator().next();" + NL
+ + "\t\t\tif (selectedElement instanceof IResource)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Get the resource parent, if its a file." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tIResource selectedResource = (IResource)selectedElement;" + NL
+ + "\t\t\t\tif (selectedResource.getType() == IResource.FILE)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tselectedResource = selectedResource.getParent();" + NL + "\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t// This gives us a directory..." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tif (selectedResource instanceof IFolder || selectedResource instanceof IProject)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\t// Set this for the container." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tnewFileCreationPage.setContainerFullPath(selectedResource.getFullPath());" + NL + "" + NL
+ + "\t\t\t\t\t// Make up a unique new name here." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tString defaultModelBaseFilename = ";
+ protected final String TEXT_219 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_220 = "FilenameDefaultBase\");";
+ protected final String TEXT_221 = NL + "\t\t\t\t\tString defaultModelFilenameExtension = ";
+ protected final String TEXT_222 = "(String)";
+ protected final String TEXT_223 = "FILE_EXTENSIONS.get(0);" + NL
+ + "\t\t\t\t\tString modelFilename = defaultModelBaseFilename + \".\" + defaultModelFilenameExtension;";
+ protected final String TEXT_224 = NL
+ + "\t\t\t\t\tfor (int i = 1; ((IContainer)selectedResource).findMember(modelFilename) != null; ++i)" + NL
+ + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tmodelFilename = defaultModelBaseFilename + i + \".\" + defaultModelFilenameExtension;";
+ protected final String TEXT_225 = NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\tnewFileCreationPage.setFileName(modelFilename);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL
+ + "\t\t}";
+ protected final String TEXT_226 = NL + "\t\tinitialObjectCreationPage = new ";
+ protected final String TEXT_227 = "InitialObjectCreationPage(\"Whatever2\");";
+ protected final String TEXT_228 = NL + "\t\tinitialObjectCreationPage.setTitle(";
+ protected final String TEXT_229 = ".INSTANCE.getString(\"_UI_";
+ protected final String TEXT_230 = "_label\"));";
+ protected final String TEXT_231 = NL + "\t\tinitialObjectCreationPage.setDescription(";
+ protected final String TEXT_232 = ".INSTANCE.getString(\"_UI_Wizard_initial_object_description\"));";
+ protected final String TEXT_233 = NL + "\t\taddPage(initialObjectCreationPage);" + NL + "\t}" + NL;
+ protected final String TEXT_234 = NL + "\t/**" + NL + "\t * Get the URI from the page." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic URI getModelURI()" + NL + "\t{" + NL
+ + "\t\treturn initialObjectCreationPage.getFileURI();" + NL + "\t}" + NL;
+ protected final String TEXT_235 = NL + "\t/**" + NL + "\t * Get the file from the page." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic IFile getModelFile()" + NL + "\t{" + NL
+ + "\t\treturn newFileCreationPage.getModelFile();" + NL + "\t}" + NL;
+ protected final String TEXT_236 = NL + "}";
+ protected final String TEXT_237 = NL;
+ protected final String TEXT_238 = NL;
+ protected final String TEXT_239 = NL;
+
+ public ModelWizard() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_238);
+ stringBuffer.append(TEXT_239);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getEditorDirectory();
+ packageName = genPackage.getPresentationPackageName();
+ className = genPackage.getModelWizardClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ String _ListOfString = "List"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
+ String _ArrayListOfString = "ArrayList"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
+ String _CollectionOfString = "Collection"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
+ String _MapOfObjectToObject = "Map"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ", "
+ + genModel.getImportedName("java.lang.Object") + ">" : "");
+ String _HashMapOfObjectToObject = "HashMap"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ", "
+ + genModel.getImportedName("java.lang.Object") + ">" : "");
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getPresentationPackageName());
+ stringBuffer.append(TEXT_3);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_4);
+ }
+ stringBuffer.append(TEXT_5);
+ if (!genModel.isRichClientPlatform() && genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_10);
+ }
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genPackage.getQualifiedFactoryInterfaceName());
+ stringBuffer.append(TEXT_12);
+ }
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genPackage.getQualifiedEditPluginClassName());
+ stringBuffer.append(TEXT_15);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_17);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(genModel.getNonNLS(3));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genModel.isSuppressEMFMetaData() ? genModel
+ .getImportedName("org.eclipse.emf.ecore.EPackage") : genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genPackage.getUncapPackageName());
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genModel.isSuppressEMFMetaData() ? genModel
+ .getImportedName("org.eclipse.emf.ecore.EFactory") : genPackage.getFactoryInterfaceName());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genPackage.getUncapFactoryName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genPackage.getUncapPackageName());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.isSuppressEMFMetaData() ? "EFactoryInstance" : genPackage.getFactoryName());
+ stringBuffer.append(TEXT_36);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_38);
+ }
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_40);
+ if (!genPackage.hasDocumentRoot()) {
+ stringBuffer.append(TEXT_41);
+ } else {
+ stringBuffer.append(TEXT_42);
+ }
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_49);
+ if (!genPackage.hasDocumentRoot()) {
+ stringBuffer.append(TEXT_50);
+ } else {
+ stringBuffer.append(TEXT_51);
+ }
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(_CollectionOfString);
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(_ArrayListOfString);
+ stringBuffer.append(TEXT_54);
+ if (!genPackage.hasDocumentRoot()) {
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genPackage.getUncapPackageName());
+ stringBuffer.append(TEXT_56);
+ } else {
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genPackage.getUncapPackageName());
+ stringBuffer.append(TEXT_58);
+ }
+ stringBuffer.append(TEXT_59);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ } else {
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData"));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData"));
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genPackage.getUncapPackageName());
+ stringBuffer.append(TEXT_66);
+ } else {
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData"));
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData"));
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genPackage.getUncapPackageName());
+ stringBuffer.append(TEXT_70);
+ }
+ stringBuffer.append(TEXT_71);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_74);
+ }
+ stringBuffer.append(TEXT_75);
+ }
+ stringBuffer.append(TEXT_76);
+ if (!genModel.isRichClientPlatform() && genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_77);
+ } else {
+ stringBuffer.append(TEXT_78);
+ }
+ stringBuffer.append(TEXT_79);
+ if (!genPackage.hasDocumentRoot()) {
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genPackage.getUncapPackageName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genPackage.getUncapFactoryName());
+ stringBuffer.append(TEXT_82);
+ } else {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData"));
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genPackage.getUncapPackageName());
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genPackage.getUncapFactoryName());
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil"));
+ stringBuffer.append(TEXT_87);
+ }
+ stringBuffer.append(TEXT_88);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_89);
+ }
+ stringBuffer.append(TEXT_90);
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genModel.getImportedName("java.io.File"));
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.operation.IRunnableWithProgress"));
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.operation.IRunnableWithProgress"));
+ stringBuffer.append(TEXT_98);
+ } else {
+ stringBuffer.append(TEXT_99);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_100);
+ }
+ stringBuffer.append(TEXT_101);
+ }
+ stringBuffer.append(TEXT_102);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_103);
+ }
+ stringBuffer.append(TEXT_104);
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_106);
+ }
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(_MapOfObjectToObject);
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(_HashMapOfObjectToObject);
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_110);
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditorAdvisorClassName()));
+ stringBuffer.append(TEXT_112);
+ } else {
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.ui.IWorkbenchWindow"));
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.ui.IWorkbenchPage"));
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.ui.IWorkbenchPart"));
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.ISelection"));
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.StructuredSelection"));
+ stringBuffer.append(TEXT_118);
+ if (!genPackage.isContentType()) {
+ stringBuffer.append(TEXT_119);
+ } else {
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.core.runtime.Platform"));
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_122);
+ }
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.ui.PartInitException"));
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_126);
+ }
+ stringBuffer.append(TEXT_127);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_128);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_131);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_132);
+ }
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.core.runtime.Path"));
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_136);
+ }
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_138);
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.swt.widgets.Text"));
+ stringBuffer.append(TEXT_140);
+ }
+ stringBuffer.append(TEXT_141);
+ stringBuffer.append(_ListOfString);
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_143);
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_146);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.swt.widgets.Text"));
+ stringBuffer.append(TEXT_147);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.swt.widgets.Button"));
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.swt.widgets.Button"));
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_151);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.swt.events.SelectionAdapter"));
+ stringBuffer.append(TEXT_153);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_154);
+ }
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.swt.events.SelectionEvent"));
+ stringBuffer.append(TEXT_156);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_157);
+ }
+ stringBuffer.append(genPackage.getImportedEditorClassName());
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genPackage.getImportedEditorClassName());
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditorAdvisorClassName()));
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.swt.SWT"));
+ stringBuffer.append(TEXT_161);
+ }
+ }
+ stringBuffer.append(TEXT_162);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_164);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_165);
+ } else {
+ stringBuffer.append(TEXT_166);
+ }
+ stringBuffer.append(TEXT_167);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_168);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_169);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_170);
+ } else {
+ stringBuffer.append(TEXT_171);
+ }
+ stringBuffer.append(TEXT_172);
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_175);
+ }
+ stringBuffer.append(TEXT_176);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_177);
+ }
+ stringBuffer.append(TEXT_178);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_179);
+ } else {
+ stringBuffer.append(TEXT_180);
+ }
+ stringBuffer.append(TEXT_181);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_182);
+ } else {
+ stringBuffer.append(TEXT_183);
+ }
+ stringBuffer.append(TEXT_184);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_185);
+ }
+ stringBuffer.append(TEXT_186);
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_187);
+ }
+ {
+ String type = genPackage.hasDocumentRoot() ? "feature" : "type";
+ String prefix = genPackage.hasDocumentRoot() ? "_UI_DocumentRoot_" : "_UI_";
+ stringBuffer.append(TEXT_188);
+ stringBuffer.append(type);
+ stringBuffer.append(TEXT_189);
+ stringBuffer.append(type);
+ stringBuffer.append(TEXT_190);
+ stringBuffer.append(genPackage.getEditPluginClassName());
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(prefix);
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(type);
+ stringBuffer.append(TEXT_193);
+ stringBuffer.append(type);
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_195);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditorPluginClassName()));
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(type);
+ stringBuffer.append(TEXT_197);
+ }
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(_CollectionOfString);
+ stringBuffer.append(TEXT_199);
+ stringBuffer.append(_ArrayListOfString);
+ stringBuffer.append(TEXT_200);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_202);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_203);
+ }
+ stringBuffer.append(TEXT_204);
+ if (!genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_205);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_206);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_208);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_209);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_210);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_212);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_213);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_214);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_215);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_216);
+ }
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_218);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_219);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_220);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_221);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_222);
+ }
+ stringBuffer.append(TEXT_223);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_224);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_225);
+ }
+ stringBuffer.append(TEXT_226);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_227);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_228);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_229);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_230);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_231);
+ stringBuffer.append(genPackage.getImportedEditorPluginClassName());
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_233);
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_234);
+ } else {
+ stringBuffer.append(TEXT_235);
+ }
+ stringBuffer.append(TEXT_236);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_237);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate
+ && (genPackage.hasConcreteClasses() && genPackage.isGenerateModelWizard() && genPackage.getGenModel()
+ .getRuntimePlatform() != GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizardIcon.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizardIcon.java
new file mode 100644
index 0000000..69e2d2d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizardIcon.java
@@ -0,0 +1,133 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ModelWizardIcon extends org.eclipse.egf.emf.pattern.base.GenPackageGIF {
+ protected static String nl;
+
+ public static synchronized ModelWizardIcon create(String lineSeparator) {
+ nl = lineSeparator;
+ ModelWizardIcon result = new ModelWizardIcon();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ModelWizardIcon() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ if (genPackage.hasConcreteClasses() && genPackage.isGenerateModelWizard()) {
+ new CodegenGeneratorAdapter(parameter).generateGIF("editor/NewModel.gif",
+ genPackage.getModelWizardIconFileName(), genPackage.getPrefix(), null, false);
+ } else {
+ }
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModuleGWTXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModuleGWTXML.java
new file mode 100644
index 0000000..436a7bb
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModuleGWTXML.java
@@ -0,0 +1,209 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ModuleGWTXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized ModuleGWTXML create(String lineSeparator) {
+ nl = lineSeparator;
+ ModuleGWTXML result = new ModuleGWTXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ + NL
+ + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">"
+ + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + NL + "<module>" + NL
+ + " <inherits name='com.google.gwt.user.theme.standard.Standard'/>";
+ protected final String TEXT_4 = NL + " <inherits name=\"";
+ protected final String TEXT_5 = "\" />";
+ protected final String TEXT_6 = NL + NL + " <entry-point class='";
+ protected final String TEXT_7 = "'/>" + NL;
+ protected final String TEXT_8 = NL + " <source path=\"";
+ protected final String TEXT_9 = "\"/>";
+ protected final String TEXT_10 = NL + "</module>" + NL;
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL;
+
+ public ModuleGWTXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(TEXT_12);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditorDirectory() + "/"
+ + genModel.getQualifiedEditorModuleName().replace(".", "/") + ".gwt.xml";
+ overwrite = false;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ for (String inherits : genModel.getEditorModuleInherits()) {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(inherits);
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel.getQualifiedEditorEntryPointClassName());
+ stringBuffer.append(TEXT_7);
+ for (String source : genModel.getEditorModuleSources()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(source);
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Plugin.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Plugin.java
new file mode 100644
index 0000000..df5a69c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Plugin.java
@@ -0,0 +1,300 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Plugin extends org.eclipse.egf.emf.pattern.base.GenModelJava {
+ protected static String nl;
+
+ public static synchronized Plugin create(String lineSeparator) {
+ nl = lineSeparator;
+ Plugin result = new Plugin();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the central singleton for the ";
+ protected final String TEXT_5 = " editor plugin." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
+ protected final String TEXT_6 = " extends EMFPlugin" + NL + "{";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = " copyright = ";
+ protected final String TEXT_9 = ";";
+ protected final String TEXT_10 = NL + "\t";
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_12 = " INSTANCE = new ";
+ protected final String TEXT_13 = "();" + NL + "\t";
+ protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper" + NL + "\t\t\t(new ResourceLocator [] " + NL
+ + "\t\t\t{";
+ protected final String TEXT_17 = NL + "\t\t\t\t";
+ protected final String TEXT_18 = ".INSTANCE,";
+ protected final String TEXT_19 = NL + "\t\t\t});" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance." + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_20 = NL + "\t@Override";
+ protected final String TEXT_21 = NL + "\tpublic ResourceLocator getPluginResourceLocator()" + NL + "\t{";
+ protected final String TEXT_22 = NL + "\t\treturn null;";
+ protected final String TEXT_23 = NL + "\t\treturn plugin;";
+ protected final String TEXT_24 = NL + "\t}" + NL + "\t";
+ protected final String TEXT_25 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL
+ + "\t" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class Implementation extends ";
+ protected final String TEXT_26 = NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * Creates an instance." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->";
+ protected final String TEXT_27 = NL + "\t\t * @param descriptor the description of the plugin.";
+ protected final String TEXT_28 = NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic Implementation(";
+ protected final String TEXT_29 = " descriptor";
+ protected final String TEXT_30 = ")" + NL + "\t\t{" + NL + "\t\t\tsuper(";
+ protected final String TEXT_31 = "descriptor";
+ protected final String TEXT_32 = ");" + NL + "\t" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//"
+ + NL + "\t\t\tplugin = this;" + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_33 = NL + "}";
+ protected final String TEXT_34 = NL;
+ protected final String TEXT_35 = NL;
+ protected final String TEXT_36 = NL;
+
+ public Plugin() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(TEXT_36);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPath = genModel.getEditorPluginDirectory();
+ packageName = genModel.getEditorPluginPackageName();
+ className = genModel.getEditorPluginClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2004 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getEditorPluginPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.addImport("org.eclipse.emf.common.EMFPlugin");
+ genModel.addImport("org.eclipse.emf.common.util.ResourceLocator");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getEditorPluginClassName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getEditorPluginClassName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getEditorPluginClassName());
+ stringBuffer.append(TEXT_13);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getEditorPluginClassName());
+ stringBuffer.append(TEXT_16);
+ for (String pluginClassName : genModel.getEditResourceDelegateImportedPluginClassNames()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(pluginClassName);
+ stringBuffer.append(TEXT_18);
+ }
+ stringBuffer.append(TEXT_19);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_20);
+ }
+ stringBuffer.append(TEXT_21);
+ if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_22);
+ } else {
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.EclipseUIPlugin"));
+ stringBuffer.append(TEXT_26);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(genModel.getImportedName("org.eclipse.core.runtime.IPluginDescriptor"));
+ stringBuffer.append(TEXT_29);
+ }
+ stringBuffer.append(TEXT_30);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(TEXT_31);
+ }
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(TEXT_33);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_34);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && true;
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginProperties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginProperties.java
new file mode 100644
index 0000000..e0de944
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginProperties.java
@@ -0,0 +1,330 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PluginProperties extends org.eclipse.egf.emf.pattern.base.GenModelProperties {
+ protected static String nl;
+
+ public static synchronized PluginProperties create(String lineSeparator) {
+ nl = lineSeparator;
+ PluginProperties result = new PluginProperties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + NL + "pluginName = ";
+ protected final String TEXT_3 = " Editor" + NL + "providerName = www.example.org";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "_UI_";
+ protected final String TEXT_6 = "_menu = &";
+ protected final String TEXT_7 = " Editor";
+ protected final String TEXT_8 = NL;
+ protected final String TEXT_9 = NL + "_UI_CreateChild_menu_item = &New Child" + NL
+ + "_UI_CreateSibling_menu_item = N&ew Sibling" + NL;
+ protected final String TEXT_10 = NL + "_UI_ShowPropertiesView_menu_item = Show &Properties View" + NL
+ + "_UI_RefreshViewer_menu_item = &Refresh" + NL + "" + NL + "_UI_SelectionPage_label = Selection";
+ protected final String TEXT_11 = NL + "_UI_ParentPage_label = Parent" + NL + "_UI_ListPage_label = List" + NL
+ + "_UI_TreePage_label = Tree" + NL + "_UI_TablePage_label = Table" + NL
+ + "_UI_TreeWithColumnsPage_label = Tree with Columns" + NL + "_UI_ObjectColumn_label = Object" + NL
+ + "_UI_SelfColumn_label = Self";
+ protected final String TEXT_12 = NL + NL + "_UI_NoObjectSelected = Selected Nothing" + NL
+ + "_UI_SingleObjectSelected = Selected Object: {0}" + NL + "_UI_MultiObjectSelected = Selected {0} Objects"
+ + NL + "" + NL + "_UI_OpenEditorError_label = Open Editor" + NL + "" + NL
+ + "_UI_Wizard_category = Example EMF Model Creation Wizards" + NL + "" + NL
+ + "_UI_CreateModelError_message = Problems encountered in file \"{0}\"" + NL;
+ protected final String TEXT_13 = NL + "_UI_";
+ protected final String TEXT_14 = "_label = ";
+ protected final String TEXT_15 = " Model" + NL + "_UI_";
+ protected final String TEXT_16 = "_description = Create a new ";
+ protected final String TEXT_17 = " model" + NL;
+ protected final String TEXT_18 = NL + "_UI_";
+ protected final String TEXT_19 = "_label = ";
+ protected final String TEXT_20 = " Model Editor" + NL + "" + NL + "_UI_";
+ protected final String TEXT_21 = "FilenameDefaultBase = My" + NL + "_UI_";
+ protected final String TEXT_22 = "FilenameExtensions = ";
+ protected final String TEXT_23 = NL;
+ protected final String TEXT_24 = NL + "_UI_Wizard_label = New" + NL + "" + NL
+ + "_WARN_FilenameExtension = The file name must end in ''.{0}''" + NL
+ + "_WARN_FilenameExtensions = The file name must have one of the following extensions: {0}" + NL + "" + NL
+ + "_UI_ModelObject = &Model Object" + NL + "_UI_XMLEncoding = &XML Encoding" + NL
+ + "_UI_XMLEncodingChoices = ";
+ protected final String TEXT_25 = NL
+ + "_UI_Wizard_initial_object_description = Specify a file name and select a model object to create";
+ protected final String TEXT_26 = NL + "_UI_Wizard_initial_object_description = Select a model object to create";
+ protected final String TEXT_27 = NL
+ + NL
+ + "_UI_FileConflict_label = File Conflict"
+ + NL
+ + "_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes?"
+ + NL;
+ protected final String TEXT_28 = NL + "_UI_";
+ protected final String TEXT_29 = "_ActionSet_label = ";
+ protected final String TEXT_30 = " Action Set" + NL + "_UI_Perspective_label = ";
+ protected final String TEXT_31 = NL + NL + "_UI_Browse_label = &Browse..." + NL + "_UI_File_label = &File" + NL
+ + "_UI_Question_title = Question" + NL
+ + "_WARN_FileConflict = The file \"{0}\" already exists. Do you want to replace the existing file?" + NL
+ + "_UI_Error_title = Error" + NL + "_WARN_No_Editor = There is no editor registered for the file \"{0}\"."
+ + NL + "" + NL + "_UI_Application_title = ";
+ protected final String TEXT_32 = " Application" + NL + "_UI_Menu_File_label = &File" + NL
+ + "_UI_Menu_New_label = &New" + NL + "_UI_Menu_Open_label = &Open..." + NL
+ + "_UI_Menu_Open_description = Opens a model object file" + NL + "_UI_Menu_OpenURI_label = &Open URI..."
+ + NL + "_UI_Menu_OpenURI_description = Opens a model object loading it from a URI" + NL
+ + "_UI_Menu_Edit_label = &Edit" + NL + "_UI_Menu_Window_label = &Window" + NL
+ + "_UI_Menu_Help_label = &Help" + NL + "_UI_Menu_About_label = ";
+ protected final String TEXT_33 = " &About..." + NL + "_UI_About_title = ";
+ protected final String TEXT_34 = " Application" + NL + "_UI_About_text = ";
+ protected final String TEXT_35 = " Application about box goes here." + NL;
+ protected final String TEXT_36 = NL + "_UI_";
+ protected final String TEXT_37 = "_ActionSet_label = ";
+ protected final String TEXT_38 = " Model Action Set";
+ protected final String TEXT_39 = NL;
+ protected final String TEXT_40 = NL;
+ protected final String TEXT_41 = NL;
+ protected final String TEXT_42 = NL;
+
+ public PluginProperties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(TEXT_42);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditorProjectDirectory() + "/plugin.properties";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_3);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_4);
+ boolean hasMultiPageEditor = false;
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (genPackage.isMultipleEditorPages()) {
+ hasMultiPageEditor = true;
+ }
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ if (genModel.isCreationCommands()) {
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ if (hasMultiPageEditor) {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (genPackage.isGenerateModelWizard()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_17);
+ }
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genPackage.getFileExtensions());
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getXMLEncodingChoices());
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_25);
+ } else {
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genModel.getEditorAdvisorClassName());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_35);
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (genPackage.isGenerateModelWizard()) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_38);
+ }
+ }
+ stringBuffer.append(TEXT_39);
+ }
+ }
+ stringBuffer.append(TEXT_40);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && true;
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginXML.java
new file mode 100644
index 0000000..06ff5f7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginXML.java
@@ -0,0 +1,662 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PluginXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized PluginXML create(String lineSeparator) {
+ nl = lineSeparator;
+ PluginXML result = new PluginXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>"
+ + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+ protected final String TEXT_4 = NL + "<plugin>";
+ protected final String TEXT_5 = NL + "<plugin" + NL + " name=\"%pluginName\"" + NL + " id=\"";
+ protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL
+ + " provider-name=\"%providerName\"" + NL + " class=\"";
+ protected final String TEXT_7 = "$Implementation\">" + NL + "" + NL + " <requires>";
+ protected final String TEXT_8 = NL + " <import plugin=\"";
+ protected final String TEXT_9 = "\"";
+ protected final String TEXT_10 = " export=\"true\"";
+ protected final String TEXT_11 = "/>";
+ protected final String TEXT_12 = NL + " </requires>" + NL + "" + NL + " <runtime>";
+ protected final String TEXT_13 = NL + " <library name=\"";
+ protected final String TEXT_14 = ".jar\">";
+ protected final String TEXT_15 = NL + " <library name=\".\">";
+ protected final String TEXT_16 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL
+ + " </runtime>";
+ protected final String TEXT_17 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.generated_package\">";
+ protected final String TEXT_18 = NL + " <!-- @generated ";
+ protected final String TEXT_19 = " -->";
+ protected final String TEXT_20 = NL + " <package" + NL + " uri=\"";
+ protected final String TEXT_21 = "\"";
+ protected final String TEXT_22 = NL + " class=\"";
+ protected final String TEXT_23 = "\"" + NL + " genModel=\"";
+ protected final String TEXT_24 = "\"/>";
+ protected final String TEXT_25 = NL + " class=\"";
+ protected final String TEXT_26 = "\"/>";
+ protected final String TEXT_27 = NL + " </extension>";
+ protected final String TEXT_28 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.content_parser\">";
+ protected final String TEXT_29 = NL + " <!-- @generated ";
+ protected final String TEXT_30 = " -->";
+ protected final String TEXT_31 = NL + " <parser" + NL + " contentTypeIdentifier=\"";
+ protected final String TEXT_32 = "\"" + NL + " class=\"";
+ protected final String TEXT_33 = "\"/>" + NL + " </extension>" + NL + "" + NL
+ + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
+ protected final String TEXT_34 = NL + " <!-- @generated ";
+ protected final String TEXT_35 = " -->";
+ protected final String TEXT_36 = NL + " <content-type" + NL + " base-type=\"";
+ protected final String TEXT_37 = "\"" + NL + " file-extensions=\"";
+ protected final String TEXT_38 = "\"" + NL + " id=\"";
+ protected final String TEXT_39 = "\"" + NL + " name=\"%_UI_";
+ protected final String TEXT_40 = "_content_type\"" + NL + " priority=\"normal\">" + NL
+ + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
+ protected final String TEXT_41 = NL + " <parameter name=\"namespace\" value=\"";
+ protected final String TEXT_42 = "\"/>";
+ protected final String TEXT_43 = NL + " <parameter name=\"kind\" value=\"xmi\"/>";
+ protected final String TEXT_44 = NL + " </describer>" + NL + " </content-type>" + NL
+ + " </extension>";
+ protected final String TEXT_45 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.extension_parser\">";
+ protected final String TEXT_46 = NL + " <!-- @generated ";
+ protected final String TEXT_47 = " -->";
+ protected final String TEXT_48 = NL + " <parser" + NL + " type=\"";
+ protected final String TEXT_49 = "\"" + NL + " class=\"";
+ protected final String TEXT_50 = "\"/>";
+ protected final String TEXT_51 = NL + " </extension>";
+ protected final String TEXT_52 = NL + NL
+ + " <extension point=\"org.eclipse.emf.edit.itemProviderAdapterFactories\">";
+ protected final String TEXT_53 = NL + " <!-- @generated ";
+ protected final String TEXT_54 = " -->";
+ protected final String TEXT_55 = NL + " <factory" + NL + " uri=\"";
+ protected final String TEXT_56 = "\"" + NL + " class=\"";
+ protected final String TEXT_57 = "\"" + NL + " supportedTypes=";
+ protected final String TEXT_58 = NL + " ";
+ protected final String TEXT_59 = "\"/>";
+ protected final String TEXT_60 = NL + " </extension>";
+ protected final String TEXT_61 = NL + NL + " <extension point=\"org.eclipse.emf.edit.childCreationExtenders\">";
+ protected final String TEXT_62 = NL + " <!-- @generated ";
+ protected final String TEXT_63 = " -->";
+ protected final String TEXT_64 = NL + " <extender" + NL + " uri=\"";
+ protected final String TEXT_65 = "\"" + NL + " class=\"";
+ protected final String TEXT_66 = "$";
+ protected final String TEXT_67 = "\"/>";
+ protected final String TEXT_68 = NL + " </extension>";
+ protected final String TEXT_69 = NL + NL + " <extension" + NL
+ + " point=\"org.eclipse.core.runtime.applications\"" + NL + " id=\"";
+ protected final String TEXT_70 = "Application\">";
+ protected final String TEXT_71 = NL + " <!-- @generated ";
+ protected final String TEXT_72 = " -->";
+ protected final String TEXT_73 = NL + " <application>" + NL + " <run class=\"";
+ protected final String TEXT_74 = "$Application\"/>" + NL + " </application>" + NL + " </extension>" + NL
+ + "" + NL + " <extension point=\"org.eclipse.ui.perspectives\">";
+ protected final String TEXT_75 = NL + " <!-- @generated ";
+ protected final String TEXT_76 = " -->";
+ protected final String TEXT_77 = NL + " <perspective" + NL + " name=\"%_UI_Perspective_label\""
+ + NL + " class=\"";
+ protected final String TEXT_78 = "$Perspective\"" + NL + " id=\"";
+ protected final String TEXT_79 = "Perspective\">" + NL + " </perspective>" + NL + " </extension>" + NL + ""
+ + NL + " <extension point=\"org.eclipse.ui.commands\">";
+ protected final String TEXT_80 = NL + " <!-- @generated ";
+ protected final String TEXT_81 = " -->";
+ protected final String TEXT_82 = NL + " <command" + NL + " name=\"%_UI_Menu_OpenURI_label\"" + NL
+ + " description=\"%_UI_Menu_OpenURI_description\"" + NL
+ + " categoryId=\"org.eclipse.ui.category.file\"" + NL + " id=\"";
+ protected final String TEXT_83 = "OpenURICommand\"/>";
+ protected final String TEXT_84 = NL + " <command" + NL + " name=\"%_UI_Menu_Open_label\"" + NL
+ + " description=\"%_UI_Menu_Open_description\"" + NL
+ + " categoryId=\"org.eclipse.ui.category.file\"" + NL + " id=\"";
+ protected final String TEXT_85 = "OpenCommand\"/>";
+ protected final String TEXT_86 = NL + " </extension>" + NL;
+ protected final String TEXT_87 = NL + " <extension point=\"org.eclipse.ui.bindings\">";
+ protected final String TEXT_88 = NL + " <!-- @generated ";
+ protected final String TEXT_89 = " -->";
+ protected final String TEXT_90 = NL + " <key" + NL + " commandId=\"";
+ protected final String TEXT_91 = "OpenURICommand\"" + NL + " sequence=\"M1+U\"" + NL
+ + " schemeId=\"org.eclipse.ui.defaultAcceleratorConfiguration\"/>" + NL + " <key" + NL
+ + " commandId=\"";
+ protected final String TEXT_92 = "OpenCommand\"" + NL + " sequence=\"M1+O\"" + NL
+ + " schemeId=\"org.eclipse.ui.defaultAcceleratorConfiguration\"/>" + NL + " </extension>";
+ protected final String TEXT_93 = NL + NL + " <extension point=\"org.eclipse.ui.actionSets\">";
+ protected final String TEXT_94 = NL + " <!-- @generated ";
+ protected final String TEXT_95 = " -->";
+ protected final String TEXT_96 = NL + " <actionSet" + NL + " label=\"%_UI_";
+ protected final String TEXT_97 = "_ActionSet_label\"" + NL + " visible=\"true\"" + NL
+ + " id=\"";
+ protected final String TEXT_98 = "ActionSet\">" + NL + " <action" + NL
+ + " label=\"%_UI_Menu_About_label\"" + NL + " class=\"";
+ protected final String TEXT_99 = "$AboutAction\"" + NL + " menubarPath=\"help/additions\"" + NL
+ + " id=\"";
+ protected final String TEXT_100 = "AboutAction\"/>" + NL + " <action" + NL
+ + " label=\"%_UI_Menu_OpenURI_label\"" + NL + " definitionId=\"";
+ protected final String TEXT_101 = "OpenURICommand\"" + NL + " class=\"";
+ protected final String TEXT_102 = "$OpenURIAction\"" + NL + " menubarPath=\"file/additions\"" + NL
+ + " id=\"";
+ protected final String TEXT_103 = "OpenURIAction\"/>";
+ protected final String TEXT_104 = NL + " <action" + NL + " label=\"%_UI_Menu_Open_label\""
+ + NL + " definitionId=\"";
+ protected final String TEXT_105 = "OpenCommand\"" + NL + " class=\"";
+ protected final String TEXT_106 = "$OpenAction\"" + NL + " menubarPath=\"file/additions\"" + NL
+ + " id=\"";
+ protected final String TEXT_107 = "OpenAction\"/>";
+ protected final String TEXT_108 = NL + " </actionSet>" + NL + " </extension>";
+ protected final String TEXT_109 = NL + NL + " <extension point=\"org.eclipse.ui.actionSets\">";
+ protected final String TEXT_110 = NL + " <!-- @generated ";
+ protected final String TEXT_111 = " -->";
+ protected final String TEXT_112 = NL + " <actionSet" + NL + " label=\"%_UI_";
+ protected final String TEXT_113 = "_ActionSet_label\"" + NL + " visible=\"true\"" + NL
+ + " id=\"";
+ protected final String TEXT_114 = "ActionSet\">" + NL + " <action" + NL + " label=\"%_UI_";
+ protected final String TEXT_115 = "_label\"" + NL + " class=\"";
+ protected final String TEXT_116 = "$NewAction\"" + NL + " menubarPath=\"file/new/additions\"" + NL
+ + " id=\"";
+ protected final String TEXT_117 = "NewAction\"/>" + NL + " </actionSet>" + NL + " </extension>";
+ protected final String TEXT_118 = NL + NL + " <extension point=\"org.eclipse.ui.newWizards\">";
+ protected final String TEXT_119 = NL + " <!-- @generated ";
+ protected final String TEXT_120 = " -->";
+ protected final String TEXT_121 = NL + " <category" + NL
+ + " id=\"org.eclipse.emf.ecore.Wizard.category.ID\"" + NL
+ + " name=\"%_UI_Wizard_category\"/>" + NL + " <wizard" + NL + " id=\"";
+ protected final String TEXT_122 = "ID\"" + NL + " name=\"%_UI_";
+ protected final String TEXT_123 = "_label\"" + NL + " class=\"";
+ protected final String TEXT_124 = "\"" + NL + " category=\"org.eclipse.emf.ecore.Wizard.category.ID\""
+ + NL + " icon=\"icons/full/obj16/";
+ protected final String TEXT_125 = "ModelFile.gif\">" + NL + " <description>%_UI_";
+ protected final String TEXT_126 = "_description</description>" + NL
+ + " <selection class=\"org.eclipse.core.resources.IResource\"/>" + NL + " </wizard>" + NL
+ + " </extension>";
+ protected final String TEXT_127 = NL + NL + " <extension point=\"org.eclipse.ui.editors\">";
+ protected final String TEXT_128 = NL + " <!-- @generated ";
+ protected final String TEXT_129 = " -->";
+ protected final String TEXT_130 = NL + " <editor" + NL + " id=\"";
+ protected final String TEXT_131 = "ID\"" + NL + " name=\"%_UI_";
+ protected final String TEXT_132 = "_label\"" + NL + " icon=\"icons/full/obj16/";
+ protected final String TEXT_133 = "ModelFile.gif\"";
+ protected final String TEXT_134 = NL + " extensions=\"";
+ protected final String TEXT_135 = "\"";
+ protected final String TEXT_136 = NL + " class=\"";
+ protected final String TEXT_137 = "\"" + NL + " contributorClass=\"";
+ protected final String TEXT_138 = "\">";
+ protected final String TEXT_139 = NL + " <contentTypeBinding contentTypeId=\"";
+ protected final String TEXT_140 = "\"/>";
+ protected final String TEXT_141 = NL + " </editor>" + NL + " </extension>";
+ protected final String TEXT_142 = NL + NL + "</plugin>" + NL;
+ protected final String TEXT_143 = NL;
+ protected final String TEXT_144 = NL;
+
+ public PluginXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(TEXT_144);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditorProjectDirectory() + "/plugin.xml";
+ overwrite = true;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ String key = genModel.getPluginKey();
+ boolean hasKey = key != null && !key.equals("");
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ if (genModel.isBundleManifest()) {
+ stringBuffer.append(TEXT_4);
+ } else {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getEditorPluginID());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel.getQualifiedEditorPluginClassName());
+ stringBuffer.append(TEXT_7);
+ for (String pluginID : genModel.getEditorRequiredPlugins()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(pluginID);
+ stringBuffer.append(TEXT_9);
+ if (!pluginID.startsWith("org.eclipse.core.runtime")) {
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ if (genModel.isRuntimeJar()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getEditorPluginID());
+ stringBuffer.append(TEXT_14);
+ } else {
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ }
+ if (genModel.sameModelEditorProject()) {
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ stringBuffer.append(TEXT_17);
+ if (hasKey) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_21);
+ if (genModel.hasLocalGenModel()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genModel.getRelativeGenModelLocation());
+ stringBuffer.append(TEXT_24);
+ } else {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_28);
+ if (hasKey) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genPackage.getContentTypeIdentifier());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genPackage.getQualifiedEffectiveResourceFactoryClassName());
+ stringBuffer.append(TEXT_33);
+ if (hasKey) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi"
+ : "org.eclipse.core.runtime.xml");
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getFileExtensions());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getContentTypeIdentifier());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_40);
+ if (genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_42);
+ }
+ if (genPackage.isXMIResource()) {
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ } else if (genPackage.getResource() != GenResourceKind.NONE_LITERAL) {
+ stringBuffer.append(TEXT_45);
+ if (hasKey) {
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_47);
+ }
+ for (String fileExtension : genPackage.getFileExtensionList()) {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(fileExtension);
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genPackage.getQualifiedResourceFactoryClassName());
+ stringBuffer.append(TEXT_50);
+ }
+ stringBuffer.append(TEXT_51);
+ }
+ }
+ }
+ if (genModel.sameEditEditorProject()) {
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (!genPackage.getGenClasses().isEmpty()) {
+ stringBuffer.append(TEXT_52);
+ if (hasKey) {
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_54);
+ }
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genPackage.getQualifiedItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_57);
+ for (ListIterator<?> j = genPackage.getProviderSupportedTypes().listIterator(); j.hasNext();) {
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(j.hasPrevious() ? " " : "\"");
+ stringBuffer.append(j.next());
+ if (!j.hasNext()) {
+ stringBuffer.append(TEXT_59);
+ }
+ }
+ stringBuffer.append(TEXT_60);
+ if (genPackage.isChildCreationExtenders()) {
+ Map<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> extendedChildCreationData = genPackage
+ .getExtendedChildCreationData();
+ if (!extendedChildCreationData.isEmpty()) {
+ stringBuffer.append(TEXT_61);
+ for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> entry : extendedChildCreationData
+ .entrySet()) {
+ if (hasKey) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_63);
+ }
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(entry.getKey().getNSURI());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genPackage.getQualifiedItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genPackage.getChildCreationExtenderName(entry.getKey()));
+ stringBuffer.append(TEXT_67);
+ }
+ stringBuffer.append(TEXT_68);
+ }
+ }
+ }
+ }
+ }
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genModel.getEditorAdvisorClassName());
+ stringBuffer.append(TEXT_70);
+ if (hasKey) {
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_72);
+ }
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_74);
+ if (hasKey) {
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_76);
+ }
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_79);
+ if (hasKey) {
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_81);
+ }
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_83);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_85);
+ }
+ stringBuffer.append(TEXT_86);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_87);
+ if (hasKey) {
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_89);
+ }
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_92);
+ }
+ stringBuffer.append(TEXT_93);
+ if (hasKey) {
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_95);
+ }
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genModel.getEditorAdvisorClassName());
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genModel.getEditorAdvisorClassName());
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_103);
+ if (!genModel.isRichAjaxPlatform()) {
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genModel.getQualifiedEditorAdvisorClassName());
+ stringBuffer.append(TEXT_107);
+ }
+ stringBuffer.append(TEXT_108);
+ }
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (genPackage.hasConcreteClasses()) {
+ if (genPackage.isGenerateModelWizard()) {
+ if (genModel.isRichClientPlatform()) {
+ stringBuffer.append(TEXT_109);
+ if (hasKey) {
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_111);
+ }
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genPackage.getQualifiedActionBarContributorClassName());
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genPackage.getQualifiedActionBarContributorClassName());
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genPackage.getQualifiedActionBarContributorClassName());
+ stringBuffer.append(TEXT_117);
+ } else {
+ stringBuffer.append(TEXT_118);
+ if (hasKey) {
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_120);
+ }
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genPackage.getQualifiedModelWizardClassName());
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genPackage.getQualifiedModelWizardClassName());
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genPackage.getModelWizardClassName());
+ stringBuffer.append(TEXT_126);
+ }
+ }
+ stringBuffer.append(TEXT_127);
+ if (hasKey) {
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_129);
+ }
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genPackage.getQualifiedEditorClassName());
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(genPackage.getEditorClassName());
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_133);
+ if (!genPackage.isContentType()) {
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genPackage.getFileExtensions());
+ stringBuffer.append(TEXT_135);
+ }
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genPackage.getQualifiedEditorClassName());
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genPackage.getQualifiedActionBarContributorClassName());
+ stringBuffer.append(TEXT_138);
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genPackage.getQualifiedContentTypeIdentifier());
+ stringBuffer.append(TEXT_140);
+ }
+ stringBuffer.append(TEXT_141);
+ }
+ }
+ stringBuffer.append(TEXT_142);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/WebXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/WebXML.java
new file mode 100644
index 0000000..47d2544
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/WebXML.java
@@ -0,0 +1,196 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class WebXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized WebXML create(String lineSeparator) {
+ nl = lineSeparator;
+ WebXML result = new WebXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ + NL
+ + "<!DOCTYPE web-app PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\" \"http://java.sun.com/dtd/web-app_2_3.dtd\">";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "<web-app>" + NL + " <servlet>" + NL
+ + " <servlet-name>uriServlet</servlet-name>" + NL
+ + " <servlet-class>org.eclipse.emf.server.ecore.resource.URIServiceImpl</servlet-class>" + NL
+ + " </servlet>" + NL + " " + NL + " <servlet-mapping>" + NL
+ + " <servlet-name>uriServlet</servlet-name>" + NL + " <url-pattern>/";
+ protected final String TEXT_4 = "/uriService</url-pattern>" + NL + " </servlet-mapping>" + NL + "" + NL
+ + " <welcome-file-list>" + NL + " <welcome-file>";
+ protected final String TEXT_5 = ".html</welcome-file>" + NL + " </welcome-file-list>" + NL + "</web-app>" + NL;
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL;
+
+ public WebXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(TEXT_7);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getEditorProjectDirectory() + "/war/WEB-INF/web.xml";
+ overwrite = false;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genModel.getQualifiedEditorModuleName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getEditorHomePageName());
+ stringBuffer.append(TEXT_5);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesinsert.java
new file mode 100644
index 0000000..079787c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesinsert.java
@@ -0,0 +1,434 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor.call.Editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class EditoraddItemProviderFactoriesinsert {
+ protected static String nl;
+
+ public static synchronized EditoraddItemProviderFactoriesinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ EditoraddItemProviderFactoriesinsert result = new EditoraddItemProviderFactoriesinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public EditoraddItemProviderFactoriesinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> importedOperationClassNameList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> operationMethodNameList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfObjectList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfSelectionChangedListenerList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _CollectionOfSelectionChangedListenerList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfResourceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _CollectionOfResourceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _MapOfResourceToDiagnosticList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _HashMapOfResourceToBooleanList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _MapOfObjectToObjectList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _HashMapOfObjectToObjectList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _LinkedHashMapOfResourceToDiagnosticList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _CollectionOfAnythingList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListOfAnythingList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> useExtendedLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> useStyledLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _AdapterFactoryLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _DelegatingAdapterFactoryLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _DecoratingColumLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _DiagnosticDecoratorList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfStringList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListOfStringList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListOfPropertySheetPageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfPropertySheetPageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object importedOperationClassNameParameter : importedOperationClassNameList) {
+ for (Object operationMethodNameParameter : operationMethodNameList) {
+ for (Object _ArrayListOfObjectParameter : _ArrayListOfObjectList) {
+ for (Object _ArrayListOfSelectionChangedListenerParameter : _ArrayListOfSelectionChangedListenerList) {
+ for (Object _CollectionOfSelectionChangedListenerParameter : _CollectionOfSelectionChangedListenerList) {
+ for (Object _ArrayListOfResourceParameter : _ArrayListOfResourceList) {
+ for (Object _CollectionOfResourceParameter : _CollectionOfResourceList) {
+ for (Object _MapOfResourceToDiagnosticParameter : _MapOfResourceToDiagnosticList) {
+ for (Object _HashMapOfResourceToBooleanParameter : _HashMapOfResourceToBooleanList) {
+ for (Object _MapOfObjectToObjectParameter : _MapOfObjectToObjectList) {
+ for (Object _HashMapOfObjectToObjectParameter : _HashMapOfObjectToObjectList) {
+ for (Object _LinkedHashMapOfResourceToDiagnosticParameter : _LinkedHashMapOfResourceToDiagnosticList) {
+ for (Object _CollectionOfAnythingParameter : _CollectionOfAnythingList) {
+ for (Object _ListOfAnythingParameter : _ListOfAnythingList) {
+ for (Object useExtendedLabelProviderParameter : useExtendedLabelProviderList) {
+ for (Object useStyledLabelProviderParameter : useStyledLabelProviderList) {
+ for (Object _AdapterFactoryLabelProviderParameter : _AdapterFactoryLabelProviderList) {
+ for (Object _DelegatingAdapterFactoryLabelProviderParameter : _DelegatingAdapterFactoryLabelProviderList) {
+ for (Object _DecoratingColumLabelProviderParameter : _DecoratingColumLabelProviderList) {
+ for (Object _DiagnosticDecoratorParameter : _DiagnosticDecoratorList) {
+ for (Object _ArrayListOfStringParameter : _ArrayListOfStringList) {
+ for (Object _ListOfStringParameter : _ListOfStringList) {
+ for (Object _ListOfPropertySheetPageParameter : _ListOfPropertySheetPageList) {
+ for (Object _ArrayListOfPropertySheetPageParameter : _ArrayListOfPropertySheetPageList) {
+
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.importedOperationClassName = (java.lang.String) importedOperationClassNameParameter;
+ this.operationMethodName = (java.lang.String) operationMethodNameParameter;
+ this._ArrayListOfObject = (java.lang.String) _ArrayListOfObjectParameter;
+ this._ArrayListOfSelectionChangedListener = (java.lang.String) _ArrayListOfSelectionChangedListenerParameter;
+ this._CollectionOfSelectionChangedListener = (java.lang.String) _CollectionOfSelectionChangedListenerParameter;
+ this._ArrayListOfResource = (java.lang.String) _ArrayListOfResourceParameter;
+ this._CollectionOfResource = (java.lang.String) _CollectionOfResourceParameter;
+ this._MapOfResourceToDiagnostic = (java.lang.String) _MapOfResourceToDiagnosticParameter;
+ this._HashMapOfResourceToBoolean = (java.lang.String) _HashMapOfResourceToBooleanParameter;
+ this._MapOfObjectToObject = (java.lang.String) _MapOfObjectToObjectParameter;
+ this._HashMapOfObjectToObject = (java.lang.String) _HashMapOfObjectToObjectParameter;
+ this._LinkedHashMapOfResourceToDiagnostic = (java.lang.String) _LinkedHashMapOfResourceToDiagnosticParameter;
+ this._CollectionOfAnything = (java.lang.String) _CollectionOfAnythingParameter;
+ this._ListOfAnything = (java.lang.String) _ListOfAnythingParameter;
+ this.useExtendedLabelProvider = (java.lang.Boolean) useExtendedLabelProviderParameter;
+ this.useStyledLabelProvider = (java.lang.Boolean) useStyledLabelProviderParameter;
+ this._AdapterFactoryLabelProvider = (java.lang.String) _AdapterFactoryLabelProviderParameter;
+ this._DelegatingAdapterFactoryLabelProvider = (java.lang.String) _DelegatingAdapterFactoryLabelProviderParameter;
+ this._DecoratingColumLabelProvider = (java.lang.String) _DecoratingColumLabelProviderParameter;
+ this._DiagnosticDecorator = (java.lang.String) _DiagnosticDecoratorParameter;
+ this._ArrayListOfString = (java.lang.String) _ArrayListOfStringParameter;
+ this._ListOfString = (java.lang.String) _ListOfStringParameter;
+ this._ListOfPropertySheetPage = (java.lang.String) _ListOfPropertySheetPageParameter;
+ this._ArrayListOfPropertySheetPage = (java.lang.String) _ArrayListOfPropertySheetPageParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(
+ currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("importedOperationClassName", this.importedOperationClassName);
+ parameterValues.put("operationMethodName", this.operationMethodName);
+ parameterValues.put("_ArrayListOfObject", this._ArrayListOfObject);
+ parameterValues.put("_ArrayListOfSelectionChangedListener", this._ArrayListOfSelectionChangedListener);
+ parameterValues.put("_CollectionOfSelectionChangedListener", this._CollectionOfSelectionChangedListener);
+ parameterValues.put("_ArrayListOfResource", this._ArrayListOfResource);
+ parameterValues.put("_CollectionOfResource", this._CollectionOfResource);
+ parameterValues.put("_MapOfResourceToDiagnostic", this._MapOfResourceToDiagnostic);
+ parameterValues.put("_HashMapOfResourceToBoolean", this._HashMapOfResourceToBoolean);
+ parameterValues.put("_MapOfObjectToObject", this._MapOfObjectToObject);
+ parameterValues.put("_HashMapOfObjectToObject", this._HashMapOfObjectToObject);
+ parameterValues.put("_LinkedHashMapOfResourceToDiagnostic", this._LinkedHashMapOfResourceToDiagnostic);
+ parameterValues.put("_CollectionOfAnything", this._CollectionOfAnything);
+ parameterValues.put("_ListOfAnything", this._ListOfAnything);
+ parameterValues.put("useExtendedLabelProvider", this.useExtendedLabelProvider);
+ parameterValues.put("useStyledLabelProvider", this.useStyledLabelProvider);
+ parameterValues.put("_AdapterFactoryLabelProvider", this._AdapterFactoryLabelProvider);
+ parameterValues.put("_DelegatingAdapterFactoryLabelProvider", this._DelegatingAdapterFactoryLabelProvider);
+ parameterValues.put("_DecoratingColumLabelProvider", this._DecoratingColumLabelProvider);
+ parameterValues.put("_DiagnosticDecorator", this._DiagnosticDecorator);
+ parameterValues.put("_ArrayListOfString", this._ArrayListOfString);
+ parameterValues.put("_ListOfString", this._ListOfString);
+ parameterValues.put("_ListOfPropertySheetPage", this._ListOfPropertySheetPage);
+ parameterValues.put("_ArrayListOfPropertySheetPage", this._ArrayListOfPropertySheetPage);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.String importedOperationClassName = null;
+
+ public void set_importedOperationClassName(java.lang.String object) {
+ this.importedOperationClassName = object;
+ }
+
+ protected java.lang.String operationMethodName = null;
+
+ public void set_operationMethodName(java.lang.String object) {
+ this.operationMethodName = object;
+ }
+
+ protected java.lang.String _ArrayListOfObject = null;
+
+ public void set__ArrayListOfObject(java.lang.String object) {
+ this._ArrayListOfObject = object;
+ }
+
+ protected java.lang.String _ArrayListOfSelectionChangedListener = null;
+
+ public void set__ArrayListOfSelectionChangedListener(java.lang.String object) {
+ this._ArrayListOfSelectionChangedListener = object;
+ }
+
+ protected java.lang.String _CollectionOfSelectionChangedListener = null;
+
+ public void set__CollectionOfSelectionChangedListener(java.lang.String object) {
+ this._CollectionOfSelectionChangedListener = object;
+ }
+
+ protected java.lang.String _ArrayListOfResource = null;
+
+ public void set__ArrayListOfResource(java.lang.String object) {
+ this._ArrayListOfResource = object;
+ }
+
+ protected java.lang.String _CollectionOfResource = null;
+
+ public void set__CollectionOfResource(java.lang.String object) {
+ this._CollectionOfResource = object;
+ }
+
+ protected java.lang.String _MapOfResourceToDiagnostic = null;
+
+ public void set__MapOfResourceToDiagnostic(java.lang.String object) {
+ this._MapOfResourceToDiagnostic = object;
+ }
+
+ protected java.lang.String _HashMapOfResourceToBoolean = null;
+
+ public void set__HashMapOfResourceToBoolean(java.lang.String object) {
+ this._HashMapOfResourceToBoolean = object;
+ }
+
+ protected java.lang.String _MapOfObjectToObject = null;
+
+ public void set__MapOfObjectToObject(java.lang.String object) {
+ this._MapOfObjectToObject = object;
+ }
+
+ protected java.lang.String _HashMapOfObjectToObject = null;
+
+ public void set__HashMapOfObjectToObject(java.lang.String object) {
+ this._HashMapOfObjectToObject = object;
+ }
+
+ protected java.lang.String _LinkedHashMapOfResourceToDiagnostic = null;
+
+ public void set__LinkedHashMapOfResourceToDiagnostic(java.lang.String object) {
+ this._LinkedHashMapOfResourceToDiagnostic = object;
+ }
+
+ protected java.lang.String _CollectionOfAnything = null;
+
+ public void set__CollectionOfAnything(java.lang.String object) {
+ this._CollectionOfAnything = object;
+ }
+
+ protected java.lang.String _ListOfAnything = null;
+
+ public void set__ListOfAnything(java.lang.String object) {
+ this._ListOfAnything = object;
+ }
+
+ protected java.lang.Boolean useExtendedLabelProvider = null;
+
+ public void set_useExtendedLabelProvider(java.lang.Boolean object) {
+ this.useExtendedLabelProvider = object;
+ }
+
+ protected java.lang.Boolean useStyledLabelProvider = null;
+
+ public void set_useStyledLabelProvider(java.lang.Boolean object) {
+ this.useStyledLabelProvider = object;
+ }
+
+ protected java.lang.String _AdapterFactoryLabelProvider = null;
+
+ public void set__AdapterFactoryLabelProvider(java.lang.String object) {
+ this._AdapterFactoryLabelProvider = object;
+ }
+
+ protected java.lang.String _DelegatingAdapterFactoryLabelProvider = null;
+
+ public void set__DelegatingAdapterFactoryLabelProvider(java.lang.String object) {
+ this._DelegatingAdapterFactoryLabelProvider = object;
+ }
+
+ protected java.lang.String _DecoratingColumLabelProvider = null;
+
+ public void set__DecoratingColumLabelProvider(java.lang.String object) {
+ this._DecoratingColumLabelProvider = object;
+ }
+
+ protected java.lang.String _DiagnosticDecorator = null;
+
+ public void set__DiagnosticDecorator(java.lang.String object) {
+ this._DiagnosticDecorator = object;
+ }
+
+ protected java.lang.String _ArrayListOfString = null;
+
+ public void set__ArrayListOfString(java.lang.String object) {
+ this._ArrayListOfString = object;
+ }
+
+ protected java.lang.String _ListOfString = null;
+
+ public void set__ListOfString(java.lang.String object) {
+ this._ListOfString = object;
+ }
+
+ protected java.lang.String _ListOfPropertySheetPage = null;
+
+ public void set__ListOfPropertySheetPage(java.lang.String object) {
+ this._ListOfPropertySheetPage = object;
+ }
+
+ protected java.lang.String _ArrayListOfPropertySheetPage = null;
+
+ public void set__ArrayListOfPropertySheetPage(java.lang.String object) {
+ this._ArrayListOfPropertySheetPage = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("importedOperationClassName", this.importedOperationClassName);
+ parameters.put("operationMethodName", this.operationMethodName);
+ parameters.put("_ArrayListOfObject", this._ArrayListOfObject);
+ parameters.put("_ArrayListOfSelectionChangedListener", this._ArrayListOfSelectionChangedListener);
+ parameters.put("_CollectionOfSelectionChangedListener", this._CollectionOfSelectionChangedListener);
+ parameters.put("_ArrayListOfResource", this._ArrayListOfResource);
+ parameters.put("_CollectionOfResource", this._CollectionOfResource);
+ parameters.put("_MapOfResourceToDiagnostic", this._MapOfResourceToDiagnostic);
+ parameters.put("_HashMapOfResourceToBoolean", this._HashMapOfResourceToBoolean);
+ parameters.put("_MapOfObjectToObject", this._MapOfObjectToObject);
+ parameters.put("_HashMapOfObjectToObject", this._HashMapOfObjectToObject);
+ parameters.put("_LinkedHashMapOfResourceToDiagnostic", this._LinkedHashMapOfResourceToDiagnostic);
+ parameters.put("_CollectionOfAnything", this._CollectionOfAnything);
+ parameters.put("_ListOfAnything", this._ListOfAnything);
+ parameters.put("useExtendedLabelProvider", this.useExtendedLabelProvider);
+ parameters.put("useStyledLabelProvider", this.useStyledLabelProvider);
+ parameters.put("_AdapterFactoryLabelProvider", this._AdapterFactoryLabelProvider);
+ parameters.put("_DelegatingAdapterFactoryLabelProvider", this._DelegatingAdapterFactoryLabelProvider);
+ parameters.put("_DecoratingColumLabelProvider", this._DecoratingColumLabelProvider);
+ parameters.put("_DiagnosticDecorator", this._DiagnosticDecorator);
+ parameters.put("_ArrayListOfString", this._ArrayListOfString);
+ parameters.put("_ListOfString", this._ListOfString);
+ parameters.put("_ListOfPropertySheetPage", this._ListOfPropertySheetPage);
+ parameters.put("_ArrayListOfPropertySheetPage", this._ArrayListOfPropertySheetPage);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesoverride.java
new file mode 100644
index 0000000..7259454
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesoverride.java
@@ -0,0 +1,498 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.editor.call.Editor;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class EditoraddItemProviderFactoriesoverride {
+ protected static String nl;
+
+ public static synchronized EditoraddItemProviderFactoriesoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ EditoraddItemProviderFactoriesoverride result = new EditoraddItemProviderFactoriesoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t\tadapterFactory.addAdapterFactory(new ";
+ protected final String TEXT_3 = "());";
+ protected final String TEXT_4 = NL + "\t\tadapterFactory.addAdapterFactory(new ";
+ protected final String TEXT_5 = "());";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL;
+ protected final String TEXT_9 = NL;
+
+ public EditoraddItemProviderFactoriesoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> importedOperationClassNameList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> operationMethodNameList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfObjectList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfSelectionChangedListenerList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _CollectionOfSelectionChangedListenerList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfResourceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _CollectionOfResourceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _MapOfResourceToDiagnosticList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _HashMapOfResourceToBooleanList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _MapOfObjectToObjectList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _HashMapOfObjectToObjectList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _LinkedHashMapOfResourceToDiagnosticList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _CollectionOfAnythingList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListOfAnythingList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> useExtendedLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> useStyledLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _AdapterFactoryLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _DelegatingAdapterFactoryLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _DecoratingColumLabelProviderList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _DiagnosticDecoratorList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfStringList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListOfStringList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ListOfPropertySheetPageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _ArrayListOfPropertySheetPageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object importedOperationClassNameParameter : importedOperationClassNameList) {
+ for (Object operationMethodNameParameter : operationMethodNameList) {
+ for (Object _ArrayListOfObjectParameter : _ArrayListOfObjectList) {
+ for (Object _ArrayListOfSelectionChangedListenerParameter : _ArrayListOfSelectionChangedListenerList) {
+ for (Object _CollectionOfSelectionChangedListenerParameter : _CollectionOfSelectionChangedListenerList) {
+ for (Object _ArrayListOfResourceParameter : _ArrayListOfResourceList) {
+ for (Object _CollectionOfResourceParameter : _CollectionOfResourceList) {
+ for (Object _MapOfResourceToDiagnosticParameter : _MapOfResourceToDiagnosticList) {
+ for (Object _HashMapOfResourceToBooleanParameter : _HashMapOfResourceToBooleanList) {
+ for (Object _MapOfObjectToObjectParameter : _MapOfObjectToObjectList) {
+ for (Object _HashMapOfObjectToObjectParameter : _HashMapOfObjectToObjectList) {
+ for (Object _LinkedHashMapOfResourceToDiagnosticParameter : _LinkedHashMapOfResourceToDiagnosticList) {
+ for (Object _CollectionOfAnythingParameter : _CollectionOfAnythingList) {
+ for (Object _ListOfAnythingParameter : _ListOfAnythingList) {
+ for (Object useExtendedLabelProviderParameter : useExtendedLabelProviderList) {
+ for (Object useStyledLabelProviderParameter : useStyledLabelProviderList) {
+ for (Object _AdapterFactoryLabelProviderParameter : _AdapterFactoryLabelProviderList) {
+ for (Object _DelegatingAdapterFactoryLabelProviderParameter : _DelegatingAdapterFactoryLabelProviderList) {
+ for (Object _DecoratingColumLabelProviderParameter : _DecoratingColumLabelProviderList) {
+ for (Object _DiagnosticDecoratorParameter : _DiagnosticDecoratorList) {
+ for (Object _ArrayListOfStringParameter : _ArrayListOfStringList) {
+ for (Object _ListOfStringParameter : _ListOfStringList) {
+ for (Object _ListOfPropertySheetPageParameter : _ListOfPropertySheetPageList) {
+ for (Object _ArrayListOfPropertySheetPageParameter : _ArrayListOfPropertySheetPageList) {
+
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.importedOperationClassName = (java.lang.String) importedOperationClassNameParameter;
+ this.operationMethodName = (java.lang.String) operationMethodNameParameter;
+ this._ArrayListOfObject = (java.lang.String) _ArrayListOfObjectParameter;
+ this._ArrayListOfSelectionChangedListener = (java.lang.String) _ArrayListOfSelectionChangedListenerParameter;
+ this._CollectionOfSelectionChangedListener = (java.lang.String) _CollectionOfSelectionChangedListenerParameter;
+ this._ArrayListOfResource = (java.lang.String) _ArrayListOfResourceParameter;
+ this._CollectionOfResource = (java.lang.String) _CollectionOfResourceParameter;
+ this._MapOfResourceToDiagnostic = (java.lang.String) _MapOfResourceToDiagnosticParameter;
+ this._HashMapOfResourceToBoolean = (java.lang.String) _HashMapOfResourceToBooleanParameter;
+ this._MapOfObjectToObject = (java.lang.String) _MapOfObjectToObjectParameter;
+ this._HashMapOfObjectToObject = (java.lang.String) _HashMapOfObjectToObjectParameter;
+ this._LinkedHashMapOfResourceToDiagnostic = (java.lang.String) _LinkedHashMapOfResourceToDiagnosticParameter;
+ this._CollectionOfAnything = (java.lang.String) _CollectionOfAnythingParameter;
+ this._ListOfAnything = (java.lang.String) _ListOfAnythingParameter;
+ this.useExtendedLabelProvider = (java.lang.Boolean) useExtendedLabelProviderParameter;
+ this.useStyledLabelProvider = (java.lang.Boolean) useStyledLabelProviderParameter;
+ this._AdapterFactoryLabelProvider = (java.lang.String) _AdapterFactoryLabelProviderParameter;
+ this._DelegatingAdapterFactoryLabelProvider = (java.lang.String) _DelegatingAdapterFactoryLabelProviderParameter;
+ this._DecoratingColumLabelProvider = (java.lang.String) _DecoratingColumLabelProviderParameter;
+ this._DiagnosticDecorator = (java.lang.String) _DiagnosticDecoratorParameter;
+ this._ArrayListOfString = (java.lang.String) _ArrayListOfStringParameter;
+ this._ListOfString = (java.lang.String) _ListOfStringParameter;
+ this._ListOfPropertySheetPage = (java.lang.String) _ListOfPropertySheetPageParameter;
+ this._ArrayListOfPropertySheetPage = (java.lang.String) _ArrayListOfPropertySheetPageParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(
+ currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(TEXT_9);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("importedOperationClassName", this.importedOperationClassName);
+ parameterValues.put("operationMethodName", this.operationMethodName);
+ parameterValues.put("_ArrayListOfObject", this._ArrayListOfObject);
+ parameterValues.put("_ArrayListOfSelectionChangedListener", this._ArrayListOfSelectionChangedListener);
+ parameterValues.put("_CollectionOfSelectionChangedListener", this._CollectionOfSelectionChangedListener);
+ parameterValues.put("_ArrayListOfResource", this._ArrayListOfResource);
+ parameterValues.put("_CollectionOfResource", this._CollectionOfResource);
+ parameterValues.put("_MapOfResourceToDiagnostic", this._MapOfResourceToDiagnostic);
+ parameterValues.put("_HashMapOfResourceToBoolean", this._HashMapOfResourceToBoolean);
+ parameterValues.put("_MapOfObjectToObject", this._MapOfObjectToObject);
+ parameterValues.put("_HashMapOfObjectToObject", this._HashMapOfObjectToObject);
+ parameterValues.put("_LinkedHashMapOfResourceToDiagnostic", this._LinkedHashMapOfResourceToDiagnostic);
+ parameterValues.put("_CollectionOfAnything", this._CollectionOfAnything);
+ parameterValues.put("_ListOfAnything", this._ListOfAnything);
+ parameterValues.put("useExtendedLabelProvider", this.useExtendedLabelProvider);
+ parameterValues.put("useStyledLabelProvider", this.useStyledLabelProvider);
+ parameterValues.put("_AdapterFactoryLabelProvider", this._AdapterFactoryLabelProvider);
+ parameterValues.put("_DelegatingAdapterFactoryLabelProvider", this._DelegatingAdapterFactoryLabelProvider);
+ parameterValues.put("_DecoratingColumLabelProvider", this._DecoratingColumLabelProvider);
+ parameterValues.put("_DiagnosticDecorator", this._DiagnosticDecorator);
+ parameterValues.put("_ArrayListOfString", this._ArrayListOfString);
+ parameterValues.put("_ListOfString", this._ListOfString);
+ parameterValues.put("_ListOfPropertySheetPage", this._ListOfPropertySheetPage);
+ parameterValues.put("_ArrayListOfPropertySheetPage", this._ArrayListOfPropertySheetPage);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.String importedOperationClassName = null;
+
+ public void set_importedOperationClassName(java.lang.String object) {
+ this.importedOperationClassName = object;
+ }
+
+ protected java.lang.String operationMethodName = null;
+
+ public void set_operationMethodName(java.lang.String object) {
+ this.operationMethodName = object;
+ }
+
+ protected java.lang.String _ArrayListOfObject = null;
+
+ public void set__ArrayListOfObject(java.lang.String object) {
+ this._ArrayListOfObject = object;
+ }
+
+ protected java.lang.String _ArrayListOfSelectionChangedListener = null;
+
+ public void set__ArrayListOfSelectionChangedListener(java.lang.String object) {
+ this._ArrayListOfSelectionChangedListener = object;
+ }
+
+ protected java.lang.String _CollectionOfSelectionChangedListener = null;
+
+ public void set__CollectionOfSelectionChangedListener(java.lang.String object) {
+ this._CollectionOfSelectionChangedListener = object;
+ }
+
+ protected java.lang.String _ArrayListOfResource = null;
+
+ public void set__ArrayListOfResource(java.lang.String object) {
+ this._ArrayListOfResource = object;
+ }
+
+ protected java.lang.String _CollectionOfResource = null;
+
+ public void set__CollectionOfResource(java.lang.String object) {
+ this._CollectionOfResource = object;
+ }
+
+ protected java.lang.String _MapOfResourceToDiagnostic = null;
+
+ public void set__MapOfResourceToDiagnostic(java.lang.String object) {
+ this._MapOfResourceToDiagnostic = object;
+ }
+
+ protected java.lang.String _HashMapOfResourceToBoolean = null;
+
+ public void set__HashMapOfResourceToBoolean(java.lang.String object) {
+ this._HashMapOfResourceToBoolean = object;
+ }
+
+ protected java.lang.String _MapOfObjectToObject = null;
+
+ public void set__MapOfObjectToObject(java.lang.String object) {
+ this._MapOfObjectToObject = object;
+ }
+
+ protected java.lang.String _HashMapOfObjectToObject = null;
+
+ public void set__HashMapOfObjectToObject(java.lang.String object) {
+ this._HashMapOfObjectToObject = object;
+ }
+
+ protected java.lang.String _LinkedHashMapOfResourceToDiagnostic = null;
+
+ public void set__LinkedHashMapOfResourceToDiagnostic(java.lang.String object) {
+ this._LinkedHashMapOfResourceToDiagnostic = object;
+ }
+
+ protected java.lang.String _CollectionOfAnything = null;
+
+ public void set__CollectionOfAnything(java.lang.String object) {
+ this._CollectionOfAnything = object;
+ }
+
+ protected java.lang.String _ListOfAnything = null;
+
+ public void set__ListOfAnything(java.lang.String object) {
+ this._ListOfAnything = object;
+ }
+
+ protected java.lang.Boolean useExtendedLabelProvider = null;
+
+ public void set_useExtendedLabelProvider(java.lang.Boolean object) {
+ this.useExtendedLabelProvider = object;
+ }
+
+ protected java.lang.Boolean useStyledLabelProvider = null;
+
+ public void set_useStyledLabelProvider(java.lang.Boolean object) {
+ this.useStyledLabelProvider = object;
+ }
+
+ protected java.lang.String _AdapterFactoryLabelProvider = null;
+
+ public void set__AdapterFactoryLabelProvider(java.lang.String object) {
+ this._AdapterFactoryLabelProvider = object;
+ }
+
+ protected java.lang.String _DelegatingAdapterFactoryLabelProvider = null;
+
+ public void set__DelegatingAdapterFactoryLabelProvider(java.lang.String object) {
+ this._DelegatingAdapterFactoryLabelProvider = object;
+ }
+
+ protected java.lang.String _DecoratingColumLabelProvider = null;
+
+ public void set__DecoratingColumLabelProvider(java.lang.String object) {
+ this._DecoratingColumLabelProvider = object;
+ }
+
+ protected java.lang.String _DiagnosticDecorator = null;
+
+ public void set__DiagnosticDecorator(java.lang.String object) {
+ this._DiagnosticDecorator = object;
+ }
+
+ protected java.lang.String _ArrayListOfString = null;
+
+ public void set__ArrayListOfString(java.lang.String object) {
+ this._ArrayListOfString = object;
+ }
+
+ protected java.lang.String _ListOfString = null;
+
+ public void set__ListOfString(java.lang.String object) {
+ this._ListOfString = object;
+ }
+
+ protected java.lang.String _ListOfPropertySheetPage = null;
+
+ public void set__ListOfPropertySheetPage(java.lang.String object) {
+ this._ListOfPropertySheetPage = object;
+ }
+
+ protected java.lang.String _ArrayListOfPropertySheetPage = null;
+
+ public void set__ArrayListOfPropertySheetPage(java.lang.String object) {
+ this._ArrayListOfPropertySheetPage = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("importedOperationClassName", this.importedOperationClassName);
+ parameters.put("operationMethodName", this.operationMethodName);
+ parameters.put("_ArrayListOfObject", this._ArrayListOfObject);
+ parameters.put("_ArrayListOfSelectionChangedListener", this._ArrayListOfSelectionChangedListener);
+ parameters.put("_CollectionOfSelectionChangedListener", this._CollectionOfSelectionChangedListener);
+ parameters.put("_ArrayListOfResource", this._ArrayListOfResource);
+ parameters.put("_CollectionOfResource", this._CollectionOfResource);
+ parameters.put("_MapOfResourceToDiagnostic", this._MapOfResourceToDiagnostic);
+ parameters.put("_HashMapOfResourceToBoolean", this._HashMapOfResourceToBoolean);
+ parameters.put("_MapOfObjectToObject", this._MapOfObjectToObject);
+ parameters.put("_HashMapOfObjectToObject", this._HashMapOfObjectToObject);
+ parameters.put("_LinkedHashMapOfResourceToDiagnostic", this._LinkedHashMapOfResourceToDiagnostic);
+ parameters.put("_CollectionOfAnything", this._CollectionOfAnything);
+ parameters.put("_ListOfAnything", this._ListOfAnything);
+ parameters.put("useExtendedLabelProvider", this.useExtendedLabelProvider);
+ parameters.put("useStyledLabelProvider", this.useStyledLabelProvider);
+ parameters.put("_AdapterFactoryLabelProvider", this._AdapterFactoryLabelProvider);
+ parameters.put("_DelegatingAdapterFactoryLabelProvider", this._DelegatingAdapterFactoryLabelProvider);
+ parameters.put("_DecoratingColumLabelProvider", this._DecoratingColumLabelProvider);
+ parameters.put("_DiagnosticDecorator", this._DiagnosticDecorator);
+ parameters.put("_ArrayListOfString", this._ArrayListOfString);
+ parameters.put("_ListOfString", this._ListOfString);
+ parameters.put("_ListOfPropertySheetPage", this._ListOfPropertySheetPage);
+ parameters.put("_ArrayListOfPropertySheetPage", this._ArrayListOfPropertySheetPage);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ for (GenPackage aGenPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (!aGenPackage.getGenClasses().isEmpty() && aGenPackage.getGenModel().hasEditSupport()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(aGenPackage.getImportedItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_3);
+ }
+ }
+ for (GenPackage aGenPackage : genModel.getAllUsedGenPackagesWithClassifiers()) {
+ if (!aGenPackage.getGenClasses().isEmpty() && aGenPackage.getGenModel().hasEditSupport()) {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(aGenPackage.getImportedItemProviderAdapterFactoryClassName());
+ stringBuffer.append(TEXT_5);
+ }
+ }
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.insert" args="genPackage:genPackage,genModel:genModel,importedOperationClassName:importedOperationClassName,operationMethodName:operationMethodName,_ArrayListOfObject:_ArrayListOfObject,_ArrayListOfSelectionChangedListener:_ArrayListOfSelectionChangedListener,_CollectionOfSelectionChangedListener:_CollectionOfSelectionChangedListener,_ArrayListOfResource:_ArrayListOfResource,_CollectionOfResource:_CollectionOfResource,_MapOfResourceToDiagnostic:_MapOfResourceToDiagnostic,_HashMapOfResourceToBoolean:_HashMapOfResourceToBoolean,_MapOfObjectToObject:_MapOfObjectToObject,_HashMapOfObjectToObject:_HashMapOfObjectToObject,_LinkedHashMapOfResourceToDiagnostic:_LinkedHashMapOfResourceToDiagnostic,_CollectionOfAnything:_CollectionOfAnything,_ListOfAnything:_ListOfAnything,useExtendedLabelProvider:useExtendedLabelProvider,useStyledLabelProvider:useStyledLabelProvider,_AdapterFactoryLabelProvider:_AdapterFactoryLabelProvider,_DelegatingAdapterFactoryLabelProvider:_DelegatingAdapterFactoryLabelProvider,_DecoratingColumLabelProvider:_DecoratingColumLabelProvider,_DiagnosticDecorator:_DiagnosticDecorator,_ArrayListOfString:_ArrayListOfString,_ListOfString:_ListOfString,_ListOfPropertySheetPage:_ListOfPropertySheetPage,_ArrayListOfPropertySheetPage:_ArrayListOfPropertySheetPage"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("importedOperationClassName", importedOperationClassName);
+ callParameters.put("operationMethodName", operationMethodName);
+ callParameters.put("_ArrayListOfObject", _ArrayListOfObject);
+ callParameters.put("_ArrayListOfSelectionChangedListener", _ArrayListOfSelectionChangedListener);
+ callParameters.put("_CollectionOfSelectionChangedListener", _CollectionOfSelectionChangedListener);
+ callParameters.put("_ArrayListOfResource", _ArrayListOfResource);
+ callParameters.put("_CollectionOfResource", _CollectionOfResource);
+ callParameters.put("_MapOfResourceToDiagnostic", _MapOfResourceToDiagnostic);
+ callParameters.put("_HashMapOfResourceToBoolean", _HashMapOfResourceToBoolean);
+ callParameters.put("_MapOfObjectToObject", _MapOfObjectToObject);
+ callParameters.put("_HashMapOfObjectToObject", _HashMapOfObjectToObject);
+ callParameters.put("_LinkedHashMapOfResourceToDiagnostic", _LinkedHashMapOfResourceToDiagnostic);
+ callParameters.put("_CollectionOfAnything", _CollectionOfAnything);
+ callParameters.put("_ListOfAnything", _ListOfAnything);
+ callParameters.put("useExtendedLabelProvider", useExtendedLabelProvider);
+ callParameters.put("useStyledLabelProvider", useStyledLabelProvider);
+ callParameters.put("_AdapterFactoryLabelProvider", _AdapterFactoryLabelProvider);
+ callParameters.put("_DelegatingAdapterFactoryLabelProvider", _DelegatingAdapterFactoryLabelProvider);
+ callParameters.put("_DecoratingColumLabelProvider", _DecoratingColumLabelProvider);
+ callParameters.put("_DiagnosticDecorator", _DiagnosticDecorator);
+ callParameters.put("_ArrayListOfString", _ArrayListOfString);
+ callParameters.put("_ListOfString", _ListOfString);
+ callParameters.put("_ListOfPropertySheetPage", _ListOfPropertySheetPage);
+ callParameters.put("_ArrayListOfPropertySheetPage", _ArrayListOfPropertySheetPage);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_09RHMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_7);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/AdapterFactoryClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/AdapterFactoryClass.java
new file mode 100644
index 0000000..e7a9357
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/AdapterFactoryClass.java
@@ -0,0 +1,357 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class AdapterFactoryClass extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized AdapterFactoryClass create(String lineSeparator) {
+ nl = lineSeparator;
+ AdapterFactoryClass result = new AdapterFactoryClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Adapter Factory</b> for the model." + NL
+ + " * It provides an adapter <code>createXXX</code> method for each class of the model." + NL
+ + " * <!-- end-user-doc -->" + NL + " * @see ";
+ protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_6 = " extends AdapterFactoryImpl" + NL + "{";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = " copyright = ";
+ protected final String TEXT_9 = ";";
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * The cached model package." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected static ";
+ protected final String TEXT_12 = " modelPackage;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the adapter factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_13 = "()" + NL + "\t{" + NL + "\t\tif (modelPackage == null)" + NL + "\t\t{" + NL
+ + "\t\t\tmodelPackage = ";
+ protected final String TEXT_14 = ".eINSTANCE;"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Returns whether this factory is applicable for the type of the object."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model."
+ + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return whether this factory is applicable for the type of the object." + NL + "\t * @generated"
+ + NL + "\t */";
+ protected final String TEXT_15 = NL + "\t@Override";
+ protected final String TEXT_16 = NL + "\tpublic boolean isFactoryForType(Object object)" + NL + "\t{" + NL
+ + "\t\tif (object == modelPackage)" + NL + "\t\t{" + NL + "\t\t\treturn true;" + NL + "\t\t}" + NL
+ + "\t\tif (object instanceof EObject)" + NL + "\t\t{" + NL
+ + "\t\t\treturn ((EObject)object).eClass().getEPackage() == modelPackage;" + NL + "\t\t}" + NL
+ + "\t\treturn false;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * The switch that delegates to the <code>createXXX</code> methods." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_17 = " modelSwitch =" + NL + "\t\tnew ";
+ protected final String TEXT_18 = "()" + NL + "\t\t{";
+ protected final String TEXT_19 = NL + "\t\t\t@Override";
+ protected final String TEXT_20 = NL + "\t\t\tpublic ";
+ protected final String TEXT_21 = " case";
+ protected final String TEXT_22 = "(";
+ protected final String TEXT_23 = " object)" + NL + "\t\t\t{" + NL + "\t\t\t\treturn create";
+ protected final String TEXT_24 = "Adapter();" + NL + "\t\t\t}";
+ protected final String TEXT_25 = NL + "\t\t\t@Override";
+ protected final String TEXT_26 = NL + "\t\t\tpublic ";
+ protected final String TEXT_27 = " defaultCase(EObject object)" + NL + "\t\t\t{" + NL + "\t\t\t\treturn create";
+ protected final String TEXT_28 = "Adapter();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an adapter for the <code>target</code>." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param target the object to adapt." + NL
+ + "\t * @return the adapter for the <code>target</code>." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_29 = NL + "\t@Override";
+ protected final String TEXT_30 = NL + "\tpublic Adapter createAdapter(Notifier target)" + NL + "\t{" + NL
+ + "\t\treturn ";
+ protected final String TEXT_31 = "modelSwitch.doSwitch((EObject)target);" + NL + "\t}" + NL;
+ protected final String TEXT_32 = NL + NL + "\t/**" + NL
+ + "\t * Creates a new adapter for an object of class '{@link ";
+ protected final String TEXT_33 = " <em>";
+ protected final String TEXT_34 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * This default implementation returns null so that we can easily ignore cases;" + NL
+ + "\t * it's useful to ignore a case when inheritance will catch all the cases anyway." + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the new adapter." + NL + "\t * @see ";
+ protected final String TEXT_35 = NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Adapter create";
+ protected final String TEXT_36 = "Adapter()" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}";
+ protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * Creates a new adapter for the default case." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * This default implementation returns null." + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the new adapter." + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic Adapter create";
+ protected final String TEXT_38 = "Adapter()" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}" + NL + "" + NL
+ + "} //";
+ protected final String TEXT_39 = NL;
+ protected final String TEXT_40 = NL;
+ protected final String TEXT_41 = NL;
+
+ public AdapterFactoryClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(TEXT_41);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getUtilitiesPackageName();
+ className = genPackage.getAdapterFactoryClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getUtilitiesPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.addImport("org.eclipse.emf.common.notify.Adapter");
+ genModel.addImport("org.eclipse.emf.common.notify.Notifier");
+ genModel.addImport("org.eclipse.emf.common.notify.impl.AdapterFactoryImpl");
+ genModel.addImport("org.eclipse.emf.ecore.EObject");
+ if (!genPackage.hasJavaLangConflict()
+ && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
+ genModel.addImport(genPackage.getInterfacePackageName() + ".*");
+ String typeArgument = genModel.useGenerics() ? "<Adapter>" : "";
+ String returnType = genModel.useGenerics() ? "Adapter" : genModel.getImportedName("java.lang.Object");
+ String adapterCast = genModel.useGenerics() ? "" : "(Adapter)";
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getAdapterFactoryClassName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getAdapterFactoryClassName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_14);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genPackage.getSwitchClassName());
+ stringBuffer.append(typeArgument);
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genPackage.getSwitchClassName());
+ stringBuffer.append(typeArgument);
+ stringBuffer.append(TEXT_18);
+ for (GenClass genClass : genPackage.getAllSwitchGenClasses()) {
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genClass.getTypeParameters());
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genPackage.getClassUniqueName(genClass));
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genPackage.getClassUniqueName(genClass));
+ stringBuffer.append(TEXT_24);
+ }
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genPackage.getClassUniqueName(null));
+ stringBuffer.append(TEXT_28);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_29);
+ }
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(adapterCast);
+ stringBuffer.append(TEXT_31);
+ for (GenClass genClass : genPackage.getAllSwitchGenClasses()) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genPackage.getClassUniqueName(genClass));
+ stringBuffer.append(TEXT_36);
+ }
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getClassUniqueName(null));
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getAdapterFactoryClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_39);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genPackage.hasClassifiers() && genPackage.isAdapterFactory() && !genPackage.getGenClasses()
+ .isEmpty());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/BuildProperties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/BuildProperties.java
new file mode 100644
index 0000000..29c4139
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/BuildProperties.java
@@ -0,0 +1,225 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class BuildProperties extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized BuildProperties create(String lineSeparator) {
+ nl = lineSeparator;
+ BuildProperties result = new BuildProperties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + NL + "bin.includes = ";
+ protected final String TEXT_3 = ",\\" + NL + " model/,\\";
+ protected final String TEXT_4 = NL + " icons/,\\";
+ protected final String TEXT_5 = NL + " META-INF/,\\";
+ protected final String TEXT_6 = NL + " plugin.xml,\\";
+ protected final String TEXT_7 = NL + " plugin.properties" + NL + "jars.compile.order = ";
+ protected final String TEXT_8 = NL + "source.";
+ protected final String TEXT_9 = " = ";
+ protected final String TEXT_10 = NL + "output.";
+ protected final String TEXT_11 = " = bin/" + NL;
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL;
+
+ public BuildProperties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getModelProjectDirectory() + "/build.properties";
+ overwrite = genModel.isUpdateClasspath()
+ && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(
+ genModel.getModelProjectDirectory()).appendSegment("plugin.xml"));
+ encoding = "ISO-8859-1";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getModelPluginID() + ".jar" : ".";
+ List<String> sourceFolders = genModel.getModelSourceFolders();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_3);
+ if (genModel.sameModelEditProject() || genModel.sameModelEditorProject()) {
+ stringBuffer.append(TEXT_4);
+ }
+ if (genModel.isBundleManifest()) {
+ stringBuffer.append(TEXT_5);
+ }
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(pluginClassesLocation);
+ boolean first = true;
+ for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) {
+ String sourceFolder = i.next();
+ if (i.hasNext()) {
+ sourceFolder += ",\\";
+ }
+ if (first) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(sourceFolder);
+ first = false;
+ } else {
+ stringBuffer.append(sourceFolder);
+ }
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_11);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genModel.hasPluginSupport());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Class.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Class.java
new file mode 100644
index 0000000..d0dc2e4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Class.java
@@ -0,0 +1,2288 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Class extends org.eclipse.egf.emf.pattern.base.GenClassJava {
+ protected static String nl;
+
+ public static synchronized Class create(String lineSeparator) {
+ nl = lineSeparator;
+ Class result = new Class();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";";
+ protected final String TEXT_4 = NL + "package ";
+ protected final String TEXT_5 = ";";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL;
+ protected final String TEXT_9 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model object '<em><b>";
+ protected final String TEXT_10 = "</b></em>'." + NL + " * <!-- end-user-doc -->" + NL + " * <p>";
+ protected final String TEXT_11 = NL + " * The following features are implemented:" + NL + " * <ul>";
+ protected final String TEXT_12 = NL + " * <li>{@link ";
+ protected final String TEXT_13 = "#";
+ protected final String TEXT_14 = " <em>";
+ protected final String TEXT_15 = "</em>}</li>";
+ protected final String TEXT_16 = NL + " * </ul>";
+ protected final String TEXT_17 = NL + " * </p>" + NL + " *" + NL + " * @generated" + NL + " */";
+ protected final String TEXT_18 = NL + "public";
+ protected final String TEXT_19 = " abstract";
+ protected final String TEXT_20 = " class ";
+ protected final String TEXT_21 = NL + "public interface ";
+ protected final String TEXT_22 = NL + "{";
+ protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_24 = " copyright = ";
+ protected final String TEXT_25 = ";";
+ protected final String TEXT_26 = NL;
+ protected final String TEXT_27 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_28 = " mofDriverNumber = \"";
+ protected final String TEXT_29 = "\";";
+ protected final String TEXT_30 = NL;
+ protected final String TEXT_31 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate static final long serialVersionUID = 1L;" + NL;
+ protected final String TEXT_32 = NL + "\t/**" + NL
+ + "\t * An array of objects representing the values of non-primitive features." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_33 = NL + "\t@";
+ protected final String TEXT_34 = NL + "\tprotected Object[] ";
+ protected final String TEXT_35 = ";" + NL;
+ protected final String TEXT_36 = NL + "\t/**" + NL
+ + "\t * A bit field representing the indices of non-primitive feature values." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_37 = NL + "\t@";
+ protected final String TEXT_38 = NL + "\tprotected int ";
+ protected final String TEXT_39 = ";" + NL;
+ protected final String TEXT_40 = NL
+ + "\t/**"
+ + NL
+ + "\t * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_41 = NL + "\t@";
+ protected final String TEXT_42 = NL + "\tprotected int ";
+ protected final String TEXT_43 = " = 0;" + NL;
+ protected final String TEXT_44 = NL + "\t/**" + NL + "\t * The empty value for the '{@link #";
+ protected final String TEXT_45 = "() <em>";
+ protected final String TEXT_46 = "</em>}' array accessor." + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_47 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_48 = NL + "\t@SuppressWarnings(\"rawtypes\")";
+ protected final String TEXT_49 = NL + "\tprotected static final ";
+ protected final String TEXT_50 = "[] ";
+ protected final String TEXT_51 = "_EEMPTY_ARRAY = new ";
+ protected final String TEXT_52 = " [0]";
+ protected final String TEXT_53 = ";" + NL;
+ protected final String TEXT_54 = NL;
+ protected final String TEXT_55 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
+ protected final String TEXT_56 = " = ";
+ protected final String TEXT_57 = ".getFeatureID(";
+ protected final String TEXT_58 = ") - ";
+ protected final String TEXT_59 = ";" + NL;
+ protected final String TEXT_60 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
+ protected final String TEXT_61 = " = ";
+ protected final String TEXT_62 = ".getFeatureID(";
+ protected final String TEXT_63 = ") - ";
+ protected final String TEXT_64 = ";" + NL;
+ protected final String TEXT_65 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate static final int \"EOPERATION_OFFSET_CORRECTION\" = ";
+ protected final String TEXT_66 = ".getOperationID(";
+ protected final String TEXT_67 = ") - ";
+ protected final String TEXT_68 = ";" + NL;
+ protected final String TEXT_69 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_70 = "public";
+ protected final String TEXT_71 = "protected";
+ protected final String TEXT_72 = " ";
+ protected final String TEXT_73 = "()" + NL + "\t{";
+ protected final String TEXT_74 = NL;
+ protected final String TEXT_75 = NL + "\t\t";
+ protected final String TEXT_76 = " |= ";
+ protected final String TEXT_77 = "_EFLAG";
+ protected final String TEXT_78 = "_DEFAULT";
+ protected final String TEXT_79 = ";";
+ protected final String TEXT_80 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_81 = NL + "\t@Override";
+ protected final String TEXT_82 = NL + "\tprotected ";
+ protected final String TEXT_83 = " eStaticClass()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_84 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_85 = NL;
+ protected final String TEXT_86 = NL;
+ protected final String TEXT_87 = NL;
+ protected final String TEXT_88 = NL;
+ protected final String TEXT_89 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_90 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_91 = NL + "\t@Override";
+ protected final String TEXT_92 = NL + "\tpublic ";
+ protected final String TEXT_93 = " eInverseAdd(";
+ protected final String TEXT_94 = " otherEnd, int featureID, ";
+ protected final String TEXT_95 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_96 = ")" + NL + "\t\t{";
+ protected final String TEXT_97 = NL + "\t\t\tcase ";
+ protected final String TEXT_98 = ":";
+ protected final String TEXT_99 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_100 = "(";
+ protected final String TEXT_101 = ".InternalMapView";
+ protected final String TEXT_102 = ")";
+ protected final String TEXT_103 = "()).eMap()).basicAdd(otherEnd, msgs);";
+ protected final String TEXT_104 = NL + "\t\t\t\treturn (";
+ protected final String TEXT_105 = "()).basicAdd(otherEnd, msgs);";
+ protected final String TEXT_106 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL
+ + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);";
+ protected final String TEXT_107 = NL + "\t\t\t\treturn basicSet";
+ protected final String TEXT_108 = "((";
+ protected final String TEXT_109 = ")otherEnd, msgs);";
+ protected final String TEXT_110 = NL + "\t\t\t\treturn eBasicSetContainer(otherEnd, ";
+ protected final String TEXT_111 = ", msgs);";
+ protected final String TEXT_112 = NL + "\t\t\t\t";
+ protected final String TEXT_113 = " ";
+ protected final String TEXT_114 = " = (";
+ protected final String TEXT_115 = ")eVirtualGet(";
+ protected final String TEXT_116 = ");";
+ protected final String TEXT_117 = NL + "\t\t\t\t";
+ protected final String TEXT_118 = " ";
+ protected final String TEXT_119 = " = ";
+ protected final String TEXT_120 = "basicGet";
+ protected final String TEXT_121 = "();";
+ protected final String TEXT_122 = NL + "\t\t\t\tif (";
+ protected final String TEXT_123 = " != null)";
+ protected final String TEXT_124 = NL + "\t\t\t\t\tmsgs = ((";
+ protected final String TEXT_125 = ")";
+ protected final String TEXT_126 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_127 = ", null, msgs);";
+ protected final String TEXT_128 = NL + "\t\t\t\t\tmsgs = ((";
+ protected final String TEXT_129 = ")";
+ protected final String TEXT_130 = ").eInverseRemove(this, ";
+ protected final String TEXT_131 = ", ";
+ protected final String TEXT_132 = ".class, msgs);";
+ protected final String TEXT_133 = NL + "\t\t\t\treturn basicSet";
+ protected final String TEXT_134 = "((";
+ protected final String TEXT_135 = ")otherEnd, msgs);";
+ protected final String TEXT_136 = NL + "\t\t}";
+ protected final String TEXT_137 = NL + "\t\treturn super.eInverseAdd(otherEnd, featureID, msgs);";
+ protected final String TEXT_138 = NL + "\t\treturn eDynamicInverseAdd(otherEnd, featureID, msgs);";
+ protected final String TEXT_139 = NL + "\t}" + NL;
+ protected final String TEXT_140 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_141 = NL + "\t@Override";
+ protected final String TEXT_142 = NL + "\tpublic ";
+ protected final String TEXT_143 = " eInverseRemove(";
+ protected final String TEXT_144 = " otherEnd, int featureID, ";
+ protected final String TEXT_145 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_146 = ")" + NL + "\t\t{";
+ protected final String TEXT_147 = NL + "\t\t\tcase ";
+ protected final String TEXT_148 = ":";
+ protected final String TEXT_149 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_150 = ")((";
+ protected final String TEXT_151 = ".InternalMapView";
+ protected final String TEXT_152 = ")";
+ protected final String TEXT_153 = "()).eMap()).basicRemove(otherEnd, msgs);";
+ protected final String TEXT_154 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_155 = ")((";
+ protected final String TEXT_156 = ".Internal.Wrapper)";
+ protected final String TEXT_157 = "()).featureMap()).basicRemove(otherEnd, msgs);";
+ protected final String TEXT_158 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_159 = ")";
+ protected final String TEXT_160 = "()).basicRemove(otherEnd, msgs);";
+ protected final String TEXT_161 = NL + "\t\t\t\treturn eBasicSetContainer(null, ";
+ protected final String TEXT_162 = ", msgs);";
+ protected final String TEXT_163 = NL + "\t\t\t\treturn basicUnset";
+ protected final String TEXT_164 = "(msgs);";
+ protected final String TEXT_165 = NL + "\t\t\t\treturn basicSet";
+ protected final String TEXT_166 = "(null, msgs);";
+ protected final String TEXT_167 = NL + "\t\t}";
+ protected final String TEXT_168 = NL + "\t\treturn super.eInverseRemove(otherEnd, featureID, msgs);";
+ protected final String TEXT_169 = NL + "\t\treturn eDynamicInverseRemove(otherEnd, featureID, msgs);";
+ protected final String TEXT_170 = NL + "\t}" + NL;
+ protected final String TEXT_171 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_172 = NL + "\t@Override";
+ protected final String TEXT_173 = NL + "\tpublic ";
+ protected final String TEXT_174 = " eBasicRemoveFromContainerFeature(";
+ protected final String TEXT_175 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (eContainerFeatureID()";
+ protected final String TEXT_176 = ")" + NL + "\t\t{";
+ protected final String TEXT_177 = NL + "\t\t\tcase ";
+ protected final String TEXT_178 = ":" + NL + "\t\t\t\treturn eInternalContainer().eInverseRemove(this, ";
+ protected final String TEXT_179 = ", ";
+ protected final String TEXT_180 = ".class, msgs);";
+ protected final String TEXT_181 = NL + "\t\t}";
+ protected final String TEXT_182 = NL + "\t\treturn super.eBasicRemoveFromContainerFeature(msgs);";
+ protected final String TEXT_183 = NL + "\t\treturn eDynamicBasicRemoveFromContainer(msgs);";
+ protected final String TEXT_184 = NL + "\t}" + NL;
+ protected final String TEXT_185 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_186 = NL + "\t@Override";
+ protected final String TEXT_187 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)"
+ + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_188 = ")" + NL + "\t\t{";
+ protected final String TEXT_189 = NL + "\t\t\tcase ";
+ protected final String TEXT_190 = ":";
+ protected final String TEXT_191 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_192 = "();";
+ protected final String TEXT_193 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_194 = "() ? Boolean.TRUE : Boolean.FALSE;";
+ protected final String TEXT_195 = NL + "\t\t\t\treturn new ";
+ protected final String TEXT_196 = "(";
+ protected final String TEXT_197 = "());";
+ protected final String TEXT_198 = NL + "\t\t\t\tif (resolve) return ";
+ protected final String TEXT_199 = "();" + NL + "\t\t\t\treturn basicGet";
+ protected final String TEXT_200 = "();";
+ protected final String TEXT_201 = NL + "\t\t\t\tif (coreType) return ((";
+ protected final String TEXT_202 = ".InternalMapView";
+ protected final String TEXT_203 = ")";
+ protected final String TEXT_204 = "()).eMap();" + NL + "\t\t\t\telse return ";
+ protected final String TEXT_205 = "();";
+ protected final String TEXT_206 = NL + "\t\t\t\tif (coreType) return ";
+ protected final String TEXT_207 = "();" + NL + "\t\t\t\telse return ";
+ protected final String TEXT_208 = "().map();";
+ protected final String TEXT_209 = NL + "\t\t\t\tif (coreType) return ((";
+ protected final String TEXT_210 = ".Internal.Wrapper)";
+ protected final String TEXT_211 = "()).featureMap();" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_212 = "();";
+ protected final String TEXT_213 = NL + "\t\t\t\tif (coreType) return ";
+ protected final String TEXT_214 = "();" + NL + "\t\t\t\treturn ((";
+ protected final String TEXT_215 = ".Internal)";
+ protected final String TEXT_216 = "()).getWrapper();";
+ protected final String TEXT_217 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_218 = "();";
+ protected final String TEXT_219 = NL + "\t\t}";
+ protected final String TEXT_220 = NL + "\t\treturn super.eGet(featureID, resolve, coreType);";
+ protected final String TEXT_221 = NL + "\t\treturn eDynamicGet(featureID, resolve, coreType);";
+ protected final String TEXT_222 = NL + "\t}" + NL;
+ protected final String TEXT_223 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_224 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_225 = NL + "\t@Override";
+ protected final String TEXT_226 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
+ protected final String TEXT_227 = ")" + NL + "\t\t{";
+ protected final String TEXT_228 = NL + "\t\t\tcase ";
+ protected final String TEXT_229 = ":";
+ protected final String TEXT_230 = NL + "\t\t\t\t((";
+ protected final String TEXT_231 = ".Internal)((";
+ protected final String TEXT_232 = ".Internal.Wrapper)";
+ protected final String TEXT_233 = "()).featureMap()).set(newValue);";
+ protected final String TEXT_234 = NL + "\t\t\t\t((";
+ protected final String TEXT_235 = ".Internal)";
+ protected final String TEXT_236 = "()).set(newValue);";
+ protected final String TEXT_237 = NL + "\t\t\t\t((";
+ protected final String TEXT_238 = ".Setting)((";
+ protected final String TEXT_239 = ".InternalMapView";
+ protected final String TEXT_240 = ")";
+ protected final String TEXT_241 = "()).eMap()).set(newValue);";
+ protected final String TEXT_242 = NL + "\t\t\t\t((";
+ protected final String TEXT_243 = ".Setting)";
+ protected final String TEXT_244 = "()).set(newValue);";
+ protected final String TEXT_245 = NL + "\t\t\t\t";
+ protected final String TEXT_246 = "().clear();" + NL + "\t\t\t\t";
+ protected final String TEXT_247 = "().addAll((";
+ protected final String TEXT_248 = "<? extends ";
+ protected final String TEXT_249 = ">";
+ protected final String TEXT_250 = ")newValue);";
+ protected final String TEXT_251 = NL + "\t\t\t\tset";
+ protected final String TEXT_252 = "(((";
+ protected final String TEXT_253 = ")newValue).";
+ protected final String TEXT_254 = "());";
+ protected final String TEXT_255 = NL + "\t\t\t\tset";
+ protected final String TEXT_256 = "(";
+ protected final String TEXT_257 = "(";
+ protected final String TEXT_258 = ")";
+ protected final String TEXT_259 = "newValue);";
+ protected final String TEXT_260 = NL + "\t\t\t\treturn;";
+ protected final String TEXT_261 = NL + "\t\t}";
+ protected final String TEXT_262 = NL + "\t\tsuper.eSet(featureID, newValue);";
+ protected final String TEXT_263 = NL + "\t\teDynamicSet(featureID, newValue);";
+ protected final String TEXT_264 = NL + "\t}" + NL;
+ protected final String TEXT_265 = NL;
+ protected final String TEXT_266 = NL;
+ protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_268 = NL + "\t@Override";
+ protected final String TEXT_269 = NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class";
+ protected final String TEXT_270 = " baseClass)" + NL + "\t{";
+ protected final String TEXT_271 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_272 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (derivedFeatureID";
+ protected final String TEXT_273 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_274 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_275 = ": return ";
+ protected final String TEXT_276 = ";";
+ protected final String TEXT_277 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_278 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);"
+ + NL + "\t}";
+ protected final String TEXT_279 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_280 = NL + "\t@Override";
+ protected final String TEXT_281 = NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class";
+ protected final String TEXT_282 = " baseClass)" + NL + "\t{";
+ protected final String TEXT_283 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_284 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID)" + NL + "\t\t\t{";
+ protected final String TEXT_285 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_286 = ": return ";
+ protected final String TEXT_287 = ";";
+ protected final String TEXT_288 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_289 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_290 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID";
+ protected final String TEXT_291 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_292 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_293 = ": return ";
+ protected final String TEXT_294 = ";";
+ protected final String TEXT_295 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_296 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);"
+ + NL + "\t}" + NL;
+ protected final String TEXT_297 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_298 = NL + "\t@Override";
+ protected final String TEXT_299 = NL + "\tpublic int eDerivedOperationID(int baseOperationID, Class";
+ protected final String TEXT_300 = " baseClass)" + NL + "\t{";
+ protected final String TEXT_301 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_302 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{";
+ protected final String TEXT_303 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_304 = ": return ";
+ protected final String TEXT_305 = ";";
+ protected final String TEXT_306 = NL
+ + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL
+ + "\t\t}";
+ protected final String TEXT_307 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_308 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{";
+ protected final String TEXT_309 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_310 = ": return ";
+ protected final String TEXT_311 = ";";
+ protected final String TEXT_312 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_313 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_314 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID";
+ protected final String TEXT_315 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_316 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_317 = ": return ";
+ protected final String TEXT_318 = ";";
+ protected final String TEXT_319 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_320 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_321 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_322 = NL + "\t@Override";
+ protected final String TEXT_323 = NL + "\tprotected Object[] eVirtualValues()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_324 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_325 = NL + "\t@Override";
+ protected final String TEXT_326 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL
+ + "\t\t";
+ protected final String TEXT_327 = " = newValues;" + NL + "\t}" + NL;
+ protected final String TEXT_328 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_329 = NL + "\t@Override";
+ protected final String TEXT_330 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL
+ + "\t\tswitch (offset)" + NL + "\t\t{";
+ protected final String TEXT_331 = NL + "\t\t\tcase ";
+ protected final String TEXT_332 = " :" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_333 = ";";
+ protected final String TEXT_334 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();"
+ + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_335 = NL + "\t@Override";
+ protected final String TEXT_336 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL
+ + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{";
+ protected final String TEXT_337 = NL + "\t\t\tcase ";
+ protected final String TEXT_338 = " :" + NL + "\t\t\t\t";
+ protected final String TEXT_339 = " = newIndexBits;" + NL + "\t\t\t\tbreak;";
+ protected final String TEXT_340 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_341 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_342 = NL + "\t@Override";
+ protected final String TEXT_343 = NL + "\t@SuppressWarnings(";
+ protected final String TEXT_344 = "\"unchecked\"";
+ protected final String TEXT_345 = "{\"rawtypes\", \"unchecked\" }";
+ protected final String TEXT_346 = ")";
+ protected final String TEXT_347 = NL + "\tpublic Object eInvoke(int operationID, ";
+ protected final String TEXT_348 = " arguments) throws ";
+ protected final String TEXT_349 = NL + "\t{" + NL + "\t\tswitch (operationID";
+ protected final String TEXT_350 = ")" + NL + "\t\t{";
+ protected final String TEXT_351 = NL + "\t\t\tcase ";
+ protected final String TEXT_352 = ":";
+ protected final String TEXT_353 = NL + "\t\t\t\ttry" + NL + "\t\t\t\t{";
+ protected final String TEXT_354 = NL + "\t\t\t\t";
+ protected final String TEXT_355 = "(";
+ protected final String TEXT_356 = "(";
+ protected final String TEXT_357 = "(";
+ protected final String TEXT_358 = ")";
+ protected final String TEXT_359 = "arguments.get(";
+ protected final String TEXT_360 = ")";
+ protected final String TEXT_361 = ").";
+ protected final String TEXT_362 = "()";
+ protected final String TEXT_363 = ", ";
+ protected final String TEXT_364 = ");" + NL + "\t\t\t\t";
+ protected final String TEXT_365 = "return null;";
+ protected final String TEXT_366 = NL + "\t\t\t\t";
+ protected final String TEXT_367 = "return ";
+ protected final String TEXT_368 = "new ";
+ protected final String TEXT_369 = "(";
+ protected final String TEXT_370 = "(";
+ protected final String TEXT_371 = "(";
+ protected final String TEXT_372 = "(";
+ protected final String TEXT_373 = ")";
+ protected final String TEXT_374 = "arguments.get(";
+ protected final String TEXT_375 = ")";
+ protected final String TEXT_376 = ").";
+ protected final String TEXT_377 = "()";
+ protected final String TEXT_378 = ", ";
+ protected final String TEXT_379 = ")";
+ protected final String TEXT_380 = ")";
+ protected final String TEXT_381 = ";";
+ protected final String TEXT_382 = NL + "\t\t\t\t}" + NL + "\t\t\t\tcatch (";
+ protected final String TEXT_383 = " throwable)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tthrow new ";
+ protected final String TEXT_384 = "(throwable);" + NL + "\t\t\t\t}";
+ protected final String TEXT_385 = NL + "\t\t}";
+ protected final String TEXT_386 = NL + "\t\treturn super.eInvoke(operationID, arguments);";
+ protected final String TEXT_387 = NL + "\t\treturn eDynamicInvoke(operationID, arguments);";
+ protected final String TEXT_388 = NL + "\t}" + NL;
+ protected final String TEXT_389 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_390 = NL + "\t@Override";
+ protected final String TEXT_391 = NL + "\tpublic String toString()" + NL + "\t{" + NL
+ + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL
+ + "\t\tStringBuffer result = new StringBuffer(super.toString());";
+ protected final String TEXT_392 = NL + "\t\tresult.append(\" (";
+ protected final String TEXT_393 = ": \");";
+ protected final String TEXT_394 = NL + "\t\tresult.append(\", ";
+ protected final String TEXT_395 = ": \");";
+ protected final String TEXT_396 = NL + "\t\tif (eVirtualIsSet(";
+ protected final String TEXT_397 = ")) result.append(eVirtualGet(";
+ protected final String TEXT_398 = ")); else result.append(\"<unset>\");";
+ protected final String TEXT_399 = NL + "\t\tif (";
+ protected final String TEXT_400 = "(";
+ protected final String TEXT_401 = " & ";
+ protected final String TEXT_402 = "_ESETFLAG) != 0";
+ protected final String TEXT_403 = "ESet";
+ protected final String TEXT_404 = ") result.append((";
+ protected final String TEXT_405 = " & ";
+ protected final String TEXT_406 = "_EFLAG) != 0); else result.append(\"<unset>\");";
+ protected final String TEXT_407 = NL + "\t\tif (";
+ protected final String TEXT_408 = "(";
+ protected final String TEXT_409 = " & ";
+ protected final String TEXT_410 = "_ESETFLAG) != 0";
+ protected final String TEXT_411 = "ESet";
+ protected final String TEXT_412 = ") result.append(";
+ protected final String TEXT_413 = "_EFLAG_VALUES[(";
+ protected final String TEXT_414 = " & ";
+ protected final String TEXT_415 = "_EFLAG) >>> ";
+ protected final String TEXT_416 = "_EFLAG_OFFSET]); else result.append(\"<unset>\");";
+ protected final String TEXT_417 = NL + "\t\tif (";
+ protected final String TEXT_418 = "(";
+ protected final String TEXT_419 = " & ";
+ protected final String TEXT_420 = "_ESETFLAG) != 0";
+ protected final String TEXT_421 = "ESet";
+ protected final String TEXT_422 = ") result.append(";
+ protected final String TEXT_423 = "); else result.append(\"<unset>\");";
+ protected final String TEXT_424 = NL + "\t\tresult.append(eVirtualGet(";
+ protected final String TEXT_425 = ", ";
+ protected final String TEXT_426 = "));";
+ protected final String TEXT_427 = NL + "\t\tresult.append((";
+ protected final String TEXT_428 = " & ";
+ protected final String TEXT_429 = "_EFLAG) != 0);";
+ protected final String TEXT_430 = NL + "\t\tresult.append(";
+ protected final String TEXT_431 = "_EFLAG_VALUES[(";
+ protected final String TEXT_432 = " & ";
+ protected final String TEXT_433 = "_EFLAG) >>> ";
+ protected final String TEXT_434 = "_EFLAG_OFFSET]);";
+ protected final String TEXT_435 = NL + "\t\tresult.append(";
+ protected final String TEXT_436 = ");";
+ protected final String TEXT_437 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL
+ + "\t}" + NL;
+ protected final String TEXT_438 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_439 = NL + "\t@";
+ protected final String TEXT_440 = NL + "\tprotected int hash = -1;" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic int getHash()" + NL + "\t{" + NL + "\t\tif (hash == -1)" + NL + "\t\t{" + NL
+ + "\t\t\t";
+ protected final String TEXT_441 = " theKey = getKey();" + NL
+ + "\t\t\thash = (theKey == null ? 0 : theKey.hashCode());" + NL + "\t\t}" + NL + "\t\treturn hash;" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setHash(int hash)" + NL + "\t{" + NL
+ + "\t\tthis.hash = hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_442 = " getKey()" + NL + "\t{";
+ protected final String TEXT_443 = NL + "\t\treturn new ";
+ protected final String TEXT_444 = "(getTypedKey());";
+ protected final String TEXT_445 = NL + "\t\treturn getTypedKey();";
+ protected final String TEXT_446 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey(";
+ protected final String TEXT_447 = " key)" + NL + "\t{";
+ protected final String TEXT_448 = NL + "\t\tgetTypedKey().addAll(";
+ protected final String TEXT_449 = "(";
+ protected final String TEXT_450 = ")";
+ protected final String TEXT_451 = "key);";
+ protected final String TEXT_452 = NL + "\t\tsetTypedKey(key);";
+ protected final String TEXT_453 = NL + "\t\tsetTypedKey(((";
+ protected final String TEXT_454 = ")key).";
+ protected final String TEXT_455 = "());";
+ protected final String TEXT_456 = NL + "\t\tsetTypedKey((";
+ protected final String TEXT_457 = ")key);";
+ protected final String TEXT_458 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_459 = " getValue()" + NL + "\t{";
+ protected final String TEXT_460 = NL + "\t\treturn new ";
+ protected final String TEXT_461 = "(getTypedValue());";
+ protected final String TEXT_462 = NL + "\t\treturn getTypedValue();";
+ protected final String TEXT_463 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_464 = " setValue(";
+ protected final String TEXT_465 = " value)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_466 = " oldValue = getValue();";
+ protected final String TEXT_467 = NL + "\t\tgetTypedValue().clear();" + NL + "\t\tgetTypedValue().addAll(";
+ protected final String TEXT_468 = "(";
+ protected final String TEXT_469 = ")";
+ protected final String TEXT_470 = "value);";
+ protected final String TEXT_471 = NL + "\t\tsetTypedValue(value);";
+ protected final String TEXT_472 = NL + "\t\tsetTypedValue(((";
+ protected final String TEXT_473 = ")value).";
+ protected final String TEXT_474 = "());";
+ protected final String TEXT_475 = NL + "\t\tsetTypedValue((";
+ protected final String TEXT_476 = ")value);";
+ protected final String TEXT_477 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_478 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_479 = NL + "\tpublic ";
+ protected final String TEXT_480 = " getEMap()" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_481 = " container = eContainer();" + NL + "\t\treturn container == null ? null : (";
+ protected final String TEXT_482 = ")container.eGet(eContainmentFeature());" + NL + "\t}" + NL;
+ protected final String TEXT_483 = NL;
+ protected final String TEXT_484 = NL + "} //";
+ protected final String TEXT_485 = NL;
+ protected final String TEXT_486 = NL;
+ protected final String TEXT_487 = NL;
+
+ public Class() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_486);
+ stringBuffer.append(TEXT_487);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenClass genClass = parameter;
+ targetPath = genClass.getGenModel().getModelDirectory();
+ packageName = genClass.getGenPackage().getClassPackageName();
+ className = genClass.getClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenClass genClass = parameter;
+ argument = ((Object[]) new Object[] { new Object[] { genClass,
+ genClass.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE, Boolean.TRUE } })[0];
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2011 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ final GenClass genClass = (GenClass) ((Object[]) argument)[0];
+ final GenPackage genPackage = genClass.getGenPackage();
+ final GenModel genModel = genPackage.getGenModel();
+ final boolean isJDK50 = genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50;
+ final boolean isInterface = Boolean.TRUE.equals(((Object[]) argument)[1]);
+ final boolean isImplementation = Boolean.TRUE.equals(((Object[]) argument)[2]);
+ final boolean isGWT = genModel.getRuntimePlatform() == GenRuntimePlatform.GWT;
+ final String publicStaticFinalFlag = isImplementation ? "public static final " : "";
+ final String singleWildcard = isJDK50 ? "<?>" : "";
+ final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - "
+ + genClass.getOffsetCorrectionField(null) : "";
+ final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(null) : "";
+ final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION"
+ : "";
+ final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION"
+ : "";
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getClassPackageName());
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ genModel.markImportLocation(stringBuffer, genPackage);
+ if (isImplementation) {
+ genClass.addClassPsuedoImports();
+ }
+ stringBuffer.append(TEXT_7);
+ if (isInterface) {
+ stringBuffer.append(TEXT_8);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.interface.javadoc.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_C2iO4eXDEeCxnsoQRwU99Q",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/interface.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_10);
+ if (!genClass.getImplementedGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_11);
+ for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ }
+ stringBuffer.append(TEXT_17);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_18);
+ if (genClass.isAbstract()) {
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genClass.getClassName());
+ stringBuffer.append(genClass.getTypeParameters().trim());
+ stringBuffer.append(genClass.getClassExtends());
+ stringBuffer.append(genClass.getClassImplements());
+ } else {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getInterfaceName());
+ stringBuffer.append(genClass.getTypeParameters().trim());
+ stringBuffer.append(genClass.getInterfaceExtends());
+ }
+ stringBuffer.append(TEXT_22);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_26);
+ }
+ if (isImplementation && genModel.getDriverNumber() != null) {
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genModel.getDriverNumber());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_30);
+ }
+ if (isImplementation && genClass.isJavaIOSerializable()) {
+ stringBuffer.append(TEXT_31);
+ }
+ if (isImplementation && genModel.isVirtualDelegation()) {
+ String eVirtualValuesField = genClass.getEVirtualValuesField();
+ if (eVirtualValuesField != null) {
+ stringBuffer.append(TEXT_32);
+ if (isGWT) {
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(eVirtualValuesField);
+ stringBuffer.append(TEXT_35);
+ }
+ {
+ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());
+ if (!eVirtualIndexBitFields.isEmpty()) {
+ for (String eVirtualIndexBitField : eVirtualIndexBitFields) {
+ stringBuffer.append(TEXT_36);
+ if (isGWT) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer
+ .append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(eVirtualIndexBitField);
+ stringBuffer.append(TEXT_39);
+ }
+ }
+ }
+ }
+ if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled()
+ && genModel.getBooleanFlagsReservedBits() == -1) {
+ stringBuffer.append(TEXT_40);
+ if (isGWT) {
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genModel.getBooleanFlagsField());
+ stringBuffer.append(TEXT_43);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()) {
+ for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ String rawListItemType = genFeature.getRawListItemType(genClass);
+ int index = rawListItemType.indexOf('[');
+ String head = rawListItemType;
+ String tail = "";
+ if (index != -1) {
+ head = rawListItemType.substring(0, index);
+ tail = rawListItemType.substring(index);
+ }
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_47);
+ if (genFeature.getQualifiedListItemType(genClass).contains("<")
+ || genFeature.getArrayItemType(genClass).contains("<")) {
+ stringBuffer.append(TEXT_48);
+ }
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(rawListItemType);
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(head);
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(tail);
+ stringBuffer.append(TEXT_53);
+ }
+ }
+ for (GenFeature genFeature : genClass.getDeclaredFieldGenFeatures()) {
+ stringBuffer.append(TEXT_54);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0jpGTmJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/declaredFieldGenFeature.override.javajetinc
+ }
+ }
+ if (isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genClass.getOffsetCorrectionField(null));
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genClass.getImplementedGenFeatures().get(0).getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genClass.getImplementedGenFeatures().get(0)));
+ stringBuffer.append(TEXT_59);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()) {
+ for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {
+ GenFeature reverseFeature = genFeature.getReverse();
+ if (reverseFeature != null && reverseFeature.getGenClass().hasOffsetCorrection()) {
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genClass.getOffsetCorrectionField(genFeature));
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(reverseFeature.getGenClass().getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(reverseFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(reverseFeature.getGenClass().getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(TEXT_64);
+ }
+ }
+ }
+ if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection()
+ && !genClass.getImplementedGenOperations().isEmpty()) {
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genClass.getImplementedGenOperations().get(0).getQualifiedOperationAccessor());
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genClass.getQualifiedOperationID(genClass.getImplementedGenOperations().get(0)));
+ stringBuffer.append(TEXT_68);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_69);
+ if (genModel.isPublicConstructors()) {
+ stringBuffer.append(TEXT_70);
+ } else {
+ stringBuffer.append(TEXT_71);
+ }
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genClass.getClassName());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(TEXT_74);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.egfCustom.constructor.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_JLBM0HroEeC0XN9kbwkPYQ",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ for (GenFeature genFeature : genClass.getFlagGenFeaturesWithDefault()) {
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_77);
+ if (!genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_78);
+ }
+ stringBuffer.append(TEXT_79);
+ }
+ stringBuffer.append(TEXT_80);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_81);
+ }
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass"));
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.reflectiveDelegation.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kFyMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/reflectiveDelegation.override.javajetinc
+ if (isImplementation) {
+ new Runnable() {
+ public void run() {
+ GenClass classExtendsGenClass = genClass.getClassExtendsGenClass();
+ List<GenFeature> classExtendsAllGenFeatures = classExtendsGenClass == null ? Collections
+ .<GenFeature> emptyList() : classExtendsGenClass.getAllGenFeatures();
+ for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {
+ stringBuffer.append(TEXT_86);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeatureReified.override" args="genFeature:genFeature,classExtendsGenClass:classExtendsGenClass,classExtendsAllGenFeatures:classExtendsAllGenFeatures,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("classExtendsGenClass", classExtendsGenClass);
+ callParameters.put("classExtendsAllGenFeatures", classExtendsAllGenFeatures);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_odzp0LM-EeKd56X4hcZPSw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/genFeatureReified.override.javajetinc
+ }
+ }
+ }.run();
+ }
+ new Runnable() {
+ public void run() {
+ for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass
+ .getDeclaredGenFeatures())) {
+ stringBuffer.append(TEXT_87);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kO8IGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/genFeature.override.javajetinc
+ }//for
+ }
+ }.run();
+ for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass
+ .getDeclaredGenOperations())) {
+ stringBuffer.append(TEXT_88);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0tBrwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/implementedGenOperation.override.javajetinc
+ }//for
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {
+ stringBuffer.append(TEXT_89);
+ if (genModel.useGenerics()) {
+ for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {
+ if (genFeature.isUncheckedCast(genClass)) {
+ stringBuffer.append(TEXT_90);
+ break;
+ }
+ }
+ }
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_91);
+ }
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_96);
+ for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_98);
+ if (genFeature.isListType()) {
+ String cast = "("
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")
+ + (!genModel.useGenerics() ? ")" : "<"
+ + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)("
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");
+ if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(cast);
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass));
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_103);
+ } else {
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(cast);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_105);
+ }
+ } else if (genFeature.isContainer()) {
+ stringBuffer.append(TEXT_106);
+ if (genFeature.isBasicSet()) {
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_109);
+ } else {
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_111);
+ }
+ } else {
+ if (genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_116);
+ } else if (genFeature.isVolatile()
+ || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_119);
+ if (genFeature.isResolveProxies()) {
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genFeature.getAccessorName());
+ } else {
+ stringBuffer.append(genFeature.getGetAccessor());
+ }
+ stringBuffer.append(TEXT_121);
+ }
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_123);
+ if (genFeature.isEffectiveContains()) {
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_127);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_132);
+ }
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_135);
+ }
+ }
+ stringBuffer.append(TEXT_136);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_137);
+ } else {
+ stringBuffer.append(TEXT_138);
+ }
+ stringBuffer.append(TEXT_139);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {
+ stringBuffer.append(TEXT_140);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_141);
+ }
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_146);
+ for (GenFeature genFeature : genClass.getEInverseRemoveGenFeatures()) {
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_148);
+ if (genFeature.isListType()) {
+ if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
+ stringBuffer.append(TEXT_151);
+ stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass));
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_153);
+ } else if (genFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_157);
+ } else {
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_160);
+ }
+ } else if (genFeature.isContainer() && !genFeature.isBasicSet()) {
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_162);
+ } else if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_164);
+ } else {
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_166);
+ }
+ }
+ stringBuffer.append(TEXT_167);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_168);
+ } else {
+ stringBuffer.append(TEXT_169);
+ }
+ stringBuffer.append(TEXT_170);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {
+ stringBuffer.append(TEXT_171);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_172);
+ }
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_176);
+ for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_179);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_180);
+ }
+ stringBuffer.append(TEXT_181);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_182);
+ } else {
+ stringBuffer.append(TEXT_183);
+ }
+ stringBuffer.append(TEXT_184);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEGetGenFeatures())) {
+ stringBuffer.append(TEXT_185);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_186);
+ }
+ stringBuffer.append(TEXT_187);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_188);
+ for (GenFeature genFeature : genClass.getEGetGenFeatures()) {
+ stringBuffer.append(TEXT_189);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_190);
+ if (genFeature.isPrimitiveType()) {
+ if (isJDK50) {
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_192);
+ } else if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_193);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_194);
+ } else {
+ stringBuffer.append(TEXT_195);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_197);
+ }
+ } else if (genFeature.isResolveProxies() && !genFeature.isListType()) {
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_199);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_200);
+ } else if (genFeature.isMapType()) {
+ if (genFeature.isEffectiveSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass));
+ stringBuffer.append(TEXT_203);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_205);
+ } else {
+ stringBuffer.append(TEXT_206);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_208);
+ }
+ } else if (genFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_209);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_210);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_212);
+ } else if (genFeature.isFeatureMapType()) {
+ stringBuffer.append(TEXT_213);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_214);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_216);
+ } else {
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_218);
+ }
+ }
+ stringBuffer.append(TEXT_219);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_220);
+ } else {
+ stringBuffer.append(TEXT_221);
+ }
+ stringBuffer.append(TEXT_222);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getESetGenFeatures())) {
+ stringBuffer.append(TEXT_223);
+ if (genModel.useGenerics()) {
+ for (GenFeature genFeature : genClass.getESetGenFeatures()) {
+ if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ stringBuffer.append(TEXT_224);
+ break;
+ }
+ }
+ }
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_225);
+ }
+ stringBuffer.append(TEXT_226);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_227);
+ for (GenFeature genFeature : genClass.getESetGenFeatures()) {
+ stringBuffer.append(TEXT_228);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_229);
+ if (genFeature.isListType()) {
+ if (genFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_230);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_231);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_233);
+ } else if (genFeature.isFeatureMapType()) {
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_235);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_236);
+ } else if (genFeature.isMapType()) {
+ if (genFeature.isEffectiveSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_237);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_238);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
+ stringBuffer.append(TEXT_239);
+ stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass));
+ stringBuffer.append(TEXT_240);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_241);
+ } else {
+ stringBuffer.append(TEXT_242);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_244);
+ }
+ } else {
+ stringBuffer.append(TEXT_245);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_246);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_247);
+ stringBuffer.append(genModel.getImportedName("java.util.Collection"));
+ if (isJDK50) {
+ stringBuffer.append(TEXT_248);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_249);
+ }
+ stringBuffer.append(TEXT_250);
+ }
+ } else if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_251);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_252);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_253);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_254);
+ } else {
+ stringBuffer.append(TEXT_255);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_256);
+ if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()
+ || !genFeature.getRawType().equals(genFeature.getType(genClass))) {
+ stringBuffer.append(TEXT_257);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_258);
+ }
+ stringBuffer.append(TEXT_259);
+ }
+ stringBuffer.append(TEXT_260);
+ }
+ stringBuffer.append(TEXT_261);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_262);
+ } else {
+ stringBuffer.append(TEXT_263);
+ }
+ stringBuffer.append(TEXT_264);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {
+ stringBuffer.append(TEXT_265);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.eUnset.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uN-kGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/eUnset.override.javajetinc
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {
+ stringBuffer.append(TEXT_266);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.eIsSet.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uXvkGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/eIsSet.override.javajetinc
+ }
+ if (isImplementation
+ && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection()
+ && !genClass.getGenFeatures().isEmpty())) {
+ if (!genClass.getMixinGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_267);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_268);
+ }
+ stringBuffer.append(TEXT_269);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_270);
+ for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {
+ stringBuffer.append(TEXT_271);
+ stringBuffer.append(mixinGenClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_272);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_273);
+ for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_274);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_275);
+ stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_276);
+ }
+ stringBuffer.append(TEXT_277);
+ }
+ stringBuffer.append(TEXT_278);
+ }
+ stringBuffer.append(TEXT_279);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_280);
+ }
+ stringBuffer.append(TEXT_281);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_282);
+ for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {
+ stringBuffer.append(TEXT_283);
+ stringBuffer.append(mixinGenClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_284);
+ for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_285);
+ stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_286);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_287);
+ }
+ stringBuffer.append(TEXT_288);
+ }
+ if (genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_289);
+ stringBuffer.append(genClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_290);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_291);
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_292);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_293);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_294);
+ }
+ stringBuffer.append(TEXT_295);
+ }
+ stringBuffer.append(TEXT_296);
+ }
+ if (genModel.isOperationReflection()
+ && isImplementation
+ && (!genClass.getMixinGenOperations().isEmpty()
+ || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(),
+ genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection()
+ && !genClass.getGenOperations().isEmpty())) {
+ stringBuffer.append(TEXT_297);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_298);
+ }
+ stringBuffer.append(TEXT_299);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_300);
+ for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) {
+ List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations();
+ List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations();
+ if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations)
+ .isEmpty()) {
+ stringBuffer.append(TEXT_301);
+ stringBuffer.append(extendedGenClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_302);
+ for (GenOperation genOperation : extendedImplementedGenOperations) {
+ GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);
+ if (implementedGenOperations.contains(overrideGenOperation)) {
+ stringBuffer.append(TEXT_303);
+ stringBuffer.append(extendedGenClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(TEXT_304);
+ stringBuffer.append(genClass.getQualifiedOperationID(overrideGenOperation));
+ stringBuffer.append(positiveOperationOffsetCorrection);
+ stringBuffer.append(TEXT_305);
+ }
+ }
+ stringBuffer.append(TEXT_306);
+ }
+ }
+ for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {
+ stringBuffer.append(TEXT_307);
+ stringBuffer.append(mixinGenClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_308);
+ for (GenOperation genOperation : mixinGenClass.getGenOperations()) {
+ GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);
+ stringBuffer.append(TEXT_309);
+ stringBuffer.append(mixinGenClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(TEXT_310);
+ stringBuffer
+ .append(genClass
+ .getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation
+ : genOperation));
+ stringBuffer.append(positiveOperationOffsetCorrection);
+ stringBuffer.append(TEXT_311);
+ }
+ stringBuffer.append(TEXT_312);
+ }
+ if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) {
+ stringBuffer.append(TEXT_313);
+ stringBuffer.append(genClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_314);
+ stringBuffer.append(negativeOperationOffsetCorrection);
+ stringBuffer.append(TEXT_315);
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ stringBuffer.append(TEXT_316);
+ stringBuffer.append(genClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(TEXT_317);
+ stringBuffer.append(genClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(positiveOperationOffsetCorrection);
+ stringBuffer.append(TEXT_318);
+ }
+ stringBuffer.append(TEXT_319);
+ }
+ stringBuffer.append(TEXT_320);
+ }
+ if (isImplementation && genModel.isVirtualDelegation()) {
+ String eVirtualValuesField = genClass.getEVirtualValuesField();
+ if (eVirtualValuesField != null) {
+ stringBuffer.append(TEXT_321);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_322);
+ }
+ stringBuffer.append(TEXT_323);
+ stringBuffer.append(eVirtualValuesField);
+ stringBuffer.append(TEXT_324);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_325);
+ }
+ stringBuffer.append(TEXT_326);
+ stringBuffer.append(eVirtualValuesField);
+ stringBuffer.append(TEXT_327);
+ }
+ {
+ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());
+ if (!eVirtualIndexBitFields.isEmpty()) {
+ List<String> allEVirtualIndexBitFields = genClass
+ .getAllEVirtualIndexBitFields(new ArrayList<String>());
+ stringBuffer.append(TEXT_328);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_329);
+ }
+ stringBuffer.append(TEXT_330);
+ for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {
+ stringBuffer.append(TEXT_331);
+ stringBuffer.append(i);
+ stringBuffer.append(TEXT_332);
+ stringBuffer.append(allEVirtualIndexBitFields.get(i));
+ stringBuffer.append(TEXT_333);
+ }
+ stringBuffer.append(TEXT_334);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_335);
+ }
+ stringBuffer.append(TEXT_336);
+ for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {
+ stringBuffer.append(TEXT_337);
+ stringBuffer.append(i);
+ stringBuffer.append(TEXT_338);
+ stringBuffer.append(allEVirtualIndexBitFields.get(i));
+ stringBuffer.append(TEXT_339);
+ }
+ stringBuffer.append(TEXT_340);
+ }
+ }
+ }
+ if (genModel.isOperationReflection() && isImplementation && !genClass.getImplementedGenOperations().isEmpty()) {
+ stringBuffer.append(TEXT_341);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_342);
+ }
+ if (genModel.useGenerics()) {
+ boolean isUnchecked = false;
+ boolean isRaw = false;
+ LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass
+ .getImplementedGenOperations() : genClass.getAllGenOperations())) {
+ for (GenParameter genParameter : genOperation.getGenParameters()) {
+ if (genParameter.isUncheckedCast()) {
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()) {
+ isUnchecked = true;
+ }
+ if (genParameter.usesOperationTypeParameters()
+ && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments()
+ .isEmpty()) {
+ isRaw = true;
+ break LOOP;
+ }
+ }
+ }
+ }
+ if (isUnchecked) {
+ stringBuffer.append(TEXT_343);
+ if (!isRaw) {
+ stringBuffer.append(TEXT_344);
+ } else {
+ stringBuffer.append(TEXT_345);
+ }
+ stringBuffer.append(TEXT_346);
+ }
+ }
+ stringBuffer.append(TEXT_347);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EList"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_348);
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(TEXT_349);
+ stringBuffer.append(negativeOperationOffsetCorrection);
+ stringBuffer.append(TEXT_350);
+ for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass
+ .getImplementedGenOperations() : genClass.getAllGenOperations())) {
+ List<GenParameter> genParameters = genOperation.getGenParameters();
+ int size = genParameters.size();
+ boolean hasCheckedException = genOperation.hasCheckedException();
+ String indent = hasCheckedException ? "\t" : "";
+ stringBuffer.append(TEXT_351);
+ stringBuffer.append(genClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(TEXT_352);
+ if (hasCheckedException) {
+ stringBuffer.append(TEXT_353);
+ /*}*/}
+ if (genOperation.isVoid()) {
+ stringBuffer.append(TEXT_354);
+ stringBuffer.append(indent);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_355);
+ for (int i = 0; i < size; i++) {
+ GenParameter genParameter = genParameters.get(i);
+ if (!isJDK50 && genParameter.isPrimitiveType()) {
+ stringBuffer.append(TEXT_356);
+ }
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()
+ || !genParameter.usesOperationTypeParameters()
+ && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
+ stringBuffer.append(TEXT_357);
+ stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter
+ .getRawImportedType() : genParameter.getObjectType(genClass));
+ stringBuffer.append(TEXT_358);
+ }
+ stringBuffer.append(TEXT_359);
+ stringBuffer.append(i);
+ stringBuffer.append(TEXT_360);
+ if (!isJDK50 && genParameter.isPrimitiveType()) {
+ stringBuffer.append(TEXT_361);
+ stringBuffer.append(genParameter.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_362);
+ }
+ if (i < (size - 1)) {
+ stringBuffer.append(TEXT_363);
+ }
+ }
+ stringBuffer.append(TEXT_364);
+ stringBuffer.append(indent);
+ stringBuffer.append(TEXT_365);
+ } else {
+ stringBuffer.append(TEXT_366);
+ stringBuffer.append(indent);
+ stringBuffer.append(TEXT_367);
+ if (!isJDK50 && genOperation.isPrimitiveType()) {
+ stringBuffer.append(TEXT_368);
+ stringBuffer.append(genOperation.getObjectType(genClass));
+ stringBuffer.append(TEXT_369);
+ }
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_370);
+ for (int i = 0; i < size; i++) {
+ GenParameter genParameter = genParameters.get(i);
+ if (!isJDK50 && genParameter.isPrimitiveType()) {
+ stringBuffer.append(TEXT_371);
+ }
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()
+ || !genParameter.usesOperationTypeParameters()
+ && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
+ stringBuffer.append(TEXT_372);
+ stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter
+ .getRawImportedType() : genParameter.getObjectType(genClass));
+ stringBuffer.append(TEXT_373);
+ }
+ stringBuffer.append(TEXT_374);
+ stringBuffer.append(i);
+ stringBuffer.append(TEXT_375);
+ if (!isJDK50 && genParameter.isPrimitiveType()) {
+ stringBuffer.append(TEXT_376);
+ stringBuffer.append(genParameter.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_377);
+ }
+ if (i < (size - 1)) {
+ stringBuffer.append(TEXT_378);
+ }
+ }
+ stringBuffer.append(TEXT_379);
+ if (!isJDK50 && genOperation.isPrimitiveType()) {
+ stringBuffer.append(TEXT_380);
+ }
+ stringBuffer.append(TEXT_381);
+ }
+ if (hasCheckedException) {/*{*/
+ stringBuffer.append(TEXT_382);
+ stringBuffer.append(genModel.getImportedName("java.lang.Throwable"));
+ stringBuffer.append(TEXT_383);
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(TEXT_384);
+ }
+ }
+ stringBuffer.append(TEXT_385);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_386);
+ } else {
+ stringBuffer.append(TEXT_387);
+ }
+ stringBuffer.append(TEXT_388);
+ }
+ if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation()
+ && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_389);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_390);
+ }
+ stringBuffer.append(TEXT_391);
+ {
+ boolean first = true;
+ for (GenFeature genFeature : genClass.getToStringGenFeatures()) {
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_392);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_393);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_394);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_395);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genFeature.isUnsettable() && !genFeature.isListType()) {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_396);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_397);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_398);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_399);
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_400);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_401);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_402);
+ } else {
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_403);
+ }
+ stringBuffer.append(TEXT_404);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_405);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_406);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_407);
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_408);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_409);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_410);
+ } else {
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_411);
+ }
+ stringBuffer.append(TEXT_412);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_413);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_414);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_415);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_416);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ } else {
+ stringBuffer.append(TEXT_417);
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_418);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_419);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_420);
+ } else {
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_421);
+ }
+ stringBuffer.append(TEXT_422);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_423);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ }
+ } else {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_424);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ if (!genFeature.isListType() && !genFeature.isReferenceType()) {
+ stringBuffer.append(TEXT_425);
+ stringBuffer.append(genFeature.getEDefault());
+ }
+ stringBuffer.append(TEXT_426);
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_427);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_428);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_429);
+ } else {
+ stringBuffer.append(TEXT_430);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_431);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_432);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_433);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_434);
+ }
+ } else {
+ stringBuffer.append(TEXT_435);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_436);
+ }
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_437);
+ }
+ if (isImplementation && genClass.isMapEntry()) {
+ GenFeature keyFeature = genClass.getMapEntryKeyFeature();
+ GenFeature valueFeature = genClass.getMapEntryValueFeature();
+ String objectType = genModel.getImportedName("java.lang.Object");
+ String keyType = isJDK50 ? keyFeature.getObjectType(genClass) : objectType;
+ String valueType = isJDK50 ? valueFeature.getObjectType(genClass) : objectType;
+ String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap")
+ + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");
+ stringBuffer.append(TEXT_438);
+ if (isGWT) {
+ stringBuffer.append(TEXT_439);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_440);
+ stringBuffer.append(objectType);
+ stringBuffer.append(TEXT_441);
+ stringBuffer.append(keyType);
+ stringBuffer.append(TEXT_442);
+ if (!isJDK50 && keyFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_443);
+ stringBuffer.append(keyFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_444);
+ } else {
+ stringBuffer.append(TEXT_445);
+ }
+ stringBuffer.append(TEXT_446);
+ stringBuffer.append(keyType);
+ stringBuffer.append(TEXT_447);
+ if (keyFeature.isListType()) {
+ stringBuffer.append(TEXT_448);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_449);
+ stringBuffer.append(genModel.getImportedName("java.util.Collection"));
+ stringBuffer.append(TEXT_450);
+ }
+ stringBuffer.append(TEXT_451);
+ } else if (isJDK50) {
+ stringBuffer.append(TEXT_452);
+ } else if (keyFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_453);
+ stringBuffer.append(keyFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_454);
+ stringBuffer.append(keyFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_455);
+ } else {
+ stringBuffer.append(TEXT_456);
+ stringBuffer.append(keyFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_457);
+ }
+ stringBuffer.append(TEXT_458);
+ stringBuffer.append(valueType);
+ stringBuffer.append(TEXT_459);
+ if (!isJDK50 && valueFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_460);
+ stringBuffer.append(valueFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_461);
+ } else {
+ stringBuffer.append(TEXT_462);
+ }
+ stringBuffer.append(TEXT_463);
+ stringBuffer.append(valueType);
+ stringBuffer.append(TEXT_464);
+ stringBuffer.append(valueType);
+ stringBuffer.append(TEXT_465);
+ stringBuffer.append(valueType);
+ stringBuffer.append(TEXT_466);
+ if (valueFeature.isListType()) {
+ stringBuffer.append(TEXT_467);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_468);
+ stringBuffer.append(genModel.getImportedName("java.util.Collection"));
+ stringBuffer.append(TEXT_469);
+ }
+ stringBuffer.append(TEXT_470);
+ } else if (isJDK50) {
+ stringBuffer.append(TEXT_471);
+ } else if (valueFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_472);
+ stringBuffer.append(valueFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_473);
+ stringBuffer.append(valueFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_474);
+ } else {
+ stringBuffer.append(TEXT_475);
+ stringBuffer.append(valueFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_476);
+ }
+ stringBuffer.append(TEXT_477);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_478);
+ }
+ stringBuffer.append(TEXT_479);
+ stringBuffer.append(eMapType);
+ stringBuffer.append(TEXT_480);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(TEXT_481);
+ stringBuffer.append(eMapType);
+ stringBuffer.append(TEXT_482);
+ }
+ stringBuffer.append(TEXT_483);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.insert" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ug5gGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_484);
+ stringBuffer.append(isInterface ? " " + genClass.getInterfaceName() : genClass.getClassName());
+ // TODO fix the space above
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_485);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenClass genClass = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (!genClass.isInterface());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/EnumClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/EnumClass.java
new file mode 100644
index 0000000..d2e02b3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/EnumClass.java
@@ -0,0 +1,606 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class EnumClass extends org.eclipse.egf.emf.pattern.base.GenEnumJava {
+ protected static String nl;
+
+ public static synchronized EnumClass create(String lineSeparator) {
+ nl = lineSeparator;
+ EnumClass result = new EnumClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A representation of the literals of the enumeration '<em><b>";
+ protected final String TEXT_5 = "</b></em>'," + NL + " * and utility methods for working with them." + NL
+ + " * <!-- end-user-doc -->";
+ protected final String TEXT_6 = NL + " * <!-- begin-model-doc -->" + NL + " * ";
+ protected final String TEXT_7 = NL + " * <!-- end-model-doc -->";
+ protected final String TEXT_8 = NL + " * @see ";
+ protected final String TEXT_9 = "#get";
+ protected final String TEXT_10 = "()";
+ protected final String TEXT_11 = NL + " * @model ";
+ protected final String TEXT_12 = NL + " * ";
+ protected final String TEXT_13 = NL + " * @model";
+ protected final String TEXT_14 = NL + " * @generated" + NL + " */" + NL + "public ";
+ protected final String TEXT_15 = "enum";
+ protected final String TEXT_16 = "final class";
+ protected final String TEXT_17 = " ";
+ protected final String TEXT_18 = " ";
+ protected final String TEXT_19 = "implements";
+ protected final String TEXT_20 = "extends";
+ protected final String TEXT_21 = " ";
+ protected final String TEXT_22 = NL + "{";
+ protected final String TEXT_23 = NL + "\t;" + NL;
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The '<em><b>";
+ protected final String TEXT_25 = "</b></em>' literal object." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_26 = NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_27 = "(";
+ protected final String TEXT_28 = ", \"";
+ protected final String TEXT_29 = "\", ";
+ protected final String TEXT_30 = ")";
+ protected final String TEXT_31 = ",";
+ protected final String TEXT_32 = ";";
+ protected final String TEXT_33 = NL;
+ protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_35 = " copyright = ";
+ protected final String TEXT_36 = ";";
+ protected final String TEXT_37 = NL;
+ protected final String TEXT_38 = NL + "\t/**" + NL + "\t * The '<em><b>";
+ protected final String TEXT_39 = "</b></em>' literal value." + NL + "\t * <!-- begin-user-doc -->";
+ protected final String TEXT_40 = NL + "\t * <p>" + NL + "\t * If the meaning of '<em><b>";
+ protected final String TEXT_41 = "</b></em>' literal object isn't clear," + NL
+ + "\t * there really should be more of a description here..." + NL + "\t * </p>";
+ protected final String TEXT_42 = NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_43 = NL + "\t * <!-- begin-model-doc -->" + NL + "\t * ";
+ protected final String TEXT_44 = NL + "\t * <!-- end-model-doc -->";
+ protected final String TEXT_45 = NL + "\t * @see #";
+ protected final String TEXT_46 = NL + "\t * @model ";
+ protected final String TEXT_47 = NL + "\t * ";
+ protected final String TEXT_48 = NL + "\t * @model";
+ protected final String TEXT_49 = NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tpublic static final int ";
+ protected final String TEXT_50 = " = ";
+ protected final String TEXT_51 = ";" + NL;
+ protected final String TEXT_52 = NL + "\t/**" + NL + "\t * The '<em><b>";
+ protected final String TEXT_53 = "</b></em>' literal object." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_54 = NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tpublic static final ";
+ protected final String TEXT_55 = " ";
+ protected final String TEXT_56 = " = new ";
+ protected final String TEXT_57 = "(";
+ protected final String TEXT_58 = ", \"";
+ protected final String TEXT_59 = "\", ";
+ protected final String TEXT_60 = ");";
+ protected final String TEXT_61 = NL;
+ protected final String TEXT_62 = NL + "\t/**" + NL + "\t * An array of all the '<em><b>";
+ protected final String TEXT_63 = "</b></em>' enumerators." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final ";
+ protected final String TEXT_64 = "[] VALUES_ARRAY =" + NL + "\t\tnew ";
+ protected final String TEXT_65 = "[]" + NL + "\t\t{";
+ protected final String TEXT_66 = NL + "\t\t\t";
+ protected final String TEXT_67 = ",";
+ protected final String TEXT_68 = NL + "\t\t};" + NL + "" + NL + "\t/**" + NL
+ + "\t * A public read-only list of all the '<em><b>";
+ protected final String TEXT_69 = "</b></em>' enumerators." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final List";
+ protected final String TEXT_70 = "<";
+ protected final String TEXT_71 = ">";
+ protected final String TEXT_72 = " VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));" + NL + ""
+ + NL + "\t/**" + NL + "\t * Returns the '<em><b>";
+ protected final String TEXT_73 = "</b></em>' literal with the specified literal value." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_74 = " get(";
+ protected final String TEXT_75 = " literal)" + NL + "\t{" + NL
+ + "\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_76 = " result = VALUES_ARRAY[i];" + NL + "\t\t\tif (result.toString().equals(literal))"
+ + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn null;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the '<em><b>";
+ protected final String TEXT_77 = "</b></em>' literal with the specified name." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_78 = " getByName(";
+ protected final String TEXT_79 = " name)" + NL + "\t{" + NL + "\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i)"
+ + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_80 = " result = VALUES_ARRAY[i];" + NL + "\t\t\tif (result.getName().equals(name))"
+ + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn null;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the '<em><b>";
+ protected final String TEXT_81 = "</b></em>' literal with the specified integer value." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_82 = " get(int value)" + NL + "\t{" + NL + "\t\tswitch (value)" + NL + "\t\t{";
+ protected final String TEXT_83 = NL + "\t\t\tcase ";
+ protected final String TEXT_84 = ": return ";
+ protected final String TEXT_85 = ";";
+ protected final String TEXT_86 = NL + "\t\t}" + NL + "\t\treturn null;" + NL + "\t}" + NL;
+ protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate final int value;"
+ + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprivate final ";
+ protected final String TEXT_88 = " name;" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate final ";
+ protected final String TEXT_89 = " literal;" + NL;
+ protected final String TEXT_90 = NL + "\t/**" + NL + "\t * Only this class can construct instances." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate ";
+ protected final String TEXT_91 = "(int value, ";
+ protected final String TEXT_92 = " name, ";
+ protected final String TEXT_93 = " literal)" + NL + "\t{";
+ protected final String TEXT_94 = NL + "\t\tthis.value = value;" + NL + "\t\tthis.name = name;" + NL
+ + "\t\tthis.literal = literal;";
+ protected final String TEXT_95 = NL + "\t\tsuper(value, name, literal);";
+ protected final String TEXT_96 = NL + "\t}" + NL;
+ protected final String TEXT_97 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int getValue()"
+ + NL + "\t{" + NL + "\t return value;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_98 = " getName()" + NL + "\t{" + NL + "\t return name;" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_99 = " getLiteral()" + NL + "\t{" + NL + "\t return literal;" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL
+ + "\t * Returns the literal value of the enumerator, which is its string representation." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_100 = NL + "\t@Override";
+ protected final String TEXT_101 = NL + "\tpublic ";
+ protected final String TEXT_102 = " toString()" + NL + "\t{" + NL + "\t\treturn literal;" + NL + "\t}" + NL + "\t";
+ protected final String TEXT_103 = NL + "} //";
+ protected final String TEXT_104 = NL;
+ protected final String TEXT_105 = NL + "/**" + NL
+ + " * A private implementation interface used to hide the inheritance from Enumerator." + NL
+ + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL
+ + "interface Internal";
+ protected final String TEXT_106 = " extends org.eclipse.emf.common.util.Enumerator" + NL + "{" + NL + "\t// Empty "
+ + NL + "}";
+ protected final String TEXT_107 = NL + "/**" + NL + " * A private implementation class to construct the instances."
+ + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */"
+ + NL + "class Internal";
+ protected final String TEXT_108 = " extends org.eclipse.emf.common.util.AbstractEnumerator" + NL + "{" + NL
+ + "\t/**" + NL + "\t * Only this class can construct instances." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected Internal";
+ protected final String TEXT_109 = "(int value, ";
+ protected final String TEXT_110 = " name, ";
+ protected final String TEXT_111 = " literal)" + NL + "\t{" + NL + "\t\tsuper(value, name, literal);" + NL + "\t}"
+ + NL + "}";
+ protected final String TEXT_112 = NL;
+ protected final String TEXT_113 = NL;
+ protected final String TEXT_114 = NL;
+
+ public EnumClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenEnum) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(TEXT_114);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenEnum genEnum = parameter;
+ targetPath = genEnum.getGenModel().getModelDirectory();
+ packageName = genEnum.getGenPackage().getInterfacePackageName();
+ className = genEnum.getName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenEnum genEnum = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenEnum genEnum = (GenEnum) argument;
+ GenPackage genPackage = genEnum.getGenPackage();
+ GenModel genModel = genPackage.getGenModel();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.addImport("java.util.Arrays");
+ genModel.addImport("java.util.List");
+ genModel.addImport("java.util.Collections");
+ genModel.markImportLocation(stringBuffer, genPackage);
+ boolean isEnum = genModel.useGenerics();
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_5);
+ if (genEnum.hasDocumentation()) {
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genEnum.getDocumentation(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_10);
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genEnum.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_13);
+ }
+ }
+ stringBuffer.append(TEXT_14);
+ if (isEnum) {
+ stringBuffer.append(TEXT_15);
+ } else {
+ stringBuffer.append(TEXT_16);
+ }
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_18);
+ if (isEnum) {
+ stringBuffer.append(TEXT_19);
+ } else {
+ stringBuffer.append(TEXT_20);
+ }
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genModel.isSuppressEMFMetaData() && !genModel.isSuppressInterfaces() ? "Internal"
+ + genEnum.getName() : genModel.getImportedName(isEnum ? "org.eclipse.emf.common.util.Enumerator"
+ : "org.eclipse.emf.common.util.AbstractEnumerator"));
+ stringBuffer.append(TEXT_22);
+ if (isEnum) {
+ if (genEnum.getGenEnumLiterals().isEmpty()) {
+ stringBuffer.append(TEXT_23);
+ } else {
+ for (Iterator<GenEnumLiteral> l = genEnum.getGenEnumLiterals().iterator(); l.hasNext();) {
+ GenEnumLiteral genEnumLiteral = l.next();
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genEnumLiteral.getFormattedName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralValueConstantName());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genEnumLiteral.getValue());
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genEnumLiteral.getName());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(Literals.toStringLiteral(genEnumLiteral.getLiteral(), genModel));
+ stringBuffer.append(TEXT_30);
+ if (l.hasNext()) {
+ stringBuffer.append(TEXT_31);
+ } else {
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_33);
+ }
+ }
+ }
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_37);
+ }
+ for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genEnumLiteral.getFormattedName());
+ stringBuffer.append(TEXT_39);
+ if (!genEnumLiteral.hasDocumentation()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genEnumLiteral.getFormattedName());
+ stringBuffer.append(TEXT_41);
+ }
+ stringBuffer.append(TEXT_42);
+ if (genEnumLiteral.hasDocumentation()) {
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genEnumLiteral.getDocumentation(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genEnumLiteral.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_48);
+ }
+ }
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralValueConstantName());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genEnumLiteral.getValue());
+ stringBuffer.append(TEXT_51);
+ }
+ if (!isEnum)
+ for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genEnumLiteral.getFormattedName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralValueConstantName());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralValueConstantName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genEnumLiteral.getName());
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(Literals.toStringLiteral(genEnumLiteral.getLiteral(), genModel));
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_61);
+ }
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_65);
+ for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
+ stringBuffer.append(TEXT_67);
+ }
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_69);
+ if (isEnum) {
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_71);
+ }
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_82);
+ for (GenEnumLiteral genEnumLiteral : genEnum.getUniqueValuedGenEnumLiterals()) {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralValueConstantName());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
+ stringBuffer.append(TEXT_85);
+ }
+ stringBuffer.append(TEXT_86);
+ if (isEnum) {
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_89);
+ }
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_93);
+ if (isEnum) {
+ stringBuffer.append(TEXT_94);
+ } else {
+ stringBuffer.append(TEXT_95);
+ }
+ stringBuffer.append(TEXT_96);
+ if (isEnum) {
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_99);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_100);
+ }
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_102);
+ }
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(genEnum.getName());
+ if (genModel.isSuppressEMFMetaData() && !genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_104);
+ if (isEnum) {
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_106);
+ } else {
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_111);
+ }
+ }
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_112);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenEnum genEnum = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && true;
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryClass.java
new file mode 100644
index 0000000..61008e4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryClass.java
@@ -0,0 +1,1873 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class FactoryClass extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized FactoryClass create(String lineSeparator) {
+ nl = lineSeparator;
+ FactoryClass result = new FactoryClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";";
+ protected final String TEXT_4 = NL + "package ";
+ protected final String TEXT_5 = ";";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Factory</b> for the model." + NL
+ + " * It provides a create method for each non-abstract class of the model." + NL
+ + " * <!-- end-user-doc -->";
+ protected final String TEXT_9 = NL + " * @see ";
+ protected final String TEXT_10 = NL + " * @generated" + NL + " */";
+ protected final String TEXT_11 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model <b>Factory</b>." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @generated" + NL + " */";
+ protected final String TEXT_12 = NL + "public class ";
+ protected final String TEXT_13 = " extends ";
+ protected final String TEXT_14 = " implements ";
+ protected final String TEXT_15 = NL + "public interface ";
+ protected final String TEXT_16 = " extends ";
+ protected final String TEXT_17 = NL + "{";
+ protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_19 = " copyright = ";
+ protected final String TEXT_20 = ";";
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_23 = " eINSTANCE = init();" + NL;
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_25 = " INSTANCE = ";
+ protected final String TEXT_26 = ".eINSTANCE;" + NL;
+ protected final String TEXT_27 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_28 = " eINSTANCE = ";
+ protected final String TEXT_29 = ".init();" + NL;
+ protected final String TEXT_30 = NL + "\t/**" + NL + "\t * Creates the default factory implementation." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_31 = NL + "\tpublic static ";
+ protected final String TEXT_32 = " init()" + NL + "\t{" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_33 = " the";
+ protected final String TEXT_34 = " = (";
+ protected final String TEXT_35 = ")";
+ protected final String TEXT_36 = ".Registry.INSTANCE.getEFactory(";
+ protected final String TEXT_37 = ".eNS_URI);" + NL + "\t\t\tif (the";
+ protected final String TEXT_38 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\treturn the";
+ protected final String TEXT_39 = ";" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL
+ + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_40 = ".INSTANCE.log(exception);" + NL + "\t\t}" + NL + "\t\treturn new ";
+ protected final String TEXT_41 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_42 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_43 = NL + "\t@Override";
+ protected final String TEXT_44 = NL + "\tpublic EObject create(EClass eClass)" + NL + "\t{" + NL
+ + "\t\tswitch (eClass.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_45 = NL + "\t\t\tcase ";
+ protected final String TEXT_46 = ".";
+ protected final String TEXT_47 = ": return ";
+ protected final String TEXT_48 = "create";
+ protected final String TEXT_49 = "();";
+ protected final String TEXT_50 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The class '\" + eClass.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_51 = NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_52 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_53 = NL + "\t@Override";
+ protected final String TEXT_54 = NL + "\tpublic Object createFromString(";
+ protected final String TEXT_55 = " eDataType, String initialValue)" + NL + "\t{" + NL
+ + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_56 = NL + "\t\t\tcase ";
+ protected final String TEXT_57 = ".";
+ protected final String TEXT_58 = ":" + NL + "\t\t\t\treturn create";
+ protected final String TEXT_59 = "FromString(eDataType, initialValue);";
+ protected final String TEXT_60 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_61 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_62 = NL + "\t@Override";
+ protected final String TEXT_63 = NL + "\tpublic String convertToString(";
+ protected final String TEXT_64 = " eDataType, Object instanceValue)" + NL + "\t{" + NL
+ + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_65 = NL + "\t\t\tcase ";
+ protected final String TEXT_66 = ".";
+ protected final String TEXT_67 = ":" + NL + "\t\t\t\treturn convert";
+ protected final String TEXT_68 = "ToString(eDataType, instanceValue);";
+ protected final String TEXT_69 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_70 = NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_71 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_72 = " create";
+ protected final String TEXT_73 = "()" + NL + "\t{";
+ protected final String TEXT_74 = NL + "\t\t";
+ protected final String TEXT_75 = " ";
+ protected final String TEXT_76 = " = ";
+ protected final String TEXT_77 = "super.create(";
+ protected final String TEXT_78 = ");";
+ protected final String TEXT_79 = NL + "\t\t";
+ protected final String TEXT_80 = " ";
+ protected final String TEXT_81 = " = new ";
+ protected final String TEXT_82 = "()";
+ protected final String TEXT_83 = "{}";
+ protected final String TEXT_84 = ";";
+ protected final String TEXT_85 = NL + "\t\treturn ";
+ protected final String TEXT_86 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_88 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_89 = NL + "\tpublic ";
+ protected final String TEXT_90 = " create";
+ protected final String TEXT_91 = "(";
+ protected final String TEXT_92 = "final ";
+ protected final String TEXT_93 = "String ";
+ protected final String TEXT_94 = "it";
+ protected final String TEXT_95 = "literal";
+ protected final String TEXT_96 = ")" + NL + "\t{";
+ protected final String TEXT_97 = NL + "\t\t";
+ protected final String TEXT_98 = NL + "\t\t";
+ protected final String TEXT_99 = " result = ";
+ protected final String TEXT_100 = ".get(literal);"
+ + NL
+ + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + literal + \"' is not a valid enumerator of '\" + ";
+ protected final String TEXT_101 = ".getName() + \"'\");";
+ protected final String TEXT_102 = NL + "\t\treturn result;";
+ protected final String TEXT_103 = NL + "\t\treturn new ";
+ protected final String TEXT_104 = "(create";
+ protected final String TEXT_105 = "(literal));";
+ protected final String TEXT_106 = NL + "\t\treturn create";
+ protected final String TEXT_107 = "(literal);";
+ protected final String TEXT_108 = NL + "\t\treturn new ";
+ protected final String TEXT_109 = "(";
+ protected final String TEXT_110 = ".create";
+ protected final String TEXT_111 = "(literal));";
+ protected final String TEXT_112 = NL + "\t\treturn ";
+ protected final String TEXT_113 = ".create";
+ protected final String TEXT_114 = "(literal);";
+ protected final String TEXT_115 = NL + "\t\treturn ";
+ protected final String TEXT_116 = "(";
+ protected final String TEXT_117 = ")";
+ protected final String TEXT_118 = ".createFromString(";
+ protected final String TEXT_119 = ", literal);";
+ protected final String TEXT_120 = NL + "\t\tif (literal == null) return null;" + NL + "\t\t";
+ protected final String TEXT_121 = " result = new ";
+ protected final String TEXT_122 = "<";
+ protected final String TEXT_123 = ">";
+ protected final String TEXT_124 = "();";
+ protected final String TEXT_125 = NL + "\t\tfor (";
+ protected final String TEXT_126 = " stringTokenizer = new ";
+ protected final String TEXT_127 = "(literal); stringTokenizer.hasMoreTokens(); )";
+ protected final String TEXT_128 = NL + "\t\tfor (String item : split(literal))";
+ protected final String TEXT_129 = NL + "\t\t{";
+ protected final String TEXT_130 = NL + "\t\t\tString item = stringTokenizer.nextToken();";
+ protected final String TEXT_131 = NL + "\t\t\tresult.add(create";
+ protected final String TEXT_132 = "(item));";
+ protected final String TEXT_133 = NL + "\t\t\tresult.add(create";
+ protected final String TEXT_134 = "FromString(";
+ protected final String TEXT_135 = ", item));";
+ protected final String TEXT_136 = NL + "\t\t\tresult.add(";
+ protected final String TEXT_137 = ".create";
+ protected final String TEXT_138 = "(item));";
+ protected final String TEXT_139 = NL + "\t\t\tresult.add(";
+ protected final String TEXT_140 = ".createFromString(";
+ protected final String TEXT_141 = ", item));";
+ protected final String TEXT_142 = NL + "\t\t}" + NL + "\t\treturn result;";
+ protected final String TEXT_143 = NL + "\t\tif (literal == null) return ";
+ protected final String TEXT_144 = ";" + NL + "\t\t";
+ protected final String TEXT_145 = " result = ";
+ protected final String TEXT_146 = ";" + NL + "\t\tRuntimeException exception = null;";
+ protected final String TEXT_147 = NL + "\t\ttry" + NL + "\t\t{";
+ protected final String TEXT_148 = NL + "\t\t\tresult = create";
+ protected final String TEXT_149 = "(literal);";
+ protected final String TEXT_150 = NL + "\t\t\tresult = (";
+ protected final String TEXT_151 = ")create";
+ protected final String TEXT_152 = "FromString(";
+ protected final String TEXT_153 = ", literal);";
+ protected final String TEXT_154 = NL + "\t\t\tresult = ";
+ protected final String TEXT_155 = ".create";
+ protected final String TEXT_156 = "(literal);";
+ protected final String TEXT_157 = NL + "\t\t\tresult = (";
+ protected final String TEXT_158 = ")";
+ protected final String TEXT_159 = ".createFromString(";
+ protected final String TEXT_160 = ", literal);";
+ protected final String TEXT_161 = NL + "\t\t\tif (";
+ protected final String TEXT_162 = "result != null && ";
+ protected final String TEXT_163 = ".INSTANCE.validate(";
+ protected final String TEXT_164 = ", ";
+ protected final String TEXT_165 = "new ";
+ protected final String TEXT_166 = "(result)";
+ protected final String TEXT_167 = "result";
+ protected final String TEXT_168 = ", null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL
+ + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL
+ + "\t\t\texception = e;" + NL + "\t\t}";
+ protected final String TEXT_169 = NL + "\t\tif (";
+ protected final String TEXT_170 = "result != null || ";
+ protected final String TEXT_171 = "exception == null) return result;" + NL + " " + NL + "\t\tthrow exception;";
+ protected final String TEXT_172 = NL + "\t\treturn (";
+ protected final String TEXT_173 = ")super.createFromString(literal);";
+ protected final String TEXT_174 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_175 = "();";
+ protected final String TEXT_176 = NL + "\t\treturn ((";
+ protected final String TEXT_177 = ")super.createFromString(";
+ protected final String TEXT_178 = ", literal)).";
+ protected final String TEXT_179 = "();";
+ protected final String TEXT_180 = NL + "\t\treturn ";
+ protected final String TEXT_181 = "(";
+ protected final String TEXT_182 = ")";
+ protected final String TEXT_183 = "super.createFromString(";
+ protected final String TEXT_184 = ", literal);";
+ protected final String TEXT_185 = NL + "\t}" + NL;
+ protected final String TEXT_186 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_187 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_188 = NL + "\tpublic ";
+ protected final String TEXT_189 = " create";
+ protected final String TEXT_190 = "FromString(";
+ protected final String TEXT_191 = " eDataType, String initialValue)" + NL + "\t{";
+ protected final String TEXT_192 = NL + "\t\treturn create";
+ protected final String TEXT_193 = "(initialValue);";
+ protected final String TEXT_194 = NL + "\t\t";
+ protected final String TEXT_195 = " result = ";
+ protected final String TEXT_196 = ".get(initialValue);"
+ + NL
+ + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + initialValue + \"' is not a valid enumerator of '\" + eDataType.getName() + \"'\");";
+ protected final String TEXT_197 = NL + "\t\treturn result;";
+ protected final String TEXT_198 = NL + "\t\treturn ";
+ protected final String TEXT_199 = "(";
+ protected final String TEXT_200 = ")";
+ protected final String TEXT_201 = "create";
+ protected final String TEXT_202 = "FromString(";
+ protected final String TEXT_203 = ", initialValue);";
+ protected final String TEXT_204 = NL + "\t\treturn ";
+ protected final String TEXT_205 = "(";
+ protected final String TEXT_206 = ")";
+ protected final String TEXT_207 = ".createFromString(";
+ protected final String TEXT_208 = ", initialValue);";
+ protected final String TEXT_209 = NL + "\t\treturn create";
+ protected final String TEXT_210 = "(initialValue);";
+ protected final String TEXT_211 = NL + "\t\tif (initialValue == null) return null;" + NL + "\t\t";
+ protected final String TEXT_212 = " result = new ";
+ protected final String TEXT_213 = "<";
+ protected final String TEXT_214 = ">";
+ protected final String TEXT_215 = "();";
+ protected final String TEXT_216 = NL + "\t\tfor (";
+ protected final String TEXT_217 = " stringTokenizer = new ";
+ protected final String TEXT_218 = "(initialValue); stringTokenizer.hasMoreTokens(); )";
+ protected final String TEXT_219 = NL + "\t\tfor (String item : split(initialValue))";
+ protected final String TEXT_220 = NL + "\t\t{";
+ protected final String TEXT_221 = NL + "\t\t\tString item = stringTokenizer.nextToken();";
+ protected final String TEXT_222 = NL + "\t\t\tresult.add(create";
+ protected final String TEXT_223 = "FromString(";
+ protected final String TEXT_224 = ", item));";
+ protected final String TEXT_225 = NL + "\t\t\tresult.add(";
+ protected final String TEXT_226 = "(";
+ protected final String TEXT_227 = ")";
+ protected final String TEXT_228 = ".createFromString(";
+ protected final String TEXT_229 = ", item));";
+ protected final String TEXT_230 = NL + "\t\t}" + NL + "\t\treturn result;";
+ protected final String TEXT_231 = NL + "\t\treturn new ";
+ protected final String TEXT_232 = "(create";
+ protected final String TEXT_233 = "(initialValue));";
+ protected final String TEXT_234 = NL + "\t\treturn create";
+ protected final String TEXT_235 = "(initialValue);";
+ protected final String TEXT_236 = NL + "\t\tif (initialValue == null) return null;" + NL + "\t\t";
+ protected final String TEXT_237 = " result = null;" + NL + "\t\tRuntimeException exception = null;";
+ protected final String TEXT_238 = NL + "\t\ttry" + NL + "\t\t{";
+ protected final String TEXT_239 = NL + "\t\t\tresult = ";
+ protected final String TEXT_240 = "(";
+ protected final String TEXT_241 = ")";
+ protected final String TEXT_242 = "create";
+ protected final String TEXT_243 = "FromString(";
+ protected final String TEXT_244 = ", initialValue);";
+ protected final String TEXT_245 = NL + "\t\t\tresult = ";
+ protected final String TEXT_246 = "(";
+ protected final String TEXT_247 = ")";
+ protected final String TEXT_248 = ".createFromString(";
+ protected final String TEXT_249 = ", initialValue);";
+ protected final String TEXT_250 = NL + "\t\t\tif (result != null && ";
+ protected final String TEXT_251 = ".INSTANCE.validate(eDataType, result, null, null))" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL
+ + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
+ protected final String TEXT_252 = NL + "\t\tif (result != null || exception == null) return result;" + NL + " "
+ + NL + "\t\tthrow exception;";
+ protected final String TEXT_253 = NL + "\t\treturn create";
+ protected final String TEXT_254 = "(initialValue);";
+ protected final String TEXT_255 = NL + "\t\treturn ";
+ protected final String TEXT_256 = "(";
+ protected final String TEXT_257 = ")";
+ protected final String TEXT_258 = "super.createFromString(initialValue);";
+ protected final String TEXT_259 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_260 = "();";
+ protected final String TEXT_261 = NL + "\t\treturn ";
+ protected final String TEXT_262 = "(";
+ protected final String TEXT_263 = ")";
+ protected final String TEXT_264 = "super.createFromString(eDataType, initialValue);";
+ protected final String TEXT_265 = NL + "\t}" + NL;
+ protected final String TEXT_266 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
+ protected final String TEXT_267 = "(";
+ protected final String TEXT_268 = "final ";
+ protected final String TEXT_269 = " ";
+ protected final String TEXT_270 = "it";
+ protected final String TEXT_271 = "instanceValue";
+ protected final String TEXT_272 = ")" + NL + "\t{";
+ protected final String TEXT_273 = NL + "\t\t";
+ protected final String TEXT_274 = NL + "\t\treturn instanceValue == null ? null : instanceValue.toString();";
+ protected final String TEXT_275 = NL + "\t\treturn instanceValue == null ? null : convert";
+ protected final String TEXT_276 = "(instanceValue";
+ protected final String TEXT_277 = ".";
+ protected final String TEXT_278 = "()";
+ protected final String TEXT_279 = ");";
+ protected final String TEXT_280 = NL + "\t\treturn convert";
+ protected final String TEXT_281 = "(instanceValue);";
+ protected final String TEXT_282 = NL + "\t\treturn ";
+ protected final String TEXT_283 = ".convert";
+ protected final String TEXT_284 = "(instanceValue);";
+ protected final String TEXT_285 = NL + "\t\treturn ";
+ protected final String TEXT_286 = ".convertToString(";
+ protected final String TEXT_287 = ", instanceValue);";
+ protected final String TEXT_288 = NL + "\t\tif (instanceValue == null) return null;" + NL
+ + "\t\tif (instanceValue.isEmpty()) return \"\";" + NL + "\t\t";
+ protected final String TEXT_289 = " result = new ";
+ protected final String TEXT_290 = "();";
+ protected final String TEXT_291 = NL + "\t\tfor (";
+ protected final String TEXT_292 = " i = instanceValue.iterator(); i.hasNext(); )";
+ protected final String TEXT_293 = NL + "\t\tfor (";
+ protected final String TEXT_294 = " item : instanceValue)";
+ protected final String TEXT_295 = NL + "\t\t{";
+ protected final String TEXT_296 = NL + "\t\t\tresult.append(convert";
+ protected final String TEXT_297 = "((";
+ protected final String TEXT_298 = ")";
+ protected final String TEXT_299 = "));";
+ protected final String TEXT_300 = NL + "\t\t\tresult.append(convert";
+ protected final String TEXT_301 = "ToString(";
+ protected final String TEXT_302 = ", ";
+ protected final String TEXT_303 = "));";
+ protected final String TEXT_304 = NL + "\t\t\tresult.append(";
+ protected final String TEXT_305 = ".convert";
+ protected final String TEXT_306 = "((";
+ protected final String TEXT_307 = ")";
+ protected final String TEXT_308 = "));";
+ protected final String TEXT_309 = NL + "\t\t\tresult.append(";
+ protected final String TEXT_310 = ".convertToString(";
+ protected final String TEXT_311 = ", ";
+ protected final String TEXT_312 = "));";
+ protected final String TEXT_313 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL
+ + "\t\treturn result.substring(0, result.length() - 1);";
+ protected final String TEXT_314 = NL + "\t\tif (instanceValue == null) return null;";
+ protected final String TEXT_315 = NL + "\t\tif (";
+ protected final String TEXT_316 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
+ protected final String TEXT_317 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_318 = "(instanceValue);";
+ protected final String TEXT_319 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_320 = "(((";
+ protected final String TEXT_321 = ")instanceValue).";
+ protected final String TEXT_322 = "());";
+ protected final String TEXT_323 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_324 = "((";
+ protected final String TEXT_325 = ")instanceValue);";
+ protected final String TEXT_326 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_327 = "ToString(";
+ protected final String TEXT_328 = ", instanceValue);";
+ protected final String TEXT_329 = NL + "\t\t\t\tString value = ";
+ protected final String TEXT_330 = ".convert";
+ protected final String TEXT_331 = "((";
+ protected final String TEXT_332 = ")instanceValue);";
+ protected final String TEXT_333 = NL + "\t\t\t\tString value = ";
+ protected final String TEXT_334 = ".convertToString(";
+ protected final String TEXT_335 = ", instanceValue);";
+ protected final String TEXT_336 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_337 = NL + "\t\ttry" + NL + "\t\t{";
+ protected final String TEXT_338 = NL + "\t\t\tString value = convert";
+ protected final String TEXT_339 = "(instanceValue);";
+ protected final String TEXT_340 = NL + "\t\t\tString value = convert";
+ protected final String TEXT_341 = "ToString(";
+ protected final String TEXT_342 = ", ";
+ protected final String TEXT_343 = "new ";
+ protected final String TEXT_344 = "(instanceValue)";
+ protected final String TEXT_345 = "instanceValue";
+ protected final String TEXT_346 = ");";
+ protected final String TEXT_347 = NL + "\t\t\tString value = ";
+ protected final String TEXT_348 = ".convert";
+ protected final String TEXT_349 = "(instanceValue);";
+ protected final String TEXT_350 = NL + "\t\t\tString value = ";
+ protected final String TEXT_351 = ".convertToString(";
+ protected final String TEXT_352 = ", ";
+ protected final String TEXT_353 = "new ";
+ protected final String TEXT_354 = "(instanceValue)";
+ protected final String TEXT_355 = "instanceValue";
+ protected final String TEXT_356 = ");";
+ protected final String TEXT_357 = NL + "\t\t\tif (value != null) return value;" + NL + "\t\t}" + NL
+ + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL
+ + "\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t}";
+ protected final String TEXT_358 = NL
+ + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+";
+ protected final String TEXT_359 = ".getName());";
+ protected final String TEXT_360 = NL + "\t\treturn super.convertToString(instanceValue);";
+ protected final String TEXT_361 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_362 = "();";
+ protected final String TEXT_363 = NL + "\t\treturn super.convertToString(";
+ protected final String TEXT_364 = ", new ";
+ protected final String TEXT_365 = "(instanceValue));";
+ protected final String TEXT_366 = NL + "\t\treturn super.convertToString(";
+ protected final String TEXT_367 = ", instanceValue);";
+ protected final String TEXT_368 = NL + "\t}" + NL;
+ protected final String TEXT_369 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_370 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_371 = NL + "\tpublic String convert";
+ protected final String TEXT_372 = "ToString(";
+ protected final String TEXT_373 = " eDataType, Object instanceValue)" + NL + "\t{";
+ protected final String TEXT_374 = NL + "\t\treturn convert";
+ protected final String TEXT_375 = "((";
+ protected final String TEXT_376 = ")instanceValue);";
+ protected final String TEXT_377 = NL + "\t\treturn instanceValue == null ? null : instanceValue.toString();";
+ protected final String TEXT_378 = NL + "\t\treturn convert";
+ protected final String TEXT_379 = "ToString(";
+ protected final String TEXT_380 = ", instanceValue);";
+ protected final String TEXT_381 = NL + "\t\treturn ";
+ protected final String TEXT_382 = ".convertToString(";
+ protected final String TEXT_383 = ", instanceValue);";
+ protected final String TEXT_384 = NL + "\t\treturn convert";
+ protected final String TEXT_385 = "((";
+ protected final String TEXT_386 = ")instanceValue);";
+ protected final String TEXT_387 = NL + "\t\tif (instanceValue == null) return null;" + NL + "\t\t";
+ protected final String TEXT_388 = " list = (";
+ protected final String TEXT_389 = ")instanceValue;" + NL + "\t\tif (list.isEmpty()) return \"\";" + NL + "\t\t";
+ protected final String TEXT_390 = " result = new ";
+ protected final String TEXT_391 = "();";
+ protected final String TEXT_392 = NL + "\t\tfor (";
+ protected final String TEXT_393 = " i = list.iterator(); i.hasNext(); )";
+ protected final String TEXT_394 = NL + "\t\tfor (";
+ protected final String TEXT_395 = " item : list)";
+ protected final String TEXT_396 = NL + "\t\t{";
+ protected final String TEXT_397 = NL + "\t\t\tresult.append(convert";
+ protected final String TEXT_398 = "ToString(";
+ protected final String TEXT_399 = ", ";
+ protected final String TEXT_400 = "));";
+ protected final String TEXT_401 = NL + "\t\t\tresult.append(";
+ protected final String TEXT_402 = ".convertToString(";
+ protected final String TEXT_403 = ", ";
+ protected final String TEXT_404 = "));";
+ protected final String TEXT_405 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL
+ + "\t\treturn result.substring(0, result.length() - 1);";
+ protected final String TEXT_406 = NL + "\t\treturn instanceValue == null ? null : convert";
+ protected final String TEXT_407 = "(((";
+ protected final String TEXT_408 = ")instanceValue)";
+ protected final String TEXT_409 = ".";
+ protected final String TEXT_410 = "()";
+ protected final String TEXT_411 = ");";
+ protected final String TEXT_412 = NL + "\t\treturn convert";
+ protected final String TEXT_413 = "(instanceValue);";
+ protected final String TEXT_414 = NL + "\t\tif (instanceValue == null) return null;";
+ protected final String TEXT_415 = NL + "\t\tif (";
+ protected final String TEXT_416 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
+ protected final String TEXT_417 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_418 = "ToString(";
+ protected final String TEXT_419 = ", instanceValue);";
+ protected final String TEXT_420 = NL + "\t\t\t\tString value = ";
+ protected final String TEXT_421 = ".convertToString(";
+ protected final String TEXT_422 = ", instanceValue);";
+ protected final String TEXT_423 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_424 = NL
+ + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+eDataType.getName());";
+ protected final String TEXT_425 = NL + "\t\treturn instanceValue == null ? null : convert";
+ protected final String TEXT_426 = "(";
+ protected final String TEXT_427 = "(";
+ protected final String TEXT_428 = "(";
+ protected final String TEXT_429 = ")instanceValue";
+ protected final String TEXT_430 = ").";
+ protected final String TEXT_431 = "()";
+ protected final String TEXT_432 = ");";
+ protected final String TEXT_433 = NL + "\t\treturn convert";
+ protected final String TEXT_434 = "((";
+ protected final String TEXT_435 = ")instanceValue);";
+ protected final String TEXT_436 = NL + "\t\treturn super.convertToString(instanceValue);";
+ protected final String TEXT_437 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_438 = "();";
+ protected final String TEXT_439 = NL + "\t\treturn super.convertToString(eDataType, instanceValue);";
+ protected final String TEXT_440 = NL + "\t}" + NL;
+ protected final String TEXT_441 = NL + "\t/**" + NL + "\t * Returns a new object of class '<em>";
+ protected final String TEXT_442 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return a new object of class '<em>";
+ protected final String TEXT_443 = "</em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_444 = " create";
+ protected final String TEXT_445 = "();" + NL;
+ protected final String TEXT_446 = NL + "\t/**" + NL + "\t * Returns an instance of data type '<em>";
+ protected final String TEXT_447 = "</em>' corresponding the given literal." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param literal a literal of the data type." + NL
+ + "\t * @return a new instance value of the data type." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_448 = " create";
+ protected final String TEXT_449 = "(String literal);" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns a literal representation of an instance of data type '<em>";
+ protected final String TEXT_450 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param instanceValue an instance value of the data type." + NL
+ + "\t * @return a literal representation of the instance value." + NL + "\t * @generated" + NL + "\t */"
+ + NL + "\tString convert";
+ protected final String TEXT_451 = "(";
+ protected final String TEXT_452 = " instanceValue);" + NL;
+ protected final String TEXT_453 = NL + "\t/**" + NL + "\t * Returns the package supported by this factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the package supported by this factory." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_454 = " get";
+ protected final String TEXT_455 = "();" + NL;
+ protected final String TEXT_456 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_457 = " get";
+ protected final String TEXT_458 = "()" + NL + "\t{" + NL + "\t\treturn (";
+ protected final String TEXT_459 = ")getEPackage();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @deprecated" + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_460 = NL + "\t@Deprecated";
+ protected final String TEXT_461 = NL + "\tpublic static ";
+ protected final String TEXT_462 = " getPackage()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_463 = ".eINSTANCE;" + NL + "\t}" + NL;
+ protected final String TEXT_464 = NL + "} //";
+ protected final String TEXT_465 = NL;
+ protected final String TEXT_466 = NL;
+ protected final String TEXT_467 = NL;
+
+ public FactoryClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_466);
+ stringBuffer.append(TEXT_467);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getReflectionClassPackageName();
+ className = genPackage.getFactoryClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = ((Object[]) new Object[] { new Object[] { genPackage,
+ genPackage.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE, Boolean.TRUE } })[0];
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) ((Object[]) argument)[0];
+ GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ boolean isInterface = Boolean.TRUE.equals(((Object[]) argument)[1]);
+ boolean isImplementation = Boolean.TRUE.equals(((Object[]) argument)[2]);
+ String publicStaticFinalFlag = isImplementation ? "public static final " : "";
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (isInterface || genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getReflectionPackageName());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getClassPackageName());
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ if (isImplementation) {
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");
+ genModel.addImport("org.eclipse.emf.ecore.EClass");
+ genModel.addImport("org.eclipse.emf.ecore.EObject");
+ if (!genPackage.hasJavaLangConflict() && !genPackage.hasInterfaceImplConflict()
+ && !genPackage.getClassPackageName().equals(genPackage.getInterfacePackageName()))
+ genModel.addImport(genPackage.getInterfacePackageName() + ".*");
+ }
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_7);
+ if (isInterface) {
+ stringBuffer.append(TEXT_8);
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ }
+ stringBuffer.append(TEXT_10);
+ } else {
+ stringBuffer.append(TEXT_11);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getFactoryClassName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.EFactoryImpl"));
+ if (!genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genPackage.getImportedFactoryInterfaceName());
+ }
+ } else {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genPackage.getFactoryInterfaceName());
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EFactory"));
+ }
+ }
+ stringBuffer.append(TEXT_17);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_21);
+ }
+ if (isImplementation && (genModel.isSuppressEMFMetaData() || genModel.isSuppressInterfaces())) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genPackage.getFactoryClassName());
+ stringBuffer.append(TEXT_23);
+ }
+ if (isInterface && genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genPackage.getFactoryInterfaceName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genPackage.getQualifiedFactoryClassName());
+ stringBuffer.append(TEXT_26);
+ } else if (isInterface && !genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genPackage.getFactoryInterfaceName());
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genPackage.getQualifiedFactoryClassName());
+ stringBuffer.append(TEXT_29);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_30);
+ String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage
+ .getImportedFactoryInterfaceName();
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(factoryType);
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(factoryType);
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(factoryType);
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genPackage.getImportedFactoryClassName());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genPackage.getFactoryClassName());
+ stringBuffer.append(TEXT_42);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.isAbstract()) {
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genClass.getClassifierID());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(!genClass.isEObjectExtension() ? "(EObject)" : "");
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_49);
+ }
+ }
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_51);
+ if (!genPackage.getAllGenDataTypes().isEmpty()) {
+ stringBuffer.append(TEXT_52);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_53);
+ }
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
+ stringBuffer.append(TEXT_55);
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ if (genDataType.isSerializable()) {
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genDataType.getClassifierID());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_59);
+ }
+ }
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_61);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_62);
+ }
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
+ stringBuffer.append(TEXT_64);
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ if (genDataType.isSerializable()) {
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genDataType.getClassifierID());
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_68);
+ }
+ }
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_70);
+ }
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.isAbstract()) {
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genClass.getTypeParameters());
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_73);
+ if (genClass.isDynamic()) {
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genClass.getCastFromEObject());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_78);
+ } else {
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genClass.getImportedClassName());
+ stringBuffer.append(genClass.getClassTypeArguments());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genClass.getImportedClassName());
+ stringBuffer.append(genClass.getClassTypeArguments());
+ stringBuffer.append(TEXT_82);
+ if (genModel.isSuppressInterfaces()
+ && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {
+ stringBuffer.append(TEXT_83);
+ }
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_86);
+ }
+ }
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ if (genDataType.isSerializable()) {
+ if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {
+ String eDataType = genDataType.getQualifiedClassifierAccessor();
+ stringBuffer.append(TEXT_87);
+ if (genModel.useGenerics() && genDataType.isUncheckedCast() && !genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_88);
+ }
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genDataType.getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_91);
+ if (genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_92);
+ }
+ stringBuffer.append(TEXT_93);
+ if (genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_94);
+ } else {
+ stringBuffer.append(TEXT_95);
+ }
+ stringBuffer.append(TEXT_96);
+ if (genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genDataType.getCreatorBody(genModel.getIndentation(stringBuffer)));
+ } else if (genDataType instanceof GenEnum) {
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(genModel.getNonNLS(3));
+ stringBuffer.append(TEXT_102);
+ } else if (genDataType.getBaseType() != null) {
+ GenDataType genBaseType = genDataType.getBaseType();
+ boolean isPrimitiveConversion = !genDataType.isPrimitiveType()
+ && genBaseType.isPrimitiveType();
+ if (genBaseType.getGenPackage() == genPackage) {
+ if (isPrimitiveConversion
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_105);
+ } else {
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_107);
+ }
+ } else if (genBaseType.getGenPackage().isDataTypeConverters()) {
+ if (isPrimitiveConversion
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_111);
+ } else {
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_114);
+ }
+ } else {
+ stringBuffer.append(TEXT_115);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_117);
+ }
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_119);
+ }
+ } else if (genDataType.getItemType() != null) {
+ GenDataType genItemType = genDataType.getItemType();
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genDataType.getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genModel.getImportedName("java.util.ArrayList"));
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(genItemType.getObjectType()
+ .getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_123);
+ }
+ stringBuffer.append(TEXT_124);
+ if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_127);
+ } else {
+ stringBuffer.append(TEXT_128);
+ }
+ stringBuffer.append(TEXT_129);
+ if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_130);
+ }
+ if (genItemType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ genItemType = genItemType.getObjectType();
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_132);
+ } else {
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_135);
+ }
+ } else {
+ if (genItemType.getGenPackage().isDataTypeConverters()) {
+ genItemType = genItemType.getObjectType();
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_138);
+ } else {
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_140);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_141);
+ }
+ }
+ stringBuffer.append(TEXT_142);
+ } else if (!genDataType.getMemberTypes().isEmpty()) {
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genDataType.getStaticValue(null));
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genDataType.getStaticValue(null));
+ stringBuffer.append(TEXT_146);
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_147);
+ if (genMemberType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ if (!genDataType.isPrimitiveType())
+ genMemberType = genMemberType.getObjectType();
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_149);
+ } else {
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_151);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_153);
+ }
+ } else {
+ if (genPackage.isDataTypeConverters()) {
+ if (!genDataType.isPrimitiveType())
+ genMemberType = genMemberType.getObjectType();
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_156);
+ } else {
+ stringBuffer.append(TEXT_157);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_160);
+ }
+ }
+ stringBuffer.append(TEXT_161);
+ if (!genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_162);
+ }
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_164);
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_166);
+ } else {
+ stringBuffer.append(TEXT_167);
+ }
+ stringBuffer.append(TEXT_168);
+ }
+ stringBuffer.append(TEXT_169);
+ if (!genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_170);
+ }
+ stringBuffer.append(TEXT_171);
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_173);
+ } else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
+ stringBuffer.append(TEXT_175);
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(genDataType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_179);
+ } else {
+ stringBuffer.append(TEXT_180);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_182);
+ }
+ stringBuffer.append(TEXT_183);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_184);
+ }
+ stringBuffer.append(TEXT_185);
+ }
+ stringBuffer.append(TEXT_186);
+ if (!genPackage.isDataTypeConverters() && genModel.useGenerics() && genDataType.isUncheckedCast()
+ && !genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_187);
+ }
+ stringBuffer.append(TEXT_188);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_189);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_190);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
+ stringBuffer.append(TEXT_191);
+ if (genDataType instanceof GenEnum) {
+ if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_193);
+ } else {
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(((GenEnum) genDataType).getImportedInstanceClassName());
+ stringBuffer.append(TEXT_195);
+ stringBuffer.append(((GenEnum) genDataType).getImportedInstanceClassName());
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(genModel.getNonNLS(3));
+ stringBuffer.append(TEXT_197);
+ }
+ } else if (genDataType.getBaseType() != null) {
+ GenDataType genBaseType = genDataType.getBaseType();
+ if (genBaseType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_198);
+ if (!genDataType.getObjectInstanceClassName().equals(
+ genBaseType.getObjectInstanceClassName())) {
+ stringBuffer.append(TEXT_199);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_200);
+ }
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_203);
+ } else {
+ stringBuffer.append(TEXT_204);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_205);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_206);
+ }
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_208);
+ }
+ } else if (genDataType.getItemType() != null) {
+ GenDataType genItemType = genDataType.getItemType();
+ if (genPackage.isDataTypeConverters()) {
+ stringBuffer.append(TEXT_209);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_210);
+ } else {
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_212);
+ stringBuffer.append(genModel.getImportedName("java.util.ArrayList"));
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_213);
+ stringBuffer.append(genItemType.getObjectType()
+ .getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_214);
+ }
+ stringBuffer.append(TEXT_215);
+ if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_216);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_218);
+ } else {
+ stringBuffer.append(TEXT_219);
+ }
+ stringBuffer.append(TEXT_220);
+ if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_221);
+ }
+ if (genItemType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_222);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_223);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_224);
+ } else {
+ stringBuffer.append(TEXT_225);
+ if (!genItemType.isObjectType()) {
+ stringBuffer.append(TEXT_226);
+ stringBuffer.append(genItemType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_227);
+ }
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_228);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_229);
+ }
+ stringBuffer.append(TEXT_230);
+ }
+ } else if (!genDataType.getMemberTypes().isEmpty()) {
+ if (genPackage.isDataTypeConverters()) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_231);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_233);
+ } else {
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_235);
+ }
+ } else {
+ stringBuffer.append(TEXT_236);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_237);
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_238);
+ if (genMemberType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_239);
+ if (!genDataType.isObjectType()
+ && !genDataType.getObjectInstanceClassName().equals(
+ genMemberType.getObjectInstanceClassName())) {
+ stringBuffer.append(TEXT_240);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_241);
+ }
+ stringBuffer.append(TEXT_242);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_244);
+ } else {
+ stringBuffer.append(TEXT_245);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_246);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_247);
+ }
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_248);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_249);
+ }
+ stringBuffer.append(TEXT_250);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
+ stringBuffer.append(TEXT_251);
+ }
+ stringBuffer.append(TEXT_252);
+ }
+ } else if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_253);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_254);
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ stringBuffer.append(TEXT_255);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_256);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_257);
+ }
+ stringBuffer.append(TEXT_258);
+ } else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_259);
+ stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
+ stringBuffer.append(TEXT_260);
+ } else {
+ stringBuffer.append(TEXT_261);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_262);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_263);
+ }
+ stringBuffer.append(TEXT_264);
+ }
+ stringBuffer.append(TEXT_265);
+ if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {
+ String eDataType = genDataType.getQualifiedClassifierAccessor();
+ stringBuffer.append(TEXT_266);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_267);
+ if (genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_268);
+ }
+ stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_269);
+ if (genDataType.hasConverterBody()) {
+ stringBuffer.append(TEXT_270);
+ } else {
+ stringBuffer.append(TEXT_271);
+ }
+ stringBuffer.append(TEXT_272);
+ if (genDataType.hasConverterBody()) {
+ stringBuffer.append(TEXT_273);
+ stringBuffer.append(genDataType.getConverterBody(genModel.getIndentation(stringBuffer)));
+ } else if (genDataType instanceof GenEnum) {
+ stringBuffer.append(TEXT_274);
+ } else if (genDataType.getBaseType() != null) {
+ GenDataType genBaseType = genDataType.getBaseType();
+ boolean isPrimitiveConversion = !genDataType.isPrimitiveType()
+ && genBaseType.isPrimitiveType();
+ if (genBaseType.getGenPackage() == genPackage) {
+ if (isPrimitiveConversion) {
+ stringBuffer.append(TEXT_275);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_276);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_277);
+ stringBuffer.append(genBaseType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_278);
+ }
+ stringBuffer.append(TEXT_279);
+ } else {
+ stringBuffer.append(TEXT_280);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_281);
+ }
+ } else if (genBaseType.getGenPackage().isDataTypeConverters()) {
+ stringBuffer.append(TEXT_282);
+ stringBuffer.append(genBaseType.getGenPackage().getQualifiedFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_283);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_284);
+ } else {
+ stringBuffer.append(TEXT_285);
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_286);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_287);
+ }
+ } else if (genDataType.getItemType() != null) {
+ GenDataType genItemType = genDataType.getItemType();
+ stringBuffer.append(TEXT_288);
+ stringBuffer.append(genModel.getImportedName("java.lang.StringBuffer"));
+ stringBuffer.append(TEXT_289);
+ stringBuffer.append(genModel.getImportedName("java.lang.StringBuffer"));
+ stringBuffer.append(TEXT_290);
+ String item;
+ if (!genModel.useGenerics()) {
+ item = "i.next()";
+ stringBuffer.append(TEXT_291);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(TEXT_292);
+ } else {
+ item = "item";
+ stringBuffer.append(TEXT_293);
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
+ stringBuffer.append(TEXT_294);
+ }
+ stringBuffer.append(TEXT_295);
+ if (genItemType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ genItemType = genItemType.getObjectType();
+ stringBuffer.append(TEXT_296);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_297);
+ stringBuffer.append(genItemType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_298);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_299);
+ } else {
+ stringBuffer.append(TEXT_300);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_301);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_302);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_303);
+ }
+ } else {
+ if (genItemType.getGenPackage().isDataTypeConverters()) {
+ genItemType = genItemType.getObjectType();
+ stringBuffer.append(TEXT_304);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_305);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_306);
+ stringBuffer.append(genItemType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_307);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_308);
+ } else {
+ stringBuffer.append(TEXT_309);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_310);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_311);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_312);
+ }
+ }
+ stringBuffer.append(TEXT_313);
+ } else if (!genDataType.getMemberTypes().isEmpty()) {
+ if (!genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_314);
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_315);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_316);
+ if (genMemberType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ if (genMemberType.getQualifiedInstanceClassName().equals(
+ genDataType.getQualifiedInstanceClassName())) {
+ stringBuffer.append(TEXT_317);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_318);
+ } else if (genMemberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_319);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_320);
+ stringBuffer.append(genMemberType.getObjectType()
+ .getImportedInstanceClassName());
+ stringBuffer.append(TEXT_321);
+ stringBuffer.append(genMemberType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_322);
+ } else {
+ stringBuffer.append(TEXT_323);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_324);
+ stringBuffer.append(genMemberType.getObjectType()
+ .getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_325);
+ }
+ } else {
+ stringBuffer.append(TEXT_326);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_327);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_328);
+ }
+ } else {
+ if (genMemberType.getGenPackage().isDataTypeConverters()) {
+ genMemberType = genMemberType.getObjectType();
+ stringBuffer.append(TEXT_329);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_330);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_331);
+ stringBuffer.append(genMemberType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_332);
+ } else {
+ stringBuffer.append(TEXT_333);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_334);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_335);
+ }
+ }
+ stringBuffer.append(TEXT_336);
+ }
+ } else {
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_337);
+ if (genMemberType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ stringBuffer.append(TEXT_338);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_339);
+ } else {
+ stringBuffer.append(TEXT_340);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_341);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_342);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_343);
+ stringBuffer.append(genMemberType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_344);
+ } else {
+ stringBuffer.append(TEXT_345);
+ }
+ stringBuffer.append(TEXT_346);
+ }
+ } else {
+ if (genMemberType.getGenPackage().isDataTypeConverters()) {
+ stringBuffer.append(TEXT_347);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_348);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_349);
+ } else {
+ stringBuffer.append(TEXT_350);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_351);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_352);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_353);
+ stringBuffer.append(genMemberType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_354);
+ } else {
+ stringBuffer.append(TEXT_355);
+ }
+ stringBuffer.append(TEXT_356);
+ }
+ }
+ stringBuffer.append(TEXT_357);
+ }
+ }
+ stringBuffer.append(TEXT_358);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_359);
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ stringBuffer.append(TEXT_360);
+ } else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_361);
+ stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
+ stringBuffer.append(TEXT_362);
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_363);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_364);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_365);
+ } else {
+ stringBuffer.append(TEXT_366);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_367);
+ }
+ stringBuffer.append(TEXT_368);
+ }
+ stringBuffer.append(TEXT_369);
+ if (genModel.useGenerics() && (genDataType.getItemType() != null || genDataType.isUncheckedCast())
+ && (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody())) {
+ stringBuffer.append(TEXT_370);
+ }
+ stringBuffer.append(TEXT_371);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_372);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
+ stringBuffer.append(TEXT_373);
+ if (genDataType instanceof GenEnum) {
+ if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {
+ stringBuffer.append(TEXT_374);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_375);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_376);
+ } else {
+ stringBuffer.append(TEXT_377);
+ }
+ } else if (genDataType.getBaseType() != null) {
+ GenDataType genBaseType = genDataType.getBaseType();
+ if (genBaseType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_378);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_379);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_380);
+ } else {
+ stringBuffer.append(TEXT_381);
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_382);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_383);
+ }
+ } else if (genDataType.getItemType() != null) {
+ GenDataType genItemType = genDataType.getItemType();
+ if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_384);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_385);
+ stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_386);
+ } else {
+ final String singleWildcard = genModel.useGenerics() ? "<?>" : "";
+ stringBuffer.append(TEXT_387);
+ stringBuffer.append(genModel.getImportedName("java.util.List"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_388);
+ stringBuffer.append(genModel.getImportedName("java.util.List"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_389);
+ stringBuffer.append(genModel.getImportedName("java.lang.StringBuffer"));
+ stringBuffer.append(TEXT_390);
+ stringBuffer.append(genModel.getImportedName("java.lang.StringBuffer"));
+ stringBuffer.append(TEXT_391);
+ String item;
+ if (!genModel.useGenerics()) {
+ item = "i.next()";
+ stringBuffer.append(TEXT_392);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(TEXT_393);
+ } else {
+ item = "item";
+ stringBuffer.append(TEXT_394);
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
+ stringBuffer.append(TEXT_395);
+ }
+ stringBuffer.append(TEXT_396);
+ if (genItemType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_397);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_398);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_399);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_400);
+ } else {
+ stringBuffer.append(TEXT_401);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_402);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_403);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_404);
+ }
+ stringBuffer.append(TEXT_405);
+ }
+ } else if (!genDataType.getMemberTypes().isEmpty()) {
+ if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_406);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_407);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_408);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_409);
+ stringBuffer.append(genDataType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_410);
+ }
+ stringBuffer.append(TEXT_411);
+ } else {
+ stringBuffer.append(TEXT_412);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_413);
+ }
+ } else {
+ stringBuffer.append(TEXT_414);
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_415);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_416);
+ if (genMemberType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_417);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_418);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_419);
+ } else {
+ stringBuffer.append(TEXT_420);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_421);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_422);
+ }
+ stringBuffer.append(TEXT_423);
+ }
+ stringBuffer.append(TEXT_424);
+ }
+ } else if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_425);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_426);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_427);
+ }
+ stringBuffer.append(TEXT_428);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_429);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_430);
+ stringBuffer.append(genDataType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_431);
+ }
+ stringBuffer.append(TEXT_432);
+ } else {
+ stringBuffer.append(TEXT_433);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_434);
+ stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_435);
+ }
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ stringBuffer.append(TEXT_436);
+ } else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_437);
+ stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
+ stringBuffer.append(TEXT_438);
+ } else {
+ stringBuffer.append(TEXT_439);
+ }
+ stringBuffer.append(TEXT_440);
+ }
+ }
+ } else {
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (genClass.hasFactoryInterfaceCreateMethod()) {
+ stringBuffer.append(TEXT_441);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_442);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_443);
+ stringBuffer.append(genClass.getTypeParameters());
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_444);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_445);
+ }
+ }
+ if (genPackage.isDataTypeConverters()) {
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ if (genDataType.isSerializable()) {
+ stringBuffer.append(TEXT_446);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_447);
+ stringBuffer.append(genDataType.getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_448);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_449);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_450);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_451);
+ stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_452);
+ }
+ }
+ }
+ }
+ if (!isImplementation && !genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_453);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_454);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_455);
+ } else if (isImplementation) {
+ stringBuffer.append(TEXT_456);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_457);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_458);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_459);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_460);
+ }
+ stringBuffer.append(TEXT_461);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_462);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_463);
+ }
+ stringBuffer.append(TEXT_464);
+ stringBuffer.append(isInterface ? genPackage.getFactoryInterfaceName() : genPackage.getFactoryClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_465);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genPackage.hasClassifiers());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryInterface.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryInterface.java
new file mode 100644
index 0000000..3275386
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryInterface.java
@@ -0,0 +1,1872 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class FactoryInterface extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized FactoryInterface create(String lineSeparator) {
+ nl = lineSeparator;
+ FactoryInterface result = new FactoryInterface();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";";
+ protected final String TEXT_4 = NL + "package ";
+ protected final String TEXT_5 = ";";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Factory</b> for the model." + NL
+ + " * It provides a create method for each non-abstract class of the model." + NL
+ + " * <!-- end-user-doc -->";
+ protected final String TEXT_9 = NL + " * @see ";
+ protected final String TEXT_10 = NL + " * @generated" + NL + " */";
+ protected final String TEXT_11 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model <b>Factory</b>." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @generated" + NL + " */";
+ protected final String TEXT_12 = NL + "public class ";
+ protected final String TEXT_13 = " extends ";
+ protected final String TEXT_14 = " implements ";
+ protected final String TEXT_15 = NL + "public interface ";
+ protected final String TEXT_16 = " extends ";
+ protected final String TEXT_17 = NL + "{";
+ protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_19 = " copyright = ";
+ protected final String TEXT_20 = ";";
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_23 = " eINSTANCE = init();" + NL;
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_25 = " INSTANCE = ";
+ protected final String TEXT_26 = ".eINSTANCE;" + NL;
+ protected final String TEXT_27 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_28 = " eINSTANCE = ";
+ protected final String TEXT_29 = ".init();" + NL;
+ protected final String TEXT_30 = NL + "\t/**" + NL + "\t * Creates the default factory implementation." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_31 = NL + "\tpublic static ";
+ protected final String TEXT_32 = " init()" + NL + "\t{" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_33 = " the";
+ protected final String TEXT_34 = " = (";
+ protected final String TEXT_35 = ")";
+ protected final String TEXT_36 = ".Registry.INSTANCE.getEFactory(";
+ protected final String TEXT_37 = ".eNS_URI);" + NL + "\t\t\tif (the";
+ protected final String TEXT_38 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\treturn the";
+ protected final String TEXT_39 = ";" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL
+ + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_40 = ".INSTANCE.log(exception);" + NL + "\t\t}" + NL + "\t\treturn new ";
+ protected final String TEXT_41 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_42 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_43 = NL + "\t@Override";
+ protected final String TEXT_44 = NL + "\tpublic EObject create(EClass eClass)" + NL + "\t{" + NL
+ + "\t\tswitch (eClass.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_45 = NL + "\t\t\tcase ";
+ protected final String TEXT_46 = ".";
+ protected final String TEXT_47 = ": return ";
+ protected final String TEXT_48 = "create";
+ protected final String TEXT_49 = "();";
+ protected final String TEXT_50 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The class '\" + eClass.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_51 = NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_52 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_53 = NL + "\t@Override";
+ protected final String TEXT_54 = NL + "\tpublic Object createFromString(";
+ protected final String TEXT_55 = " eDataType, String initialValue)" + NL + "\t{" + NL
+ + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_56 = NL + "\t\t\tcase ";
+ protected final String TEXT_57 = ".";
+ protected final String TEXT_58 = ":" + NL + "\t\t\t\treturn create";
+ protected final String TEXT_59 = "FromString(eDataType, initialValue);";
+ protected final String TEXT_60 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_61 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_62 = NL + "\t@Override";
+ protected final String TEXT_63 = NL + "\tpublic String convertToString(";
+ protected final String TEXT_64 = " eDataType, Object instanceValue)" + NL + "\t{" + NL
+ + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_65 = NL + "\t\t\tcase ";
+ protected final String TEXT_66 = ".";
+ protected final String TEXT_67 = ":" + NL + "\t\t\t\treturn convert";
+ protected final String TEXT_68 = "ToString(eDataType, instanceValue);";
+ protected final String TEXT_69 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_70 = NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_71 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_72 = " create";
+ protected final String TEXT_73 = "()" + NL + "\t{";
+ protected final String TEXT_74 = NL + "\t\t";
+ protected final String TEXT_75 = " ";
+ protected final String TEXT_76 = " = ";
+ protected final String TEXT_77 = "super.create(";
+ protected final String TEXT_78 = ");";
+ protected final String TEXT_79 = NL + "\t\t";
+ protected final String TEXT_80 = " ";
+ protected final String TEXT_81 = " = new ";
+ protected final String TEXT_82 = "()";
+ protected final String TEXT_83 = "{}";
+ protected final String TEXT_84 = ";";
+ protected final String TEXT_85 = NL + "\t\treturn ";
+ protected final String TEXT_86 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_88 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_89 = NL + "\tpublic ";
+ protected final String TEXT_90 = " create";
+ protected final String TEXT_91 = "(";
+ protected final String TEXT_92 = "final ";
+ protected final String TEXT_93 = "String ";
+ protected final String TEXT_94 = "it";
+ protected final String TEXT_95 = "literal";
+ protected final String TEXT_96 = ")" + NL + "\t{";
+ protected final String TEXT_97 = NL + "\t\t";
+ protected final String TEXT_98 = NL + "\t\t";
+ protected final String TEXT_99 = " result = ";
+ protected final String TEXT_100 = ".get(literal);"
+ + NL
+ + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + literal + \"' is not a valid enumerator of '\" + ";
+ protected final String TEXT_101 = ".getName() + \"'\");";
+ protected final String TEXT_102 = NL + "\t\treturn result;";
+ protected final String TEXT_103 = NL + "\t\treturn new ";
+ protected final String TEXT_104 = "(create";
+ protected final String TEXT_105 = "(literal));";
+ protected final String TEXT_106 = NL + "\t\treturn create";
+ protected final String TEXT_107 = "(literal);";
+ protected final String TEXT_108 = NL + "\t\treturn new ";
+ protected final String TEXT_109 = "(";
+ protected final String TEXT_110 = ".create";
+ protected final String TEXT_111 = "(literal));";
+ protected final String TEXT_112 = NL + "\t\treturn ";
+ protected final String TEXT_113 = ".create";
+ protected final String TEXT_114 = "(literal);";
+ protected final String TEXT_115 = NL + "\t\treturn ";
+ protected final String TEXT_116 = "(";
+ protected final String TEXT_117 = ")";
+ protected final String TEXT_118 = ".createFromString(";
+ protected final String TEXT_119 = ", literal);";
+ protected final String TEXT_120 = NL + "\t\tif (literal == null) return null;" + NL + "\t\t";
+ protected final String TEXT_121 = " result = new ";
+ protected final String TEXT_122 = "<";
+ protected final String TEXT_123 = ">";
+ protected final String TEXT_124 = "();";
+ protected final String TEXT_125 = NL + "\t\tfor (";
+ protected final String TEXT_126 = " stringTokenizer = new ";
+ protected final String TEXT_127 = "(literal); stringTokenizer.hasMoreTokens(); )";
+ protected final String TEXT_128 = NL + "\t\tfor (String item : split(literal))";
+ protected final String TEXT_129 = NL + "\t\t{";
+ protected final String TEXT_130 = NL + "\t\t\tString item = stringTokenizer.nextToken();";
+ protected final String TEXT_131 = NL + "\t\t\tresult.add(create";
+ protected final String TEXT_132 = "(item));";
+ protected final String TEXT_133 = NL + "\t\t\tresult.add(create";
+ protected final String TEXT_134 = "FromString(";
+ protected final String TEXT_135 = ", item));";
+ protected final String TEXT_136 = NL + "\t\t\tresult.add(";
+ protected final String TEXT_137 = ".create";
+ protected final String TEXT_138 = "(item));";
+ protected final String TEXT_139 = NL + "\t\t\tresult.add(";
+ protected final String TEXT_140 = ".createFromString(";
+ protected final String TEXT_141 = ", item));";
+ protected final String TEXT_142 = NL + "\t\t}" + NL + "\t\treturn result;";
+ protected final String TEXT_143 = NL + "\t\tif (literal == null) return ";
+ protected final String TEXT_144 = ";" + NL + "\t\t";
+ protected final String TEXT_145 = " result = ";
+ protected final String TEXT_146 = ";" + NL + "\t\tRuntimeException exception = null;";
+ protected final String TEXT_147 = NL + "\t\ttry" + NL + "\t\t{";
+ protected final String TEXT_148 = NL + "\t\t\tresult = create";
+ protected final String TEXT_149 = "(literal);";
+ protected final String TEXT_150 = NL + "\t\t\tresult = (";
+ protected final String TEXT_151 = ")create";
+ protected final String TEXT_152 = "FromString(";
+ protected final String TEXT_153 = ", literal);";
+ protected final String TEXT_154 = NL + "\t\t\tresult = ";
+ protected final String TEXT_155 = ".create";
+ protected final String TEXT_156 = "(literal);";
+ protected final String TEXT_157 = NL + "\t\t\tresult = (";
+ protected final String TEXT_158 = ")";
+ protected final String TEXT_159 = ".createFromString(";
+ protected final String TEXT_160 = ", literal);";
+ protected final String TEXT_161 = NL + "\t\t\tif (";
+ protected final String TEXT_162 = "result != null && ";
+ protected final String TEXT_163 = ".INSTANCE.validate(";
+ protected final String TEXT_164 = ", ";
+ protected final String TEXT_165 = "new ";
+ protected final String TEXT_166 = "(result)";
+ protected final String TEXT_167 = "result";
+ protected final String TEXT_168 = ", null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL
+ + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL
+ + "\t\t\texception = e;" + NL + "\t\t}";
+ protected final String TEXT_169 = NL + "\t\tif (";
+ protected final String TEXT_170 = "result != null || ";
+ protected final String TEXT_171 = "exception == null) return result;" + NL + " " + NL + "\t\tthrow exception;";
+ protected final String TEXT_172 = NL + "\t\treturn (";
+ protected final String TEXT_173 = ")super.createFromString(literal);";
+ protected final String TEXT_174 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_175 = "();";
+ protected final String TEXT_176 = NL + "\t\treturn ((";
+ protected final String TEXT_177 = ")super.createFromString(";
+ protected final String TEXT_178 = ", literal)).";
+ protected final String TEXT_179 = "();";
+ protected final String TEXT_180 = NL + "\t\treturn ";
+ protected final String TEXT_181 = "(";
+ protected final String TEXT_182 = ")";
+ protected final String TEXT_183 = "super.createFromString(";
+ protected final String TEXT_184 = ", literal);";
+ protected final String TEXT_185 = NL + "\t}" + NL;
+ protected final String TEXT_186 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_187 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_188 = NL + "\tpublic ";
+ protected final String TEXT_189 = " create";
+ protected final String TEXT_190 = "FromString(";
+ protected final String TEXT_191 = " eDataType, String initialValue)" + NL + "\t{";
+ protected final String TEXT_192 = NL + "\t\treturn create";
+ protected final String TEXT_193 = "(initialValue);";
+ protected final String TEXT_194 = NL + "\t\t";
+ protected final String TEXT_195 = " result = ";
+ protected final String TEXT_196 = ".get(initialValue);"
+ + NL
+ + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + initialValue + \"' is not a valid enumerator of '\" + eDataType.getName() + \"'\");";
+ protected final String TEXT_197 = NL + "\t\treturn result;";
+ protected final String TEXT_198 = NL + "\t\treturn ";
+ protected final String TEXT_199 = "(";
+ protected final String TEXT_200 = ")";
+ protected final String TEXT_201 = "create";
+ protected final String TEXT_202 = "FromString(";
+ protected final String TEXT_203 = ", initialValue);";
+ protected final String TEXT_204 = NL + "\t\treturn ";
+ protected final String TEXT_205 = "(";
+ protected final String TEXT_206 = ")";
+ protected final String TEXT_207 = ".createFromString(";
+ protected final String TEXT_208 = ", initialValue);";
+ protected final String TEXT_209 = NL + "\t\treturn create";
+ protected final String TEXT_210 = "(initialValue);";
+ protected final String TEXT_211 = NL + "\t\tif (initialValue == null) return null;" + NL + "\t\t";
+ protected final String TEXT_212 = " result = new ";
+ protected final String TEXT_213 = "<";
+ protected final String TEXT_214 = ">";
+ protected final String TEXT_215 = "();";
+ protected final String TEXT_216 = NL + "\t\tfor (";
+ protected final String TEXT_217 = " stringTokenizer = new ";
+ protected final String TEXT_218 = "(initialValue); stringTokenizer.hasMoreTokens(); )";
+ protected final String TEXT_219 = NL + "\t\tfor (String item : split(initialValue))";
+ protected final String TEXT_220 = NL + "\t\t{";
+ protected final String TEXT_221 = NL + "\t\t\tString item = stringTokenizer.nextToken();";
+ protected final String TEXT_222 = NL + "\t\t\tresult.add(create";
+ protected final String TEXT_223 = "FromString(";
+ protected final String TEXT_224 = ", item));";
+ protected final String TEXT_225 = NL + "\t\t\tresult.add(";
+ protected final String TEXT_226 = "(";
+ protected final String TEXT_227 = ")";
+ protected final String TEXT_228 = ".createFromString(";
+ protected final String TEXT_229 = ", item));";
+ protected final String TEXT_230 = NL + "\t\t}" + NL + "\t\treturn result;";
+ protected final String TEXT_231 = NL + "\t\treturn new ";
+ protected final String TEXT_232 = "(create";
+ protected final String TEXT_233 = "(initialValue));";
+ protected final String TEXT_234 = NL + "\t\treturn create";
+ protected final String TEXT_235 = "(initialValue);";
+ protected final String TEXT_236 = NL + "\t\tif (initialValue == null) return null;" + NL + "\t\t";
+ protected final String TEXT_237 = " result = null;" + NL + "\t\tRuntimeException exception = null;";
+ protected final String TEXT_238 = NL + "\t\ttry" + NL + "\t\t{";
+ protected final String TEXT_239 = NL + "\t\t\tresult = ";
+ protected final String TEXT_240 = "(";
+ protected final String TEXT_241 = ")";
+ protected final String TEXT_242 = "create";
+ protected final String TEXT_243 = "FromString(";
+ protected final String TEXT_244 = ", initialValue);";
+ protected final String TEXT_245 = NL + "\t\t\tresult = ";
+ protected final String TEXT_246 = "(";
+ protected final String TEXT_247 = ")";
+ protected final String TEXT_248 = ".createFromString(";
+ protected final String TEXT_249 = ", initialValue);";
+ protected final String TEXT_250 = NL + "\t\t\tif (result != null && ";
+ protected final String TEXT_251 = ".INSTANCE.validate(eDataType, result, null, null))" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL
+ + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
+ protected final String TEXT_252 = NL + "\t\tif (result != null || exception == null) return result;" + NL + " "
+ + NL + "\t\tthrow exception;";
+ protected final String TEXT_253 = NL + "\t\treturn create";
+ protected final String TEXT_254 = "(initialValue);";
+ protected final String TEXT_255 = NL + "\t\treturn ";
+ protected final String TEXT_256 = "(";
+ protected final String TEXT_257 = ")";
+ protected final String TEXT_258 = "super.createFromString(initialValue);";
+ protected final String TEXT_259 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_260 = "();";
+ protected final String TEXT_261 = NL + "\t\treturn ";
+ protected final String TEXT_262 = "(";
+ protected final String TEXT_263 = ")";
+ protected final String TEXT_264 = "super.createFromString(eDataType, initialValue);";
+ protected final String TEXT_265 = NL + "\t}" + NL;
+ protected final String TEXT_266 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
+ protected final String TEXT_267 = "(";
+ protected final String TEXT_268 = "final ";
+ protected final String TEXT_269 = " ";
+ protected final String TEXT_270 = "it";
+ protected final String TEXT_271 = "instanceValue";
+ protected final String TEXT_272 = ")" + NL + "\t{";
+ protected final String TEXT_273 = NL + "\t\t";
+ protected final String TEXT_274 = NL + "\t\treturn instanceValue == null ? null : instanceValue.toString();";
+ protected final String TEXT_275 = NL + "\t\treturn instanceValue == null ? null : convert";
+ protected final String TEXT_276 = "(instanceValue";
+ protected final String TEXT_277 = ".";
+ protected final String TEXT_278 = "()";
+ protected final String TEXT_279 = ");";
+ protected final String TEXT_280 = NL + "\t\treturn convert";
+ protected final String TEXT_281 = "(instanceValue);";
+ protected final String TEXT_282 = NL + "\t\treturn ";
+ protected final String TEXT_283 = ".convert";
+ protected final String TEXT_284 = "(instanceValue);";
+ protected final String TEXT_285 = NL + "\t\treturn ";
+ protected final String TEXT_286 = ".convertToString(";
+ protected final String TEXT_287 = ", instanceValue);";
+ protected final String TEXT_288 = NL + "\t\tif (instanceValue == null) return null;" + NL
+ + "\t\tif (instanceValue.isEmpty()) return \"\";" + NL + "\t\t";
+ protected final String TEXT_289 = " result = new ";
+ protected final String TEXT_290 = "();";
+ protected final String TEXT_291 = NL + "\t\tfor (";
+ protected final String TEXT_292 = " i = instanceValue.iterator(); i.hasNext(); )";
+ protected final String TEXT_293 = NL + "\t\tfor (";
+ protected final String TEXT_294 = " item : instanceValue)";
+ protected final String TEXT_295 = NL + "\t\t{";
+ protected final String TEXT_296 = NL + "\t\t\tresult.append(convert";
+ protected final String TEXT_297 = "((";
+ protected final String TEXT_298 = ")";
+ protected final String TEXT_299 = "));";
+ protected final String TEXT_300 = NL + "\t\t\tresult.append(convert";
+ protected final String TEXT_301 = "ToString(";
+ protected final String TEXT_302 = ", ";
+ protected final String TEXT_303 = "));";
+ protected final String TEXT_304 = NL + "\t\t\tresult.append(";
+ protected final String TEXT_305 = ".convert";
+ protected final String TEXT_306 = "((";
+ protected final String TEXT_307 = ")";
+ protected final String TEXT_308 = "));";
+ protected final String TEXT_309 = NL + "\t\t\tresult.append(";
+ protected final String TEXT_310 = ".convertToString(";
+ protected final String TEXT_311 = ", ";
+ protected final String TEXT_312 = "));";
+ protected final String TEXT_313 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL
+ + "\t\treturn result.substring(0, result.length() - 1);";
+ protected final String TEXT_314 = NL + "\t\tif (instanceValue == null) return null;";
+ protected final String TEXT_315 = NL + "\t\tif (";
+ protected final String TEXT_316 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
+ protected final String TEXT_317 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_318 = "(instanceValue);";
+ protected final String TEXT_319 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_320 = "(((";
+ protected final String TEXT_321 = ")instanceValue).";
+ protected final String TEXT_322 = "());";
+ protected final String TEXT_323 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_324 = "((";
+ protected final String TEXT_325 = ")instanceValue);";
+ protected final String TEXT_326 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_327 = "ToString(";
+ protected final String TEXT_328 = ", instanceValue);";
+ protected final String TEXT_329 = NL + "\t\t\t\tString value = ";
+ protected final String TEXT_330 = ".convert";
+ protected final String TEXT_331 = "((";
+ protected final String TEXT_332 = ")instanceValue);";
+ protected final String TEXT_333 = NL + "\t\t\t\tString value = ";
+ protected final String TEXT_334 = ".convertToString(";
+ protected final String TEXT_335 = ", instanceValue);";
+ protected final String TEXT_336 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_337 = NL + "\t\ttry" + NL + "\t\t{";
+ protected final String TEXT_338 = NL + "\t\t\tString value = convert";
+ protected final String TEXT_339 = "(instanceValue);";
+ protected final String TEXT_340 = NL + "\t\t\tString value = convert";
+ protected final String TEXT_341 = "ToString(";
+ protected final String TEXT_342 = ", ";
+ protected final String TEXT_343 = "new ";
+ protected final String TEXT_344 = "(instanceValue)";
+ protected final String TEXT_345 = "instanceValue";
+ protected final String TEXT_346 = ");";
+ protected final String TEXT_347 = NL + "\t\t\tString value = ";
+ protected final String TEXT_348 = ".convert";
+ protected final String TEXT_349 = "(instanceValue);";
+ protected final String TEXT_350 = NL + "\t\t\tString value = ";
+ protected final String TEXT_351 = ".convertToString(";
+ protected final String TEXT_352 = ", ";
+ protected final String TEXT_353 = "new ";
+ protected final String TEXT_354 = "(instanceValue)";
+ protected final String TEXT_355 = "instanceValue";
+ protected final String TEXT_356 = ");";
+ protected final String TEXT_357 = NL + "\t\t\tif (value != null) return value;" + NL + "\t\t}" + NL
+ + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL
+ + "\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t}";
+ protected final String TEXT_358 = NL
+ + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+";
+ protected final String TEXT_359 = ".getName());";
+ protected final String TEXT_360 = NL + "\t\treturn super.convertToString(instanceValue);";
+ protected final String TEXT_361 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_362 = "();";
+ protected final String TEXT_363 = NL + "\t\treturn super.convertToString(";
+ protected final String TEXT_364 = ", new ";
+ protected final String TEXT_365 = "(instanceValue));";
+ protected final String TEXT_366 = NL + "\t\treturn super.convertToString(";
+ protected final String TEXT_367 = ", instanceValue);";
+ protected final String TEXT_368 = NL + "\t}" + NL;
+ protected final String TEXT_369 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_370 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_371 = NL + "\tpublic String convert";
+ protected final String TEXT_372 = "ToString(";
+ protected final String TEXT_373 = " eDataType, Object instanceValue)" + NL + "\t{";
+ protected final String TEXT_374 = NL + "\t\treturn convert";
+ protected final String TEXT_375 = "((";
+ protected final String TEXT_376 = ")instanceValue);";
+ protected final String TEXT_377 = NL + "\t\treturn instanceValue == null ? null : instanceValue.toString();";
+ protected final String TEXT_378 = NL + "\t\treturn convert";
+ protected final String TEXT_379 = "ToString(";
+ protected final String TEXT_380 = ", instanceValue);";
+ protected final String TEXT_381 = NL + "\t\treturn ";
+ protected final String TEXT_382 = ".convertToString(";
+ protected final String TEXT_383 = ", instanceValue);";
+ protected final String TEXT_384 = NL + "\t\treturn convert";
+ protected final String TEXT_385 = "((";
+ protected final String TEXT_386 = ")instanceValue);";
+ protected final String TEXT_387 = NL + "\t\tif (instanceValue == null) return null;" + NL + "\t\t";
+ protected final String TEXT_388 = " list = (";
+ protected final String TEXT_389 = ")instanceValue;" + NL + "\t\tif (list.isEmpty()) return \"\";" + NL + "\t\t";
+ protected final String TEXT_390 = " result = new ";
+ protected final String TEXT_391 = "();";
+ protected final String TEXT_392 = NL + "\t\tfor (";
+ protected final String TEXT_393 = " i = list.iterator(); i.hasNext(); )";
+ protected final String TEXT_394 = NL + "\t\tfor (";
+ protected final String TEXT_395 = " item : list)";
+ protected final String TEXT_396 = NL + "\t\t{";
+ protected final String TEXT_397 = NL + "\t\t\tresult.append(convert";
+ protected final String TEXT_398 = "ToString(";
+ protected final String TEXT_399 = ", ";
+ protected final String TEXT_400 = "));";
+ protected final String TEXT_401 = NL + "\t\t\tresult.append(";
+ protected final String TEXT_402 = ".convertToString(";
+ protected final String TEXT_403 = ", ";
+ protected final String TEXT_404 = "));";
+ protected final String TEXT_405 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL
+ + "\t\treturn result.substring(0, result.length() - 1);";
+ protected final String TEXT_406 = NL + "\t\treturn instanceValue == null ? null : convert";
+ protected final String TEXT_407 = "(((";
+ protected final String TEXT_408 = ")instanceValue)";
+ protected final String TEXT_409 = ".";
+ protected final String TEXT_410 = "()";
+ protected final String TEXT_411 = ");";
+ protected final String TEXT_412 = NL + "\t\treturn convert";
+ protected final String TEXT_413 = "(instanceValue);";
+ protected final String TEXT_414 = NL + "\t\tif (instanceValue == null) return null;";
+ protected final String TEXT_415 = NL + "\t\tif (";
+ protected final String TEXT_416 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
+ protected final String TEXT_417 = NL + "\t\t\t\tString value = convert";
+ protected final String TEXT_418 = "ToString(";
+ protected final String TEXT_419 = ", instanceValue);";
+ protected final String TEXT_420 = NL + "\t\t\t\tString value = ";
+ protected final String TEXT_421 = ".convertToString(";
+ protected final String TEXT_422 = ", instanceValue);";
+ protected final String TEXT_423 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_424 = NL
+ + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+eDataType.getName());";
+ protected final String TEXT_425 = NL + "\t\treturn instanceValue == null ? null : convert";
+ protected final String TEXT_426 = "(";
+ protected final String TEXT_427 = "(";
+ protected final String TEXT_428 = "(";
+ protected final String TEXT_429 = ")instanceValue";
+ protected final String TEXT_430 = ").";
+ protected final String TEXT_431 = "()";
+ protected final String TEXT_432 = ");";
+ protected final String TEXT_433 = NL + "\t\treturn convert";
+ protected final String TEXT_434 = "((";
+ protected final String TEXT_435 = ")instanceValue);";
+ protected final String TEXT_436 = NL + "\t\treturn super.convertToString(instanceValue);";
+ protected final String TEXT_437 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_438 = "();";
+ protected final String TEXT_439 = NL + "\t\treturn super.convertToString(eDataType, instanceValue);";
+ protected final String TEXT_440 = NL + "\t}" + NL;
+ protected final String TEXT_441 = NL + "\t/**" + NL + "\t * Returns a new object of class '<em>";
+ protected final String TEXT_442 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return a new object of class '<em>";
+ protected final String TEXT_443 = "</em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_444 = " create";
+ protected final String TEXT_445 = "();" + NL;
+ protected final String TEXT_446 = NL + "\t/**" + NL + "\t * Returns an instance of data type '<em>";
+ protected final String TEXT_447 = "</em>' corresponding the given literal." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param literal a literal of the data type." + NL
+ + "\t * @return a new instance value of the data type." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_448 = " create";
+ protected final String TEXT_449 = "(String literal);" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns a literal representation of an instance of data type '<em>";
+ protected final String TEXT_450 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param instanceValue an instance value of the data type." + NL
+ + "\t * @return a literal representation of the instance value." + NL + "\t * @generated" + NL + "\t */"
+ + NL + "\tString convert";
+ protected final String TEXT_451 = "(";
+ protected final String TEXT_452 = " instanceValue);" + NL;
+ protected final String TEXT_453 = NL + "\t/**" + NL + "\t * Returns the package supported by this factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the package supported by this factory." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_454 = " get";
+ protected final String TEXT_455 = "();" + NL;
+ protected final String TEXT_456 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_457 = " get";
+ protected final String TEXT_458 = "()" + NL + "\t{" + NL + "\t\treturn (";
+ protected final String TEXT_459 = ")getEPackage();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @deprecated" + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_460 = NL + "\t@Deprecated";
+ protected final String TEXT_461 = NL + "\tpublic static ";
+ protected final String TEXT_462 = " getPackage()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_463 = ".eINSTANCE;" + NL + "\t}" + NL;
+ protected final String TEXT_464 = NL + "} //";
+ protected final String TEXT_465 = NL;
+ protected final String TEXT_466 = NL;
+ protected final String TEXT_467 = NL;
+
+ public FactoryInterface() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_466);
+ stringBuffer.append(TEXT_467);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getReflectionPackageName();
+ className = genPackage.getFactoryInterfaceName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = ((Object[]) new Object[] { new Object[] { genPackage, Boolean.TRUE, Boolean.FALSE } })[0];
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) ((Object[]) argument)[0];
+ GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ boolean isInterface = Boolean.TRUE.equals(((Object[]) argument)[1]);
+ boolean isImplementation = Boolean.TRUE.equals(((Object[]) argument)[2]);
+ String publicStaticFinalFlag = isImplementation ? "public static final " : "";
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (isInterface || genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getReflectionPackageName());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getClassPackageName());
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ if (isImplementation) {
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");
+ genModel.addImport("org.eclipse.emf.ecore.EClass");
+ genModel.addImport("org.eclipse.emf.ecore.EObject");
+ if (!genPackage.hasJavaLangConflict() && !genPackage.hasInterfaceImplConflict()
+ && !genPackage.getClassPackageName().equals(genPackage.getInterfacePackageName()))
+ genModel.addImport(genPackage.getInterfacePackageName() + ".*");
+ }
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_7);
+ if (isInterface) {
+ stringBuffer.append(TEXT_8);
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ }
+ stringBuffer.append(TEXT_10);
+ } else {
+ stringBuffer.append(TEXT_11);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getFactoryClassName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.EFactoryImpl"));
+ if (!genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genPackage.getImportedFactoryInterfaceName());
+ }
+ } else {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genPackage.getFactoryInterfaceName());
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EFactory"));
+ }
+ }
+ stringBuffer.append(TEXT_17);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_21);
+ }
+ if (isImplementation && (genModel.isSuppressEMFMetaData() || genModel.isSuppressInterfaces())) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genPackage.getFactoryClassName());
+ stringBuffer.append(TEXT_23);
+ }
+ if (isInterface && genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genPackage.getFactoryInterfaceName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genPackage.getQualifiedFactoryClassName());
+ stringBuffer.append(TEXT_26);
+ } else if (isInterface && !genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genPackage.getFactoryInterfaceName());
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genPackage.getQualifiedFactoryClassName());
+ stringBuffer.append(TEXT_29);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_30);
+ String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage
+ .getImportedFactoryInterfaceName();
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(factoryType);
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(factoryType);
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(factoryType);
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genPackage.getImportedFactoryClassName());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genPackage.getFactoryClassName());
+ stringBuffer.append(TEXT_42);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.isAbstract()) {
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genClass.getClassifierID());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(!genClass.isEObjectExtension() ? "(EObject)" : "");
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_49);
+ }
+ }
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_51);
+ if (!genPackage.getAllGenDataTypes().isEmpty()) {
+ stringBuffer.append(TEXT_52);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_53);
+ }
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
+ stringBuffer.append(TEXT_55);
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ if (genDataType.isSerializable()) {
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genDataType.getClassifierID());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_59);
+ }
+ }
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_61);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_62);
+ }
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
+ stringBuffer.append(TEXT_64);
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ if (genDataType.isSerializable()) {
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genDataType.getClassifierID());
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_68);
+ }
+ }
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_70);
+ }
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.isAbstract()) {
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genClass.getTypeParameters());
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_73);
+ if (genClass.isDynamic()) {
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genClass.getCastFromEObject());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_78);
+ } else {
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genClass.getImportedClassName());
+ stringBuffer.append(genClass.getClassTypeArguments());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genClass.getImportedClassName());
+ stringBuffer.append(genClass.getClassTypeArguments());
+ stringBuffer.append(TEXT_82);
+ if (genModel.isSuppressInterfaces()
+ && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {
+ stringBuffer.append(TEXT_83);
+ }
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_86);
+ }
+ }
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ if (genDataType.isSerializable()) {
+ if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {
+ String eDataType = genDataType.getQualifiedClassifierAccessor();
+ stringBuffer.append(TEXT_87);
+ if (genModel.useGenerics() && genDataType.isUncheckedCast() && !genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_88);
+ }
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genDataType.getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_91);
+ if (genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_92);
+ }
+ stringBuffer.append(TEXT_93);
+ if (genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_94);
+ } else {
+ stringBuffer.append(TEXT_95);
+ }
+ stringBuffer.append(TEXT_96);
+ if (genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genDataType.getCreatorBody(genModel.getIndentation(stringBuffer)));
+ } else if (genDataType instanceof GenEnum) {
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(genModel.getNonNLS(3));
+ stringBuffer.append(TEXT_102);
+ } else if (genDataType.getBaseType() != null) {
+ GenDataType genBaseType = genDataType.getBaseType();
+ boolean isPrimitiveConversion = !genDataType.isPrimitiveType()
+ && genBaseType.isPrimitiveType();
+ if (genBaseType.getGenPackage() == genPackage) {
+ if (isPrimitiveConversion
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_105);
+ } else {
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_107);
+ }
+ } else if (genBaseType.getGenPackage().isDataTypeConverters()) {
+ if (isPrimitiveConversion
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_111);
+ } else {
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_114);
+ }
+ } else {
+ stringBuffer.append(TEXT_115);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_117);
+ }
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_119);
+ }
+ } else if (genDataType.getItemType() != null) {
+ GenDataType genItemType = genDataType.getItemType();
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genDataType.getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genModel.getImportedName("java.util.ArrayList"));
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(genItemType.getObjectType()
+ .getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_123);
+ }
+ stringBuffer.append(TEXT_124);
+ if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_127);
+ } else {
+ stringBuffer.append(TEXT_128);
+ }
+ stringBuffer.append(TEXT_129);
+ if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_130);
+ }
+ if (genItemType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ genItemType = genItemType.getObjectType();
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_132);
+ } else {
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_135);
+ }
+ } else {
+ if (genItemType.getGenPackage().isDataTypeConverters()) {
+ genItemType = genItemType.getObjectType();
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_138);
+ } else {
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_140);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_141);
+ }
+ }
+ stringBuffer.append(TEXT_142);
+ } else if (!genDataType.getMemberTypes().isEmpty()) {
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genDataType.getStaticValue(null));
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genDataType.getStaticValue(null));
+ stringBuffer.append(TEXT_146);
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_147);
+ if (genMemberType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ if (!genDataType.isPrimitiveType())
+ genMemberType = genMemberType.getObjectType();
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_149);
+ } else {
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_151);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_153);
+ }
+ } else {
+ if (genPackage.isDataTypeConverters()) {
+ if (!genDataType.isPrimitiveType())
+ genMemberType = genMemberType.getObjectType();
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_156);
+ } else {
+ stringBuffer.append(TEXT_157);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_160);
+ }
+ }
+ stringBuffer.append(TEXT_161);
+ if (!genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_162);
+ }
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_164);
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_166);
+ } else {
+ stringBuffer.append(TEXT_167);
+ }
+ stringBuffer.append(TEXT_168);
+ }
+ stringBuffer.append(TEXT_169);
+ if (!genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_170);
+ }
+ stringBuffer.append(TEXT_171);
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_173);
+ } else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
+ stringBuffer.append(TEXT_175);
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(genDataType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_179);
+ } else {
+ stringBuffer.append(TEXT_180);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_182);
+ }
+ stringBuffer.append(TEXT_183);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_184);
+ }
+ stringBuffer.append(TEXT_185);
+ }
+ stringBuffer.append(TEXT_186);
+ if (!genPackage.isDataTypeConverters() && genModel.useGenerics() && genDataType.isUncheckedCast()
+ && !genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_187);
+ }
+ stringBuffer.append(TEXT_188);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_189);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_190);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
+ stringBuffer.append(TEXT_191);
+ if (genDataType instanceof GenEnum) {
+ if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_193);
+ } else {
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(((GenEnum) genDataType).getImportedInstanceClassName());
+ stringBuffer.append(TEXT_195);
+ stringBuffer.append(((GenEnum) genDataType).getImportedInstanceClassName());
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(genModel.getNonNLS(3));
+ stringBuffer.append(TEXT_197);
+ }
+ } else if (genDataType.getBaseType() != null) {
+ GenDataType genBaseType = genDataType.getBaseType();
+ if (genBaseType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_198);
+ if (!genDataType.getObjectInstanceClassName().equals(
+ genBaseType.getObjectInstanceClassName())) {
+ stringBuffer.append(TEXT_199);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_200);
+ }
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_203);
+ } else {
+ stringBuffer.append(TEXT_204);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_205);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_206);
+ }
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_208);
+ }
+ } else if (genDataType.getItemType() != null) {
+ GenDataType genItemType = genDataType.getItemType();
+ if (genPackage.isDataTypeConverters()) {
+ stringBuffer.append(TEXT_209);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_210);
+ } else {
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_212);
+ stringBuffer.append(genModel.getImportedName("java.util.ArrayList"));
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_213);
+ stringBuffer.append(genItemType.getObjectType()
+ .getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_214);
+ }
+ stringBuffer.append(TEXT_215);
+ if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_216);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genModel.getImportedName("java.util.StringTokenizer"));
+ stringBuffer.append(TEXT_218);
+ } else {
+ stringBuffer.append(TEXT_219);
+ }
+ stringBuffer.append(TEXT_220);
+ if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {
+ stringBuffer.append(TEXT_221);
+ }
+ if (genItemType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_222);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_223);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_224);
+ } else {
+ stringBuffer.append(TEXT_225);
+ if (!genItemType.isObjectType()) {
+ stringBuffer.append(TEXT_226);
+ stringBuffer.append(genItemType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_227);
+ }
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_228);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_229);
+ }
+ stringBuffer.append(TEXT_230);
+ }
+ } else if (!genDataType.getMemberTypes().isEmpty()) {
+ if (genPackage.isDataTypeConverters()) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_231);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_233);
+ } else {
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_235);
+ }
+ } else {
+ stringBuffer.append(TEXT_236);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_237);
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_238);
+ if (genMemberType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_239);
+ if (!genDataType.isObjectType()
+ && !genDataType.getObjectInstanceClassName().equals(
+ genMemberType.getObjectInstanceClassName())) {
+ stringBuffer.append(TEXT_240);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_241);
+ }
+ stringBuffer.append(TEXT_242);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_244);
+ } else {
+ stringBuffer.append(TEXT_245);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_246);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_247);
+ }
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_248);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_249);
+ }
+ stringBuffer.append(TEXT_250);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
+ stringBuffer.append(TEXT_251);
+ }
+ stringBuffer.append(TEXT_252);
+ }
+ } else if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_253);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_254);
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ stringBuffer.append(TEXT_255);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_256);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_257);
+ }
+ stringBuffer.append(TEXT_258);
+ } else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_259);
+ stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
+ stringBuffer.append(TEXT_260);
+ } else {
+ stringBuffer.append(TEXT_261);
+ if (!genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_262);
+ stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
+ stringBuffer.append(TEXT_263);
+ }
+ stringBuffer.append(TEXT_264);
+ }
+ stringBuffer.append(TEXT_265);
+ if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {
+ String eDataType = genDataType.getQualifiedClassifierAccessor();
+ stringBuffer.append(TEXT_266);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_267);
+ if (genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_268);
+ }
+ stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_269);
+ if (genDataType.hasConverterBody()) {
+ stringBuffer.append(TEXT_270);
+ } else {
+ stringBuffer.append(TEXT_271);
+ }
+ stringBuffer.append(TEXT_272);
+ if (genDataType.hasConverterBody()) {
+ stringBuffer.append(TEXT_273);
+ stringBuffer.append(genDataType.getConverterBody(genModel.getIndentation(stringBuffer)));
+ } else if (genDataType instanceof GenEnum) {
+ stringBuffer.append(TEXT_274);
+ } else if (genDataType.getBaseType() != null) {
+ GenDataType genBaseType = genDataType.getBaseType();
+ boolean isPrimitiveConversion = !genDataType.isPrimitiveType()
+ && genBaseType.isPrimitiveType();
+ if (genBaseType.getGenPackage() == genPackage) {
+ if (isPrimitiveConversion) {
+ stringBuffer.append(TEXT_275);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_276);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_277);
+ stringBuffer.append(genBaseType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_278);
+ }
+ stringBuffer.append(TEXT_279);
+ } else {
+ stringBuffer.append(TEXT_280);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_281);
+ }
+ } else if (genBaseType.getGenPackage().isDataTypeConverters()) {
+ stringBuffer.append(TEXT_282);
+ stringBuffer.append(genBaseType.getGenPackage().getQualifiedFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_283);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_284);
+ } else {
+ stringBuffer.append(TEXT_285);
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_286);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_287);
+ }
+ } else if (genDataType.getItemType() != null) {
+ GenDataType genItemType = genDataType.getItemType();
+ stringBuffer.append(TEXT_288);
+ stringBuffer.append(genModel.getImportedName("java.lang.StringBuffer"));
+ stringBuffer.append(TEXT_289);
+ stringBuffer.append(genModel.getImportedName("java.lang.StringBuffer"));
+ stringBuffer.append(TEXT_290);
+ String item;
+ if (!genModel.useGenerics()) {
+ item = "i.next()";
+ stringBuffer.append(TEXT_291);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(TEXT_292);
+ } else {
+ item = "item";
+ stringBuffer.append(TEXT_293);
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
+ stringBuffer.append(TEXT_294);
+ }
+ stringBuffer.append(TEXT_295);
+ if (genItemType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ genItemType = genItemType.getObjectType();
+ stringBuffer.append(TEXT_296);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_297);
+ stringBuffer.append(genItemType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_298);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_299);
+ } else {
+ stringBuffer.append(TEXT_300);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_301);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_302);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_303);
+ }
+ } else {
+ if (genItemType.getGenPackage().isDataTypeConverters()) {
+ genItemType = genItemType.getObjectType();
+ stringBuffer.append(TEXT_304);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_305);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_306);
+ stringBuffer.append(genItemType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_307);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_308);
+ } else {
+ stringBuffer.append(TEXT_309);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_310);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_311);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_312);
+ }
+ }
+ stringBuffer.append(TEXT_313);
+ } else if (!genDataType.getMemberTypes().isEmpty()) {
+ if (!genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_314);
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_315);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_316);
+ if (genMemberType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ if (genMemberType.getQualifiedInstanceClassName().equals(
+ genDataType.getQualifiedInstanceClassName())) {
+ stringBuffer.append(TEXT_317);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_318);
+ } else if (genMemberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_319);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_320);
+ stringBuffer.append(genMemberType.getObjectType()
+ .getImportedInstanceClassName());
+ stringBuffer.append(TEXT_321);
+ stringBuffer.append(genMemberType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_322);
+ } else {
+ stringBuffer.append(TEXT_323);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_324);
+ stringBuffer.append(genMemberType.getObjectType()
+ .getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_325);
+ }
+ } else {
+ stringBuffer.append(TEXT_326);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_327);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_328);
+ }
+ } else {
+ if (genMemberType.getGenPackage().isDataTypeConverters()) {
+ genMemberType = genMemberType.getObjectType();
+ stringBuffer.append(TEXT_329);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_330);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_331);
+ stringBuffer.append(genMemberType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_332);
+ } else {
+ stringBuffer.append(TEXT_333);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_334);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_335);
+ }
+ }
+ stringBuffer.append(TEXT_336);
+ }
+ } else {
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_337);
+ if (genMemberType.getGenPackage() == genPackage) {
+ if (genPackage.isDataTypeConverters()) {
+ stringBuffer.append(TEXT_338);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_339);
+ } else {
+ stringBuffer.append(TEXT_340);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_341);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_342);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_343);
+ stringBuffer.append(genMemberType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_344);
+ } else {
+ stringBuffer.append(TEXT_345);
+ }
+ stringBuffer.append(TEXT_346);
+ }
+ } else {
+ if (genMemberType.getGenPackage().isDataTypeConverters()) {
+ stringBuffer.append(TEXT_347);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_348);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_349);
+ } else {
+ stringBuffer.append(TEXT_350);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_351);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_352);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_353);
+ stringBuffer.append(genMemberType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_354);
+ } else {
+ stringBuffer.append(TEXT_355);
+ }
+ stringBuffer.append(TEXT_356);
+ }
+ }
+ stringBuffer.append(TEXT_357);
+ }
+ }
+ stringBuffer.append(TEXT_358);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_359);
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ stringBuffer.append(TEXT_360);
+ } else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_361);
+ stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
+ stringBuffer.append(TEXT_362);
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_363);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_364);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_365);
+ } else {
+ stringBuffer.append(TEXT_366);
+ stringBuffer.append(eDataType);
+ stringBuffer.append(TEXT_367);
+ }
+ stringBuffer.append(TEXT_368);
+ }
+ stringBuffer.append(TEXT_369);
+ if (genModel.useGenerics() && (genDataType.getItemType() != null || genDataType.isUncheckedCast())
+ && (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody())) {
+ stringBuffer.append(TEXT_370);
+ }
+ stringBuffer.append(TEXT_371);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_372);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
+ stringBuffer.append(TEXT_373);
+ if (genDataType instanceof GenEnum) {
+ if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {
+ stringBuffer.append(TEXT_374);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_375);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_376);
+ } else {
+ stringBuffer.append(TEXT_377);
+ }
+ } else if (genDataType.getBaseType() != null) {
+ GenDataType genBaseType = genDataType.getBaseType();
+ if (genBaseType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_378);
+ stringBuffer.append(genBaseType.getName());
+ stringBuffer.append(TEXT_379);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_380);
+ } else {
+ stringBuffer.append(TEXT_381);
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_382);
+ stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_383);
+ }
+ } else if (genDataType.getItemType() != null) {
+ GenDataType genItemType = genDataType.getItemType();
+ if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {
+ stringBuffer.append(TEXT_384);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_385);
+ stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_386);
+ } else {
+ final String singleWildcard = genModel.useGenerics() ? "<?>" : "";
+ stringBuffer.append(TEXT_387);
+ stringBuffer.append(genModel.getImportedName("java.util.List"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_388);
+ stringBuffer.append(genModel.getImportedName("java.util.List"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_389);
+ stringBuffer.append(genModel.getImportedName("java.lang.StringBuffer"));
+ stringBuffer.append(TEXT_390);
+ stringBuffer.append(genModel.getImportedName("java.lang.StringBuffer"));
+ stringBuffer.append(TEXT_391);
+ String item;
+ if (!genModel.useGenerics()) {
+ item = "i.next()";
+ stringBuffer.append(TEXT_392);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(TEXT_393);
+ } else {
+ item = "item";
+ stringBuffer.append(TEXT_394);
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
+ stringBuffer.append(TEXT_395);
+ }
+ stringBuffer.append(TEXT_396);
+ if (genItemType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_397);
+ stringBuffer.append(genItemType.getName());
+ stringBuffer.append(TEXT_398);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_399);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_400);
+ } else {
+ stringBuffer.append(TEXT_401);
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_402);
+ stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_403);
+ stringBuffer.append(item);
+ stringBuffer.append(TEXT_404);
+ }
+ stringBuffer.append(TEXT_405);
+ }
+ } else if (!genDataType.getMemberTypes().isEmpty()) {
+ if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_406);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_407);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_408);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_409);
+ stringBuffer.append(genDataType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_410);
+ }
+ stringBuffer.append(TEXT_411);
+ } else {
+ stringBuffer.append(TEXT_412);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_413);
+ }
+ } else {
+ stringBuffer.append(TEXT_414);
+ for (GenDataType genMemberType : genDataType.getMemberTypes()) {
+ stringBuffer.append(TEXT_415);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_416);
+ if (genMemberType.getGenPackage() == genPackage) {
+ stringBuffer.append(TEXT_417);
+ stringBuffer.append(genMemberType.getName());
+ stringBuffer.append(TEXT_418);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_419);
+ } else {
+ stringBuffer.append(TEXT_420);
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_421);
+ stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_422);
+ }
+ stringBuffer.append(TEXT_423);
+ }
+ stringBuffer.append(TEXT_424);
+ }
+ } else if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_425);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_426);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_427);
+ }
+ stringBuffer.append(TEXT_428);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_429);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_430);
+ stringBuffer.append(genDataType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_431);
+ }
+ stringBuffer.append(TEXT_432);
+ } else {
+ stringBuffer.append(TEXT_433);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_434);
+ stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_435);
+ }
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ stringBuffer.append(TEXT_436);
+ } else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_437);
+ stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
+ stringBuffer.append(TEXT_438);
+ } else {
+ stringBuffer.append(TEXT_439);
+ }
+ stringBuffer.append(TEXT_440);
+ }
+ }
+ } else {
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (genClass.hasFactoryInterfaceCreateMethod()) {
+ stringBuffer.append(TEXT_441);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_442);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_443);
+ stringBuffer.append(genClass.getTypeParameters());
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_444);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_445);
+ }
+ }
+ if (genPackage.isDataTypeConverters()) {
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ if (genDataType.isSerializable()) {
+ stringBuffer.append(TEXT_446);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_447);
+ stringBuffer.append(genDataType.getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_448);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_449);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_450);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_451);
+ stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_452);
+ }
+ }
+ }
+ }
+ if (!isImplementation && !genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_453);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_454);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_455);
+ } else if (isImplementation) {
+ stringBuffer.append(TEXT_456);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_457);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_458);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_459);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_460);
+ }
+ stringBuffer.append(TEXT_461);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_462);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_463);
+ }
+ stringBuffer.append(TEXT_464);
+ stringBuffer.append(isInterface ? genPackage.getFactoryInterfaceName() : genPackage.getFactoryClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_465);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genPackage.hasClassifiers() && !genModel.isSuppressInterfaces());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Interface.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Interface.java
new file mode 100644
index 0000000..a7a3ef0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Interface.java
@@ -0,0 +1,2288 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Interface extends org.eclipse.egf.emf.pattern.base.GenClassJava {
+ protected static String nl;
+
+ public static synchronized Interface create(String lineSeparator) {
+ nl = lineSeparator;
+ Interface result = new Interface();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";";
+ protected final String TEXT_4 = NL + "package ";
+ protected final String TEXT_5 = ";";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL;
+ protected final String TEXT_9 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model object '<em><b>";
+ protected final String TEXT_10 = "</b></em>'." + NL + " * <!-- end-user-doc -->" + NL + " * <p>";
+ protected final String TEXT_11 = NL + " * The following features are implemented:" + NL + " * <ul>";
+ protected final String TEXT_12 = NL + " * <li>{@link ";
+ protected final String TEXT_13 = "#";
+ protected final String TEXT_14 = " <em>";
+ protected final String TEXT_15 = "</em>}</li>";
+ protected final String TEXT_16 = NL + " * </ul>";
+ protected final String TEXT_17 = NL + " * </p>" + NL + " *" + NL + " * @generated" + NL + " */";
+ protected final String TEXT_18 = NL + "public";
+ protected final String TEXT_19 = " abstract";
+ protected final String TEXT_20 = " class ";
+ protected final String TEXT_21 = NL + "public interface ";
+ protected final String TEXT_22 = NL + "{";
+ protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_24 = " copyright = ";
+ protected final String TEXT_25 = ";";
+ protected final String TEXT_26 = NL;
+ protected final String TEXT_27 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_28 = " mofDriverNumber = \"";
+ protected final String TEXT_29 = "\";";
+ protected final String TEXT_30 = NL;
+ protected final String TEXT_31 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate static final long serialVersionUID = 1L;" + NL;
+ protected final String TEXT_32 = NL + "\t/**" + NL
+ + "\t * An array of objects representing the values of non-primitive features." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_33 = NL + "\t@";
+ protected final String TEXT_34 = NL + "\tprotected Object[] ";
+ protected final String TEXT_35 = ";" + NL;
+ protected final String TEXT_36 = NL + "\t/**" + NL
+ + "\t * A bit field representing the indices of non-primitive feature values." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_37 = NL + "\t@";
+ protected final String TEXT_38 = NL + "\tprotected int ";
+ protected final String TEXT_39 = ";" + NL;
+ protected final String TEXT_40 = NL
+ + "\t/**"
+ + NL
+ + "\t * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_41 = NL + "\t@";
+ protected final String TEXT_42 = NL + "\tprotected int ";
+ protected final String TEXT_43 = " = 0;" + NL;
+ protected final String TEXT_44 = NL + "\t/**" + NL + "\t * The empty value for the '{@link #";
+ protected final String TEXT_45 = "() <em>";
+ protected final String TEXT_46 = "</em>}' array accessor." + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_47 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_48 = NL + "\t@SuppressWarnings(\"rawtypes\")";
+ protected final String TEXT_49 = NL + "\tprotected static final ";
+ protected final String TEXT_50 = "[] ";
+ protected final String TEXT_51 = "_EEMPTY_ARRAY = new ";
+ protected final String TEXT_52 = " [0]";
+ protected final String TEXT_53 = ";" + NL;
+ protected final String TEXT_54 = NL;
+ protected final String TEXT_55 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
+ protected final String TEXT_56 = " = ";
+ protected final String TEXT_57 = ".getFeatureID(";
+ protected final String TEXT_58 = ") - ";
+ protected final String TEXT_59 = ";" + NL;
+ protected final String TEXT_60 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
+ protected final String TEXT_61 = " = ";
+ protected final String TEXT_62 = ".getFeatureID(";
+ protected final String TEXT_63 = ") - ";
+ protected final String TEXT_64 = ";" + NL;
+ protected final String TEXT_65 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate static final int \"EOPERATION_OFFSET_CORRECTION\" = ";
+ protected final String TEXT_66 = ".getOperationID(";
+ protected final String TEXT_67 = ") - ";
+ protected final String TEXT_68 = ";" + NL;
+ protected final String TEXT_69 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_70 = "public";
+ protected final String TEXT_71 = "protected";
+ protected final String TEXT_72 = " ";
+ protected final String TEXT_73 = "()" + NL + "\t{";
+ protected final String TEXT_74 = NL;
+ protected final String TEXT_75 = NL + "\t\t";
+ protected final String TEXT_76 = " |= ";
+ protected final String TEXT_77 = "_EFLAG";
+ protected final String TEXT_78 = "_DEFAULT";
+ protected final String TEXT_79 = ";";
+ protected final String TEXT_80 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_81 = NL + "\t@Override";
+ protected final String TEXT_82 = NL + "\tprotected ";
+ protected final String TEXT_83 = " eStaticClass()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_84 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_85 = NL;
+ protected final String TEXT_86 = NL;
+ protected final String TEXT_87 = NL;
+ protected final String TEXT_88 = NL;
+ protected final String TEXT_89 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_90 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_91 = NL + "\t@Override";
+ protected final String TEXT_92 = NL + "\tpublic ";
+ protected final String TEXT_93 = " eInverseAdd(";
+ protected final String TEXT_94 = " otherEnd, int featureID, ";
+ protected final String TEXT_95 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_96 = ")" + NL + "\t\t{";
+ protected final String TEXT_97 = NL + "\t\t\tcase ";
+ protected final String TEXT_98 = ":";
+ protected final String TEXT_99 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_100 = "(";
+ protected final String TEXT_101 = ".InternalMapView";
+ protected final String TEXT_102 = ")";
+ protected final String TEXT_103 = "()).eMap()).basicAdd(otherEnd, msgs);";
+ protected final String TEXT_104 = NL + "\t\t\t\treturn (";
+ protected final String TEXT_105 = "()).basicAdd(otherEnd, msgs);";
+ protected final String TEXT_106 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL
+ + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);";
+ protected final String TEXT_107 = NL + "\t\t\t\treturn basicSet";
+ protected final String TEXT_108 = "((";
+ protected final String TEXT_109 = ")otherEnd, msgs);";
+ protected final String TEXT_110 = NL + "\t\t\t\treturn eBasicSetContainer(otherEnd, ";
+ protected final String TEXT_111 = ", msgs);";
+ protected final String TEXT_112 = NL + "\t\t\t\t";
+ protected final String TEXT_113 = " ";
+ protected final String TEXT_114 = " = (";
+ protected final String TEXT_115 = ")eVirtualGet(";
+ protected final String TEXT_116 = ");";
+ protected final String TEXT_117 = NL + "\t\t\t\t";
+ protected final String TEXT_118 = " ";
+ protected final String TEXT_119 = " = ";
+ protected final String TEXT_120 = "basicGet";
+ protected final String TEXT_121 = "();";
+ protected final String TEXT_122 = NL + "\t\t\t\tif (";
+ protected final String TEXT_123 = " != null)";
+ protected final String TEXT_124 = NL + "\t\t\t\t\tmsgs = ((";
+ protected final String TEXT_125 = ")";
+ protected final String TEXT_126 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_127 = ", null, msgs);";
+ protected final String TEXT_128 = NL + "\t\t\t\t\tmsgs = ((";
+ protected final String TEXT_129 = ")";
+ protected final String TEXT_130 = ").eInverseRemove(this, ";
+ protected final String TEXT_131 = ", ";
+ protected final String TEXT_132 = ".class, msgs);";
+ protected final String TEXT_133 = NL + "\t\t\t\treturn basicSet";
+ protected final String TEXT_134 = "((";
+ protected final String TEXT_135 = ")otherEnd, msgs);";
+ protected final String TEXT_136 = NL + "\t\t}";
+ protected final String TEXT_137 = NL + "\t\treturn super.eInverseAdd(otherEnd, featureID, msgs);";
+ protected final String TEXT_138 = NL + "\t\treturn eDynamicInverseAdd(otherEnd, featureID, msgs);";
+ protected final String TEXT_139 = NL + "\t}" + NL;
+ protected final String TEXT_140 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_141 = NL + "\t@Override";
+ protected final String TEXT_142 = NL + "\tpublic ";
+ protected final String TEXT_143 = " eInverseRemove(";
+ protected final String TEXT_144 = " otherEnd, int featureID, ";
+ protected final String TEXT_145 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_146 = ")" + NL + "\t\t{";
+ protected final String TEXT_147 = NL + "\t\t\tcase ";
+ protected final String TEXT_148 = ":";
+ protected final String TEXT_149 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_150 = ")((";
+ protected final String TEXT_151 = ".InternalMapView";
+ protected final String TEXT_152 = ")";
+ protected final String TEXT_153 = "()).eMap()).basicRemove(otherEnd, msgs);";
+ protected final String TEXT_154 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_155 = ")((";
+ protected final String TEXT_156 = ".Internal.Wrapper)";
+ protected final String TEXT_157 = "()).featureMap()).basicRemove(otherEnd, msgs);";
+ protected final String TEXT_158 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_159 = ")";
+ protected final String TEXT_160 = "()).basicRemove(otherEnd, msgs);";
+ protected final String TEXT_161 = NL + "\t\t\t\treturn eBasicSetContainer(null, ";
+ protected final String TEXT_162 = ", msgs);";
+ protected final String TEXT_163 = NL + "\t\t\t\treturn basicUnset";
+ protected final String TEXT_164 = "(msgs);";
+ protected final String TEXT_165 = NL + "\t\t\t\treturn basicSet";
+ protected final String TEXT_166 = "(null, msgs);";
+ protected final String TEXT_167 = NL + "\t\t}";
+ protected final String TEXT_168 = NL + "\t\treturn super.eInverseRemove(otherEnd, featureID, msgs);";
+ protected final String TEXT_169 = NL + "\t\treturn eDynamicInverseRemove(otherEnd, featureID, msgs);";
+ protected final String TEXT_170 = NL + "\t}" + NL;
+ protected final String TEXT_171 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_172 = NL + "\t@Override";
+ protected final String TEXT_173 = NL + "\tpublic ";
+ protected final String TEXT_174 = " eBasicRemoveFromContainerFeature(";
+ protected final String TEXT_175 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (eContainerFeatureID()";
+ protected final String TEXT_176 = ")" + NL + "\t\t{";
+ protected final String TEXT_177 = NL + "\t\t\tcase ";
+ protected final String TEXT_178 = ":" + NL + "\t\t\t\treturn eInternalContainer().eInverseRemove(this, ";
+ protected final String TEXT_179 = ", ";
+ protected final String TEXT_180 = ".class, msgs);";
+ protected final String TEXT_181 = NL + "\t\t}";
+ protected final String TEXT_182 = NL + "\t\treturn super.eBasicRemoveFromContainerFeature(msgs);";
+ protected final String TEXT_183 = NL + "\t\treturn eDynamicBasicRemoveFromContainer(msgs);";
+ protected final String TEXT_184 = NL + "\t}" + NL;
+ protected final String TEXT_185 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_186 = NL + "\t@Override";
+ protected final String TEXT_187 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)"
+ + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_188 = ")" + NL + "\t\t{";
+ protected final String TEXT_189 = NL + "\t\t\tcase ";
+ protected final String TEXT_190 = ":";
+ protected final String TEXT_191 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_192 = "();";
+ protected final String TEXT_193 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_194 = "() ? Boolean.TRUE : Boolean.FALSE;";
+ protected final String TEXT_195 = NL + "\t\t\t\treturn new ";
+ protected final String TEXT_196 = "(";
+ protected final String TEXT_197 = "());";
+ protected final String TEXT_198 = NL + "\t\t\t\tif (resolve) return ";
+ protected final String TEXT_199 = "();" + NL + "\t\t\t\treturn basicGet";
+ protected final String TEXT_200 = "();";
+ protected final String TEXT_201 = NL + "\t\t\t\tif (coreType) return ((";
+ protected final String TEXT_202 = ".InternalMapView";
+ protected final String TEXT_203 = ")";
+ protected final String TEXT_204 = "()).eMap();" + NL + "\t\t\t\telse return ";
+ protected final String TEXT_205 = "();";
+ protected final String TEXT_206 = NL + "\t\t\t\tif (coreType) return ";
+ protected final String TEXT_207 = "();" + NL + "\t\t\t\telse return ";
+ protected final String TEXT_208 = "().map();";
+ protected final String TEXT_209 = NL + "\t\t\t\tif (coreType) return ((";
+ protected final String TEXT_210 = ".Internal.Wrapper)";
+ protected final String TEXT_211 = "()).featureMap();" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_212 = "();";
+ protected final String TEXT_213 = NL + "\t\t\t\tif (coreType) return ";
+ protected final String TEXT_214 = "();" + NL + "\t\t\t\treturn ((";
+ protected final String TEXT_215 = ".Internal)";
+ protected final String TEXT_216 = "()).getWrapper();";
+ protected final String TEXT_217 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_218 = "();";
+ protected final String TEXT_219 = NL + "\t\t}";
+ protected final String TEXT_220 = NL + "\t\treturn super.eGet(featureID, resolve, coreType);";
+ protected final String TEXT_221 = NL + "\t\treturn eDynamicGet(featureID, resolve, coreType);";
+ protected final String TEXT_222 = NL + "\t}" + NL;
+ protected final String TEXT_223 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_224 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_225 = NL + "\t@Override";
+ protected final String TEXT_226 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
+ protected final String TEXT_227 = ")" + NL + "\t\t{";
+ protected final String TEXT_228 = NL + "\t\t\tcase ";
+ protected final String TEXT_229 = ":";
+ protected final String TEXT_230 = NL + "\t\t\t\t((";
+ protected final String TEXT_231 = ".Internal)((";
+ protected final String TEXT_232 = ".Internal.Wrapper)";
+ protected final String TEXT_233 = "()).featureMap()).set(newValue);";
+ protected final String TEXT_234 = NL + "\t\t\t\t((";
+ protected final String TEXT_235 = ".Internal)";
+ protected final String TEXT_236 = "()).set(newValue);";
+ protected final String TEXT_237 = NL + "\t\t\t\t((";
+ protected final String TEXT_238 = ".Setting)((";
+ protected final String TEXT_239 = ".InternalMapView";
+ protected final String TEXT_240 = ")";
+ protected final String TEXT_241 = "()).eMap()).set(newValue);";
+ protected final String TEXT_242 = NL + "\t\t\t\t((";
+ protected final String TEXT_243 = ".Setting)";
+ protected final String TEXT_244 = "()).set(newValue);";
+ protected final String TEXT_245 = NL + "\t\t\t\t";
+ protected final String TEXT_246 = "().clear();" + NL + "\t\t\t\t";
+ protected final String TEXT_247 = "().addAll((";
+ protected final String TEXT_248 = "<? extends ";
+ protected final String TEXT_249 = ">";
+ protected final String TEXT_250 = ")newValue);";
+ protected final String TEXT_251 = NL + "\t\t\t\tset";
+ protected final String TEXT_252 = "(((";
+ protected final String TEXT_253 = ")newValue).";
+ protected final String TEXT_254 = "());";
+ protected final String TEXT_255 = NL + "\t\t\t\tset";
+ protected final String TEXT_256 = "(";
+ protected final String TEXT_257 = "(";
+ protected final String TEXT_258 = ")";
+ protected final String TEXT_259 = "newValue);";
+ protected final String TEXT_260 = NL + "\t\t\t\treturn;";
+ protected final String TEXT_261 = NL + "\t\t}";
+ protected final String TEXT_262 = NL + "\t\tsuper.eSet(featureID, newValue);";
+ protected final String TEXT_263 = NL + "\t\teDynamicSet(featureID, newValue);";
+ protected final String TEXT_264 = NL + "\t}" + NL;
+ protected final String TEXT_265 = NL;
+ protected final String TEXT_266 = NL;
+ protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_268 = NL + "\t@Override";
+ protected final String TEXT_269 = NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class";
+ protected final String TEXT_270 = " baseClass)" + NL + "\t{";
+ protected final String TEXT_271 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_272 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (derivedFeatureID";
+ protected final String TEXT_273 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_274 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_275 = ": return ";
+ protected final String TEXT_276 = ";";
+ protected final String TEXT_277 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_278 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);"
+ + NL + "\t}";
+ protected final String TEXT_279 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_280 = NL + "\t@Override";
+ protected final String TEXT_281 = NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class";
+ protected final String TEXT_282 = " baseClass)" + NL + "\t{";
+ protected final String TEXT_283 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_284 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID)" + NL + "\t\t\t{";
+ protected final String TEXT_285 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_286 = ": return ";
+ protected final String TEXT_287 = ";";
+ protected final String TEXT_288 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_289 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_290 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID";
+ protected final String TEXT_291 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_292 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_293 = ": return ";
+ protected final String TEXT_294 = ";";
+ protected final String TEXT_295 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_296 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);"
+ + NL + "\t}" + NL;
+ protected final String TEXT_297 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_298 = NL + "\t@Override";
+ protected final String TEXT_299 = NL + "\tpublic int eDerivedOperationID(int baseOperationID, Class";
+ protected final String TEXT_300 = " baseClass)" + NL + "\t{";
+ protected final String TEXT_301 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_302 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{";
+ protected final String TEXT_303 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_304 = ": return ";
+ protected final String TEXT_305 = ";";
+ protected final String TEXT_306 = NL
+ + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL
+ + "\t\t}";
+ protected final String TEXT_307 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_308 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{";
+ protected final String TEXT_309 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_310 = ": return ";
+ protected final String TEXT_311 = ";";
+ protected final String TEXT_312 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_313 = NL + "\t\tif (baseClass == ";
+ protected final String TEXT_314 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID";
+ protected final String TEXT_315 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_316 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_317 = ": return ";
+ protected final String TEXT_318 = ";";
+ protected final String TEXT_319 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_320 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_321 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_322 = NL + "\t@Override";
+ protected final String TEXT_323 = NL + "\tprotected Object[] eVirtualValues()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_324 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_325 = NL + "\t@Override";
+ protected final String TEXT_326 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL
+ + "\t\t";
+ protected final String TEXT_327 = " = newValues;" + NL + "\t}" + NL;
+ protected final String TEXT_328 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_329 = NL + "\t@Override";
+ protected final String TEXT_330 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL
+ + "\t\tswitch (offset)" + NL + "\t\t{";
+ protected final String TEXT_331 = NL + "\t\t\tcase ";
+ protected final String TEXT_332 = " :" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_333 = ";";
+ protected final String TEXT_334 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();"
+ + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_335 = NL + "\t@Override";
+ protected final String TEXT_336 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL
+ + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{";
+ protected final String TEXT_337 = NL + "\t\t\tcase ";
+ protected final String TEXT_338 = " :" + NL + "\t\t\t\t";
+ protected final String TEXT_339 = " = newIndexBits;" + NL + "\t\t\t\tbreak;";
+ protected final String TEXT_340 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_341 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_342 = NL + "\t@Override";
+ protected final String TEXT_343 = NL + "\t@SuppressWarnings(";
+ protected final String TEXT_344 = "\"unchecked\"";
+ protected final String TEXT_345 = "{\"rawtypes\", \"unchecked\" }";
+ protected final String TEXT_346 = ")";
+ protected final String TEXT_347 = NL + "\tpublic Object eInvoke(int operationID, ";
+ protected final String TEXT_348 = " arguments) throws ";
+ protected final String TEXT_349 = NL + "\t{" + NL + "\t\tswitch (operationID";
+ protected final String TEXT_350 = ")" + NL + "\t\t{";
+ protected final String TEXT_351 = NL + "\t\t\tcase ";
+ protected final String TEXT_352 = ":";
+ protected final String TEXT_353 = NL + "\t\t\t\ttry" + NL + "\t\t\t\t{";
+ protected final String TEXT_354 = NL + "\t\t\t\t";
+ protected final String TEXT_355 = "(";
+ protected final String TEXT_356 = "(";
+ protected final String TEXT_357 = "(";
+ protected final String TEXT_358 = ")";
+ protected final String TEXT_359 = "arguments.get(";
+ protected final String TEXT_360 = ")";
+ protected final String TEXT_361 = ").";
+ protected final String TEXT_362 = "()";
+ protected final String TEXT_363 = ", ";
+ protected final String TEXT_364 = ");" + NL + "\t\t\t\t";
+ protected final String TEXT_365 = "return null;";
+ protected final String TEXT_366 = NL + "\t\t\t\t";
+ protected final String TEXT_367 = "return ";
+ protected final String TEXT_368 = "new ";
+ protected final String TEXT_369 = "(";
+ protected final String TEXT_370 = "(";
+ protected final String TEXT_371 = "(";
+ protected final String TEXT_372 = "(";
+ protected final String TEXT_373 = ")";
+ protected final String TEXT_374 = "arguments.get(";
+ protected final String TEXT_375 = ")";
+ protected final String TEXT_376 = ").";
+ protected final String TEXT_377 = "()";
+ protected final String TEXT_378 = ", ";
+ protected final String TEXT_379 = ")";
+ protected final String TEXT_380 = ")";
+ protected final String TEXT_381 = ";";
+ protected final String TEXT_382 = NL + "\t\t\t\t}" + NL + "\t\t\t\tcatch (";
+ protected final String TEXT_383 = " throwable)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tthrow new ";
+ protected final String TEXT_384 = "(throwable);" + NL + "\t\t\t\t}";
+ protected final String TEXT_385 = NL + "\t\t}";
+ protected final String TEXT_386 = NL + "\t\treturn super.eInvoke(operationID, arguments);";
+ protected final String TEXT_387 = NL + "\t\treturn eDynamicInvoke(operationID, arguments);";
+ protected final String TEXT_388 = NL + "\t}" + NL;
+ protected final String TEXT_389 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_390 = NL + "\t@Override";
+ protected final String TEXT_391 = NL + "\tpublic String toString()" + NL + "\t{" + NL
+ + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL
+ + "\t\tStringBuffer result = new StringBuffer(super.toString());";
+ protected final String TEXT_392 = NL + "\t\tresult.append(\" (";
+ protected final String TEXT_393 = ": \");";
+ protected final String TEXT_394 = NL + "\t\tresult.append(\", ";
+ protected final String TEXT_395 = ": \");";
+ protected final String TEXT_396 = NL + "\t\tif (eVirtualIsSet(";
+ protected final String TEXT_397 = ")) result.append(eVirtualGet(";
+ protected final String TEXT_398 = ")); else result.append(\"<unset>\");";
+ protected final String TEXT_399 = NL + "\t\tif (";
+ protected final String TEXT_400 = "(";
+ protected final String TEXT_401 = " & ";
+ protected final String TEXT_402 = "_ESETFLAG) != 0";
+ protected final String TEXT_403 = "ESet";
+ protected final String TEXT_404 = ") result.append((";
+ protected final String TEXT_405 = " & ";
+ protected final String TEXT_406 = "_EFLAG) != 0); else result.append(\"<unset>\");";
+ protected final String TEXT_407 = NL + "\t\tif (";
+ protected final String TEXT_408 = "(";
+ protected final String TEXT_409 = " & ";
+ protected final String TEXT_410 = "_ESETFLAG) != 0";
+ protected final String TEXT_411 = "ESet";
+ protected final String TEXT_412 = ") result.append(";
+ protected final String TEXT_413 = "_EFLAG_VALUES[(";
+ protected final String TEXT_414 = " & ";
+ protected final String TEXT_415 = "_EFLAG) >>> ";
+ protected final String TEXT_416 = "_EFLAG_OFFSET]); else result.append(\"<unset>\");";
+ protected final String TEXT_417 = NL + "\t\tif (";
+ protected final String TEXT_418 = "(";
+ protected final String TEXT_419 = " & ";
+ protected final String TEXT_420 = "_ESETFLAG) != 0";
+ protected final String TEXT_421 = "ESet";
+ protected final String TEXT_422 = ") result.append(";
+ protected final String TEXT_423 = "); else result.append(\"<unset>\");";
+ protected final String TEXT_424 = NL + "\t\tresult.append(eVirtualGet(";
+ protected final String TEXT_425 = ", ";
+ protected final String TEXT_426 = "));";
+ protected final String TEXT_427 = NL + "\t\tresult.append((";
+ protected final String TEXT_428 = " & ";
+ protected final String TEXT_429 = "_EFLAG) != 0);";
+ protected final String TEXT_430 = NL + "\t\tresult.append(";
+ protected final String TEXT_431 = "_EFLAG_VALUES[(";
+ protected final String TEXT_432 = " & ";
+ protected final String TEXT_433 = "_EFLAG) >>> ";
+ protected final String TEXT_434 = "_EFLAG_OFFSET]);";
+ protected final String TEXT_435 = NL + "\t\tresult.append(";
+ protected final String TEXT_436 = ");";
+ protected final String TEXT_437 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL
+ + "\t}" + NL;
+ protected final String TEXT_438 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_439 = NL + "\t@";
+ protected final String TEXT_440 = NL + "\tprotected int hash = -1;" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic int getHash()" + NL + "\t{" + NL + "\t\tif (hash == -1)" + NL + "\t\t{" + NL
+ + "\t\t\t";
+ protected final String TEXT_441 = " theKey = getKey();" + NL
+ + "\t\t\thash = (theKey == null ? 0 : theKey.hashCode());" + NL + "\t\t}" + NL + "\t\treturn hash;" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setHash(int hash)" + NL + "\t{" + NL
+ + "\t\tthis.hash = hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_442 = " getKey()" + NL + "\t{";
+ protected final String TEXT_443 = NL + "\t\treturn new ";
+ protected final String TEXT_444 = "(getTypedKey());";
+ protected final String TEXT_445 = NL + "\t\treturn getTypedKey();";
+ protected final String TEXT_446 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey(";
+ protected final String TEXT_447 = " key)" + NL + "\t{";
+ protected final String TEXT_448 = NL + "\t\tgetTypedKey().addAll(";
+ protected final String TEXT_449 = "(";
+ protected final String TEXT_450 = ")";
+ protected final String TEXT_451 = "key);";
+ protected final String TEXT_452 = NL + "\t\tsetTypedKey(key);";
+ protected final String TEXT_453 = NL + "\t\tsetTypedKey(((";
+ protected final String TEXT_454 = ")key).";
+ protected final String TEXT_455 = "());";
+ protected final String TEXT_456 = NL + "\t\tsetTypedKey((";
+ protected final String TEXT_457 = ")key);";
+ protected final String TEXT_458 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_459 = " getValue()" + NL + "\t{";
+ protected final String TEXT_460 = NL + "\t\treturn new ";
+ protected final String TEXT_461 = "(getTypedValue());";
+ protected final String TEXT_462 = NL + "\t\treturn getTypedValue();";
+ protected final String TEXT_463 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_464 = " setValue(";
+ protected final String TEXT_465 = " value)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_466 = " oldValue = getValue();";
+ protected final String TEXT_467 = NL + "\t\tgetTypedValue().clear();" + NL + "\t\tgetTypedValue().addAll(";
+ protected final String TEXT_468 = "(";
+ protected final String TEXT_469 = ")";
+ protected final String TEXT_470 = "value);";
+ protected final String TEXT_471 = NL + "\t\tsetTypedValue(value);";
+ protected final String TEXT_472 = NL + "\t\tsetTypedValue(((";
+ protected final String TEXT_473 = ")value).";
+ protected final String TEXT_474 = "());";
+ protected final String TEXT_475 = NL + "\t\tsetTypedValue((";
+ protected final String TEXT_476 = ")value);";
+ protected final String TEXT_477 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_478 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_479 = NL + "\tpublic ";
+ protected final String TEXT_480 = " getEMap()" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_481 = " container = eContainer();" + NL + "\t\treturn container == null ? null : (";
+ protected final String TEXT_482 = ")container.eGet(eContainmentFeature());" + NL + "\t}" + NL;
+ protected final String TEXT_483 = NL;
+ protected final String TEXT_484 = NL + "} //";
+ protected final String TEXT_485 = NL;
+ protected final String TEXT_486 = NL;
+ protected final String TEXT_487 = NL;
+
+ public Interface() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_486);
+ stringBuffer.append(TEXT_487);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenClass genClass = parameter;
+ targetPath = genClass.getGenModel().getModelDirectory();
+ packageName = genClass.getGenPackage().getInterfacePackageName();
+ className = genClass.getInterfaceName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenClass genClass = parameter;
+ argument = ((Object[]) new Object[] { new Object[] { genClass, Boolean.TRUE, Boolean.FALSE } })[0];
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2011 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ final GenClass genClass = (GenClass) ((Object[]) argument)[0];
+ final GenPackage genPackage = genClass.getGenPackage();
+ final GenModel genModel = genPackage.getGenModel();
+ final boolean isJDK50 = genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50;
+ final boolean isInterface = Boolean.TRUE.equals(((Object[]) argument)[1]);
+ final boolean isImplementation = Boolean.TRUE.equals(((Object[]) argument)[2]);
+ final boolean isGWT = genModel.getRuntimePlatform() == GenRuntimePlatform.GWT;
+ final String publicStaticFinalFlag = isImplementation ? "public static final " : "";
+ final String singleWildcard = isJDK50 ? "<?>" : "";
+ final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - "
+ + genClass.getOffsetCorrectionField(null) : "";
+ final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(null) : "";
+ final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION"
+ : "";
+ final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION"
+ : "";
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getClassPackageName());
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ genModel.markImportLocation(stringBuffer, genPackage);
+ if (isImplementation) {
+ genClass.addClassPsuedoImports();
+ }
+ stringBuffer.append(TEXT_7);
+ if (isInterface) {
+ stringBuffer.append(TEXT_8);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.interface.javadoc.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_BsLUkeXDEeCxnsoQRwU99Q",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/interface.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_10);
+ if (!genClass.getImplementedGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_11);
+ for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ }
+ stringBuffer.append(TEXT_17);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_18);
+ if (genClass.isAbstract()) {
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genClass.getClassName());
+ stringBuffer.append(genClass.getTypeParameters().trim());
+ stringBuffer.append(genClass.getClassExtends());
+ stringBuffer.append(genClass.getClassImplements());
+ } else {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getInterfaceName());
+ stringBuffer.append(genClass.getTypeParameters().trim());
+ stringBuffer.append(genClass.getInterfaceExtends());
+ }
+ stringBuffer.append(TEXT_22);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_26);
+ }
+ if (isImplementation && genModel.getDriverNumber() != null) {
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genModel.getDriverNumber());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_30);
+ }
+ if (isImplementation && genClass.isJavaIOSerializable()) {
+ stringBuffer.append(TEXT_31);
+ }
+ if (isImplementation && genModel.isVirtualDelegation()) {
+ String eVirtualValuesField = genClass.getEVirtualValuesField();
+ if (eVirtualValuesField != null) {
+ stringBuffer.append(TEXT_32);
+ if (isGWT) {
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(eVirtualValuesField);
+ stringBuffer.append(TEXT_35);
+ }
+ {
+ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());
+ if (!eVirtualIndexBitFields.isEmpty()) {
+ for (String eVirtualIndexBitField : eVirtualIndexBitFields) {
+ stringBuffer.append(TEXT_36);
+ if (isGWT) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer
+ .append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(eVirtualIndexBitField);
+ stringBuffer.append(TEXT_39);
+ }
+ }
+ }
+ }
+ if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled()
+ && genModel.getBooleanFlagsReservedBits() == -1) {
+ stringBuffer.append(TEXT_40);
+ if (isGWT) {
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genModel.getBooleanFlagsField());
+ stringBuffer.append(TEXT_43);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()) {
+ for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ String rawListItemType = genFeature.getRawListItemType(genClass);
+ int index = rawListItemType.indexOf('[');
+ String head = rawListItemType;
+ String tail = "";
+ if (index != -1) {
+ head = rawListItemType.substring(0, index);
+ tail = rawListItemType.substring(index);
+ }
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_47);
+ if (genFeature.getQualifiedListItemType(genClass).contains("<")
+ || genFeature.getArrayItemType(genClass).contains("<")) {
+ stringBuffer.append(TEXT_48);
+ }
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(rawListItemType);
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(head);
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(tail);
+ stringBuffer.append(TEXT_53);
+ }
+ }
+ for (GenFeature genFeature : genClass.getDeclaredFieldGenFeatures()) {
+ stringBuffer.append(TEXT_54);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0u0bgWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/declaredFieldGenFeature.override.javajetinc
+ }
+ }
+ if (isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genClass.getOffsetCorrectionField(null));
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genClass.getImplementedGenFeatures().get(0).getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genClass.getImplementedGenFeatures().get(0)));
+ stringBuffer.append(TEXT_59);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()) {
+ for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {
+ GenFeature reverseFeature = genFeature.getReverse();
+ if (reverseFeature != null && reverseFeature.getGenClass().hasOffsetCorrection()) {
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genClass.getOffsetCorrectionField(genFeature));
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(reverseFeature.getGenClass().getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(reverseFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(reverseFeature.getGenClass().getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(TEXT_64);
+ }
+ }
+ }
+ if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection()
+ && !genClass.getImplementedGenOperations().isEmpty()) {
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genClass.getImplementedGenOperations().get(0).getQualifiedOperationAccessor());
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genClass.getQualifiedOperationID(genClass.getImplementedGenOperations().get(0)));
+ stringBuffer.append(TEXT_68);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_69);
+ if (genModel.isPublicConstructors()) {
+ stringBuffer.append(TEXT_70);
+ } else {
+ stringBuffer.append(TEXT_71);
+ }
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genClass.getClassName());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(TEXT_74);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.egfCustom.constructor.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_K9da0HroEeC0XN9kbwkPYQ",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ for (GenFeature genFeature : genClass.getFlagGenFeaturesWithDefault()) {
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_77);
+ if (!genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_78);
+ }
+ stringBuffer.append(TEXT_79);
+ }
+ stringBuffer.append(TEXT_80);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_81);
+ }
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass"));
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.reflectiveDelegation.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vQgYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/reflectiveDelegation.override.javajetinc
+ if (isImplementation) {
+ new Runnable() {
+ public void run() {
+ GenClass classExtendsGenClass = genClass.getClassExtendsGenClass();
+ List<GenFeature> classExtendsAllGenFeatures = classExtendsGenClass == null ? Collections
+ .<GenFeature> emptyList() : classExtendsGenClass.getAllGenFeatures();
+ for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {
+ stringBuffer.append(TEXT_86);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeatureReified.override" args="genFeature:genFeature,classExtendsGenClass:classExtendsGenClass,classExtendsAllGenFeatures:classExtendsAllGenFeatures,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("classExtendsGenClass", classExtendsGenClass);
+ callParameters.put("classExtendsAllGenFeatures", classExtendsAllGenFeatures);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_onysQLM-EeKd56X4hcZPSw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/genFeatureReified.override.javajetinc
+ }
+ }
+ }.run();
+ }
+ new Runnable() {
+ public void run() {
+ for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass
+ .getDeclaredGenFeatures())) {
+ stringBuffer.append(TEXT_87);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vaRYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/genFeature.override.javajetinc
+ }//for
+ }
+ }.run();
+ for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass
+ .getDeclaredGenOperations())) {
+ stringBuffer.append(TEXT_88);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01-MYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/implementedGenOperation.override.javajetinc
+ }//for
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {
+ stringBuffer.append(TEXT_89);
+ if (genModel.useGenerics()) {
+ for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {
+ if (genFeature.isUncheckedCast(genClass)) {
+ stringBuffer.append(TEXT_90);
+ break;
+ }
+ }
+ }
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_91);
+ }
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_96);
+ for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_98);
+ if (genFeature.isListType()) {
+ String cast = "("
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")
+ + (!genModel.useGenerics() ? ")" : "<"
+ + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)("
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");
+ if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(cast);
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass));
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_103);
+ } else {
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(cast);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_105);
+ }
+ } else if (genFeature.isContainer()) {
+ stringBuffer.append(TEXT_106);
+ if (genFeature.isBasicSet()) {
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_109);
+ } else {
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_111);
+ }
+ } else {
+ if (genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_116);
+ } else if (genFeature.isVolatile()
+ || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_119);
+ if (genFeature.isResolveProxies()) {
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genFeature.getAccessorName());
+ } else {
+ stringBuffer.append(genFeature.getGetAccessor());
+ }
+ stringBuffer.append(TEXT_121);
+ }
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_123);
+ if (genFeature.isEffectiveContains()) {
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_127);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_132);
+ }
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_135);
+ }
+ }
+ stringBuffer.append(TEXT_136);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_137);
+ } else {
+ stringBuffer.append(TEXT_138);
+ }
+ stringBuffer.append(TEXT_139);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {
+ stringBuffer.append(TEXT_140);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_141);
+ }
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_146);
+ for (GenFeature genFeature : genClass.getEInverseRemoveGenFeatures()) {
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_148);
+ if (genFeature.isListType()) {
+ if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
+ stringBuffer.append(TEXT_151);
+ stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass));
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_153);
+ } else if (genFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_157);
+ } else {
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_160);
+ }
+ } else if (genFeature.isContainer() && !genFeature.isBasicSet()) {
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_162);
+ } else if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_164);
+ } else {
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_166);
+ }
+ }
+ stringBuffer.append(TEXT_167);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_168);
+ } else {
+ stringBuffer.append(TEXT_169);
+ }
+ stringBuffer.append(TEXT_170);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {
+ stringBuffer.append(TEXT_171);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_172);
+ }
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_176);
+ for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_179);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_180);
+ }
+ stringBuffer.append(TEXT_181);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_182);
+ } else {
+ stringBuffer.append(TEXT_183);
+ }
+ stringBuffer.append(TEXT_184);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEGetGenFeatures())) {
+ stringBuffer.append(TEXT_185);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_186);
+ }
+ stringBuffer.append(TEXT_187);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_188);
+ for (GenFeature genFeature : genClass.getEGetGenFeatures()) {
+ stringBuffer.append(TEXT_189);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_190);
+ if (genFeature.isPrimitiveType()) {
+ if (isJDK50) {
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_192);
+ } else if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_193);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_194);
+ } else {
+ stringBuffer.append(TEXT_195);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_197);
+ }
+ } else if (genFeature.isResolveProxies() && !genFeature.isListType()) {
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_199);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_200);
+ } else if (genFeature.isMapType()) {
+ if (genFeature.isEffectiveSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass));
+ stringBuffer.append(TEXT_203);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_205);
+ } else {
+ stringBuffer.append(TEXT_206);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_208);
+ }
+ } else if (genFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_209);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_210);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_212);
+ } else if (genFeature.isFeatureMapType()) {
+ stringBuffer.append(TEXT_213);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_214);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_216);
+ } else {
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_218);
+ }
+ }
+ stringBuffer.append(TEXT_219);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_220);
+ } else {
+ stringBuffer.append(TEXT_221);
+ }
+ stringBuffer.append(TEXT_222);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getESetGenFeatures())) {
+ stringBuffer.append(TEXT_223);
+ if (genModel.useGenerics()) {
+ for (GenFeature genFeature : genClass.getESetGenFeatures()) {
+ if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ stringBuffer.append(TEXT_224);
+ break;
+ }
+ }
+ }
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_225);
+ }
+ stringBuffer.append(TEXT_226);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_227);
+ for (GenFeature genFeature : genClass.getESetGenFeatures()) {
+ stringBuffer.append(TEXT_228);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_229);
+ if (genFeature.isListType()) {
+ if (genFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_230);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_231);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_233);
+ } else if (genFeature.isFeatureMapType()) {
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_235);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_236);
+ } else if (genFeature.isMapType()) {
+ if (genFeature.isEffectiveSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_237);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_238);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
+ stringBuffer.append(TEXT_239);
+ stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass));
+ stringBuffer.append(TEXT_240);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_241);
+ } else {
+ stringBuffer.append(TEXT_242);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_244);
+ }
+ } else {
+ stringBuffer.append(TEXT_245);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_246);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_247);
+ stringBuffer.append(genModel.getImportedName("java.util.Collection"));
+ if (isJDK50) {
+ stringBuffer.append(TEXT_248);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_249);
+ }
+ stringBuffer.append(TEXT_250);
+ }
+ } else if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_251);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_252);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_253);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_254);
+ } else {
+ stringBuffer.append(TEXT_255);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_256);
+ if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()
+ || !genFeature.getRawType().equals(genFeature.getType(genClass))) {
+ stringBuffer.append(TEXT_257);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_258);
+ }
+ stringBuffer.append(TEXT_259);
+ }
+ stringBuffer.append(TEXT_260);
+ }
+ stringBuffer.append(TEXT_261);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_262);
+ } else {
+ stringBuffer.append(TEXT_263);
+ }
+ stringBuffer.append(TEXT_264);
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {
+ stringBuffer.append(TEXT_265);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eUnset.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03KfMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/eUnset.override.javajetinc
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {
+ stringBuffer.append(TEXT_266);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eIsSet.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03TpIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/eIsSet.override.javajetinc
+ }
+ if (isImplementation
+ && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection()
+ && !genClass.getGenFeatures().isEmpty())) {
+ if (!genClass.getMixinGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_267);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_268);
+ }
+ stringBuffer.append(TEXT_269);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_270);
+ for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {
+ stringBuffer.append(TEXT_271);
+ stringBuffer.append(mixinGenClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_272);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_273);
+ for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_274);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_275);
+ stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_276);
+ }
+ stringBuffer.append(TEXT_277);
+ }
+ stringBuffer.append(TEXT_278);
+ }
+ stringBuffer.append(TEXT_279);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_280);
+ }
+ stringBuffer.append(TEXT_281);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_282);
+ for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {
+ stringBuffer.append(TEXT_283);
+ stringBuffer.append(mixinGenClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_284);
+ for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_285);
+ stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_286);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_287);
+ }
+ stringBuffer.append(TEXT_288);
+ }
+ if (genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_289);
+ stringBuffer.append(genClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_290);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_291);
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_292);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_293);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_294);
+ }
+ stringBuffer.append(TEXT_295);
+ }
+ stringBuffer.append(TEXT_296);
+ }
+ if (genModel.isOperationReflection()
+ && isImplementation
+ && (!genClass.getMixinGenOperations().isEmpty()
+ || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(),
+ genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection()
+ && !genClass.getGenOperations().isEmpty())) {
+ stringBuffer.append(TEXT_297);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_298);
+ }
+ stringBuffer.append(TEXT_299);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_300);
+ for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) {
+ List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations();
+ List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations();
+ if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations)
+ .isEmpty()) {
+ stringBuffer.append(TEXT_301);
+ stringBuffer.append(extendedGenClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_302);
+ for (GenOperation genOperation : extendedImplementedGenOperations) {
+ GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);
+ if (implementedGenOperations.contains(overrideGenOperation)) {
+ stringBuffer.append(TEXT_303);
+ stringBuffer.append(extendedGenClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(TEXT_304);
+ stringBuffer.append(genClass.getQualifiedOperationID(overrideGenOperation));
+ stringBuffer.append(positiveOperationOffsetCorrection);
+ stringBuffer.append(TEXT_305);
+ }
+ }
+ stringBuffer.append(TEXT_306);
+ }
+ }
+ for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {
+ stringBuffer.append(TEXT_307);
+ stringBuffer.append(mixinGenClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_308);
+ for (GenOperation genOperation : mixinGenClass.getGenOperations()) {
+ GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);
+ stringBuffer.append(TEXT_309);
+ stringBuffer.append(mixinGenClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(TEXT_310);
+ stringBuffer
+ .append(genClass
+ .getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation
+ : genOperation));
+ stringBuffer.append(positiveOperationOffsetCorrection);
+ stringBuffer.append(TEXT_311);
+ }
+ stringBuffer.append(TEXT_312);
+ }
+ if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) {
+ stringBuffer.append(TEXT_313);
+ stringBuffer.append(genClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_314);
+ stringBuffer.append(negativeOperationOffsetCorrection);
+ stringBuffer.append(TEXT_315);
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ stringBuffer.append(TEXT_316);
+ stringBuffer.append(genClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(TEXT_317);
+ stringBuffer.append(genClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(positiveOperationOffsetCorrection);
+ stringBuffer.append(TEXT_318);
+ }
+ stringBuffer.append(TEXT_319);
+ }
+ stringBuffer.append(TEXT_320);
+ }
+ if (isImplementation && genModel.isVirtualDelegation()) {
+ String eVirtualValuesField = genClass.getEVirtualValuesField();
+ if (eVirtualValuesField != null) {
+ stringBuffer.append(TEXT_321);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_322);
+ }
+ stringBuffer.append(TEXT_323);
+ stringBuffer.append(eVirtualValuesField);
+ stringBuffer.append(TEXT_324);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_325);
+ }
+ stringBuffer.append(TEXT_326);
+ stringBuffer.append(eVirtualValuesField);
+ stringBuffer.append(TEXT_327);
+ }
+ {
+ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());
+ if (!eVirtualIndexBitFields.isEmpty()) {
+ List<String> allEVirtualIndexBitFields = genClass
+ .getAllEVirtualIndexBitFields(new ArrayList<String>());
+ stringBuffer.append(TEXT_328);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_329);
+ }
+ stringBuffer.append(TEXT_330);
+ for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {
+ stringBuffer.append(TEXT_331);
+ stringBuffer.append(i);
+ stringBuffer.append(TEXT_332);
+ stringBuffer.append(allEVirtualIndexBitFields.get(i));
+ stringBuffer.append(TEXT_333);
+ }
+ stringBuffer.append(TEXT_334);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_335);
+ }
+ stringBuffer.append(TEXT_336);
+ for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {
+ stringBuffer.append(TEXT_337);
+ stringBuffer.append(i);
+ stringBuffer.append(TEXT_338);
+ stringBuffer.append(allEVirtualIndexBitFields.get(i));
+ stringBuffer.append(TEXT_339);
+ }
+ stringBuffer.append(TEXT_340);
+ }
+ }
+ }
+ if (genModel.isOperationReflection() && isImplementation && !genClass.getImplementedGenOperations().isEmpty()) {
+ stringBuffer.append(TEXT_341);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_342);
+ }
+ if (genModel.useGenerics()) {
+ boolean isUnchecked = false;
+ boolean isRaw = false;
+ LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass
+ .getImplementedGenOperations() : genClass.getAllGenOperations())) {
+ for (GenParameter genParameter : genOperation.getGenParameters()) {
+ if (genParameter.isUncheckedCast()) {
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()) {
+ isUnchecked = true;
+ }
+ if (genParameter.usesOperationTypeParameters()
+ && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments()
+ .isEmpty()) {
+ isRaw = true;
+ break LOOP;
+ }
+ }
+ }
+ }
+ if (isUnchecked) {
+ stringBuffer.append(TEXT_343);
+ if (!isRaw) {
+ stringBuffer.append(TEXT_344);
+ } else {
+ stringBuffer.append(TEXT_345);
+ }
+ stringBuffer.append(TEXT_346);
+ }
+ }
+ stringBuffer.append(TEXT_347);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EList"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_348);
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(TEXT_349);
+ stringBuffer.append(negativeOperationOffsetCorrection);
+ stringBuffer.append(TEXT_350);
+ for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass
+ .getImplementedGenOperations() : genClass.getAllGenOperations())) {
+ List<GenParameter> genParameters = genOperation.getGenParameters();
+ int size = genParameters.size();
+ boolean hasCheckedException = genOperation.hasCheckedException();
+ String indent = hasCheckedException ? "\t" : "";
+ stringBuffer.append(TEXT_351);
+ stringBuffer.append(genClass.getQualifiedOperationID(genOperation));
+ stringBuffer.append(TEXT_352);
+ if (hasCheckedException) {
+ stringBuffer.append(TEXT_353);
+ /*}*/}
+ if (genOperation.isVoid()) {
+ stringBuffer.append(TEXT_354);
+ stringBuffer.append(indent);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_355);
+ for (int i = 0; i < size; i++) {
+ GenParameter genParameter = genParameters.get(i);
+ if (!isJDK50 && genParameter.isPrimitiveType()) {
+ stringBuffer.append(TEXT_356);
+ }
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()
+ || !genParameter.usesOperationTypeParameters()
+ && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
+ stringBuffer.append(TEXT_357);
+ stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter
+ .getRawImportedType() : genParameter.getObjectType(genClass));
+ stringBuffer.append(TEXT_358);
+ }
+ stringBuffer.append(TEXT_359);
+ stringBuffer.append(i);
+ stringBuffer.append(TEXT_360);
+ if (!isJDK50 && genParameter.isPrimitiveType()) {
+ stringBuffer.append(TEXT_361);
+ stringBuffer.append(genParameter.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_362);
+ }
+ if (i < (size - 1)) {
+ stringBuffer.append(TEXT_363);
+ }
+ }
+ stringBuffer.append(TEXT_364);
+ stringBuffer.append(indent);
+ stringBuffer.append(TEXT_365);
+ } else {
+ stringBuffer.append(TEXT_366);
+ stringBuffer.append(indent);
+ stringBuffer.append(TEXT_367);
+ if (!isJDK50 && genOperation.isPrimitiveType()) {
+ stringBuffer.append(TEXT_368);
+ stringBuffer.append(genOperation.getObjectType(genClass));
+ stringBuffer.append(TEXT_369);
+ }
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_370);
+ for (int i = 0; i < size; i++) {
+ GenParameter genParameter = genParameters.get(i);
+ if (!isJDK50 && genParameter.isPrimitiveType()) {
+ stringBuffer.append(TEXT_371);
+ }
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()
+ || !genParameter.usesOperationTypeParameters()
+ && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
+ stringBuffer.append(TEXT_372);
+ stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter
+ .getRawImportedType() : genParameter.getObjectType(genClass));
+ stringBuffer.append(TEXT_373);
+ }
+ stringBuffer.append(TEXT_374);
+ stringBuffer.append(i);
+ stringBuffer.append(TEXT_375);
+ if (!isJDK50 && genParameter.isPrimitiveType()) {
+ stringBuffer.append(TEXT_376);
+ stringBuffer.append(genParameter.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_377);
+ }
+ if (i < (size - 1)) {
+ stringBuffer.append(TEXT_378);
+ }
+ }
+ stringBuffer.append(TEXT_379);
+ if (!isJDK50 && genOperation.isPrimitiveType()) {
+ stringBuffer.append(TEXT_380);
+ }
+ stringBuffer.append(TEXT_381);
+ }
+ if (hasCheckedException) {/*{*/
+ stringBuffer.append(TEXT_382);
+ stringBuffer.append(genModel.getImportedName("java.lang.Throwable"));
+ stringBuffer.append(TEXT_383);
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(TEXT_384);
+ }
+ }
+ stringBuffer.append(TEXT_385);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_386);
+ } else {
+ stringBuffer.append(TEXT_387);
+ }
+ stringBuffer.append(TEXT_388);
+ }
+ if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation()
+ && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_389);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_390);
+ }
+ stringBuffer.append(TEXT_391);
+ {
+ boolean first = true;
+ for (GenFeature genFeature : genClass.getToStringGenFeatures()) {
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_392);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_393);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_394);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_395);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genFeature.isUnsettable() && !genFeature.isListType()) {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_396);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_397);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_398);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_399);
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_400);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_401);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_402);
+ } else {
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_403);
+ }
+ stringBuffer.append(TEXT_404);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_405);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_406);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_407);
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_408);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_409);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_410);
+ } else {
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_411);
+ }
+ stringBuffer.append(TEXT_412);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_413);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_414);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_415);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_416);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ } else {
+ stringBuffer.append(TEXT_417);
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_418);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_419);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_420);
+ } else {
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_421);
+ }
+ stringBuffer.append(TEXT_422);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_423);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ }
+ } else {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_424);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ if (!genFeature.isListType() && !genFeature.isReferenceType()) {
+ stringBuffer.append(TEXT_425);
+ stringBuffer.append(genFeature.getEDefault());
+ }
+ stringBuffer.append(TEXT_426);
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_427);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_428);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_429);
+ } else {
+ stringBuffer.append(TEXT_430);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_431);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_432);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_433);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_434);
+ }
+ } else {
+ stringBuffer.append(TEXT_435);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_436);
+ }
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_437);
+ }
+ if (isImplementation && genClass.isMapEntry()) {
+ GenFeature keyFeature = genClass.getMapEntryKeyFeature();
+ GenFeature valueFeature = genClass.getMapEntryValueFeature();
+ String objectType = genModel.getImportedName("java.lang.Object");
+ String keyType = isJDK50 ? keyFeature.getObjectType(genClass) : objectType;
+ String valueType = isJDK50 ? valueFeature.getObjectType(genClass) : objectType;
+ String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap")
+ + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");
+ stringBuffer.append(TEXT_438);
+ if (isGWT) {
+ stringBuffer.append(TEXT_439);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_440);
+ stringBuffer.append(objectType);
+ stringBuffer.append(TEXT_441);
+ stringBuffer.append(keyType);
+ stringBuffer.append(TEXT_442);
+ if (!isJDK50 && keyFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_443);
+ stringBuffer.append(keyFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_444);
+ } else {
+ stringBuffer.append(TEXT_445);
+ }
+ stringBuffer.append(TEXT_446);
+ stringBuffer.append(keyType);
+ stringBuffer.append(TEXT_447);
+ if (keyFeature.isListType()) {
+ stringBuffer.append(TEXT_448);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_449);
+ stringBuffer.append(genModel.getImportedName("java.util.Collection"));
+ stringBuffer.append(TEXT_450);
+ }
+ stringBuffer.append(TEXT_451);
+ } else if (isJDK50) {
+ stringBuffer.append(TEXT_452);
+ } else if (keyFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_453);
+ stringBuffer.append(keyFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_454);
+ stringBuffer.append(keyFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_455);
+ } else {
+ stringBuffer.append(TEXT_456);
+ stringBuffer.append(keyFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_457);
+ }
+ stringBuffer.append(TEXT_458);
+ stringBuffer.append(valueType);
+ stringBuffer.append(TEXT_459);
+ if (!isJDK50 && valueFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_460);
+ stringBuffer.append(valueFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_461);
+ } else {
+ stringBuffer.append(TEXT_462);
+ }
+ stringBuffer.append(TEXT_463);
+ stringBuffer.append(valueType);
+ stringBuffer.append(TEXT_464);
+ stringBuffer.append(valueType);
+ stringBuffer.append(TEXT_465);
+ stringBuffer.append(valueType);
+ stringBuffer.append(TEXT_466);
+ if (valueFeature.isListType()) {
+ stringBuffer.append(TEXT_467);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_468);
+ stringBuffer.append(genModel.getImportedName("java.util.Collection"));
+ stringBuffer.append(TEXT_469);
+ }
+ stringBuffer.append(TEXT_470);
+ } else if (isJDK50) {
+ stringBuffer.append(TEXT_471);
+ } else if (valueFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_472);
+ stringBuffer.append(valueFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_473);
+ stringBuffer.append(valueFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_474);
+ } else {
+ stringBuffer.append(TEXT_475);
+ stringBuffer.append(valueFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_476);
+ }
+ stringBuffer.append(TEXT_477);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_478);
+ }
+ stringBuffer.append(TEXT_479);
+ stringBuffer.append(eMapType);
+ stringBuffer.append(TEXT_480);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(TEXT_481);
+ stringBuffer.append(eMapType);
+ stringBuffer.append(TEXT_482);
+ }
+ stringBuffer.append(TEXT_483);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.insert" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03daIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_484);
+ stringBuffer.append(isInterface ? " " + genClass.getInterfaceName() : genClass.getClassName());
+ // TODO fix the space above
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_485);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenClass genClass = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (!genClass.isExternalInterface() && (!genModel.isSuppressInterfaces() || genClass.isInterface()));
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ManifestMF.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ManifestMF.java
new file mode 100644
index 0000000..a142e08
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ManifestMF.java
@@ -0,0 +1,264 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ManifestMF extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized ManifestMF create(String lineSeparator) {
+ nl = lineSeparator;
+ ManifestMF result = new ManifestMF();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL
+ + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
+ protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL
+ + "Bundle-ClassPath: ";
+ protected final String TEXT_3 = ".jar";
+ protected final String TEXT_4 = ".";
+ protected final String TEXT_5 = NL + "Bundle-Activator: ";
+ protected final String TEXT_6 = "$Implementation";
+ protected final String TEXT_7 = "$Activator";
+ protected final String TEXT_8 = NL + "Bundle-Vendor: %providerName" + NL + "Bundle-Localization: plugin";
+ protected final String TEXT_9 = NL + "Bundle-RequiredExecutionEnvironment: J2SE-1.5";
+ protected final String TEXT_10 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.6";
+ protected final String TEXT_11 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.7";
+ protected final String TEXT_12 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.8";
+ protected final String TEXT_13 = NL + "Export-Package: ";
+ protected final String TEXT_14 = ",";
+ protected final String TEXT_15 = NL + " ";
+ protected final String TEXT_16 = NL + "Require-Bundle: ";
+ protected final String TEXT_17 = ";resolution:=optional;x-installation:=greedy";
+ protected final String TEXT_18 = ";visibility:=reexport";
+ protected final String TEXT_19 = ",";
+ protected final String TEXT_20 = NL + " ";
+ protected final String TEXT_21 = ";resolution:=optional;x-installation:=greedy";
+ protected final String TEXT_22 = ";visibility:=reexport";
+ protected final String TEXT_23 = NL + "Import-Package: org.osgi.framework";
+ protected final String TEXT_24 = NL + "Eclipse-LazyStart: true";
+ protected final String TEXT_25 = NL + "Bundle-ActivationPolicy: lazy" + NL;
+ protected final String TEXT_26 = NL;
+ protected final String TEXT_27 = NL;
+
+ public ManifestMF() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(TEXT_27);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getModelProjectDirectory() + "/META-INF/MANIFEST.MF";
+ overwrite = genModel.isUpdateClasspath();
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genModel.getModelPluginID());
+ stringBuffer.append(TEXT_2);
+ if (genModel.isRuntimeJar()) {
+ stringBuffer.append(genModel.getModelPluginID());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ }
+ if (genModel.hasModelPluginClass()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getQualifiedModelPluginClassName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_7);
+ }
+ }
+ stringBuffer.append(TEXT_8);
+ if (genModel.getComplianceLevel() == GenJDKLevel.JDK50_LITERAL) {
+ stringBuffer.append(TEXT_9);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK60_LITERAL) {
+ stringBuffer.append(TEXT_10);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK70_LITERAL) {
+ stringBuffer.append(TEXT_11);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK80_LITERAL) {
+ stringBuffer.append(TEXT_12);
+ }
+ Iterator<String> packagesIterator = genModel.getModelQualifiedPackageNames().iterator();
+ if (packagesIterator.hasNext()) {
+ String pack = packagesIterator.next();
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(pack);
+ while (packagesIterator.hasNext()) {
+ pack = packagesIterator.next();
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(pack);
+ }
+ }
+ Iterator<String> requiredPluginIterator = genModel.getModelRequiredPlugins().iterator();
+ if (requiredPluginIterator.hasNext()) {
+ String pluginID = requiredPluginIterator.next();
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(pluginID);
+ if (pluginID.startsWith("org.eclipse.core.runtime")) {
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_17);
+ }
+ } else {
+ stringBuffer.append(TEXT_18);
+ }
+ while (requiredPluginIterator.hasNext()) {
+ pluginID = requiredPluginIterator.next();
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(pluginID);
+ if (pluginID.startsWith("org.eclipse.core.runtime")) {
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_21);
+ }
+ } else if (!pluginID.equals("org.eclipse.xtext.xbase.lib")
+ && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {
+ stringBuffer.append(TEXT_22);
+ }
+ }
+ }
+ if (genModel.isOSGiCompatible() && genModel.hasModelPluginClass()) {
+ stringBuffer.append(TEXT_23);
+ }
+ if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22
+ || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
+ stringBuffer.append(TEXT_24);
+ }
+ stringBuffer.append(TEXT_25);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genModel.isBundleManifest())
+ && (genModel.hasPluginSupport() && !genModel.sameModelEditProject() && !genModel
+ .sameModelEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ModuleGWTXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ModuleGWTXML.java
new file mode 100644
index 0000000..1c79da8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ModuleGWTXML.java
@@ -0,0 +1,205 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ModuleGWTXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized ModuleGWTXML create(String lineSeparator) {
+ nl = lineSeparator;
+ ModuleGWTXML result = new ModuleGWTXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ + NL
+ + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">"
+ + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + NL + "<module>";
+ protected final String TEXT_4 = NL + " <inherits name=\"";
+ protected final String TEXT_5 = "\" />";
+ protected final String TEXT_6 = NL + " <source path=\"";
+ protected final String TEXT_7 = "\"/>";
+ protected final String TEXT_8 = NL + "</module>" + NL;
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL;
+
+ public ModuleGWTXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(TEXT_10);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getModelDirectory() + "/" + genModel.getQualifiedModelModuleName().replace(".", "/")
+ + ".gwt.xml";
+ overwrite = false;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ for (String inherits : genModel.getModelModuleInherits()) {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(inherits);
+ stringBuffer.append(TEXT_5);
+ }
+ for (String source : genModel.getModelModuleSources()) {
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(source);
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT && !genModel.sameModelEditProject() && !genModel
+ .sameModelEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageClass.java
new file mode 100644
index 0000000..7410817
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageClass.java
@@ -0,0 +1,2942 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PackageClass extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized PackageClass create(String lineSeparator) {
+ nl = lineSeparator;
+ PackageClass result = new PackageClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";";
+ protected final String TEXT_4 = NL + "package ";
+ protected final String TEXT_5 = ";";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Package</b> for the model." + NL
+ + " * It contains accessors for the meta objects to represent" + NL + " * <ul>" + NL
+ + " * <li>each class,</li>" + NL + " * <li>each feature of each class,</li>";
+ protected final String TEXT_8 = NL + " * <li>each operation of each class,</li>";
+ protected final String TEXT_9 = NL + " * <li>each enum,</li>" + NL + " * <li>and each data type</li>" + NL
+ + " * </ul>" + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_10 = NL + " * <!-- begin-model-doc -->" + NL + " * ";
+ protected final String TEXT_11 = NL + " * <!-- end-model-doc -->";
+ protected final String TEXT_12 = NL + " * @see ";
+ protected final String TEXT_13 = NL + " * @model ";
+ protected final String TEXT_14 = NL + " * ";
+ protected final String TEXT_15 = NL + " * @model";
+ protected final String TEXT_16 = NL + " * @generated" + NL + " */";
+ protected final String TEXT_17 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model <b>Package</b>." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @generated" + NL + " */";
+ protected final String TEXT_18 = NL + "public class ";
+ protected final String TEXT_19 = " extends ";
+ protected final String TEXT_20 = " implements ";
+ protected final String TEXT_21 = NL + "public interface ";
+ protected final String TEXT_22 = " extends ";
+ protected final String TEXT_23 = NL + "{";
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_25 = " copyright = ";
+ protected final String TEXT_26 = ";";
+ protected final String TEXT_27 = NL;
+ protected final String TEXT_28 = NL + "\t/**" + NL + "\t * The package name." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_29 = " eNAME = \"";
+ protected final String TEXT_30 = "\";";
+ protected final String TEXT_31 = NL + NL + "\t/**" + NL + "\t * The package namespace URI." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_32 = " eNS_URI = \"";
+ protected final String TEXT_33 = "\";";
+ protected final String TEXT_34 = NL + NL + "\t/**" + NL + "\t * The package namespace name." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_35 = " eNS_PREFIX = \"";
+ protected final String TEXT_36 = "\";";
+ protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * The package content type ID." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_38 = " eCONTENT_TYPE = \"";
+ protected final String TEXT_39 = "\";";
+ protected final String TEXT_40 = NL + NL + "\t/**" + NL + "\t * The singleton instance of the package." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_41 = " eINSTANCE = ";
+ protected final String TEXT_42 = ".init();" + NL;
+ protected final String TEXT_43 = NL + "\t/**";
+ protected final String TEXT_44 = NL + "\t * The meta object id for the '{@link ";
+ protected final String TEXT_45 = " <em>";
+ protected final String TEXT_46 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_47 = NL + "\t * The meta object id for the '{@link ";
+ protected final String TEXT_48 = " <em>";
+ protected final String TEXT_49 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_50 = NL + "\t * The meta object id for the '{@link ";
+ protected final String TEXT_51 = " <em>";
+ protected final String TEXT_52 = "</em>}' enum." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_53 = NL + "\t * The meta object id for the '<em>";
+ protected final String TEXT_54 = "</em>' data type." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_55 = NL + "\t * @see ";
+ protected final String TEXT_56 = NL + "\t * @see ";
+ protected final String TEXT_57 = "#get";
+ protected final String TEXT_58 = "()" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_59 = "int ";
+ protected final String TEXT_60 = " = ";
+ protected final String TEXT_61 = ";" + NL;
+ protected final String TEXT_62 = NL + "\t/**" + NL + "\t * The feature id for the '<em><b>";
+ protected final String TEXT_63 = "</b></em>' ";
+ protected final String TEXT_64 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_65 = "int ";
+ protected final String TEXT_66 = " = ";
+ protected final String TEXT_67 = ";" + NL;
+ protected final String TEXT_68 = NL + "\t/**" + NL + "\t * The number of structural features of the '<em>";
+ protected final String TEXT_69 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_70 = "int ";
+ protected final String TEXT_71 = " = ";
+ protected final String TEXT_72 = ";" + NL;
+ protected final String TEXT_73 = NL + "\t/**" + NL + "\t * The operation id for the '<em>";
+ protected final String TEXT_74 = "</em>' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_75 = "int ";
+ protected final String TEXT_76 = " = ";
+ protected final String TEXT_77 = ";" + NL;
+ protected final String TEXT_78 = NL + "\t/**" + NL + "\t * The number of operations of the '<em>";
+ protected final String TEXT_79 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_80 = "int ";
+ protected final String TEXT_81 = " = ";
+ protected final String TEXT_82 = ";" + NL;
+ protected final String TEXT_83 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected String packageFilename = \"";
+ protected final String TEXT_84 = "\";";
+ protected final String TEXT_85 = NL;
+ protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
+ protected final String TEXT_87 = " ";
+ protected final String TEXT_88 = " = null;" + NL;
+ protected final String TEXT_89 = NL + "\t/**" + NL
+ + "\t * Creates an instance of the model <b>Package</b>, registered with" + NL
+ + "\t * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package" + NL
+ + "\t * package URI value." + NL + "\t * <p>Note: the correct way to create the package is via the static"
+ + NL + "\t * factory method {@link #init init()}, which also performs" + NL
+ + "\t * initialization of the package, or returns the registered package," + NL
+ + "\t * if one already exists." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @see org.eclipse.emf.ecore.EPackage.Registry" + NL + "\t * @see ";
+ protected final String TEXT_90 = "#eNS_URI" + NL + "\t * @see #init()" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate ";
+ protected final String TEXT_91 = "()" + NL + "\t{" + NL + "\t\tsuper(eNS_URI, ";
+ protected final String TEXT_92 = ");"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprivate static boolean isInited = false;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends."
+ + NL + "\t * " + NL + "\t * <p>This method is used to initialize {@link ";
+ protected final String TEXT_93 = "#eINSTANCE} when that field is accessed."
+ + NL
+ + "\t * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #eNS_URI";
+ protected final String TEXT_94 = NL + "\t * @see #createPackageContents()" + NL
+ + "\t * @see #initializePackageContents()";
+ protected final String TEXT_95 = NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_96 = " init()" + NL + "\t{" + NL + "\t\tif (isInited) return (";
+ protected final String TEXT_97 = ")";
+ protected final String TEXT_98 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_99 = ".eNS_URI);" + NL;
+ protected final String TEXT_100 = NL + "\t\tinitializeRegistryHelpers();" + NL;
+ protected final String TEXT_101 = NL + "\t\t// Obtain or create and register package" + NL + "\t\t";
+ protected final String TEXT_102 = " the";
+ protected final String TEXT_103 = " = (";
+ protected final String TEXT_104 = ")(";
+ protected final String TEXT_105 = ".Registry.INSTANCE.get(eNS_URI) instanceof ";
+ protected final String TEXT_106 = " ? ";
+ protected final String TEXT_107 = ".Registry.INSTANCE.get(eNS_URI) : new ";
+ protected final String TEXT_108 = "());" + NL + "" + NL + "\t\tisInited = true;" + NL;
+ protected final String TEXT_109 = NL + "\t\t// Initialize simple dependencies";
+ protected final String TEXT_110 = NL + "\t\t";
+ protected final String TEXT_111 = ".eINSTANCE.eClass();";
+ protected final String TEXT_112 = NL;
+ protected final String TEXT_113 = NL + "\t\t// Obtain or create and register interdependencies";
+ protected final String TEXT_114 = NL + "\t\t";
+ protected final String TEXT_115 = " ";
+ protected final String TEXT_116 = " = (";
+ protected final String TEXT_117 = ")(";
+ protected final String TEXT_118 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_119 = ".eNS_URI) instanceof ";
+ protected final String TEXT_120 = " ? ";
+ protected final String TEXT_121 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_122 = ".eNS_URI) : ";
+ protected final String TEXT_123 = ".eINSTANCE);";
+ protected final String TEXT_124 = NL;
+ protected final String TEXT_125 = NL + "\t\t// Load packages";
+ protected final String TEXT_126 = NL + "\t\tthe";
+ protected final String TEXT_127 = ".loadPackage();";
+ protected final String TEXT_128 = NL + "\t\t";
+ protected final String TEXT_129 = ".loadPackage();";
+ protected final String TEXT_130 = NL;
+ protected final String TEXT_131 = NL + "\t\t// Create package meta-data objects";
+ protected final String TEXT_132 = NL + "\t\tthe";
+ protected final String TEXT_133 = ".createPackageContents();";
+ protected final String TEXT_134 = NL + "\t\t";
+ protected final String TEXT_135 = ".createPackageContents();";
+ protected final String TEXT_136 = NL + NL + "\t\t// Initialize created meta-data";
+ protected final String TEXT_137 = NL + "\t\tthe";
+ protected final String TEXT_138 = ".initializePackageContents();";
+ protected final String TEXT_139 = NL + "\t\t";
+ protected final String TEXT_140 = ".initializePackageContents();";
+ protected final String TEXT_141 = NL;
+ protected final String TEXT_142 = NL + "\t\t// Fix loaded packages";
+ protected final String TEXT_143 = NL + "\t\tthe";
+ protected final String TEXT_144 = ".fixPackageContents();";
+ protected final String TEXT_145 = NL + "\t\t";
+ protected final String TEXT_146 = ".fixPackageContents();";
+ protected final String TEXT_147 = NL;
+ protected final String TEXT_148 = NL + "\t\t// Register package validator" + NL + "\t\t";
+ protected final String TEXT_149 = ".Registry.INSTANCE.put" + NL + "\t\t\t(the";
+ protected final String TEXT_150 = ", " + NL + "\t\t\t new ";
+ protected final String TEXT_151 = ".Descriptor()" + NL + "\t\t\t {" + NL + "\t\t\t\t public ";
+ protected final String TEXT_152 = " getEValidator()" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return ";
+ protected final String TEXT_153 = ".INSTANCE;" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL;
+ protected final String TEXT_154 = NL + "\t\t// Mark meta-data to indicate it can't be changed" + NL + "\t\tthe";
+ protected final String TEXT_155 = ".freeze();" + NL;
+ protected final String TEXT_156 = NL + " " + NL + "\t\t// Update the registry and return the package" + NL
+ + "\t\t";
+ protected final String TEXT_157 = ".Registry.INSTANCE.put(";
+ protected final String TEXT_158 = ".eNS_URI, the";
+ protected final String TEXT_159 = ");" + NL + "\t\treturn the";
+ protected final String TEXT_160 = ";" + NL + "\t}";
+ protected final String TEXT_161 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void initializeRegistryHelpers()" + NL + "\t{";
+ protected final String TEXT_162 = NL + "\t\t";
+ protected final String TEXT_163 = ".register" + NL + "\t\t\t(";
+ protected final String TEXT_164 = ".class, " + NL + "\t\t\t new ";
+ protected final String TEXT_165 = ".Helper() " + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t return instance instanceof ";
+ protected final String TEXT_166 = ";" + NL + "\t\t\t\t }" + NL + "" + NL
+ + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return new ";
+ protected final String TEXT_167 = "[size];" + NL + "\t\t\t\t }" + NL + "\t\t\t });";
+ protected final String TEXT_168 = NL + "\t\t";
+ protected final String TEXT_169 = ".register" + NL + "\t\t\t(";
+ protected final String TEXT_170 = ".class, " + NL + "\t\t\t new ";
+ protected final String TEXT_171 = ".Helper() " + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t return instance instanceof ";
+ protected final String TEXT_172 = ";" + NL + "\t\t\t\t }" + NL + "" + NL
+ + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {";
+ protected final String TEXT_173 = NL + "\t\t\t\t\t return new ";
+ protected final String TEXT_174 = "[size]";
+ protected final String TEXT_175 = ";";
+ protected final String TEXT_176 = NL + "\t\t\t\t\t return new ";
+ protected final String TEXT_177 = "[size];";
+ protected final String TEXT_178 = NL + "\t\t\t\t }" + NL + "\t\t});";
+ protected final String TEXT_179 = NL + "\t}" + NL + "" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class WhiteList implements ";
+ protected final String TEXT_180 = ", EBasicWhiteList" + NL + "\t{";
+ protected final String TEXT_181 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_182 = " ";
+ protected final String TEXT_183 = ";" + NL;
+ protected final String TEXT_184 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_185 = " ";
+ protected final String TEXT_186 = ";" + NL;
+ protected final String TEXT_187 = NL + "\t}";
+ protected final String TEXT_188 = NL;
+ protected final String TEXT_189 = NL;
+ protected final String TEXT_190 = NL + "\t/**";
+ protected final String TEXT_191 = NL + "\t * Returns the meta object for class '{@link ";
+ protected final String TEXT_192 = " <em>";
+ protected final String TEXT_193 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for class '<em>";
+ protected final String TEXT_194 = "</em>'." + NL + "\t * @see ";
+ protected final String TEXT_195 = NL + "\t * @model ";
+ protected final String TEXT_196 = NL + "\t * ";
+ protected final String TEXT_197 = NL + "\t * @model";
+ protected final String TEXT_198 = NL + "\t * Returns the meta object for enum '{@link ";
+ protected final String TEXT_199 = " <em>";
+ protected final String TEXT_200 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for enum '<em>";
+ protected final String TEXT_201 = "</em>'." + NL + "\t * @see ";
+ protected final String TEXT_202 = NL + "\t * Returns the meta object for data type '<em>";
+ protected final String TEXT_203 = "</em>'.";
+ protected final String TEXT_204 = NL + "\t * Returns the meta object for data type '{@link ";
+ protected final String TEXT_205 = " <em>";
+ protected final String TEXT_206 = "</em>}'.";
+ protected final String TEXT_207 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the meta object for data type '<em>";
+ protected final String TEXT_208 = "</em>'.";
+ protected final String TEXT_209 = NL + "\t * @see ";
+ protected final String TEXT_210 = NL + "\t * @model ";
+ protected final String TEXT_211 = NL + "\t * ";
+ protected final String TEXT_212 = NL + "\t * @model";
+ protected final String TEXT_213 = NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_214 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_215 = NL + "\tpublic ";
+ protected final String TEXT_216 = " get";
+ protected final String TEXT_217 = "()" + NL + "\t{";
+ protected final String TEXT_218 = NL + "\t\tif (";
+ protected final String TEXT_219 = " == null)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_220 = " = (";
+ protected final String TEXT_221 = ")";
+ protected final String TEXT_222 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_223 = ".eNS_URI).getEClassifiers().get(";
+ protected final String TEXT_224 = ");" + NL + "\t\t}";
+ protected final String TEXT_225 = NL + "\t\treturn ";
+ protected final String TEXT_226 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_227 = NL + "\t";
+ protected final String TEXT_228 = " get";
+ protected final String TEXT_229 = "();" + NL;
+ protected final String TEXT_230 = NL + "\t/**" + NL + "\t * Returns the meta object for the ";
+ protected final String TEXT_231 = " '{@link ";
+ protected final String TEXT_232 = "#";
+ protected final String TEXT_233 = " <em>";
+ protected final String TEXT_234 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the ";
+ protected final String TEXT_235 = " '<em>";
+ protected final String TEXT_236 = "</em>'." + NL + "\t * @see ";
+ protected final String TEXT_237 = "#";
+ protected final String TEXT_238 = "()";
+ protected final String TEXT_239 = NL + "\t * @see #get";
+ protected final String TEXT_240 = "()" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_241 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_242 = NL + "\tpublic ";
+ protected final String TEXT_243 = " get";
+ protected final String TEXT_244 = "()" + NL + "\t{";
+ protected final String TEXT_245 = NL + "\t\treturn (";
+ protected final String TEXT_246 = ")";
+ protected final String TEXT_247 = ".getEStructuralFeatures().get(";
+ protected final String TEXT_248 = ");";
+ protected final String TEXT_249 = NL + " return (";
+ protected final String TEXT_250 = ")get";
+ protected final String TEXT_251 = "().getEStructuralFeatures().get(";
+ protected final String TEXT_252 = ");";
+ protected final String TEXT_253 = NL + "\t}";
+ protected final String TEXT_254 = NL + "\t";
+ protected final String TEXT_255 = " get";
+ protected final String TEXT_256 = "();";
+ protected final String TEXT_257 = NL;
+ protected final String TEXT_258 = NL + "\t/**" + NL + "\t * Returns the meta object for the '{@link ";
+ protected final String TEXT_259 = "#";
+ protected final String TEXT_260 = "(";
+ protected final String TEXT_261 = ") <em>";
+ protected final String TEXT_262 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the '<em>";
+ protected final String TEXT_263 = "</em>' operation." + NL + "\t * @see ";
+ protected final String TEXT_264 = "#";
+ protected final String TEXT_265 = "(";
+ protected final String TEXT_266 = ")" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_268 = NL + "\tpublic ";
+ protected final String TEXT_269 = " get";
+ protected final String TEXT_270 = "()" + NL + "\t{";
+ protected final String TEXT_271 = NL + "\t\treturn ";
+ protected final String TEXT_272 = ".getEOperations().get(";
+ protected final String TEXT_273 = ");";
+ protected final String TEXT_274 = NL + " return get";
+ protected final String TEXT_275 = "().getEOperations().get(";
+ protected final String TEXT_276 = ");";
+ protected final String TEXT_277 = NL + "\t}";
+ protected final String TEXT_278 = NL + "\t";
+ protected final String TEXT_279 = " get";
+ protected final String TEXT_280 = "();";
+ protected final String TEXT_281 = NL;
+ protected final String TEXT_282 = NL + "\t/**" + NL
+ + "\t * Returns the factory that creates the instances of the model." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the factory that creates the instances of the model." + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_283 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_284 = NL + "\tpublic ";
+ protected final String TEXT_285 = " get";
+ protected final String TEXT_286 = "()" + NL + "\t{" + NL + "\t\treturn (";
+ protected final String TEXT_287 = ")getEFactoryInstance();" + NL + "\t}";
+ protected final String TEXT_288 = NL + "\t";
+ protected final String TEXT_289 = " get";
+ protected final String TEXT_290 = "();";
+ protected final String TEXT_291 = NL;
+ protected final String TEXT_292 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isCreated = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates the meta-model objects for the package. This method is" + NL
+ + "\t * guarded to have no affect on any invocation but its first." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void createPackageContents()" + NL + "\t{" + NL + "\t\tif (isCreated) return;" + NL
+ + "\t\tisCreated = true;";
+ protected final String TEXT_293 = NL + NL + "\t\t// Create classes and their features";
+ protected final String TEXT_294 = NL + "\t\t";
+ protected final String TEXT_295 = " = create";
+ protected final String TEXT_296 = "(";
+ protected final String TEXT_297 = ");";
+ protected final String TEXT_298 = NL + "\t\tcreate";
+ protected final String TEXT_299 = "(";
+ protected final String TEXT_300 = ", ";
+ protected final String TEXT_301 = ");";
+ protected final String TEXT_302 = NL + "\t\tcreateEOperation(";
+ protected final String TEXT_303 = ", ";
+ protected final String TEXT_304 = ");";
+ protected final String TEXT_305 = NL;
+ protected final String TEXT_306 = NL + NL + "\t\t// Create enums";
+ protected final String TEXT_307 = NL + "\t\t";
+ protected final String TEXT_308 = " = createEEnum(";
+ protected final String TEXT_309 = ");";
+ protected final String TEXT_310 = NL + NL + "\t\t// Create data types";
+ protected final String TEXT_311 = NL + "\t\t";
+ protected final String TEXT_312 = " = createEDataType(";
+ protected final String TEXT_313 = ");";
+ protected final String TEXT_314 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isInitialized = false;" + NL;
+ protected final String TEXT_315 = NL + "\t/**" + NL
+ + "\t * Complete the initialization of the package and its meta-model. This" + NL
+ + "\t * method is guarded to have no affect on any invocation but its first." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void initializePackageContents()" + NL + "\t{" + NL
+ + "\t\tif (isInitialized) return;" + NL + "\t\tisInitialized = true;" + NL + "" + NL
+ + "\t\t// Initialize package" + NL + "\t\tsetName(eNAME);" + NL + "\t\tsetNsPrefix(eNS_PREFIX);" + NL
+ + "\t\tsetNsURI(eNS_URI);";
+ protected final String TEXT_316 = NL + NL + "\t\t// Obtain other dependent packages";
+ protected final String TEXT_317 = NL + "\t\t";
+ protected final String TEXT_318 = " ";
+ protected final String TEXT_319 = " = (";
+ protected final String TEXT_320 = ")";
+ protected final String TEXT_321 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_322 = ".eNS_URI);";
+ protected final String TEXT_323 = NL + NL + "\t\t// Add subpackages";
+ protected final String TEXT_324 = NL + "\t\tgetESubpackages().add(";
+ protected final String TEXT_325 = ");";
+ protected final String TEXT_326 = NL + NL + "\t\t// Create type parameters";
+ protected final String TEXT_327 = NL + "\t\t";
+ protected final String TEXT_328 = " ";
+ protected final String TEXT_329 = "_";
+ protected final String TEXT_330 = " = addETypeParameter(";
+ protected final String TEXT_331 = ", \"";
+ protected final String TEXT_332 = "\");";
+ protected final String TEXT_333 = NL + "\t\taddETypeParameter(";
+ protected final String TEXT_334 = ", \"";
+ protected final String TEXT_335 = "\");";
+ protected final String TEXT_336 = NL + NL + "\t\t// Set bounds for type parameters";
+ protected final String TEXT_337 = NL + "\t\t";
+ protected final String TEXT_338 = "g";
+ protected final String TEXT_339 = " = createEGenericType(";
+ protected final String TEXT_340 = ");";
+ protected final String TEXT_341 = NL + "\t\tg";
+ protected final String TEXT_342 = ".";
+ protected final String TEXT_343 = "(g";
+ protected final String TEXT_344 = ");";
+ protected final String TEXT_345 = NL + "\t\t";
+ protected final String TEXT_346 = "_";
+ protected final String TEXT_347 = ".getEBounds().add(g1);";
+ protected final String TEXT_348 = NL + NL + "\t\t// Add supertypes to classes";
+ protected final String TEXT_349 = NL + "\t\t";
+ protected final String TEXT_350 = ".getESuperTypes().add(";
+ protected final String TEXT_351 = ".get";
+ protected final String TEXT_352 = "());";
+ protected final String TEXT_353 = NL + "\t\t";
+ protected final String TEXT_354 = "g";
+ protected final String TEXT_355 = " = createEGenericType(";
+ protected final String TEXT_356 = ");";
+ protected final String TEXT_357 = NL + "\t\tg";
+ protected final String TEXT_358 = ".";
+ protected final String TEXT_359 = "(g";
+ protected final String TEXT_360 = ");";
+ protected final String TEXT_361 = NL + "\t\t";
+ protected final String TEXT_362 = ".getEGenericSuperTypes().add(g1);";
+ protected final String TEXT_363 = NL + NL + "\t\t// Initialize classes";
+ protected final String TEXT_364 = ", features, and operations; add parameters";
+ protected final String TEXT_365 = " and features; add operations and parameters";
+ protected final String TEXT_366 = NL + "\t\tinitEClass(";
+ protected final String TEXT_367 = ", ";
+ protected final String TEXT_368 = "null";
+ protected final String TEXT_369 = ".class";
+ protected final String TEXT_370 = ", \"";
+ protected final String TEXT_371 = "\", ";
+ protected final String TEXT_372 = ", ";
+ protected final String TEXT_373 = ", ";
+ protected final String TEXT_374 = ", \"";
+ protected final String TEXT_375 = "\"";
+ protected final String TEXT_376 = ");";
+ protected final String TEXT_377 = NL + "\t\t";
+ protected final String TEXT_378 = "g";
+ protected final String TEXT_379 = " = createEGenericType(";
+ protected final String TEXT_380 = ");";
+ protected final String TEXT_381 = NL + "\t\tg";
+ protected final String TEXT_382 = ".";
+ protected final String TEXT_383 = "(g";
+ protected final String TEXT_384 = ");";
+ protected final String TEXT_385 = NL + "\t\tinitEReference(get";
+ protected final String TEXT_386 = "(), ";
+ protected final String TEXT_387 = "g1";
+ protected final String TEXT_388 = ".get";
+ protected final String TEXT_389 = "()";
+ protected final String TEXT_390 = ", ";
+ protected final String TEXT_391 = ", \"";
+ protected final String TEXT_392 = "\", ";
+ protected final String TEXT_393 = ", ";
+ protected final String TEXT_394 = ", ";
+ protected final String TEXT_395 = ", ";
+ protected final String TEXT_396 = ", ";
+ protected final String TEXT_397 = ", ";
+ protected final String TEXT_398 = ", ";
+ protected final String TEXT_399 = ", ";
+ protected final String TEXT_400 = ", ";
+ protected final String TEXT_401 = ", ";
+ protected final String TEXT_402 = ", ";
+ protected final String TEXT_403 = ", ";
+ protected final String TEXT_404 = ", ";
+ protected final String TEXT_405 = ");";
+ protected final String TEXT_406 = NL + "\t\tget";
+ protected final String TEXT_407 = "().getEKeys().add(";
+ protected final String TEXT_408 = ".get";
+ protected final String TEXT_409 = "());";
+ protected final String TEXT_410 = NL + "\t\tinitEAttribute(get";
+ protected final String TEXT_411 = "(), ";
+ protected final String TEXT_412 = "g1";
+ protected final String TEXT_413 = ".get";
+ protected final String TEXT_414 = "()";
+ protected final String TEXT_415 = ", \"";
+ protected final String TEXT_416 = "\", ";
+ protected final String TEXT_417 = ", ";
+ protected final String TEXT_418 = ", ";
+ protected final String TEXT_419 = ", ";
+ protected final String TEXT_420 = ", ";
+ protected final String TEXT_421 = ", ";
+ protected final String TEXT_422 = ", ";
+ protected final String TEXT_423 = ", ";
+ protected final String TEXT_424 = ", ";
+ protected final String TEXT_425 = ", ";
+ protected final String TEXT_426 = ", ";
+ protected final String TEXT_427 = ", ";
+ protected final String TEXT_428 = ");";
+ protected final String TEXT_429 = NL;
+ protected final String TEXT_430 = NL + "\t\t";
+ protected final String TEXT_431 = "initEOperation(get";
+ protected final String TEXT_432 = "()";
+ protected final String TEXT_433 = "addEOperation(";
+ protected final String TEXT_434 = ", ";
+ protected final String TEXT_435 = "null";
+ protected final String TEXT_436 = ".get";
+ protected final String TEXT_437 = "()";
+ protected final String TEXT_438 = ", \"";
+ protected final String TEXT_439 = "\", ";
+ protected final String TEXT_440 = ", ";
+ protected final String TEXT_441 = ", ";
+ protected final String TEXT_442 = ", ";
+ protected final String TEXT_443 = ");";
+ protected final String TEXT_444 = NL + "\t\t";
+ protected final String TEXT_445 = "initEOperation(get";
+ protected final String TEXT_446 = "()";
+ protected final String TEXT_447 = "addEOperation(";
+ protected final String TEXT_448 = ", ";
+ protected final String TEXT_449 = ".get";
+ protected final String TEXT_450 = "(), \"";
+ protected final String TEXT_451 = "\", ";
+ protected final String TEXT_452 = ", ";
+ protected final String TEXT_453 = ", ";
+ protected final String TEXT_454 = ", ";
+ protected final String TEXT_455 = ");";
+ protected final String TEXT_456 = NL + "\t\t";
+ protected final String TEXT_457 = "initEOperation(get";
+ protected final String TEXT_458 = "()";
+ protected final String TEXT_459 = "addEOperation(";
+ protected final String TEXT_460 = ", ";
+ protected final String TEXT_461 = ".get";
+ protected final String TEXT_462 = "(), \"";
+ protected final String TEXT_463 = "\", ";
+ protected final String TEXT_464 = ", ";
+ protected final String TEXT_465 = ");";
+ protected final String TEXT_466 = NL + "\t\t";
+ protected final String TEXT_467 = "initEOperation(get";
+ protected final String TEXT_468 = "()";
+ protected final String TEXT_469 = "addEOperation(";
+ protected final String TEXT_470 = ", null, \"";
+ protected final String TEXT_471 = "\");";
+ protected final String TEXT_472 = NL + "\t\t";
+ protected final String TEXT_473 = "addETypeParameter(op, \"";
+ protected final String TEXT_474 = "\");";
+ protected final String TEXT_475 = NL + "\t\t";
+ protected final String TEXT_476 = "g";
+ protected final String TEXT_477 = " = createEGenericType(";
+ protected final String TEXT_478 = ");";
+ protected final String TEXT_479 = NL + "\t\tg";
+ protected final String TEXT_480 = ".";
+ protected final String TEXT_481 = "(g";
+ protected final String TEXT_482 = ");";
+ protected final String TEXT_483 = NL + "\t\tt";
+ protected final String TEXT_484 = ".getEBounds().add(g1);";
+ protected final String TEXT_485 = NL + "\t\t";
+ protected final String TEXT_486 = "g";
+ protected final String TEXT_487 = " = createEGenericType(";
+ protected final String TEXT_488 = ");";
+ protected final String TEXT_489 = NL + "\t\tg";
+ protected final String TEXT_490 = ".";
+ protected final String TEXT_491 = "(g";
+ protected final String TEXT_492 = ");";
+ protected final String TEXT_493 = NL + "\t\taddEParameter(op, ";
+ protected final String TEXT_494 = "g1";
+ protected final String TEXT_495 = ".get";
+ protected final String TEXT_496 = "()";
+ protected final String TEXT_497 = ", \"";
+ protected final String TEXT_498 = "\", ";
+ protected final String TEXT_499 = ", ";
+ protected final String TEXT_500 = ", ";
+ protected final String TEXT_501 = ", ";
+ protected final String TEXT_502 = ");";
+ protected final String TEXT_503 = NL + "\t\taddEParameter(op, ";
+ protected final String TEXT_504 = "g1";
+ protected final String TEXT_505 = ".get";
+ protected final String TEXT_506 = "()";
+ protected final String TEXT_507 = ", \"";
+ protected final String TEXT_508 = "\", ";
+ protected final String TEXT_509 = ", ";
+ protected final String TEXT_510 = ", ";
+ protected final String TEXT_511 = ", ";
+ protected final String TEXT_512 = ");";
+ protected final String TEXT_513 = NL + "\t\taddEParameter(op, ";
+ protected final String TEXT_514 = "g1";
+ protected final String TEXT_515 = ".get";
+ protected final String TEXT_516 = "()";
+ protected final String TEXT_517 = ", \"";
+ protected final String TEXT_518 = "\", ";
+ protected final String TEXT_519 = ", ";
+ protected final String TEXT_520 = ");";
+ protected final String TEXT_521 = NL + "\t\t";
+ protected final String TEXT_522 = "g";
+ protected final String TEXT_523 = " = createEGenericType(";
+ protected final String TEXT_524 = ");";
+ protected final String TEXT_525 = NL + "\t\tg";
+ protected final String TEXT_526 = ".";
+ protected final String TEXT_527 = "(g";
+ protected final String TEXT_528 = ");";
+ protected final String TEXT_529 = NL + "\t\taddEException(op, g";
+ protected final String TEXT_530 = ");";
+ protected final String TEXT_531 = NL + "\t\taddEException(op, ";
+ protected final String TEXT_532 = ".get";
+ protected final String TEXT_533 = "());";
+ protected final String TEXT_534 = NL + "\t\t";
+ protected final String TEXT_535 = "g";
+ protected final String TEXT_536 = " = createEGenericType(";
+ protected final String TEXT_537 = ");";
+ protected final String TEXT_538 = NL + "\t\tg";
+ protected final String TEXT_539 = ".";
+ protected final String TEXT_540 = "(g";
+ protected final String TEXT_541 = ");";
+ protected final String TEXT_542 = NL + "\t\tinitEOperation(op, g1);";
+ protected final String TEXT_543 = NL;
+ protected final String TEXT_544 = NL + NL + "\t\t// Initialize enums and add enum literals";
+ protected final String TEXT_545 = NL + "\t\tinitEEnum(";
+ protected final String TEXT_546 = ", ";
+ protected final String TEXT_547 = ".class, \"";
+ protected final String TEXT_548 = "\");";
+ protected final String TEXT_549 = NL + "\t\taddEEnumLiteral(";
+ protected final String TEXT_550 = ", ";
+ protected final String TEXT_551 = ".";
+ protected final String TEXT_552 = ");";
+ protected final String TEXT_553 = NL;
+ protected final String TEXT_554 = NL + NL + "\t\t// Initialize data types";
+ protected final String TEXT_555 = NL + "\t\tinitEDataType(";
+ protected final String TEXT_556 = ", ";
+ protected final String TEXT_557 = ".class, \"";
+ protected final String TEXT_558 = "\", ";
+ protected final String TEXT_559 = ", ";
+ protected final String TEXT_560 = ", \"";
+ protected final String TEXT_561 = "\"";
+ protected final String TEXT_562 = ");";
+ protected final String TEXT_563 = NL + NL + "\t\t// Create resource" + NL + "\t\tcreateResource(";
+ protected final String TEXT_564 = ");";
+ protected final String TEXT_565 = NL + NL + "\t\t// Create annotations";
+ protected final String TEXT_566 = NL + "\t\t// ";
+ protected final String TEXT_567 = NL + "\t\tcreate";
+ protected final String TEXT_568 = "Annotations();";
+ protected final String TEXT_569 = NL + "\t}" + NL;
+ protected final String TEXT_570 = NL + "\t/**" + NL + "\t * Initializes the annotations for <b>";
+ protected final String TEXT_571 = "</b>." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void create";
+ protected final String TEXT_572 = "Annotations()" + NL + "\t{" + NL + "\t\tString source = ";
+ protected final String TEXT_573 = "null;";
+ protected final String TEXT_574 = "\"";
+ protected final String TEXT_575 = "\";";
+ protected final String TEXT_576 = "\t" + NL + "\t\taddAnnotation" + NL + "\t\t (";
+ protected final String TEXT_577 = ", " + NL + "\t\t source, " + NL + "\t\t new String[] " + NL + "\t\t {";
+ protected final String TEXT_578 = NL + "\t\t\t ";
+ protected final String TEXT_579 = ", ";
+ protected final String TEXT_580 = NL + "\t\t }";
+ protected final String TEXT_581 = ");";
+ protected final String TEXT_582 = ",";
+ protected final String TEXT_583 = NL + "\t\t new ";
+ protected final String TEXT_584 = "[] " + NL + "\t\t {";
+ protected final String TEXT_585 = NL + "\t\t\t ";
+ protected final String TEXT_586 = ".createURI(";
+ protected final String TEXT_587 = ".";
+ protected final String TEXT_588 = "eNS_URI).appendFragment(\"";
+ protected final String TEXT_589 = "\")";
+ protected final String TEXT_590 = ",";
+ protected final String TEXT_591 = NL + "\t\t });";
+ protected final String TEXT_592 = NL + "\t\taddAnnotation" + NL + "\t\t (";
+ protected final String TEXT_593 = ", " + NL + "\t\t ";
+ protected final String TEXT_594 = "new boolean[] { ";
+ protected final String TEXT_595 = " }";
+ protected final String TEXT_596 = "," + NL + "\t\t ";
+ protected final String TEXT_597 = "null,";
+ protected final String TEXT_598 = "\"";
+ protected final String TEXT_599 = "\",";
+ protected final String TEXT_600 = NL + "\t\t new String[] " + NL + "\t\t {";
+ protected final String TEXT_601 = NL + "\t\t\t ";
+ protected final String TEXT_602 = ", ";
+ protected final String TEXT_603 = NL + "\t\t }";
+ protected final String TEXT_604 = ");";
+ protected final String TEXT_605 = ",";
+ protected final String TEXT_606 = NL + "\t\t new ";
+ protected final String TEXT_607 = "[] " + NL + "\t\t {";
+ protected final String TEXT_608 = NL + "\t\t\t ";
+ protected final String TEXT_609 = ".createURI(";
+ protected final String TEXT_610 = ".";
+ protected final String TEXT_611 = "eNS_URI).appendFragment(\"";
+ protected final String TEXT_612 = "\")";
+ protected final String TEXT_613 = ",";
+ protected final String TEXT_614 = NL + "\t\t });";
+ protected final String TEXT_615 = NL + "\t}" + NL;
+ protected final String TEXT_616 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isLoaded = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Laods the package and any sub-packages from their serialized form." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void loadPackage()" + NL + "\t{" + NL + "\t\tif (isLoaded) return;" + NL
+ + "\t\tisLoaded = true;" + NL + "" + NL + "\t\t";
+ protected final String TEXT_617 = " url = getClass().getResource(packageFilename);" + NL + "\t\tif (url == null)"
+ + NL + "\t\t{" + NL
+ + "\t\t\tthrow new RuntimeException(\"Missing serialized package: \" + packageFilename);";
+ protected final String TEXT_618 = NL + "\t\t}" + NL + "\t\t";
+ protected final String TEXT_619 = " uri = ";
+ protected final String TEXT_620 = ".createURI(url.toString());" + NL + "\t\t";
+ protected final String TEXT_621 = " resource = new ";
+ protected final String TEXT_622 = "().createResource(uri);" + NL + "\t\ttry" + NL + "\t\t{" + NL
+ + "\t\t\tresource.load(null);" + NL + "\t\t}" + NL + "\t\tcatch (";
+ protected final String TEXT_623 = " exception)" + NL + "\t\t{" + NL + "\t\t\tthrow new ";
+ protected final String TEXT_624 = "(exception);" + NL + "\t\t}" + NL + "\t\tinitializeFromLoadedEPackage(this, (";
+ protected final String TEXT_625 = ")resource.getContents().get(0));" + NL + "\t\tcreateResource(eNS_URI);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_626 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isFixed = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Fixes up the loaded package, to make it appear as if it had been programmatically built." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void fixPackageContents()" + NL + "\t{" + NL + "\t\tif (isFixed) return;" + NL
+ + "\t\tisFixed = true;" + NL + "\t\tfixEClassifiers();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Sets the instance class on the given classifier." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_627 = NL + "\t@Override";
+ protected final String TEXT_628 = NL + "\tprotected void fixInstanceClass(";
+ protected final String TEXT_629 = " eClassifier)" + NL + "\t{" + NL
+ + "\t\tif (eClassifier.getInstanceClassName() == null)" + NL + "\t\t{";
+ protected final String TEXT_630 = NL + "\t\t\teClassifier.setInstanceClassName(\"";
+ protected final String TEXT_631 = ".\" + eClassifier.getName());";
+ protected final String TEXT_632 = NL + "\t\t\tsetGeneratedClassName(eClassifier);";
+ protected final String TEXT_633 = NL + "\t\t\tswitch (eClassifier.getClassifierID())" + NL + "\t\t\t{";
+ protected final String TEXT_634 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_635 = ":";
+ protected final String TEXT_636 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tbreak;" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tdefault:" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\teClassifier.setInstanceClassName(\"";
+ protected final String TEXT_637 = ".\" + eClassifier.getName());";
+ protected final String TEXT_638 = NL + "\t\t\t\t\tsetGeneratedClassName(eClassifier);" + NL + "\t\t\t\t\tbreak;"
+ + NL + "\t\t\t\t}" + NL + "\t\t\t}";
+ protected final String TEXT_639 = NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_640 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_641 = " addEOperation(";
+ protected final String TEXT_642 = " owner, ";
+ protected final String TEXT_643 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)"
+ + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_644 = " o = addEOperation(owner, type, name, lowerBound, upperBound);" + NL
+ + "\t\to.setUnique(isUnique);" + NL + "\t\to.setOrdered(isOrdered);" + NL + "\t\treturn o;" + NL + "\t}"
+ + NL + "\t";
+ protected final String TEXT_645 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_646 = " addEParameter(";
+ protected final String TEXT_647 = " owner, ";
+ protected final String TEXT_648 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)"
+ + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_649 = " p = ecoreFactory.createEParameter();" + NL + "\t\tp.setEType(type);" + NL
+ + "\t\tp.setName(name);" + NL + "\t\tp.setLowerBound(lowerBound);" + NL
+ + "\t\tp.setUpperBound(upperBound);" + NL + "\t\tp.setUnique(isUnique);" + NL
+ + "\t\tp.setOrdered(isOrdered);" + NL + "\t\towner.getEParameters().add(p);" + NL + "\t\treturn p;" + NL
+ + "\t}" + NL + "\t";
+ protected final String TEXT_650 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * Defines literals for the meta objects that represent" + NL + "\t * <ul>" + NL
+ + "\t * <li>each class,</li>" + NL + "\t * <li>each feature of each class,</li>";
+ protected final String TEXT_651 = NL + "\t * <li>each operation of each class,</li>";
+ protected final String TEXT_652 = NL + "\t * <li>each enum,</li>" + NL + "\t * <li>and each data type</li>"
+ + NL + "\t * </ul>" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_653 = "public ";
+ protected final String TEXT_654 = "interface Literals" + NL + "\t{";
+ protected final String TEXT_655 = NL + "\t\t/**";
+ protected final String TEXT_656 = NL + "\t\t * The meta object literal for the '{@link ";
+ protected final String TEXT_657 = " <em>";
+ protected final String TEXT_658 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_659 = NL + "\t\t * The meta object literal for the '{@link ";
+ protected final String TEXT_660 = " <em>";
+ protected final String TEXT_661 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_662 = NL + "\t\t * The meta object literal for the '{@link ";
+ protected final String TEXT_663 = " <em>";
+ protected final String TEXT_664 = "</em>}' enum." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_665 = NL + "\t\t * The meta object literal for the '<em>";
+ protected final String TEXT_666 = "</em>' data type." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->";
+ protected final String TEXT_667 = NL + "\t\t * @see ";
+ protected final String TEXT_668 = NL + "\t\t * @see ";
+ protected final String TEXT_669 = "#get";
+ protected final String TEXT_670 = "()" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_671 = " ";
+ protected final String TEXT_672 = " = eINSTANCE.get";
+ protected final String TEXT_673 = "();" + NL;
+ protected final String TEXT_674 = NL + "\t\t/**" + NL + "\t\t * The meta object literal for the '<em><b>";
+ protected final String TEXT_675 = "</b></em>' ";
+ protected final String TEXT_676 = " feature." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_677 = " ";
+ protected final String TEXT_678 = " = eINSTANCE.get";
+ protected final String TEXT_679 = "();" + NL;
+ protected final String TEXT_680 = NL + "\t\t/**" + NL + "\t\t * The meta object literal for the '<em><b>";
+ protected final String TEXT_681 = "</b></em>' operation." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_682 = " ";
+ protected final String TEXT_683 = " = eINSTANCE.get";
+ protected final String TEXT_684 = "();" + NL;
+ protected final String TEXT_685 = NL + "\t}" + NL;
+ protected final String TEXT_686 = NL + "} //";
+ protected final String TEXT_687 = NL;
+ protected final String TEXT_688 = NL;
+ protected final String TEXT_689 = NL;
+
+ public PackageClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_688);
+ stringBuffer.append(TEXT_689);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getReflectionClassPackageName();
+ className = genPackage.getPackageClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = ((Object[]) new Object[] { new Object[] {
+ genPackage,
+ genPackage.getGenModel().isSuppressEMFMetaData() || genPackage.getGenModel().isSuppressInterfaces() ? Boolean.TRUE
+ : Boolean.FALSE, Boolean.TRUE } })[0];
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ final GenPackage genPackage = (GenPackage) ((Object[]) argument)[0];
+ final GenModel genModel = genPackage.getGenModel();
+ boolean isInterface = Boolean.TRUE.equals(((Object[]) argument)[1]);
+ boolean isImplementation = Boolean.TRUE.equals(((Object[]) argument)[2]);
+ String publicStaticFinalFlag = isImplementation ? "public static final " : "";
+ boolean needsAddEOperation = false;
+ boolean needsAddEParameter = false;
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (isImplementation && !genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getClassPackageName());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getReflectionPackageName());
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ genModel.markImportLocation(stringBuffer, genPackage);
+ if (isImplementation) {
+ genModel.addPseudoImport("org.eclipse.emf.ecore.EPackage.Registry");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.EPackage.Descriptor");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.EPackageImpl.EBasicWhiteList");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");
+ if (genPackage.isLiteralsInterface()) {
+ genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + ".Literals");
+ }
+ for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers())
+ genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + "."
+ + genPackage.getClassifierID(genClassifier));
+ }
+ if (isInterface) {
+ stringBuffer.append(TEXT_7);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (genPackage.hasDocumentation()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genPackage.getDocumentation(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getQualifiedFactoryInterfaceName());
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genPackage.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_15);
+ }
+ }
+ stringBuffer.append(TEXT_16);
+ } else {
+ stringBuffer.append(TEXT_17);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.EPackageImpl"));
+ if (!isInterface) {
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ }
+ } else {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ }
+ stringBuffer.append(TEXT_23);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_27);
+ }
+ if (isInterface) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genPackage.getPackageName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genPackage.getNSName());
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getNonNLS());
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getContentTypeIdentifier());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genPackage.getQualifiedPackageClassName());
+ stringBuffer.append(TEXT_42);
+ for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers()) {
+ stringBuffer.append(TEXT_43);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ if (!genClass.isInterface()) {
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ } else {
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ }
+ } else if (genClassifier instanceof GenEnum) {
+ GenEnum genEnum = (GenEnum) genClassifier;
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genEnum.getQualifiedName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genEnum.getQualifiedName());
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_54);
+ if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genDataType.getRawInstanceClassName());
+ }
+ }
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genPackage.getQualifiedPackageClassName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genPackage.getClassifierID(genClassifier));
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genPackage.getClassifierValue(genClassifier));
+ stringBuffer.append(TEXT_61);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ for (GenFeature genFeature : genClass.getAllGenFeatures()) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getFeatureID(genFeature));
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genClass.getFeatureValue(genFeature));
+ stringBuffer.append(TEXT_67);
+ }
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genClass.getFeatureCountID());
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genClass.getFeatureCountValue());
+ stringBuffer.append(TEXT_72);
+ if (genModel.isOperationReflection()) {
+ for (GenOperation genOperation : genClass.getAllGenOperations(false)) {
+ if (genClass.getOverrideGenOperation(genOperation) == null) {
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genClass.getOperationID(genOperation, false));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genClass.getOperationValue(genOperation));
+ stringBuffer.append(TEXT_77);
+ }
+ }
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genClass.getOperationCountID());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genClass.getOperationCountValue());
+ stringBuffer.append(TEXT_82);
+ }
+ }
+ }
+ }
+ if (isImplementation) {
+ if (genPackage.isLoadingInitialization()) {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genPackage.getSerializedPackageFilename());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_85);
+ }
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_88);
+ }
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genPackage.getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_93);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_94);
+ }
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_99);
+ if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_100);
+ }
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_108);
+ if (!genPackage.getPackageSimpleDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_109);
+ for (GenPackage dep : genPackage.getPackageSimpleDependencies()) {
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(dep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_111);
+ }
+ stringBuffer.append(TEXT_112);
+ }
+ if (!genPackage.getPackageInterDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_113);
+ for (GenPackage interdep : genPackage.getPackageInterDependencies()) {
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(interdep.getImportedPackageClassName());
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(interdep.getImportedPackageClassName());
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(interdep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(interdep.getImportedPackageClassName());
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(interdep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(interdep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_123);
+ }
+ stringBuffer.append(TEXT_124);
+ }
+ if (genPackage.isLoadedInitialization() || !genPackage.getPackageLoadInterDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_125);
+ if (genPackage.isLoadingInitialization()) {
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_127);
+ }
+ for (GenPackage interdep : genPackage.getPackageLoadInterDependencies()) {
+ if (interdep.isLoadingInitialization()) {
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_129);
+ }
+ }
+ stringBuffer.append(TEXT_130);
+ }
+ if (!genPackage.isLoadedInitialization() || !genPackage.getPackageBuildInterDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_131);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_133);
+ }
+ for (GenPackage interdep : genPackage.getPackageBuildInterDependencies()) {
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_135);
+ }
+ stringBuffer.append(TEXT_136);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_138);
+ }
+ for (GenPackage interdep : genPackage.getPackageBuildInterDependencies()) {
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_140);
+ }
+ stringBuffer.append(TEXT_141);
+ }
+ if (genPackage.isLoadedInitialization() || !genPackage.getPackageLoadInterDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_142);
+ if (genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_144);
+ }
+ for (GenPackage interdep : genPackage.getPackageLoadInterDependencies()) {
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_146);
+ }
+ stringBuffer.append(TEXT_147);
+ }
+ if (genPackage.hasConstraints()) {
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EValidator"));
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EValidator"));
+ stringBuffer.append(TEXT_151);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EValidator"));
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genPackage.getImportedValidatorClassName());
+ stringBuffer.append(TEXT_153);
+ }
+ if (!genPackage.isEcorePackage()) {
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_155);
+ }
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_157);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_160);
+ if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_161);
+ Set<String> helpers = new HashSet<String>();
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ if (!genClass.isDynamic()) {
+ String theClass = genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getRawImportedInterfaceName();
+ if (helpers.add(theClass)) {
+ stringBuffer.append(TEXT_162);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_164);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getRawImportedInterfaceName() + genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_166);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_167);
+ }
+ }
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (!genDataType.isPrimitiveType() && !genDataType.isObjectType()) {
+ String theClass = genDataType.getRawImportedInstanceClassName();
+ if (helpers.add(theClass)) {
+ stringBuffer.append(TEXT_168);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_169);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_170);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_171);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_172);
+ if (genDataType.isArrayType()) {
+ String componentType = theClass;
+ String indices = "";
+ while (componentType.endsWith("[]")) {
+ componentType = componentType.substring(0, componentType.length() - 2);
+ indices += "[]";
+ }
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(componentType);
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(indices);
+ stringBuffer.append(TEXT_175);
+ } else {
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_177);
+ }
+ stringBuffer.append(TEXT_178);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_179);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.IsSerializable"));
+ stringBuffer.append(TEXT_180);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ if (!genClass.isDynamic()) {
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getImportedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_182);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_183);
+ }
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (!genDataType.isObjectType() && genDataType.isSerializable()) {
+ stringBuffer.append(TEXT_184);
+ stringBuffer.append(genDataType.getImportedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_186);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_187);
+ }
+ stringBuffer.append(TEXT_188);
+ }
+ if (isInterface) { // TODO REMOVE THIS BOGUS EMPTY LINE
+ stringBuffer.append(TEXT_189);
+ }
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ if (isInterface) {
+ stringBuffer.append(TEXT_190);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_193);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ if (!genModel.isSuppressEMFModelTags() && (genClass.isExternalInterface() || genClass.isDynamic())) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_195);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_197);
+ }
+ }
+ } else if (genClassifier instanceof GenEnum) {
+ GenEnum genEnum = (GenEnum) genClassifier;
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(genEnum.getQualifiedName());
+ stringBuffer.append(TEXT_199);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_200);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genEnum.getQualifiedName());
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (genDataType.isPrimitiveType() || genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_203);
+ } else {
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(genDataType.getRawInstanceClassName());
+ stringBuffer.append(TEXT_205);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_206);
+ }
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_208);
+ if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_209);
+ stringBuffer.append(genDataType.getRawInstanceClassName());
+ }
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genDataType.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_210);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_212);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_213);
+ } else {
+ stringBuffer.append(TEXT_214);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_216);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_217);
+ if (genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_218);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_219);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_220);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_221);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_222);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_223);
+ stringBuffer.append(genPackage.getLocalClassifierIndex(genClassifier));
+ stringBuffer.append(TEXT_224);
+ }
+ stringBuffer.append(TEXT_225);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_226);
+ } else {
+ stringBuffer.append(TEXT_227);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_228);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_229);
+ }
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ if (isInterface) {
+ stringBuffer.append(TEXT_230);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_231);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ if (!genClass.isMapEntry() && !genFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genFeature.getGetAccessor());
+ }
+ stringBuffer.append(TEXT_233);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_235);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_236);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ if (!genClass.isMapEntry() && !genFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_237);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_238);
+ }
+ stringBuffer.append(TEXT_239);
+ stringBuffer.append(genClass.getClassifierAccessorName());
+ stringBuffer.append(TEXT_240);
+ } else {
+ stringBuffer.append(TEXT_241);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_242);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_244);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_245);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_246);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_247);
+ stringBuffer.append(genClass.getLocalFeatureIndex(genFeature));
+ stringBuffer.append(TEXT_248);
+ } else {
+ stringBuffer.append(TEXT_249);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_250);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_251);
+ stringBuffer.append(genClass.getLocalFeatureIndex(genFeature));
+ stringBuffer.append(TEXT_252);
+ }
+ stringBuffer.append(TEXT_253);
+ } else {
+ stringBuffer.append(TEXT_254);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_255);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_256);
+ }
+ stringBuffer.append(TEXT_257);
+ }
+ if (genModel.isOperationReflection()) {
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ if (isInterface) {
+ stringBuffer.append(TEXT_258);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_259);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_260);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_261);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_262);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_263);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_264);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_265);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_266);
+ } else {
+ stringBuffer.append(TEXT_267);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_268);
+ stringBuffer.append(genOperation.getImportedMetaType());
+ stringBuffer.append(TEXT_269);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_270);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_271);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_272);
+ stringBuffer.append(genClass.getLocalOperationIndex(genOperation));
+ stringBuffer.append(TEXT_273);
+ } else {
+ stringBuffer.append(TEXT_274);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_275);
+ stringBuffer.append(genClass.getLocalOperationIndex(genOperation));
+ stringBuffer.append(TEXT_276);
+ }
+ stringBuffer.append(TEXT_277);
+ } else {
+ stringBuffer.append(TEXT_278);
+ stringBuffer.append(genOperation.getImportedMetaType());
+ stringBuffer.append(TEXT_279);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_280);
+ }
+ stringBuffer.append(TEXT_281);
+ }
+ }
+ }
+ }
+ if (isInterface) {
+ stringBuffer.append(TEXT_282);
+ } else {
+ stringBuffer.append(TEXT_283);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_284);
+ stringBuffer.append(genPackage.getImportedFactoryInterfaceName());
+ stringBuffer.append(TEXT_285);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_286);
+ stringBuffer.append(genPackage.getImportedFactoryInterfaceName());
+ stringBuffer.append(TEXT_287);
+ } else {
+ stringBuffer.append(TEXT_288);
+ stringBuffer.append(genPackage.getFactoryInterfaceName());
+ stringBuffer.append(TEXT_289);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_290);
+ }
+ stringBuffer.append(TEXT_291);
+ if (isImplementation) {
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_292);
+ if (!genPackage.getGenClasses().isEmpty()) {
+ stringBuffer.append(TEXT_293);
+ for (Iterator<GenClass> c = genPackage.getGenClasses().iterator(); c.hasNext();) {
+ GenClass genClass = c.next();
+ stringBuffer.append(TEXT_294);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_295);
+ stringBuffer.append(genClass.getMetaType());
+ stringBuffer.append(TEXT_296);
+ stringBuffer.append(genClass.getClassifierID());
+ stringBuffer.append(TEXT_297);
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_298);
+ stringBuffer.append(genFeature.getMetaType());
+ stringBuffer.append(TEXT_299);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_300);
+ stringBuffer.append(genClass.getFeatureID(genFeature));
+ stringBuffer.append(TEXT_301);
+ }
+ if (genModel.isOperationReflection()) {
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ stringBuffer.append(TEXT_302);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_303);
+ stringBuffer.append(genClass.getOperationID(genOperation, false));
+ stringBuffer.append(TEXT_304);
+ }
+ }
+ if (c.hasNext()) {
+ stringBuffer.append(TEXT_305);
+ }
+ }
+ }
+ if (!genPackage.getGenEnums().isEmpty()) {
+ stringBuffer.append(TEXT_306);
+ for (GenEnum genEnum : genPackage.getGenEnums()) {
+ stringBuffer.append(TEXT_307);
+ stringBuffer.append(genEnum.getClassifierInstanceName());
+ stringBuffer.append(TEXT_308);
+ stringBuffer.append(genEnum.getClassifierID());
+ stringBuffer.append(TEXT_309);
+ }
+ }
+ if (!genPackage.getGenDataTypes().isEmpty()) {
+ stringBuffer.append(TEXT_310);
+ for (GenDataType genDataType : genPackage.getGenDataTypes()) {
+ stringBuffer.append(TEXT_311);
+ stringBuffer.append(genDataType.getClassifierInstanceName());
+ stringBuffer.append(TEXT_312);
+ stringBuffer.append(genDataType.getClassifierID());
+ stringBuffer.append(TEXT_313);
+ }
+ }
+ stringBuffer.append(TEXT_314);
+
+ ///////////////////////
+ class Information {
+ @SuppressWarnings("unused")
+ EGenericType eGenericType;
+ int depth;
+ String type;
+ String accessor;
+ }
+
+ class InformationIterator {
+ Iterator<?> iterator;
+
+ InformationIterator(EGenericType eGenericType) {
+ iterator = EcoreUtil.getAllContents(Collections.singleton(eGenericType));
+ }
+
+ boolean hasNext() {
+ return iterator.hasNext();
+ }
+
+ Information next() {
+ Information information = new Information();
+ EGenericType eGenericType = information.eGenericType = (EGenericType) iterator.next();
+ for (EObject container = eGenericType.eContainer(); container instanceof EGenericType; container = container
+ .eContainer()) {
+ ++information.depth;
+ }
+ if (eGenericType.getEClassifier() != null) {
+ GenClassifier genClassifier = genModel.findGenClassifier(eGenericType.getEClassifier());
+ information.type = genPackage.getPackageInstanceVariable(genClassifier.getGenPackage())
+ + ".get" + genClassifier.getClassifierAccessorName() + "()";
+ } else if (eGenericType.getETypeParameter() != null) {
+ ETypeParameter eTypeParameter = eGenericType.getETypeParameter();
+ if (eTypeParameter.eContainer() instanceof EClass) {
+ information.type = genModel.findGenClassifier((EClass) eTypeParameter.eContainer())
+ .getClassifierInstanceName() + "_" + eGenericType.getETypeParameter().getName();
+ } else {
+ information.type = "t"
+ + (((EOperation) eTypeParameter.eContainer()).getETypeParameters().indexOf(
+ eTypeParameter) + 1);
+ }
+ } else {
+ information.type = "";
+ }
+ if (information.depth > 0) {
+ if (eGenericType.eContainmentFeature().isMany()) {
+ information.accessor = "getE"
+ + eGenericType.eContainmentFeature().getName().substring(1) + "().add";
+ } else {
+ information.accessor = "setE"
+ + eGenericType.eContainmentFeature().getName().substring(1);
+ }
+ }
+ return information;
+ }
+ }
+ ///////////////////////
+ int maxGenericTypeAssignment = 0;
+
+ stringBuffer.append(TEXT_315);
+ if (!genPackage.getPackageInitializationDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_316);
+ for (GenPackage dep : genPackage.getPackageInitializationDependencies()) {
+ stringBuffer.append(TEXT_317);
+ stringBuffer.append(dep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_318);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(dep));
+ stringBuffer.append(TEXT_319);
+ stringBuffer.append(dep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_320);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_321);
+ stringBuffer.append(dep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_322);
+ }
+ }
+ if (!genPackage.getSubGenPackages().isEmpty()) {
+ stringBuffer.append(TEXT_323);
+ for (GenPackage sub : genPackage.getSubGenPackages()) {
+ stringBuffer.append(TEXT_324);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(sub));
+ stringBuffer.append(TEXT_325);
+ }
+ }
+ if (!genPackage.getGenClasses().isEmpty()) {
+ boolean firstOperationAssignment = true;
+ int maxTypeParameterAssignment = 0;
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_326);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {
+ if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty()
+ || genTypeParameter.isUsed()) {
+ stringBuffer.append(TEXT_327);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.ETypeParameter"));
+ stringBuffer.append(TEXT_328);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_329);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_330);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_331);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_332);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_333);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_334);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_335);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ }
+ }
+ }
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_336);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {
+ for (EGenericType bound : genTypeParameter.getEcoreTypeParameter().getEBounds()) {
+ for (InformationIterator i = new InformationIterator(bound); i.hasNext();) {
+ Information info = i.next();
+ String prefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
+ }
+ stringBuffer.append(TEXT_337);
+ stringBuffer.append(prefix);
+ stringBuffer.append(TEXT_338);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_339);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_340);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_341);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_342);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_343);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_344);
+ }
+ }
+ stringBuffer.append(TEXT_345);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_346);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_347);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_348);
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.hasGenericSuperTypes()) {
+ for (GenClass baseGenClass : genClass.getBaseGenClasses()) {
+ stringBuffer.append(TEXT_349);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_350);
+ stringBuffer
+ .append(genPackage.getPackageInstanceVariable(baseGenClass.getGenPackage()));
+ stringBuffer.append(TEXT_351);
+ stringBuffer.append(baseGenClass.getClassifierAccessorName());
+ stringBuffer.append(TEXT_352);
+ }
+ } else {
+ for (EGenericType superType : genClass.getEcoreClass().getEGenericSuperTypes()) {
+ for (InformationIterator i = new InformationIterator(superType); i.hasNext();) {
+ Information info = i.next();
+ String prefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ }
+ stringBuffer.append(TEXT_353);
+ stringBuffer.append(prefix);
+ stringBuffer.append(TEXT_354);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_355);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_356);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_357);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_358);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_359);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_360);
+ }
+ }
+ stringBuffer.append(TEXT_361);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_362);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_363);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_364);
+ } else {
+ stringBuffer.append(TEXT_365);
+ }
+ for (Iterator<GenClass> c = genPackage.getGenClasses().iterator(); c.hasNext();) {
+ GenClass genClass = c.next();
+ boolean hasInstanceTypeName = genModel.useGenerics()
+ && genClass.getEcoreClass().getInstanceTypeName() != null
+ && genClass.getEcoreClass().getInstanceTypeName().contains("<");
+ stringBuffer.append(TEXT_366);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_367);
+ if (genClass.isDynamic()) {
+ stringBuffer.append(TEXT_368);
+ } else {
+ stringBuffer.append(genClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_369);
+ }
+ stringBuffer.append(TEXT_370);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_371);
+ stringBuffer.append(genClass.getAbstractFlag());
+ stringBuffer.append(TEXT_372);
+ stringBuffer.append(genClass.getInterfaceFlag());
+ stringBuffer.append(TEXT_373);
+ stringBuffer.append(genClass.getGeneratedInstanceClassFlag());
+ if (hasInstanceTypeName) {
+ stringBuffer.append(TEXT_374);
+ stringBuffer.append(genClass.getEcoreClass().getInstanceTypeName());
+ stringBuffer.append(TEXT_375);
+ }
+ stringBuffer.append(TEXT_376);
+ stringBuffer.append(genModel.getNonNLS());
+ if (hasInstanceTypeName) {
+ stringBuffer.append(genModel.getNonNLS(2));
+ }
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ if (genFeature.hasGenericType()) {
+ for (InformationIterator i = new InformationIterator(genFeature.getEcoreFeature()
+ .getEGenericType()); i.hasNext();) {
+ Information info = i.next();
+ String prefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ }
+ stringBuffer.append(TEXT_377);
+ stringBuffer.append(prefix);
+ stringBuffer.append(TEXT_378);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_379);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_380);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_381);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_382);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_383);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_384);
+ }
+ }
+ }
+ if (genFeature.isReferenceType()) {
+ GenFeature reverseGenFeature = genFeature.getReverse();
+ String reverse = reverseGenFeature == null ? "null" : genPackage
+ .getPackageInstanceVariable(reverseGenFeature.getGenPackage())
+ + ".get"
+ + reverseGenFeature.getFeatureAccessorName() + "()";
+ stringBuffer.append(TEXT_385);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_386);
+ if (genFeature.hasGenericType()) {
+ stringBuffer.append(TEXT_387);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_388);
+ stringBuffer.append(genFeature.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_389);
+ }
+ stringBuffer.append(TEXT_390);
+ stringBuffer.append(reverse);
+ stringBuffer.append(TEXT_391);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_392);
+ stringBuffer.append(genFeature.getDefaultValue());
+ stringBuffer.append(TEXT_393);
+ stringBuffer.append(genFeature.getLowerBound());
+ stringBuffer.append(TEXT_394);
+ stringBuffer.append(genFeature.getUpperBound());
+ stringBuffer.append(TEXT_395);
+ stringBuffer.append(genFeature.getContainerClass());
+ stringBuffer.append(TEXT_396);
+ stringBuffer.append(genFeature.getTransientFlag());
+ stringBuffer.append(TEXT_397);
+ stringBuffer.append(genFeature.getVolatileFlag());
+ stringBuffer.append(TEXT_398);
+ stringBuffer.append(genFeature.getChangeableFlag());
+ stringBuffer.append(TEXT_399);
+ stringBuffer.append(genFeature.getContainmentFlag());
+ stringBuffer.append(TEXT_400);
+ stringBuffer.append(genFeature.getResolveProxiesFlag());
+ stringBuffer.append(TEXT_401);
+ stringBuffer.append(genFeature.getUnsettableFlag());
+ stringBuffer.append(TEXT_402);
+ stringBuffer.append(genFeature.getUniqueFlag());
+ stringBuffer.append(TEXT_403);
+ stringBuffer.append(genFeature.getDerivedFlag());
+ stringBuffer.append(TEXT_404);
+ stringBuffer.append(genFeature.getOrderedFlag());
+ stringBuffer.append(TEXT_405);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(genFeature.getDefaultValue(), 2));
+ for (GenFeature keyFeature : genFeature.getKeys()) {
+ stringBuffer.append(TEXT_406);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_407);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(keyFeature
+ .getGenPackage()));
+ stringBuffer.append(TEXT_408);
+ stringBuffer.append(keyFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_409);
+ }
+ } else {
+ stringBuffer.append(TEXT_410);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_411);
+ if (genFeature.hasGenericType()) {
+ stringBuffer.append(TEXT_412);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_413);
+ stringBuffer.append(genFeature.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_414);
+ }
+ stringBuffer.append(TEXT_415);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_416);
+ stringBuffer.append(genFeature.getDefaultValue());
+ stringBuffer.append(TEXT_417);
+ stringBuffer.append(genFeature.getLowerBound());
+ stringBuffer.append(TEXT_418);
+ stringBuffer.append(genFeature.getUpperBound());
+ stringBuffer.append(TEXT_419);
+ stringBuffer.append(genFeature.getContainerClass());
+ stringBuffer.append(TEXT_420);
+ stringBuffer.append(genFeature.getTransientFlag());
+ stringBuffer.append(TEXT_421);
+ stringBuffer.append(genFeature.getVolatileFlag());
+ stringBuffer.append(TEXT_422);
+ stringBuffer.append(genFeature.getChangeableFlag());
+ stringBuffer.append(TEXT_423);
+ stringBuffer.append(genFeature.getUnsettableFlag());
+ stringBuffer.append(TEXT_424);
+ stringBuffer.append(genFeature.getIDFlag());
+ stringBuffer.append(TEXT_425);
+ stringBuffer.append(genFeature.getUniqueFlag());
+ stringBuffer.append(TEXT_426);
+ stringBuffer.append(genFeature.getDerivedFlag());
+ stringBuffer.append(TEXT_427);
+ stringBuffer.append(genFeature.getOrderedFlag());
+ stringBuffer.append(TEXT_428);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(genFeature.getDefaultValue(), 2));
+ }
+ }
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ String prefix = "";
+ if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty()
+ || !genOperation.getGenExceptions().isEmpty()
+ || !genOperation.getGenTypeParameters().isEmpty()) {
+ if (firstOperationAssignment) {
+ firstOperationAssignment = false;
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EOperation") + " op = ";
+ } else {
+ prefix = "op = ";
+ }
+ }
+ stringBuffer.append(TEXT_429);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_430);
+ stringBuffer.append(prefix);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_431);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_432);
+ } else {
+ stringBuffer.append(TEXT_433);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ }
+ stringBuffer.append(TEXT_434);
+ if (genOperation.isVoid() || genOperation.hasGenericType()) {
+ stringBuffer.append(TEXT_435);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_436);
+ stringBuffer.append(genOperation.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_437);
+ }
+ stringBuffer.append(TEXT_438);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_439);
+ stringBuffer.append(genOperation.getLowerBound());
+ stringBuffer.append(TEXT_440);
+ stringBuffer.append(genOperation.getUpperBound());
+ stringBuffer.append(TEXT_441);
+ stringBuffer.append(genOperation.getUniqueFlag());
+ stringBuffer.append(TEXT_442);
+ stringBuffer.append(genOperation.getOrderedFlag());
+ stringBuffer.append(TEXT_443);
+ stringBuffer.append(genModel.getNonNLS());
+ } else if (!genOperation.isVoid()) {
+ if (!genOperation.getEcoreOperation().isOrdered()
+ || !genOperation.getEcoreOperation().isUnique()) {
+ needsAddEOperation = true;
+ stringBuffer.append(TEXT_444);
+ stringBuffer.append(prefix);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_445);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_446);
+ } else {
+ stringBuffer.append(TEXT_447);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ }
+ stringBuffer.append(TEXT_448);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_449);
+ stringBuffer.append(genOperation.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_450);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_451);
+ stringBuffer.append(genOperation.getLowerBound());
+ stringBuffer.append(TEXT_452);
+ stringBuffer.append(genOperation.getUpperBound());
+ stringBuffer.append(TEXT_453);
+ stringBuffer.append(genOperation.getUniqueFlag());
+ stringBuffer.append(TEXT_454);
+ stringBuffer.append(genOperation.getOrderedFlag());
+ stringBuffer.append(TEXT_455);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_456);
+ stringBuffer.append(prefix);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_457);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_458);
+ } else {
+ stringBuffer.append(TEXT_459);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ }
+ stringBuffer.append(TEXT_460);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_461);
+ stringBuffer.append(genOperation.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_462);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_463);
+ stringBuffer.append(genOperation.getLowerBound());
+ stringBuffer.append(TEXT_464);
+ stringBuffer.append(genOperation.getUpperBound());
+ stringBuffer.append(TEXT_465);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ } else {
+ stringBuffer.append(TEXT_466);
+ stringBuffer.append(prefix);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_467);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_468);
+ } else {
+ stringBuffer.append(TEXT_469);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ }
+ stringBuffer.append(TEXT_470);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_471);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genModel.useGenerics()) {
+ for (ListIterator<GenTypeParameter> t = genOperation.getGenTypeParameters()
+ .listIterator(); t.hasNext();) {
+ GenTypeParameter genTypeParameter = t.next();
+ String typeParameterVariable = "";
+ if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty()
+ || genTypeParameter.isUsed()) {
+ if (maxTypeParameterAssignment <= t.previousIndex()) {
+ ++maxTypeParameterAssignment;
+ typeParameterVariable = genModel
+ .getImportedName("org.eclipse.emf.ecore.ETypeParameter")
+ + " t"
+ + t.nextIndex() + " = ";
+ } else {
+ typeParameterVariable = "t" + t.nextIndex() + " = ";
+ }
+ }
+ stringBuffer.append(TEXT_472);
+ stringBuffer.append(typeParameterVariable);
+ stringBuffer.append(TEXT_473);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_474);
+ stringBuffer.append(genModel.getNonNLS());
+ for (EGenericType typeParameter : genTypeParameter.getEcoreTypeParameter()
+ .getEBounds()) {
+ for (InformationIterator i = new InformationIterator(typeParameter); i
+ .hasNext();) {
+ Information info = i.next();
+ String typePrefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ typePrefix = genModel
+ .getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ }
+ stringBuffer.append(TEXT_475);
+ stringBuffer.append(typePrefix);
+ stringBuffer.append(TEXT_476);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_477);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_478);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_479);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_480);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_481);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_482);
+ }
+ }
+ stringBuffer.append(TEXT_483);
+ stringBuffer.append(t.nextIndex());
+ stringBuffer.append(TEXT_484);
+ }
+ }
+ }
+ for (GenParameter genParameter : genOperation.getGenParameters()) {
+ if (genParameter.hasGenericType()) {
+ for (InformationIterator i = new InformationIterator(genParameter
+ .getEcoreParameter().getEGenericType()); i.hasNext();) {
+ Information info = i.next();
+ String typePrefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
+ }
+ stringBuffer.append(TEXT_485);
+ stringBuffer.append(typePrefix);
+ stringBuffer.append(TEXT_486);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_487);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_488);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_489);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_490);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_491);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_492);
+ }
+ }
+ }
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_493);
+ if (genParameter.hasGenericType()) {
+ stringBuffer.append(TEXT_494);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_495);
+ stringBuffer.append(genParameter.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_496);
+ }
+ stringBuffer.append(TEXT_497);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_498);
+ stringBuffer.append(genParameter.getLowerBound());
+ stringBuffer.append(TEXT_499);
+ stringBuffer.append(genParameter.getUpperBound());
+ stringBuffer.append(TEXT_500);
+ stringBuffer.append(genParameter.getUniqueFlag());
+ stringBuffer.append(TEXT_501);
+ stringBuffer.append(genParameter.getOrderedFlag());
+ stringBuffer.append(TEXT_502);
+ stringBuffer.append(genModel.getNonNLS());
+ } else if (!genParameter.getEcoreParameter().isOrdered()
+ || !genParameter.getEcoreParameter().isUnique()) {
+ needsAddEParameter = true;
+ stringBuffer.append(TEXT_503);
+ if (genParameter.hasGenericType()) {
+ stringBuffer.append(TEXT_504);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_505);
+ stringBuffer.append(genParameter.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_506);
+ }
+ stringBuffer.append(TEXT_507);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_508);
+ stringBuffer.append(genParameter.getLowerBound());
+ stringBuffer.append(TEXT_509);
+ stringBuffer.append(genParameter.getUpperBound());
+ stringBuffer.append(TEXT_510);
+ stringBuffer.append(genParameter.getUniqueFlag());
+ stringBuffer.append(TEXT_511);
+ stringBuffer.append(genParameter.getOrderedFlag());
+ stringBuffer.append(TEXT_512);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_513);
+ if (genParameter.hasGenericType()) {
+ stringBuffer.append(TEXT_514);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_515);
+ stringBuffer.append(genParameter.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_516);
+ }
+ stringBuffer.append(TEXT_517);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_518);
+ stringBuffer.append(genParameter.getLowerBound());
+ stringBuffer.append(TEXT_519);
+ stringBuffer.append(genParameter.getUpperBound());
+ stringBuffer.append(TEXT_520);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ }
+ if (genOperation.hasGenericExceptions()) {
+ for (EGenericType genericExceptions : genOperation.getEcoreOperation()
+ .getEGenericExceptions()) {
+ for (InformationIterator i = new InformationIterator(genericExceptions); i
+ .hasNext();) {
+ Information info = i.next();
+ String typePrefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
+ }
+ stringBuffer.append(TEXT_521);
+ stringBuffer.append(typePrefix);
+ stringBuffer.append(TEXT_522);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_523);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_524);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_525);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_526);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_527);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_528);
+ }
+ stringBuffer.append(TEXT_529);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_530);
+ }
+ }
+ } else {
+ for (GenClassifier genException : genOperation.getGenExceptions()) {
+ stringBuffer.append(TEXT_531);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genException
+ .getGenPackage()));
+ stringBuffer.append(TEXT_532);
+ stringBuffer.append(genException.getClassifierAccessorName());
+ stringBuffer.append(TEXT_533);
+ }
+ }
+ if (!genOperation.isVoid() && genOperation.hasGenericType()) {
+ for (InformationIterator i = new InformationIterator(genOperation.getEcoreOperation()
+ .getEGenericType()); i.hasNext();) {
+ Information info = i.next();
+ String typePrefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
+ }
+ stringBuffer.append(TEXT_534);
+ stringBuffer.append(typePrefix);
+ stringBuffer.append(TEXT_535);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_536);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_537);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_538);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_539);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_540);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_541);
+ }
+ }
+ stringBuffer.append(TEXT_542);
+ }
+ }
+ if (c.hasNext()) {
+ stringBuffer.append(TEXT_543);
+ }
+ }
+ }
+ if (!genPackage.getGenEnums().isEmpty()) {
+ stringBuffer.append(TEXT_544);
+ for (Iterator<GenEnum> e = genPackage.getGenEnums().iterator(); e.hasNext();) {
+ GenEnum genEnum = e.next();
+ stringBuffer.append(TEXT_545);
+ stringBuffer.append(genEnum.getClassifierInstanceName());
+ stringBuffer.append(TEXT_546);
+ stringBuffer.append(genEnum.getImportedName());
+ stringBuffer.append(TEXT_547);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_548);
+ stringBuffer.append(genModel.getNonNLS());
+ for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {
+ stringBuffer.append(TEXT_549);
+ stringBuffer.append(genEnum.getClassifierInstanceName());
+ stringBuffer.append(TEXT_550);
+ stringBuffer.append(genEnum.getImportedName().equals(genEnum.getClassifierID()) ? genEnum
+ .getQualifiedName() : genEnum.getImportedName());
+ stringBuffer.append(TEXT_551);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
+ stringBuffer.append(TEXT_552);
+ }
+ if (e.hasNext()) {
+ stringBuffer.append(TEXT_553);
+ }
+ }
+ }
+ if (!genPackage.getGenDataTypes().isEmpty()) {
+ stringBuffer.append(TEXT_554);
+ for (GenDataType genDataType : genPackage.getGenDataTypes()) {
+ boolean hasInstanceTypeName = genModel.useGenerics()
+ && genDataType.getEcoreDataType().getInstanceTypeName() != null
+ && genDataType.getEcoreDataType().getInstanceTypeName().contains("<");
+ stringBuffer.append(TEXT_555);
+ stringBuffer.append(genDataType.getClassifierInstanceName());
+ stringBuffer.append(TEXT_556);
+ stringBuffer.append(genDataType.getRawImportedInstanceClassName());
+ stringBuffer.append(TEXT_557);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_558);
+ stringBuffer.append(genDataType.getSerializableFlag());
+ stringBuffer.append(TEXT_559);
+ stringBuffer.append(genDataType.getGeneratedInstanceClassFlag());
+ if (hasInstanceTypeName) {
+ stringBuffer.append(TEXT_560);
+ stringBuffer.append(genDataType.getEcoreDataType().getInstanceTypeName());
+ stringBuffer.append(TEXT_561);
+ }
+ stringBuffer.append(TEXT_562);
+ stringBuffer.append(genModel.getNonNLS());
+ if (hasInstanceTypeName) {
+ stringBuffer.append(genModel.getNonNLS(2));
+ }
+ }
+ }
+ if (genPackage.getSuperGenPackage() == null) {
+ stringBuffer.append(TEXT_563);
+ stringBuffer.append(genPackage.getSchemaLocation());
+ stringBuffer.append(TEXT_564);
+ }
+ if (!genPackage.isEcorePackage() && !genPackage.getAnnotationSources().isEmpty()) {
+ stringBuffer.append(TEXT_565);
+ for (String annotationSource : genPackage.getAnnotationSources()) {
+ stringBuffer.append(TEXT_566);
+ stringBuffer.append(annotationSource);
+ stringBuffer.append(TEXT_567);
+ stringBuffer.append(genPackage.getAnnotationSourceIdentifier(annotationSource));
+ stringBuffer.append(TEXT_568);
+ }
+ }
+ stringBuffer.append(TEXT_569);
+ for (String annotationSource : genPackage.getAnnotationSources()) {
+ stringBuffer.append(TEXT_570);
+ stringBuffer.append(annotationSource);
+ stringBuffer.append(TEXT_571);
+ stringBuffer.append(genPackage.getAnnotationSourceIdentifier(annotationSource));
+ stringBuffer.append(TEXT_572);
+ if (annotationSource == null) {
+ stringBuffer.append(TEXT_573);
+ } else {
+ stringBuffer.append(TEXT_574);
+ stringBuffer.append(annotationSource);
+ stringBuffer.append(TEXT_575);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ for (EAnnotation eAnnotation : genPackage.getAllAnnotations()) {
+ List<GenPackage.AnnotationReferenceData> annotationReferenceDataList = genPackage
+ .getReferenceData(eAnnotation);
+ if (annotationSource == null ? eAnnotation.getSource() == null : annotationSource
+ .equals(eAnnotation.getSource())) {
+ stringBuffer.append(TEXT_576);
+ stringBuffer.append(genPackage.getAnnotatedModelElementAccessor(eAnnotation));
+ stringBuffer.append(TEXT_577);
+ for (Iterator<Map.Entry<String, String>> k = eAnnotation.getDetails().iterator(); k
+ .hasNext();) {
+ Map.Entry<String, String> detail = k.next();
+ String key = Literals.toStringLiteral(detail.getKey(), genModel);
+ String value = Literals.toStringLiteral(detail.getValue(), genModel);
+ stringBuffer.append(TEXT_578);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_579);
+ stringBuffer.append(value);
+ stringBuffer.append(k.hasNext() ? "," : "");
+ stringBuffer.append(genModel.getNonNLS(key + value));
+ }
+ stringBuffer.append(TEXT_580);
+ if (annotationReferenceDataList.isEmpty()) {
+ stringBuffer.append(TEXT_581);
+ } else {
+ stringBuffer.append(TEXT_582);
+ }
+ if (!annotationReferenceDataList.isEmpty()) {
+ stringBuffer.append(TEXT_583);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_584);
+ for (Iterator<GenPackage.AnnotationReferenceData> k = annotationReferenceDataList
+ .iterator(); k.hasNext();) {
+ GenPackage.AnnotationReferenceData annotationReferenceData = k.next();
+ stringBuffer.append(TEXT_585);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_586);
+ if (annotationReferenceData.containingGenPackage != genPackage) {
+ stringBuffer.append(annotationReferenceData.containingGenPackage
+ .getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_587);
+ }
+ stringBuffer.append(TEXT_588);
+ stringBuffer.append(annotationReferenceData.uriFragment);
+ stringBuffer.append(TEXT_589);
+ if (k.hasNext()) {
+ stringBuffer.append(TEXT_590);
+ }
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_591);
+ }
+ for (EAnnotation nestedEAnnotation : genPackage.getAllNestedAnnotations(eAnnotation)) {
+ String nestedAnnotationSource = nestedEAnnotation.getSource();
+ int depth = 0;
+ boolean nonContentAnnotation = false;
+ StringBuilder path = new StringBuilder();
+ for (EObject eContainer = nestedEAnnotation.eContainer(), child = nestedEAnnotation; child != eAnnotation; child = eContainer, eContainer = eContainer
+ .eContainer()) {
+ boolean nonContentChild = child.eContainmentFeature() != EcorePackage.Literals.EANNOTATION__CONTENTS;
+ if (path.length() != 0) {
+ path.insert(0, ", ");
+ }
+ path.insert(0, nonContentChild);
+ if (nonContentChild) {
+ nonContentAnnotation = true;
+ }
+ ++depth;
+ }
+ List<GenPackage.AnnotationReferenceData> nestedAnnotationReferenceDataList = genPackage
+ .getReferenceData(nestedEAnnotation);
+ stringBuffer.append(TEXT_592);
+ stringBuffer.append(genPackage.getAnnotatedModelElementAccessor(eAnnotation));
+ stringBuffer.append(TEXT_593);
+ if (nonContentAnnotation
+ && genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF210_VALUE) {
+ stringBuffer.append(TEXT_594);
+ stringBuffer.append(path.toString());
+ stringBuffer.append(TEXT_595);
+ } else {
+ stringBuffer.append(depth);
+ }
+ stringBuffer.append(TEXT_596);
+ if (nestedAnnotationSource == null) {
+ stringBuffer.append(TEXT_597);
+ } else {
+ stringBuffer.append(TEXT_598);
+ stringBuffer.append(nestedAnnotationSource);
+ stringBuffer.append(TEXT_599);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_600);
+ for (Iterator<Map.Entry<String, String>> l = nestedEAnnotation.getDetails().iterator(); l
+ .hasNext();) {
+ Map.Entry<String, String> detail = l.next();
+ String key = Literals.toStringLiteral(detail.getKey(), genModel);
+ String value = Literals.toStringLiteral(detail.getValue(), genModel);
+ stringBuffer.append(TEXT_601);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_602);
+ stringBuffer.append(value);
+ stringBuffer.append(l.hasNext() ? "," : "");
+ stringBuffer.append(genModel.getNonNLS(key + value));
+ }
+ stringBuffer.append(TEXT_603);
+ if (nestedAnnotationReferenceDataList.isEmpty()) {
+ stringBuffer.append(TEXT_604);
+ } else {
+ stringBuffer.append(TEXT_605);
+ }
+ if (!nestedAnnotationReferenceDataList.isEmpty()) {
+ stringBuffer.append(TEXT_606);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_607);
+ for (Iterator<GenPackage.AnnotationReferenceData> l = nestedAnnotationReferenceDataList
+ .iterator(); l.hasNext();) {
+ GenPackage.AnnotationReferenceData annotationReferenceData = l.next();
+ stringBuffer.append(TEXT_608);
+ stringBuffer
+ .append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_609);
+ if (annotationReferenceData.containingGenPackage != genPackage) {
+ stringBuffer.append(annotationReferenceData.containingGenPackage
+ .getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_610);
+ }
+ stringBuffer.append(TEXT_611);
+ stringBuffer.append(annotationReferenceData.uriFragment);
+ stringBuffer.append(TEXT_612);
+ if (l.hasNext()) {
+ stringBuffer.append(TEXT_613);
+ }
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_614);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_615);
+ }
+ } else {
+ if (genPackage.isLoadingInitialization()) {
+ stringBuffer.append(TEXT_616);
+ stringBuffer.append(genModel.getImportedName("java.net.URL"));
+ stringBuffer.append(TEXT_617);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_618);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_619);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_620);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource"));
+ stringBuffer.append(TEXT_621);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl"));
+ stringBuffer.append(TEXT_622);
+ stringBuffer.append(genModel.getImportedName("java.io.IOException"));
+ stringBuffer.append(TEXT_623);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException"));
+ stringBuffer.append(TEXT_624);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_625);
+ }
+ stringBuffer.append(TEXT_626);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_627);
+ }
+ stringBuffer.append(TEXT_628);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier"));
+ stringBuffer.append(TEXT_629);
+ ArrayList<GenClass> dynamicGenClasses = new ArrayList<GenClass>();
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (genClass.isDynamic()) {
+ dynamicGenClasses.add(genClass);
+ }
+ }
+ if (dynamicGenClasses.isEmpty()) {
+ stringBuffer.append(TEXT_630);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_631);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_632);
+ } else {
+ stringBuffer.append(TEXT_633);
+ for (GenClass genClass : dynamicGenClasses) {
+ if (genClass.isDynamic()) {
+ stringBuffer.append(TEXT_634);
+ stringBuffer.append(genPackage.getClassifierID(genClass));
+ stringBuffer.append(TEXT_635);
+ }
+ }
+ stringBuffer.append(TEXT_636);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_637);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_638);
+ }
+ stringBuffer.append(TEXT_639);
+ }
+ if (needsAddEOperation) {
+ stringBuffer.append(TEXT_640);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_641);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass"));
+ stringBuffer.append(TEXT_642);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier"));
+ stringBuffer.append(TEXT_643);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_644);
+ }
+ if (needsAddEParameter) {
+ stringBuffer.append(TEXT_645);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EParameter"));
+ stringBuffer.append(TEXT_646);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_647);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier"));
+ stringBuffer.append(TEXT_648);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EParameter"));
+ stringBuffer.append(TEXT_649);
+ }
+ }
+ if (isInterface && genPackage.isLiteralsInterface()) {
+ stringBuffer.append(TEXT_650);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_651);
+ }
+ stringBuffer.append(TEXT_652);
+ if (isImplementation) {
+ stringBuffer.append(TEXT_653);
+ }
+ stringBuffer.append(TEXT_654);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ stringBuffer.append(TEXT_655);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ if (!genClass.isInterface()) {
+ stringBuffer.append(TEXT_656);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ stringBuffer.append(TEXT_657);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_658);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ } else {
+ stringBuffer.append(TEXT_659);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_660);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_661);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ }
+ } else if (genClassifier instanceof GenEnum) {
+ GenEnum genEnum = (GenEnum) genClassifier;
+ stringBuffer.append(TEXT_662);
+ stringBuffer.append(genEnum.getQualifiedName());
+ stringBuffer.append(TEXT_663);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_664);
+ stringBuffer.append(genEnum.getQualifiedName());
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ stringBuffer.append(TEXT_665);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_666);
+ if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_667);
+ stringBuffer.append(genDataType.getRawInstanceClassName());
+ }
+ }
+ stringBuffer.append(TEXT_668);
+ stringBuffer.append(genPackage.getQualifiedPackageClassName());
+ stringBuffer.append(TEXT_669);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_670);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_671);
+ stringBuffer.append(genPackage.getClassifierID(genClassifier));
+ stringBuffer.append(TEXT_672);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_673);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_674);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_675);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_676);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_677);
+ stringBuffer.append(genClass.getFeatureID(genFeature));
+ stringBuffer.append(TEXT_678);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_679);
+ }
+ if (genModel.isOperationReflection()) {
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ stringBuffer.append(TEXT_680);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_681);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genOperation.getImportedMetaType());
+ stringBuffer.append(TEXT_682);
+ stringBuffer.append(genClass.getOperationID(genOperation, false));
+ stringBuffer.append(TEXT_683);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_684);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_685);
+ }
+ stringBuffer.append(TEXT_686);
+ stringBuffer.append(isInterface ? genPackage.getPackageInterfaceName() : genPackage.getPackageClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_687);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genPackage.hasClassifiers());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageInterface.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageInterface.java
new file mode 100644
index 0000000..9745bd5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageInterface.java
@@ -0,0 +1,2941 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PackageInterface extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized PackageInterface create(String lineSeparator) {
+ nl = lineSeparator;
+ PackageInterface result = new PackageInterface();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";";
+ protected final String TEXT_4 = NL + "package ";
+ protected final String TEXT_5 = ";";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Package</b> for the model." + NL
+ + " * It contains accessors for the meta objects to represent" + NL + " * <ul>" + NL
+ + " * <li>each class,</li>" + NL + " * <li>each feature of each class,</li>";
+ protected final String TEXT_8 = NL + " * <li>each operation of each class,</li>";
+ protected final String TEXT_9 = NL + " * <li>each enum,</li>" + NL + " * <li>and each data type</li>" + NL
+ + " * </ul>" + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_10 = NL + " * <!-- begin-model-doc -->" + NL + " * ";
+ protected final String TEXT_11 = NL + " * <!-- end-model-doc -->";
+ protected final String TEXT_12 = NL + " * @see ";
+ protected final String TEXT_13 = NL + " * @model ";
+ protected final String TEXT_14 = NL + " * ";
+ protected final String TEXT_15 = NL + " * @model";
+ protected final String TEXT_16 = NL + " * @generated" + NL + " */";
+ protected final String TEXT_17 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model <b>Package</b>." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @generated" + NL + " */";
+ protected final String TEXT_18 = NL + "public class ";
+ protected final String TEXT_19 = " extends ";
+ protected final String TEXT_20 = " implements ";
+ protected final String TEXT_21 = NL + "public interface ";
+ protected final String TEXT_22 = " extends ";
+ protected final String TEXT_23 = NL + "{";
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_25 = " copyright = ";
+ protected final String TEXT_26 = ";";
+ protected final String TEXT_27 = NL;
+ protected final String TEXT_28 = NL + "\t/**" + NL + "\t * The package name." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_29 = " eNAME = \"";
+ protected final String TEXT_30 = "\";";
+ protected final String TEXT_31 = NL + NL + "\t/**" + NL + "\t * The package namespace URI." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_32 = " eNS_URI = \"";
+ protected final String TEXT_33 = "\";";
+ protected final String TEXT_34 = NL + NL + "\t/**" + NL + "\t * The package namespace name." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_35 = " eNS_PREFIX = \"";
+ protected final String TEXT_36 = "\";";
+ protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * The package content type ID." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_38 = " eCONTENT_TYPE = \"";
+ protected final String TEXT_39 = "\";";
+ protected final String TEXT_40 = NL + NL + "\t/**" + NL + "\t * The singleton instance of the package." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
+ protected final String TEXT_41 = " eINSTANCE = ";
+ protected final String TEXT_42 = ".init();" + NL;
+ protected final String TEXT_43 = NL + "\t/**";
+ protected final String TEXT_44 = NL + "\t * The meta object id for the '{@link ";
+ protected final String TEXT_45 = " <em>";
+ protected final String TEXT_46 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_47 = NL + "\t * The meta object id for the '{@link ";
+ protected final String TEXT_48 = " <em>";
+ protected final String TEXT_49 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_50 = NL + "\t * The meta object id for the '{@link ";
+ protected final String TEXT_51 = " <em>";
+ protected final String TEXT_52 = "</em>}' enum." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_53 = NL + "\t * The meta object id for the '<em>";
+ protected final String TEXT_54 = "</em>' data type." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_55 = NL + "\t * @see ";
+ protected final String TEXT_56 = NL + "\t * @see ";
+ protected final String TEXT_57 = "#get";
+ protected final String TEXT_58 = "()" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_59 = "int ";
+ protected final String TEXT_60 = " = ";
+ protected final String TEXT_61 = ";" + NL;
+ protected final String TEXT_62 = NL + "\t/**" + NL + "\t * The feature id for the '<em><b>";
+ protected final String TEXT_63 = "</b></em>' ";
+ protected final String TEXT_64 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_65 = "int ";
+ protected final String TEXT_66 = " = ";
+ protected final String TEXT_67 = ";" + NL;
+ protected final String TEXT_68 = NL + "\t/**" + NL + "\t * The number of structural features of the '<em>";
+ protected final String TEXT_69 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_70 = "int ";
+ protected final String TEXT_71 = " = ";
+ protected final String TEXT_72 = ";" + NL;
+ protected final String TEXT_73 = NL + "\t/**" + NL + "\t * The operation id for the '<em>";
+ protected final String TEXT_74 = "</em>' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_75 = "int ";
+ protected final String TEXT_76 = " = ";
+ protected final String TEXT_77 = ";" + NL;
+ protected final String TEXT_78 = NL + "\t/**" + NL + "\t * The number of operations of the '<em>";
+ protected final String TEXT_79 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_80 = "int ";
+ protected final String TEXT_81 = " = ";
+ protected final String TEXT_82 = ";" + NL;
+ protected final String TEXT_83 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected String packageFilename = \"";
+ protected final String TEXT_84 = "\";";
+ protected final String TEXT_85 = NL;
+ protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
+ protected final String TEXT_87 = " ";
+ protected final String TEXT_88 = " = null;" + NL;
+ protected final String TEXT_89 = NL + "\t/**" + NL
+ + "\t * Creates an instance of the model <b>Package</b>, registered with" + NL
+ + "\t * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package" + NL
+ + "\t * package URI value." + NL + "\t * <p>Note: the correct way to create the package is via the static"
+ + NL + "\t * factory method {@link #init init()}, which also performs" + NL
+ + "\t * initialization of the package, or returns the registered package," + NL
+ + "\t * if one already exists." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @see org.eclipse.emf.ecore.EPackage.Registry" + NL + "\t * @see ";
+ protected final String TEXT_90 = "#eNS_URI" + NL + "\t * @see #init()" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate ";
+ protected final String TEXT_91 = "()" + NL + "\t{" + NL + "\t\tsuper(eNS_URI, ";
+ protected final String TEXT_92 = ");"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprivate static boolean isInited = false;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends."
+ + NL + "\t * " + NL + "\t * <p>This method is used to initialize {@link ";
+ protected final String TEXT_93 = "#eINSTANCE} when that field is accessed."
+ + NL
+ + "\t * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #eNS_URI";
+ protected final String TEXT_94 = NL + "\t * @see #createPackageContents()" + NL
+ + "\t * @see #initializePackageContents()";
+ protected final String TEXT_95 = NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_96 = " init()" + NL + "\t{" + NL + "\t\tif (isInited) return (";
+ protected final String TEXT_97 = ")";
+ protected final String TEXT_98 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_99 = ".eNS_URI);" + NL;
+ protected final String TEXT_100 = NL + "\t\tinitializeRegistryHelpers();" + NL;
+ protected final String TEXT_101 = NL + "\t\t// Obtain or create and register package" + NL + "\t\t";
+ protected final String TEXT_102 = " the";
+ protected final String TEXT_103 = " = (";
+ protected final String TEXT_104 = ")(";
+ protected final String TEXT_105 = ".Registry.INSTANCE.get(eNS_URI) instanceof ";
+ protected final String TEXT_106 = " ? ";
+ protected final String TEXT_107 = ".Registry.INSTANCE.get(eNS_URI) : new ";
+ protected final String TEXT_108 = "());" + NL + "" + NL + "\t\tisInited = true;" + NL;
+ protected final String TEXT_109 = NL + "\t\t// Initialize simple dependencies";
+ protected final String TEXT_110 = NL + "\t\t";
+ protected final String TEXT_111 = ".eINSTANCE.eClass();";
+ protected final String TEXT_112 = NL;
+ protected final String TEXT_113 = NL + "\t\t// Obtain or create and register interdependencies";
+ protected final String TEXT_114 = NL + "\t\t";
+ protected final String TEXT_115 = " ";
+ protected final String TEXT_116 = " = (";
+ protected final String TEXT_117 = ")(";
+ protected final String TEXT_118 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_119 = ".eNS_URI) instanceof ";
+ protected final String TEXT_120 = " ? ";
+ protected final String TEXT_121 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_122 = ".eNS_URI) : ";
+ protected final String TEXT_123 = ".eINSTANCE);";
+ protected final String TEXT_124 = NL;
+ protected final String TEXT_125 = NL + "\t\t// Load packages";
+ protected final String TEXT_126 = NL + "\t\tthe";
+ protected final String TEXT_127 = ".loadPackage();";
+ protected final String TEXT_128 = NL + "\t\t";
+ protected final String TEXT_129 = ".loadPackage();";
+ protected final String TEXT_130 = NL;
+ protected final String TEXT_131 = NL + "\t\t// Create package meta-data objects";
+ protected final String TEXT_132 = NL + "\t\tthe";
+ protected final String TEXT_133 = ".createPackageContents();";
+ protected final String TEXT_134 = NL + "\t\t";
+ protected final String TEXT_135 = ".createPackageContents();";
+ protected final String TEXT_136 = NL + NL + "\t\t// Initialize created meta-data";
+ protected final String TEXT_137 = NL + "\t\tthe";
+ protected final String TEXT_138 = ".initializePackageContents();";
+ protected final String TEXT_139 = NL + "\t\t";
+ protected final String TEXT_140 = ".initializePackageContents();";
+ protected final String TEXT_141 = NL;
+ protected final String TEXT_142 = NL + "\t\t// Fix loaded packages";
+ protected final String TEXT_143 = NL + "\t\tthe";
+ protected final String TEXT_144 = ".fixPackageContents();";
+ protected final String TEXT_145 = NL + "\t\t";
+ protected final String TEXT_146 = ".fixPackageContents();";
+ protected final String TEXT_147 = NL;
+ protected final String TEXT_148 = NL + "\t\t// Register package validator" + NL + "\t\t";
+ protected final String TEXT_149 = ".Registry.INSTANCE.put" + NL + "\t\t\t(the";
+ protected final String TEXT_150 = ", " + NL + "\t\t\t new ";
+ protected final String TEXT_151 = ".Descriptor()" + NL + "\t\t\t {" + NL + "\t\t\t\t public ";
+ protected final String TEXT_152 = " getEValidator()" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return ";
+ protected final String TEXT_153 = ".INSTANCE;" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL;
+ protected final String TEXT_154 = NL + "\t\t// Mark meta-data to indicate it can't be changed" + NL + "\t\tthe";
+ protected final String TEXT_155 = ".freeze();" + NL;
+ protected final String TEXT_156 = NL + " " + NL + "\t\t// Update the registry and return the package" + NL
+ + "\t\t";
+ protected final String TEXT_157 = ".Registry.INSTANCE.put(";
+ protected final String TEXT_158 = ".eNS_URI, the";
+ protected final String TEXT_159 = ");" + NL + "\t\treturn the";
+ protected final String TEXT_160 = ";" + NL + "\t}";
+ protected final String TEXT_161 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void initializeRegistryHelpers()" + NL + "\t{";
+ protected final String TEXT_162 = NL + "\t\t";
+ protected final String TEXT_163 = ".register" + NL + "\t\t\t(";
+ protected final String TEXT_164 = ".class, " + NL + "\t\t\t new ";
+ protected final String TEXT_165 = ".Helper() " + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t return instance instanceof ";
+ protected final String TEXT_166 = ";" + NL + "\t\t\t\t }" + NL + "" + NL
+ + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return new ";
+ protected final String TEXT_167 = "[size];" + NL + "\t\t\t\t }" + NL + "\t\t\t });";
+ protected final String TEXT_168 = NL + "\t\t";
+ protected final String TEXT_169 = ".register" + NL + "\t\t\t(";
+ protected final String TEXT_170 = ".class, " + NL + "\t\t\t new ";
+ protected final String TEXT_171 = ".Helper() " + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t return instance instanceof ";
+ protected final String TEXT_172 = ";" + NL + "\t\t\t\t }" + NL + "" + NL
+ + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {";
+ protected final String TEXT_173 = NL + "\t\t\t\t\t return new ";
+ protected final String TEXT_174 = "[size]";
+ protected final String TEXT_175 = ";";
+ protected final String TEXT_176 = NL + "\t\t\t\t\t return new ";
+ protected final String TEXT_177 = "[size];";
+ protected final String TEXT_178 = NL + "\t\t\t\t }" + NL + "\t\t});";
+ protected final String TEXT_179 = NL + "\t}" + NL + "" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class WhiteList implements ";
+ protected final String TEXT_180 = ", EBasicWhiteList" + NL + "\t{";
+ protected final String TEXT_181 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_182 = " ";
+ protected final String TEXT_183 = ";" + NL;
+ protected final String TEXT_184 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_185 = " ";
+ protected final String TEXT_186 = ";" + NL;
+ protected final String TEXT_187 = NL + "\t}";
+ protected final String TEXT_188 = NL;
+ protected final String TEXT_189 = NL;
+ protected final String TEXT_190 = NL + "\t/**";
+ protected final String TEXT_191 = NL + "\t * Returns the meta object for class '{@link ";
+ protected final String TEXT_192 = " <em>";
+ protected final String TEXT_193 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for class '<em>";
+ protected final String TEXT_194 = "</em>'." + NL + "\t * @see ";
+ protected final String TEXT_195 = NL + "\t * @model ";
+ protected final String TEXT_196 = NL + "\t * ";
+ protected final String TEXT_197 = NL + "\t * @model";
+ protected final String TEXT_198 = NL + "\t * Returns the meta object for enum '{@link ";
+ protected final String TEXT_199 = " <em>";
+ protected final String TEXT_200 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for enum '<em>";
+ protected final String TEXT_201 = "</em>'." + NL + "\t * @see ";
+ protected final String TEXT_202 = NL + "\t * Returns the meta object for data type '<em>";
+ protected final String TEXT_203 = "</em>'.";
+ protected final String TEXT_204 = NL + "\t * Returns the meta object for data type '{@link ";
+ protected final String TEXT_205 = " <em>";
+ protected final String TEXT_206 = "</em>}'.";
+ protected final String TEXT_207 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the meta object for data type '<em>";
+ protected final String TEXT_208 = "</em>'.";
+ protected final String TEXT_209 = NL + "\t * @see ";
+ protected final String TEXT_210 = NL + "\t * @model ";
+ protected final String TEXT_211 = NL + "\t * ";
+ protected final String TEXT_212 = NL + "\t * @model";
+ protected final String TEXT_213 = NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_214 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_215 = NL + "\tpublic ";
+ protected final String TEXT_216 = " get";
+ protected final String TEXT_217 = "()" + NL + "\t{";
+ protected final String TEXT_218 = NL + "\t\tif (";
+ protected final String TEXT_219 = " == null)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_220 = " = (";
+ protected final String TEXT_221 = ")";
+ protected final String TEXT_222 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_223 = ".eNS_URI).getEClassifiers().get(";
+ protected final String TEXT_224 = ");" + NL + "\t\t}";
+ protected final String TEXT_225 = NL + "\t\treturn ";
+ protected final String TEXT_226 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_227 = NL + "\t";
+ protected final String TEXT_228 = " get";
+ protected final String TEXT_229 = "();" + NL;
+ protected final String TEXT_230 = NL + "\t/**" + NL + "\t * Returns the meta object for the ";
+ protected final String TEXT_231 = " '{@link ";
+ protected final String TEXT_232 = "#";
+ protected final String TEXT_233 = " <em>";
+ protected final String TEXT_234 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the ";
+ protected final String TEXT_235 = " '<em>";
+ protected final String TEXT_236 = "</em>'." + NL + "\t * @see ";
+ protected final String TEXT_237 = "#";
+ protected final String TEXT_238 = "()";
+ protected final String TEXT_239 = NL + "\t * @see #get";
+ protected final String TEXT_240 = "()" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_241 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_242 = NL + "\tpublic ";
+ protected final String TEXT_243 = " get";
+ protected final String TEXT_244 = "()" + NL + "\t{";
+ protected final String TEXT_245 = NL + "\t\treturn (";
+ protected final String TEXT_246 = ")";
+ protected final String TEXT_247 = ".getEStructuralFeatures().get(";
+ protected final String TEXT_248 = ");";
+ protected final String TEXT_249 = NL + " return (";
+ protected final String TEXT_250 = ")get";
+ protected final String TEXT_251 = "().getEStructuralFeatures().get(";
+ protected final String TEXT_252 = ");";
+ protected final String TEXT_253 = NL + "\t}";
+ protected final String TEXT_254 = NL + "\t";
+ protected final String TEXT_255 = " get";
+ protected final String TEXT_256 = "();";
+ protected final String TEXT_257 = NL;
+ protected final String TEXT_258 = NL + "\t/**" + NL + "\t * Returns the meta object for the '{@link ";
+ protected final String TEXT_259 = "#";
+ protected final String TEXT_260 = "(";
+ protected final String TEXT_261 = ") <em>";
+ protected final String TEXT_262 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the '<em>";
+ protected final String TEXT_263 = "</em>' operation." + NL + "\t * @see ";
+ protected final String TEXT_264 = "#";
+ protected final String TEXT_265 = "(";
+ protected final String TEXT_266 = ")" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_268 = NL + "\tpublic ";
+ protected final String TEXT_269 = " get";
+ protected final String TEXT_270 = "()" + NL + "\t{";
+ protected final String TEXT_271 = NL + "\t\treturn ";
+ protected final String TEXT_272 = ".getEOperations().get(";
+ protected final String TEXT_273 = ");";
+ protected final String TEXT_274 = NL + " return get";
+ protected final String TEXT_275 = "().getEOperations().get(";
+ protected final String TEXT_276 = ");";
+ protected final String TEXT_277 = NL + "\t}";
+ protected final String TEXT_278 = NL + "\t";
+ protected final String TEXT_279 = " get";
+ protected final String TEXT_280 = "();";
+ protected final String TEXT_281 = NL;
+ protected final String TEXT_282 = NL + "\t/**" + NL
+ + "\t * Returns the factory that creates the instances of the model." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the factory that creates the instances of the model." + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_283 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_284 = NL + "\tpublic ";
+ protected final String TEXT_285 = " get";
+ protected final String TEXT_286 = "()" + NL + "\t{" + NL + "\t\treturn (";
+ protected final String TEXT_287 = ")getEFactoryInstance();" + NL + "\t}";
+ protected final String TEXT_288 = NL + "\t";
+ protected final String TEXT_289 = " get";
+ protected final String TEXT_290 = "();";
+ protected final String TEXT_291 = NL;
+ protected final String TEXT_292 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isCreated = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates the meta-model objects for the package. This method is" + NL
+ + "\t * guarded to have no affect on any invocation but its first." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void createPackageContents()" + NL + "\t{" + NL + "\t\tif (isCreated) return;" + NL
+ + "\t\tisCreated = true;";
+ protected final String TEXT_293 = NL + NL + "\t\t// Create classes and their features";
+ protected final String TEXT_294 = NL + "\t\t";
+ protected final String TEXT_295 = " = create";
+ protected final String TEXT_296 = "(";
+ protected final String TEXT_297 = ");";
+ protected final String TEXT_298 = NL + "\t\tcreate";
+ protected final String TEXT_299 = "(";
+ protected final String TEXT_300 = ", ";
+ protected final String TEXT_301 = ");";
+ protected final String TEXT_302 = NL + "\t\tcreateEOperation(";
+ protected final String TEXT_303 = ", ";
+ protected final String TEXT_304 = ");";
+ protected final String TEXT_305 = NL;
+ protected final String TEXT_306 = NL + NL + "\t\t// Create enums";
+ protected final String TEXT_307 = NL + "\t\t";
+ protected final String TEXT_308 = " = createEEnum(";
+ protected final String TEXT_309 = ");";
+ protected final String TEXT_310 = NL + NL + "\t\t// Create data types";
+ protected final String TEXT_311 = NL + "\t\t";
+ protected final String TEXT_312 = " = createEDataType(";
+ protected final String TEXT_313 = ");";
+ protected final String TEXT_314 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isInitialized = false;" + NL;
+ protected final String TEXT_315 = NL + "\t/**" + NL
+ + "\t * Complete the initialization of the package and its meta-model. This" + NL
+ + "\t * method is guarded to have no affect on any invocation but its first." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void initializePackageContents()" + NL + "\t{" + NL
+ + "\t\tif (isInitialized) return;" + NL + "\t\tisInitialized = true;" + NL + "" + NL
+ + "\t\t// Initialize package" + NL + "\t\tsetName(eNAME);" + NL + "\t\tsetNsPrefix(eNS_PREFIX);" + NL
+ + "\t\tsetNsURI(eNS_URI);";
+ protected final String TEXT_316 = NL + NL + "\t\t// Obtain other dependent packages";
+ protected final String TEXT_317 = NL + "\t\t";
+ protected final String TEXT_318 = " ";
+ protected final String TEXT_319 = " = (";
+ protected final String TEXT_320 = ")";
+ protected final String TEXT_321 = ".Registry.INSTANCE.getEPackage(";
+ protected final String TEXT_322 = ".eNS_URI);";
+ protected final String TEXT_323 = NL + NL + "\t\t// Add subpackages";
+ protected final String TEXT_324 = NL + "\t\tgetESubpackages().add(";
+ protected final String TEXT_325 = ");";
+ protected final String TEXT_326 = NL + NL + "\t\t// Create type parameters";
+ protected final String TEXT_327 = NL + "\t\t";
+ protected final String TEXT_328 = " ";
+ protected final String TEXT_329 = "_";
+ protected final String TEXT_330 = " = addETypeParameter(";
+ protected final String TEXT_331 = ", \"";
+ protected final String TEXT_332 = "\");";
+ protected final String TEXT_333 = NL + "\t\taddETypeParameter(";
+ protected final String TEXT_334 = ", \"";
+ protected final String TEXT_335 = "\");";
+ protected final String TEXT_336 = NL + NL + "\t\t// Set bounds for type parameters";
+ protected final String TEXT_337 = NL + "\t\t";
+ protected final String TEXT_338 = "g";
+ protected final String TEXT_339 = " = createEGenericType(";
+ protected final String TEXT_340 = ");";
+ protected final String TEXT_341 = NL + "\t\tg";
+ protected final String TEXT_342 = ".";
+ protected final String TEXT_343 = "(g";
+ protected final String TEXT_344 = ");";
+ protected final String TEXT_345 = NL + "\t\t";
+ protected final String TEXT_346 = "_";
+ protected final String TEXT_347 = ".getEBounds().add(g1);";
+ protected final String TEXT_348 = NL + NL + "\t\t// Add supertypes to classes";
+ protected final String TEXT_349 = NL + "\t\t";
+ protected final String TEXT_350 = ".getESuperTypes().add(";
+ protected final String TEXT_351 = ".get";
+ protected final String TEXT_352 = "());";
+ protected final String TEXT_353 = NL + "\t\t";
+ protected final String TEXT_354 = "g";
+ protected final String TEXT_355 = " = createEGenericType(";
+ protected final String TEXT_356 = ");";
+ protected final String TEXT_357 = NL + "\t\tg";
+ protected final String TEXT_358 = ".";
+ protected final String TEXT_359 = "(g";
+ protected final String TEXT_360 = ");";
+ protected final String TEXT_361 = NL + "\t\t";
+ protected final String TEXT_362 = ".getEGenericSuperTypes().add(g1);";
+ protected final String TEXT_363 = NL + NL + "\t\t// Initialize classes";
+ protected final String TEXT_364 = ", features, and operations; add parameters";
+ protected final String TEXT_365 = " and features; add operations and parameters";
+ protected final String TEXT_366 = NL + "\t\tinitEClass(";
+ protected final String TEXT_367 = ", ";
+ protected final String TEXT_368 = "null";
+ protected final String TEXT_369 = ".class";
+ protected final String TEXT_370 = ", \"";
+ protected final String TEXT_371 = "\", ";
+ protected final String TEXT_372 = ", ";
+ protected final String TEXT_373 = ", ";
+ protected final String TEXT_374 = ", \"";
+ protected final String TEXT_375 = "\"";
+ protected final String TEXT_376 = ");";
+ protected final String TEXT_377 = NL + "\t\t";
+ protected final String TEXT_378 = "g";
+ protected final String TEXT_379 = " = createEGenericType(";
+ protected final String TEXT_380 = ");";
+ protected final String TEXT_381 = NL + "\t\tg";
+ protected final String TEXT_382 = ".";
+ protected final String TEXT_383 = "(g";
+ protected final String TEXT_384 = ");";
+ protected final String TEXT_385 = NL + "\t\tinitEReference(get";
+ protected final String TEXT_386 = "(), ";
+ protected final String TEXT_387 = "g1";
+ protected final String TEXT_388 = ".get";
+ protected final String TEXT_389 = "()";
+ protected final String TEXT_390 = ", ";
+ protected final String TEXT_391 = ", \"";
+ protected final String TEXT_392 = "\", ";
+ protected final String TEXT_393 = ", ";
+ protected final String TEXT_394 = ", ";
+ protected final String TEXT_395 = ", ";
+ protected final String TEXT_396 = ", ";
+ protected final String TEXT_397 = ", ";
+ protected final String TEXT_398 = ", ";
+ protected final String TEXT_399 = ", ";
+ protected final String TEXT_400 = ", ";
+ protected final String TEXT_401 = ", ";
+ protected final String TEXT_402 = ", ";
+ protected final String TEXT_403 = ", ";
+ protected final String TEXT_404 = ", ";
+ protected final String TEXT_405 = ");";
+ protected final String TEXT_406 = NL + "\t\tget";
+ protected final String TEXT_407 = "().getEKeys().add(";
+ protected final String TEXT_408 = ".get";
+ protected final String TEXT_409 = "());";
+ protected final String TEXT_410 = NL + "\t\tinitEAttribute(get";
+ protected final String TEXT_411 = "(), ";
+ protected final String TEXT_412 = "g1";
+ protected final String TEXT_413 = ".get";
+ protected final String TEXT_414 = "()";
+ protected final String TEXT_415 = ", \"";
+ protected final String TEXT_416 = "\", ";
+ protected final String TEXT_417 = ", ";
+ protected final String TEXT_418 = ", ";
+ protected final String TEXT_419 = ", ";
+ protected final String TEXT_420 = ", ";
+ protected final String TEXT_421 = ", ";
+ protected final String TEXT_422 = ", ";
+ protected final String TEXT_423 = ", ";
+ protected final String TEXT_424 = ", ";
+ protected final String TEXT_425 = ", ";
+ protected final String TEXT_426 = ", ";
+ protected final String TEXT_427 = ", ";
+ protected final String TEXT_428 = ");";
+ protected final String TEXT_429 = NL;
+ protected final String TEXT_430 = NL + "\t\t";
+ protected final String TEXT_431 = "initEOperation(get";
+ protected final String TEXT_432 = "()";
+ protected final String TEXT_433 = "addEOperation(";
+ protected final String TEXT_434 = ", ";
+ protected final String TEXT_435 = "null";
+ protected final String TEXT_436 = ".get";
+ protected final String TEXT_437 = "()";
+ protected final String TEXT_438 = ", \"";
+ protected final String TEXT_439 = "\", ";
+ protected final String TEXT_440 = ", ";
+ protected final String TEXT_441 = ", ";
+ protected final String TEXT_442 = ", ";
+ protected final String TEXT_443 = ");";
+ protected final String TEXT_444 = NL + "\t\t";
+ protected final String TEXT_445 = "initEOperation(get";
+ protected final String TEXT_446 = "()";
+ protected final String TEXT_447 = "addEOperation(";
+ protected final String TEXT_448 = ", ";
+ protected final String TEXT_449 = ".get";
+ protected final String TEXT_450 = "(), \"";
+ protected final String TEXT_451 = "\", ";
+ protected final String TEXT_452 = ", ";
+ protected final String TEXT_453 = ", ";
+ protected final String TEXT_454 = ", ";
+ protected final String TEXT_455 = ");";
+ protected final String TEXT_456 = NL + "\t\t";
+ protected final String TEXT_457 = "initEOperation(get";
+ protected final String TEXT_458 = "()";
+ protected final String TEXT_459 = "addEOperation(";
+ protected final String TEXT_460 = ", ";
+ protected final String TEXT_461 = ".get";
+ protected final String TEXT_462 = "(), \"";
+ protected final String TEXT_463 = "\", ";
+ protected final String TEXT_464 = ", ";
+ protected final String TEXT_465 = ");";
+ protected final String TEXT_466 = NL + "\t\t";
+ protected final String TEXT_467 = "initEOperation(get";
+ protected final String TEXT_468 = "()";
+ protected final String TEXT_469 = "addEOperation(";
+ protected final String TEXT_470 = ", null, \"";
+ protected final String TEXT_471 = "\");";
+ protected final String TEXT_472 = NL + "\t\t";
+ protected final String TEXT_473 = "addETypeParameter(op, \"";
+ protected final String TEXT_474 = "\");";
+ protected final String TEXT_475 = NL + "\t\t";
+ protected final String TEXT_476 = "g";
+ protected final String TEXT_477 = " = createEGenericType(";
+ protected final String TEXT_478 = ");";
+ protected final String TEXT_479 = NL + "\t\tg";
+ protected final String TEXT_480 = ".";
+ protected final String TEXT_481 = "(g";
+ protected final String TEXT_482 = ");";
+ protected final String TEXT_483 = NL + "\t\tt";
+ protected final String TEXT_484 = ".getEBounds().add(g1);";
+ protected final String TEXT_485 = NL + "\t\t";
+ protected final String TEXT_486 = "g";
+ protected final String TEXT_487 = " = createEGenericType(";
+ protected final String TEXT_488 = ");";
+ protected final String TEXT_489 = NL + "\t\tg";
+ protected final String TEXT_490 = ".";
+ protected final String TEXT_491 = "(g";
+ protected final String TEXT_492 = ");";
+ protected final String TEXT_493 = NL + "\t\taddEParameter(op, ";
+ protected final String TEXT_494 = "g1";
+ protected final String TEXT_495 = ".get";
+ protected final String TEXT_496 = "()";
+ protected final String TEXT_497 = ", \"";
+ protected final String TEXT_498 = "\", ";
+ protected final String TEXT_499 = ", ";
+ protected final String TEXT_500 = ", ";
+ protected final String TEXT_501 = ", ";
+ protected final String TEXT_502 = ");";
+ protected final String TEXT_503 = NL + "\t\taddEParameter(op, ";
+ protected final String TEXT_504 = "g1";
+ protected final String TEXT_505 = ".get";
+ protected final String TEXT_506 = "()";
+ protected final String TEXT_507 = ", \"";
+ protected final String TEXT_508 = "\", ";
+ protected final String TEXT_509 = ", ";
+ protected final String TEXT_510 = ", ";
+ protected final String TEXT_511 = ", ";
+ protected final String TEXT_512 = ");";
+ protected final String TEXT_513 = NL + "\t\taddEParameter(op, ";
+ protected final String TEXT_514 = "g1";
+ protected final String TEXT_515 = ".get";
+ protected final String TEXT_516 = "()";
+ protected final String TEXT_517 = ", \"";
+ protected final String TEXT_518 = "\", ";
+ protected final String TEXT_519 = ", ";
+ protected final String TEXT_520 = ");";
+ protected final String TEXT_521 = NL + "\t\t";
+ protected final String TEXT_522 = "g";
+ protected final String TEXT_523 = " = createEGenericType(";
+ protected final String TEXT_524 = ");";
+ protected final String TEXT_525 = NL + "\t\tg";
+ protected final String TEXT_526 = ".";
+ protected final String TEXT_527 = "(g";
+ protected final String TEXT_528 = ");";
+ protected final String TEXT_529 = NL + "\t\taddEException(op, g";
+ protected final String TEXT_530 = ");";
+ protected final String TEXT_531 = NL + "\t\taddEException(op, ";
+ protected final String TEXT_532 = ".get";
+ protected final String TEXT_533 = "());";
+ protected final String TEXT_534 = NL + "\t\t";
+ protected final String TEXT_535 = "g";
+ protected final String TEXT_536 = " = createEGenericType(";
+ protected final String TEXT_537 = ");";
+ protected final String TEXT_538 = NL + "\t\tg";
+ protected final String TEXT_539 = ".";
+ protected final String TEXT_540 = "(g";
+ protected final String TEXT_541 = ");";
+ protected final String TEXT_542 = NL + "\t\tinitEOperation(op, g1);";
+ protected final String TEXT_543 = NL;
+ protected final String TEXT_544 = NL + NL + "\t\t// Initialize enums and add enum literals";
+ protected final String TEXT_545 = NL + "\t\tinitEEnum(";
+ protected final String TEXT_546 = ", ";
+ protected final String TEXT_547 = ".class, \"";
+ protected final String TEXT_548 = "\");";
+ protected final String TEXT_549 = NL + "\t\taddEEnumLiteral(";
+ protected final String TEXT_550 = ", ";
+ protected final String TEXT_551 = ".";
+ protected final String TEXT_552 = ");";
+ protected final String TEXT_553 = NL;
+ protected final String TEXT_554 = NL + NL + "\t\t// Initialize data types";
+ protected final String TEXT_555 = NL + "\t\tinitEDataType(";
+ protected final String TEXT_556 = ", ";
+ protected final String TEXT_557 = ".class, \"";
+ protected final String TEXT_558 = "\", ";
+ protected final String TEXT_559 = ", ";
+ protected final String TEXT_560 = ", \"";
+ protected final String TEXT_561 = "\"";
+ protected final String TEXT_562 = ");";
+ protected final String TEXT_563 = NL + NL + "\t\t// Create resource" + NL + "\t\tcreateResource(";
+ protected final String TEXT_564 = ");";
+ protected final String TEXT_565 = NL + NL + "\t\t// Create annotations";
+ protected final String TEXT_566 = NL + "\t\t// ";
+ protected final String TEXT_567 = NL + "\t\tcreate";
+ protected final String TEXT_568 = "Annotations();";
+ protected final String TEXT_569 = NL + "\t}" + NL;
+ protected final String TEXT_570 = NL + "\t/**" + NL + "\t * Initializes the annotations for <b>";
+ protected final String TEXT_571 = "</b>." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void create";
+ protected final String TEXT_572 = "Annotations()" + NL + "\t{" + NL + "\t\tString source = ";
+ protected final String TEXT_573 = "null;";
+ protected final String TEXT_574 = "\"";
+ protected final String TEXT_575 = "\";";
+ protected final String TEXT_576 = "\t" + NL + "\t\taddAnnotation" + NL + "\t\t (";
+ protected final String TEXT_577 = ", " + NL + "\t\t source, " + NL + "\t\t new String[] " + NL + "\t\t {";
+ protected final String TEXT_578 = NL + "\t\t\t ";
+ protected final String TEXT_579 = ", ";
+ protected final String TEXT_580 = NL + "\t\t }";
+ protected final String TEXT_581 = ");";
+ protected final String TEXT_582 = ",";
+ protected final String TEXT_583 = NL + "\t\t new ";
+ protected final String TEXT_584 = "[] " + NL + "\t\t {";
+ protected final String TEXT_585 = NL + "\t\t\t ";
+ protected final String TEXT_586 = ".createURI(";
+ protected final String TEXT_587 = ".";
+ protected final String TEXT_588 = "eNS_URI).appendFragment(\"";
+ protected final String TEXT_589 = "\")";
+ protected final String TEXT_590 = ",";
+ protected final String TEXT_591 = NL + "\t\t });";
+ protected final String TEXT_592 = NL + "\t\taddAnnotation" + NL + "\t\t (";
+ protected final String TEXT_593 = ", " + NL + "\t\t ";
+ protected final String TEXT_594 = "new boolean[] { ";
+ protected final String TEXT_595 = " }";
+ protected final String TEXT_596 = "," + NL + "\t\t ";
+ protected final String TEXT_597 = "null,";
+ protected final String TEXT_598 = "\"";
+ protected final String TEXT_599 = "\",";
+ protected final String TEXT_600 = NL + "\t\t new String[] " + NL + "\t\t {";
+ protected final String TEXT_601 = NL + "\t\t\t ";
+ protected final String TEXT_602 = ", ";
+ protected final String TEXT_603 = NL + "\t\t }";
+ protected final String TEXT_604 = ");";
+ protected final String TEXT_605 = ",";
+ protected final String TEXT_606 = NL + "\t\t new ";
+ protected final String TEXT_607 = "[] " + NL + "\t\t {";
+ protected final String TEXT_608 = NL + "\t\t\t ";
+ protected final String TEXT_609 = ".createURI(";
+ protected final String TEXT_610 = ".";
+ protected final String TEXT_611 = "eNS_URI).appendFragment(\"";
+ protected final String TEXT_612 = "\")";
+ protected final String TEXT_613 = ",";
+ protected final String TEXT_614 = NL + "\t\t });";
+ protected final String TEXT_615 = NL + "\t}" + NL;
+ protected final String TEXT_616 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isLoaded = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Laods the package and any sub-packages from their serialized form." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void loadPackage()" + NL + "\t{" + NL + "\t\tif (isLoaded) return;" + NL
+ + "\t\tisLoaded = true;" + NL + "" + NL + "\t\t";
+ protected final String TEXT_617 = " url = getClass().getResource(packageFilename);" + NL + "\t\tif (url == null)"
+ + NL + "\t\t{" + NL
+ + "\t\t\tthrow new RuntimeException(\"Missing serialized package: \" + packageFilename);";
+ protected final String TEXT_618 = NL + "\t\t}" + NL + "\t\t";
+ protected final String TEXT_619 = " uri = ";
+ protected final String TEXT_620 = ".createURI(url.toString());" + NL + "\t\t";
+ protected final String TEXT_621 = " resource = new ";
+ protected final String TEXT_622 = "().createResource(uri);" + NL + "\t\ttry" + NL + "\t\t{" + NL
+ + "\t\t\tresource.load(null);" + NL + "\t\t}" + NL + "\t\tcatch (";
+ protected final String TEXT_623 = " exception)" + NL + "\t\t{" + NL + "\t\t\tthrow new ";
+ protected final String TEXT_624 = "(exception);" + NL + "\t\t}" + NL + "\t\tinitializeFromLoadedEPackage(this, (";
+ protected final String TEXT_625 = ")resource.getContents().get(0));" + NL + "\t\tcreateResource(eNS_URI);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_626 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isFixed = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Fixes up the loaded package, to make it appear as if it had been programmatically built." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void fixPackageContents()" + NL + "\t{" + NL + "\t\tif (isFixed) return;" + NL
+ + "\t\tisFixed = true;" + NL + "\t\tfixEClassifiers();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Sets the instance class on the given classifier." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_627 = NL + "\t@Override";
+ protected final String TEXT_628 = NL + "\tprotected void fixInstanceClass(";
+ protected final String TEXT_629 = " eClassifier)" + NL + "\t{" + NL
+ + "\t\tif (eClassifier.getInstanceClassName() == null)" + NL + "\t\t{";
+ protected final String TEXT_630 = NL + "\t\t\teClassifier.setInstanceClassName(\"";
+ protected final String TEXT_631 = ".\" + eClassifier.getName());";
+ protected final String TEXT_632 = NL + "\t\t\tsetGeneratedClassName(eClassifier);";
+ protected final String TEXT_633 = NL + "\t\t\tswitch (eClassifier.getClassifierID())" + NL + "\t\t\t{";
+ protected final String TEXT_634 = NL + "\t\t\t\tcase ";
+ protected final String TEXT_635 = ":";
+ protected final String TEXT_636 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tbreak;" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tdefault:" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\teClassifier.setInstanceClassName(\"";
+ protected final String TEXT_637 = ".\" + eClassifier.getName());";
+ protected final String TEXT_638 = NL + "\t\t\t\t\tsetGeneratedClassName(eClassifier);" + NL + "\t\t\t\t\tbreak;"
+ + NL + "\t\t\t\t}" + NL + "\t\t\t}";
+ protected final String TEXT_639 = NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_640 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_641 = " addEOperation(";
+ protected final String TEXT_642 = " owner, ";
+ protected final String TEXT_643 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)"
+ + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_644 = " o = addEOperation(owner, type, name, lowerBound, upperBound);" + NL
+ + "\t\to.setUnique(isUnique);" + NL + "\t\to.setOrdered(isOrdered);" + NL + "\t\treturn o;" + NL + "\t}"
+ + NL + "\t";
+ protected final String TEXT_645 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_646 = " addEParameter(";
+ protected final String TEXT_647 = " owner, ";
+ protected final String TEXT_648 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)"
+ + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_649 = " p = ecoreFactory.createEParameter();" + NL + "\t\tp.setEType(type);" + NL
+ + "\t\tp.setName(name);" + NL + "\t\tp.setLowerBound(lowerBound);" + NL
+ + "\t\tp.setUpperBound(upperBound);" + NL + "\t\tp.setUnique(isUnique);" + NL
+ + "\t\tp.setOrdered(isOrdered);" + NL + "\t\towner.getEParameters().add(p);" + NL + "\t\treturn p;" + NL
+ + "\t}" + NL + "\t";
+ protected final String TEXT_650 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * Defines literals for the meta objects that represent" + NL + "\t * <ul>" + NL
+ + "\t * <li>each class,</li>" + NL + "\t * <li>each feature of each class,</li>";
+ protected final String TEXT_651 = NL + "\t * <li>each operation of each class,</li>";
+ protected final String TEXT_652 = NL + "\t * <li>each enum,</li>" + NL + "\t * <li>and each data type</li>"
+ + NL + "\t * </ul>" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_653 = "public ";
+ protected final String TEXT_654 = "interface Literals" + NL + "\t{";
+ protected final String TEXT_655 = NL + "\t\t/**";
+ protected final String TEXT_656 = NL + "\t\t * The meta object literal for the '{@link ";
+ protected final String TEXT_657 = " <em>";
+ protected final String TEXT_658 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_659 = NL + "\t\t * The meta object literal for the '{@link ";
+ protected final String TEXT_660 = " <em>";
+ protected final String TEXT_661 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_662 = NL + "\t\t * The meta object literal for the '{@link ";
+ protected final String TEXT_663 = " <em>";
+ protected final String TEXT_664 = "</em>}' enum." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_665 = NL + "\t\t * The meta object literal for the '<em>";
+ protected final String TEXT_666 = "</em>' data type." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->";
+ protected final String TEXT_667 = NL + "\t\t * @see ";
+ protected final String TEXT_668 = NL + "\t\t * @see ";
+ protected final String TEXT_669 = "#get";
+ protected final String TEXT_670 = "()" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_671 = " ";
+ protected final String TEXT_672 = " = eINSTANCE.get";
+ protected final String TEXT_673 = "();" + NL;
+ protected final String TEXT_674 = NL + "\t\t/**" + NL + "\t\t * The meta object literal for the '<em><b>";
+ protected final String TEXT_675 = "</b></em>' ";
+ protected final String TEXT_676 = " feature." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_677 = " ";
+ protected final String TEXT_678 = " = eINSTANCE.get";
+ protected final String TEXT_679 = "();" + NL;
+ protected final String TEXT_680 = NL + "\t\t/**" + NL + "\t\t * The meta object literal for the '<em><b>";
+ protected final String TEXT_681 = "</b></em>' operation." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_682 = " ";
+ protected final String TEXT_683 = " = eINSTANCE.get";
+ protected final String TEXT_684 = "();" + NL;
+ protected final String TEXT_685 = NL + "\t}" + NL;
+ protected final String TEXT_686 = NL + "} //";
+ protected final String TEXT_687 = NL;
+ protected final String TEXT_688 = NL;
+ protected final String TEXT_689 = NL;
+
+ public PackageInterface() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_688);
+ stringBuffer.append(TEXT_689);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getReflectionPackageName();
+ className = genPackage.getPackageInterfaceName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = ((Object[]) new Object[] { new Object[] { genPackage, Boolean.TRUE, Boolean.FALSE } })[0];
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ final GenPackage genPackage = (GenPackage) ((Object[]) argument)[0];
+ final GenModel genModel = genPackage.getGenModel();
+ boolean isInterface = Boolean.TRUE.equals(((Object[]) argument)[1]);
+ boolean isImplementation = Boolean.TRUE.equals(((Object[]) argument)[2]);
+ String publicStaticFinalFlag = isImplementation ? "public static final " : "";
+ boolean needsAddEOperation = false;
+ boolean needsAddEParameter = false;
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (isImplementation && !genModel.isSuppressInterfaces()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getClassPackageName());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getReflectionPackageName());
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ genModel.markImportLocation(stringBuffer, genPackage);
+ if (isImplementation) {
+ genModel.addPseudoImport("org.eclipse.emf.ecore.EPackage.Registry");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.EPackage.Descriptor");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.EPackageImpl.EBasicWhiteList");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");
+ if (genPackage.isLiteralsInterface()) {
+ genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + ".Literals");
+ }
+ for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers())
+ genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + "."
+ + genPackage.getClassifierID(genClassifier));
+ }
+ if (isInterface) {
+ stringBuffer.append(TEXT_7);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (genPackage.hasDocumentation()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genPackage.getDocumentation(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getQualifiedFactoryInterfaceName());
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genPackage.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_15);
+ }
+ }
+ stringBuffer.append(TEXT_16);
+ } else {
+ stringBuffer.append(TEXT_17);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.EPackageImpl"));
+ if (!isInterface) {
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ }
+ } else {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ }
+ stringBuffer.append(TEXT_23);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_27);
+ }
+ if (isInterface) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genPackage.getPackageName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genPackage.getNSName());
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getNonNLS());
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getContentTypeIdentifier());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genPackage.getPackageInterfaceName());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genPackage.getQualifiedPackageClassName());
+ stringBuffer.append(TEXT_42);
+ for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers()) {
+ stringBuffer.append(TEXT_43);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ if (!genClass.isInterface()) {
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ } else {
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ }
+ } else if (genClassifier instanceof GenEnum) {
+ GenEnum genEnum = (GenEnum) genClassifier;
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genEnum.getQualifiedName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genEnum.getQualifiedName());
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_54);
+ if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genDataType.getRawInstanceClassName());
+ }
+ }
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genPackage.getQualifiedPackageClassName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genPackage.getClassifierID(genClassifier));
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genPackage.getClassifierValue(genClassifier));
+ stringBuffer.append(TEXT_61);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ for (GenFeature genFeature : genClass.getAllGenFeatures()) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getFeatureID(genFeature));
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genClass.getFeatureValue(genFeature));
+ stringBuffer.append(TEXT_67);
+ }
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genClass.getFeatureCountID());
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genClass.getFeatureCountValue());
+ stringBuffer.append(TEXT_72);
+ if (genModel.isOperationReflection()) {
+ for (GenOperation genOperation : genClass.getAllGenOperations(false)) {
+ if (genClass.getOverrideGenOperation(genOperation) == null) {
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genClass.getOperationID(genOperation, false));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genClass.getOperationValue(genOperation));
+ stringBuffer.append(TEXT_77);
+ }
+ }
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genClass.getOperationCountID());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genClass.getOperationCountValue());
+ stringBuffer.append(TEXT_82);
+ }
+ }
+ }
+ }
+ if (isImplementation) {
+ if (genPackage.isLoadingInitialization()) {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genPackage.getSerializedPackageFilename());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_85);
+ }
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_88);
+ }
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genPackage.getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_93);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_94);
+ }
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_99);
+ if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_100);
+ }
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genPackage.getPackageClassName());
+ stringBuffer.append(TEXT_108);
+ if (!genPackage.getPackageSimpleDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_109);
+ for (GenPackage dep : genPackage.getPackageSimpleDependencies()) {
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(dep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_111);
+ }
+ stringBuffer.append(TEXT_112);
+ }
+ if (!genPackage.getPackageInterDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_113);
+ for (GenPackage interdep : genPackage.getPackageInterDependencies()) {
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(interdep.getImportedPackageClassName());
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(interdep.getImportedPackageClassName());
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(interdep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(interdep.getImportedPackageClassName());
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(interdep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(interdep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_123);
+ }
+ stringBuffer.append(TEXT_124);
+ }
+ if (genPackage.isLoadedInitialization() || !genPackage.getPackageLoadInterDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_125);
+ if (genPackage.isLoadingInitialization()) {
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_127);
+ }
+ for (GenPackage interdep : genPackage.getPackageLoadInterDependencies()) {
+ if (interdep.isLoadingInitialization()) {
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_129);
+ }
+ }
+ stringBuffer.append(TEXT_130);
+ }
+ if (!genPackage.isLoadedInitialization() || !genPackage.getPackageBuildInterDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_131);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_133);
+ }
+ for (GenPackage interdep : genPackage.getPackageBuildInterDependencies()) {
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_135);
+ }
+ stringBuffer.append(TEXT_136);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_138);
+ }
+ for (GenPackage interdep : genPackage.getPackageBuildInterDependencies()) {
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_140);
+ }
+ stringBuffer.append(TEXT_141);
+ }
+ if (genPackage.isLoadedInitialization() || !genPackage.getPackageLoadInterDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_142);
+ if (genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_144);
+ }
+ for (GenPackage interdep : genPackage.getPackageLoadInterDependencies()) {
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(interdep));
+ stringBuffer.append(TEXT_146);
+ }
+ stringBuffer.append(TEXT_147);
+ }
+ if (genPackage.hasConstraints()) {
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EValidator"));
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EValidator"));
+ stringBuffer.append(TEXT_151);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EValidator"));
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genPackage.getImportedValidatorClassName());
+ stringBuffer.append(TEXT_153);
+ }
+ if (!genPackage.isEcorePackage()) {
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_155);
+ }
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_157);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genPackage.getBasicPackageName());
+ stringBuffer.append(TEXT_160);
+ if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_161);
+ Set<String> helpers = new HashSet<String>();
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ if (!genClass.isDynamic()) {
+ String theClass = genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getRawImportedInterfaceName();
+ if (helpers.add(theClass)) {
+ stringBuffer.append(TEXT_162);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_164);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getRawImportedInterfaceName() + genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_166);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_167);
+ }
+ }
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (!genDataType.isPrimitiveType() && !genDataType.isObjectType()) {
+ String theClass = genDataType.getRawImportedInstanceClassName();
+ if (helpers.add(theClass)) {
+ stringBuffer.append(TEXT_168);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_169);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_170);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
+ stringBuffer.append(TEXT_171);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_172);
+ if (genDataType.isArrayType()) {
+ String componentType = theClass;
+ String indices = "";
+ while (componentType.endsWith("[]")) {
+ componentType = componentType.substring(0, componentType.length() - 2);
+ indices += "[]";
+ }
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(componentType);
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(indices);
+ stringBuffer.append(TEXT_175);
+ } else {
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(theClass);
+ stringBuffer.append(TEXT_177);
+ }
+ stringBuffer.append(TEXT_178);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_179);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.IsSerializable"));
+ stringBuffer.append(TEXT_180);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ if (!genClass.isDynamic()) {
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getImportedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_182);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_183);
+ }
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (!genDataType.isObjectType() && genDataType.isSerializable()) {
+ stringBuffer.append(TEXT_184);
+ stringBuffer.append(genDataType.getImportedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_186);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_187);
+ }
+ stringBuffer.append(TEXT_188);
+ }
+ if (isInterface) { // TODO REMOVE THIS BOGUS EMPTY LINE
+ stringBuffer.append(TEXT_189);
+ }
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ if (isInterface) {
+ stringBuffer.append(TEXT_190);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_193);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ if (!genModel.isSuppressEMFModelTags() && (genClass.isExternalInterface() || genClass.isDynamic())) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_195);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_197);
+ }
+ }
+ } else if (genClassifier instanceof GenEnum) {
+ GenEnum genEnum = (GenEnum) genClassifier;
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(genEnum.getQualifiedName());
+ stringBuffer.append(TEXT_199);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_200);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genEnum.getQualifiedName());
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (genDataType.isPrimitiveType() || genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_203);
+ } else {
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(genDataType.getRawInstanceClassName());
+ stringBuffer.append(TEXT_205);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_206);
+ }
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_208);
+ if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_209);
+ stringBuffer.append(genDataType.getRawInstanceClassName());
+ }
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genDataType.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_210);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_212);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_213);
+ } else {
+ stringBuffer.append(TEXT_214);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_216);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_217);
+ if (genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_218);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_219);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_220);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_221);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_222);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_223);
+ stringBuffer.append(genPackage.getLocalClassifierIndex(genClassifier));
+ stringBuffer.append(TEXT_224);
+ }
+ stringBuffer.append(TEXT_225);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_226);
+ } else {
+ stringBuffer.append(TEXT_227);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_228);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_229);
+ }
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ if (isInterface) {
+ stringBuffer.append(TEXT_230);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_231);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ if (!genClass.isMapEntry() && !genFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genFeature.getGetAccessor());
+ }
+ stringBuffer.append(TEXT_233);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_235);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_236);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ if (!genClass.isMapEntry() && !genFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_237);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_238);
+ }
+ stringBuffer.append(TEXT_239);
+ stringBuffer.append(genClass.getClassifierAccessorName());
+ stringBuffer.append(TEXT_240);
+ } else {
+ stringBuffer.append(TEXT_241);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_242);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_244);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_245);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_246);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_247);
+ stringBuffer.append(genClass.getLocalFeatureIndex(genFeature));
+ stringBuffer.append(TEXT_248);
+ } else {
+ stringBuffer.append(TEXT_249);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_250);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_251);
+ stringBuffer.append(genClass.getLocalFeatureIndex(genFeature));
+ stringBuffer.append(TEXT_252);
+ }
+ stringBuffer.append(TEXT_253);
+ } else {
+ stringBuffer.append(TEXT_254);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_255);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_256);
+ }
+ stringBuffer.append(TEXT_257);
+ }
+ if (genModel.isOperationReflection()) {
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ if (isInterface) {
+ stringBuffer.append(TEXT_258);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_259);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_260);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_261);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_262);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_263);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_264);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_265);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_266);
+ } else {
+ stringBuffer.append(TEXT_267);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_268);
+ stringBuffer.append(genOperation.getImportedMetaType());
+ stringBuffer.append(TEXT_269);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_270);
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_271);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_272);
+ stringBuffer.append(genClass.getLocalOperationIndex(genOperation));
+ stringBuffer.append(TEXT_273);
+ } else {
+ stringBuffer.append(TEXT_274);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_275);
+ stringBuffer.append(genClass.getLocalOperationIndex(genOperation));
+ stringBuffer.append(TEXT_276);
+ }
+ stringBuffer.append(TEXT_277);
+ } else {
+ stringBuffer.append(TEXT_278);
+ stringBuffer.append(genOperation.getImportedMetaType());
+ stringBuffer.append(TEXT_279);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_280);
+ }
+ stringBuffer.append(TEXT_281);
+ }
+ }
+ }
+ }
+ if (isInterface) {
+ stringBuffer.append(TEXT_282);
+ } else {
+ stringBuffer.append(TEXT_283);
+ }
+ if (isImplementation) {
+ stringBuffer.append(TEXT_284);
+ stringBuffer.append(genPackage.getImportedFactoryInterfaceName());
+ stringBuffer.append(TEXT_285);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_286);
+ stringBuffer.append(genPackage.getImportedFactoryInterfaceName());
+ stringBuffer.append(TEXT_287);
+ } else {
+ stringBuffer.append(TEXT_288);
+ stringBuffer.append(genPackage.getFactoryInterfaceName());
+ stringBuffer.append(TEXT_289);
+ stringBuffer.append(genPackage.getFactoryName());
+ stringBuffer.append(TEXT_290);
+ }
+ stringBuffer.append(TEXT_291);
+ if (isImplementation) {
+ if (!genPackage.isLoadedInitialization()) {
+ stringBuffer.append(TEXT_292);
+ if (!genPackage.getGenClasses().isEmpty()) {
+ stringBuffer.append(TEXT_293);
+ for (Iterator<GenClass> c = genPackage.getGenClasses().iterator(); c.hasNext();) {
+ GenClass genClass = c.next();
+ stringBuffer.append(TEXT_294);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_295);
+ stringBuffer.append(genClass.getMetaType());
+ stringBuffer.append(TEXT_296);
+ stringBuffer.append(genClass.getClassifierID());
+ stringBuffer.append(TEXT_297);
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_298);
+ stringBuffer.append(genFeature.getMetaType());
+ stringBuffer.append(TEXT_299);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_300);
+ stringBuffer.append(genClass.getFeatureID(genFeature));
+ stringBuffer.append(TEXT_301);
+ }
+ if (genModel.isOperationReflection()) {
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ stringBuffer.append(TEXT_302);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_303);
+ stringBuffer.append(genClass.getOperationID(genOperation, false));
+ stringBuffer.append(TEXT_304);
+ }
+ }
+ if (c.hasNext()) {
+ stringBuffer.append(TEXT_305);
+ }
+ }
+ }
+ if (!genPackage.getGenEnums().isEmpty()) {
+ stringBuffer.append(TEXT_306);
+ for (GenEnum genEnum : genPackage.getGenEnums()) {
+ stringBuffer.append(TEXT_307);
+ stringBuffer.append(genEnum.getClassifierInstanceName());
+ stringBuffer.append(TEXT_308);
+ stringBuffer.append(genEnum.getClassifierID());
+ stringBuffer.append(TEXT_309);
+ }
+ }
+ if (!genPackage.getGenDataTypes().isEmpty()) {
+ stringBuffer.append(TEXT_310);
+ for (GenDataType genDataType : genPackage.getGenDataTypes()) {
+ stringBuffer.append(TEXT_311);
+ stringBuffer.append(genDataType.getClassifierInstanceName());
+ stringBuffer.append(TEXT_312);
+ stringBuffer.append(genDataType.getClassifierID());
+ stringBuffer.append(TEXT_313);
+ }
+ }
+ stringBuffer.append(TEXT_314);
+
+ ///////////////////////
+ class Information {
+ @SuppressWarnings("unused")
+ EGenericType eGenericType;
+ int depth;
+ String type;
+ String accessor;
+ }
+
+ class InformationIterator {
+ Iterator<?> iterator;
+
+ InformationIterator(EGenericType eGenericType) {
+ iterator = EcoreUtil.getAllContents(Collections.singleton(eGenericType));
+ }
+
+ boolean hasNext() {
+ return iterator.hasNext();
+ }
+
+ Information next() {
+ Information information = new Information();
+ EGenericType eGenericType = information.eGenericType = (EGenericType) iterator.next();
+ for (EObject container = eGenericType.eContainer(); container instanceof EGenericType; container = container
+ .eContainer()) {
+ ++information.depth;
+ }
+ if (eGenericType.getEClassifier() != null) {
+ GenClassifier genClassifier = genModel.findGenClassifier(eGenericType.getEClassifier());
+ information.type = genPackage.getPackageInstanceVariable(genClassifier.getGenPackage())
+ + ".get" + genClassifier.getClassifierAccessorName() + "()";
+ } else if (eGenericType.getETypeParameter() != null) {
+ ETypeParameter eTypeParameter = eGenericType.getETypeParameter();
+ if (eTypeParameter.eContainer() instanceof EClass) {
+ information.type = genModel.findGenClassifier((EClass) eTypeParameter.eContainer())
+ .getClassifierInstanceName() + "_" + eGenericType.getETypeParameter().getName();
+ } else {
+ information.type = "t"
+ + (((EOperation) eTypeParameter.eContainer()).getETypeParameters().indexOf(
+ eTypeParameter) + 1);
+ }
+ } else {
+ information.type = "";
+ }
+ if (information.depth > 0) {
+ if (eGenericType.eContainmentFeature().isMany()) {
+ information.accessor = "getE"
+ + eGenericType.eContainmentFeature().getName().substring(1) + "().add";
+ } else {
+ information.accessor = "setE"
+ + eGenericType.eContainmentFeature().getName().substring(1);
+ }
+ }
+ return information;
+ }
+ }
+ ///////////////////////
+ int maxGenericTypeAssignment = 0;
+
+ stringBuffer.append(TEXT_315);
+ if (!genPackage.getPackageInitializationDependencies().isEmpty()) {
+ stringBuffer.append(TEXT_316);
+ for (GenPackage dep : genPackage.getPackageInitializationDependencies()) {
+ stringBuffer.append(TEXT_317);
+ stringBuffer.append(dep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_318);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(dep));
+ stringBuffer.append(TEXT_319);
+ stringBuffer.append(dep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_320);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_321);
+ stringBuffer.append(dep.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_322);
+ }
+ }
+ if (!genPackage.getSubGenPackages().isEmpty()) {
+ stringBuffer.append(TEXT_323);
+ for (GenPackage sub : genPackage.getSubGenPackages()) {
+ stringBuffer.append(TEXT_324);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(sub));
+ stringBuffer.append(TEXT_325);
+ }
+ }
+ if (!genPackage.getGenClasses().isEmpty()) {
+ boolean firstOperationAssignment = true;
+ int maxTypeParameterAssignment = 0;
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_326);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {
+ if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty()
+ || genTypeParameter.isUsed()) {
+ stringBuffer.append(TEXT_327);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.ETypeParameter"));
+ stringBuffer.append(TEXT_328);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_329);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_330);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_331);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_332);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_333);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_334);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_335);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ }
+ }
+ }
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_336);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {
+ for (EGenericType bound : genTypeParameter.getEcoreTypeParameter().getEBounds()) {
+ for (InformationIterator i = new InformationIterator(bound); i.hasNext();) {
+ Information info = i.next();
+ String prefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
+ }
+ stringBuffer.append(TEXT_337);
+ stringBuffer.append(prefix);
+ stringBuffer.append(TEXT_338);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_339);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_340);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_341);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_342);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_343);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_344);
+ }
+ }
+ stringBuffer.append(TEXT_345);
+ stringBuffer.append(genClassifier.getClassifierInstanceName());
+ stringBuffer.append(TEXT_346);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_347);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_348);
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.hasGenericSuperTypes()) {
+ for (GenClass baseGenClass : genClass.getBaseGenClasses()) {
+ stringBuffer.append(TEXT_349);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_350);
+ stringBuffer
+ .append(genPackage.getPackageInstanceVariable(baseGenClass.getGenPackage()));
+ stringBuffer.append(TEXT_351);
+ stringBuffer.append(baseGenClass.getClassifierAccessorName());
+ stringBuffer.append(TEXT_352);
+ }
+ } else {
+ for (EGenericType superType : genClass.getEcoreClass().getEGenericSuperTypes()) {
+ for (InformationIterator i = new InformationIterator(superType); i.hasNext();) {
+ Information info = i.next();
+ String prefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ }
+ stringBuffer.append(TEXT_353);
+ stringBuffer.append(prefix);
+ stringBuffer.append(TEXT_354);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_355);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_356);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_357);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_358);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_359);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_360);
+ }
+ }
+ stringBuffer.append(TEXT_361);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_362);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_363);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_364);
+ } else {
+ stringBuffer.append(TEXT_365);
+ }
+ for (Iterator<GenClass> c = genPackage.getGenClasses().iterator(); c.hasNext();) {
+ GenClass genClass = c.next();
+ boolean hasInstanceTypeName = genModel.useGenerics()
+ && genClass.getEcoreClass().getInstanceTypeName() != null
+ && genClass.getEcoreClass().getInstanceTypeName().contains("<");
+ stringBuffer.append(TEXT_366);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ stringBuffer.append(TEXT_367);
+ if (genClass.isDynamic()) {
+ stringBuffer.append(TEXT_368);
+ } else {
+ stringBuffer.append(genClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_369);
+ }
+ stringBuffer.append(TEXT_370);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_371);
+ stringBuffer.append(genClass.getAbstractFlag());
+ stringBuffer.append(TEXT_372);
+ stringBuffer.append(genClass.getInterfaceFlag());
+ stringBuffer.append(TEXT_373);
+ stringBuffer.append(genClass.getGeneratedInstanceClassFlag());
+ if (hasInstanceTypeName) {
+ stringBuffer.append(TEXT_374);
+ stringBuffer.append(genClass.getEcoreClass().getInstanceTypeName());
+ stringBuffer.append(TEXT_375);
+ }
+ stringBuffer.append(TEXT_376);
+ stringBuffer.append(genModel.getNonNLS());
+ if (hasInstanceTypeName) {
+ stringBuffer.append(genModel.getNonNLS(2));
+ }
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ if (genFeature.hasGenericType()) {
+ for (InformationIterator i = new InformationIterator(genFeature.getEcoreFeature()
+ .getEGenericType()); i.hasNext();) {
+ Information info = i.next();
+ String prefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ }
+ stringBuffer.append(TEXT_377);
+ stringBuffer.append(prefix);
+ stringBuffer.append(TEXT_378);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_379);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_380);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_381);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_382);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_383);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_384);
+ }
+ }
+ }
+ if (genFeature.isReferenceType()) {
+ GenFeature reverseGenFeature = genFeature.getReverse();
+ String reverse = reverseGenFeature == null ? "null" : genPackage
+ .getPackageInstanceVariable(reverseGenFeature.getGenPackage())
+ + ".get"
+ + reverseGenFeature.getFeatureAccessorName() + "()";
+ stringBuffer.append(TEXT_385);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_386);
+ if (genFeature.hasGenericType()) {
+ stringBuffer.append(TEXT_387);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_388);
+ stringBuffer.append(genFeature.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_389);
+ }
+ stringBuffer.append(TEXT_390);
+ stringBuffer.append(reverse);
+ stringBuffer.append(TEXT_391);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_392);
+ stringBuffer.append(genFeature.getDefaultValue());
+ stringBuffer.append(TEXT_393);
+ stringBuffer.append(genFeature.getLowerBound());
+ stringBuffer.append(TEXT_394);
+ stringBuffer.append(genFeature.getUpperBound());
+ stringBuffer.append(TEXT_395);
+ stringBuffer.append(genFeature.getContainerClass());
+ stringBuffer.append(TEXT_396);
+ stringBuffer.append(genFeature.getTransientFlag());
+ stringBuffer.append(TEXT_397);
+ stringBuffer.append(genFeature.getVolatileFlag());
+ stringBuffer.append(TEXT_398);
+ stringBuffer.append(genFeature.getChangeableFlag());
+ stringBuffer.append(TEXT_399);
+ stringBuffer.append(genFeature.getContainmentFlag());
+ stringBuffer.append(TEXT_400);
+ stringBuffer.append(genFeature.getResolveProxiesFlag());
+ stringBuffer.append(TEXT_401);
+ stringBuffer.append(genFeature.getUnsettableFlag());
+ stringBuffer.append(TEXT_402);
+ stringBuffer.append(genFeature.getUniqueFlag());
+ stringBuffer.append(TEXT_403);
+ stringBuffer.append(genFeature.getDerivedFlag());
+ stringBuffer.append(TEXT_404);
+ stringBuffer.append(genFeature.getOrderedFlag());
+ stringBuffer.append(TEXT_405);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(genFeature.getDefaultValue(), 2));
+ for (GenFeature keyFeature : genFeature.getKeys()) {
+ stringBuffer.append(TEXT_406);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_407);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(keyFeature
+ .getGenPackage()));
+ stringBuffer.append(TEXT_408);
+ stringBuffer.append(keyFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_409);
+ }
+ } else {
+ stringBuffer.append(TEXT_410);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_411);
+ if (genFeature.hasGenericType()) {
+ stringBuffer.append(TEXT_412);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_413);
+ stringBuffer.append(genFeature.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_414);
+ }
+ stringBuffer.append(TEXT_415);
+ stringBuffer.append(genFeature.getName());
+ stringBuffer.append(TEXT_416);
+ stringBuffer.append(genFeature.getDefaultValue());
+ stringBuffer.append(TEXT_417);
+ stringBuffer.append(genFeature.getLowerBound());
+ stringBuffer.append(TEXT_418);
+ stringBuffer.append(genFeature.getUpperBound());
+ stringBuffer.append(TEXT_419);
+ stringBuffer.append(genFeature.getContainerClass());
+ stringBuffer.append(TEXT_420);
+ stringBuffer.append(genFeature.getTransientFlag());
+ stringBuffer.append(TEXT_421);
+ stringBuffer.append(genFeature.getVolatileFlag());
+ stringBuffer.append(TEXT_422);
+ stringBuffer.append(genFeature.getChangeableFlag());
+ stringBuffer.append(TEXT_423);
+ stringBuffer.append(genFeature.getUnsettableFlag());
+ stringBuffer.append(TEXT_424);
+ stringBuffer.append(genFeature.getIDFlag());
+ stringBuffer.append(TEXT_425);
+ stringBuffer.append(genFeature.getUniqueFlag());
+ stringBuffer.append(TEXT_426);
+ stringBuffer.append(genFeature.getDerivedFlag());
+ stringBuffer.append(TEXT_427);
+ stringBuffer.append(genFeature.getOrderedFlag());
+ stringBuffer.append(TEXT_428);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(genFeature.getDefaultValue(), 2));
+ }
+ }
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ String prefix = "";
+ if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty()
+ || !genOperation.getGenExceptions().isEmpty()
+ || !genOperation.getGenTypeParameters().isEmpty()) {
+ if (firstOperationAssignment) {
+ firstOperationAssignment = false;
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EOperation") + " op = ";
+ } else {
+ prefix = "op = ";
+ }
+ }
+ stringBuffer.append(TEXT_429);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_430);
+ stringBuffer.append(prefix);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_431);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_432);
+ } else {
+ stringBuffer.append(TEXT_433);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ }
+ stringBuffer.append(TEXT_434);
+ if (genOperation.isVoid() || genOperation.hasGenericType()) {
+ stringBuffer.append(TEXT_435);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_436);
+ stringBuffer.append(genOperation.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_437);
+ }
+ stringBuffer.append(TEXT_438);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_439);
+ stringBuffer.append(genOperation.getLowerBound());
+ stringBuffer.append(TEXT_440);
+ stringBuffer.append(genOperation.getUpperBound());
+ stringBuffer.append(TEXT_441);
+ stringBuffer.append(genOperation.getUniqueFlag());
+ stringBuffer.append(TEXT_442);
+ stringBuffer.append(genOperation.getOrderedFlag());
+ stringBuffer.append(TEXT_443);
+ stringBuffer.append(genModel.getNonNLS());
+ } else if (!genOperation.isVoid()) {
+ if (!genOperation.getEcoreOperation().isOrdered()
+ || !genOperation.getEcoreOperation().isUnique()) {
+ needsAddEOperation = true;
+ stringBuffer.append(TEXT_444);
+ stringBuffer.append(prefix);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_445);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_446);
+ } else {
+ stringBuffer.append(TEXT_447);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ }
+ stringBuffer.append(TEXT_448);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_449);
+ stringBuffer.append(genOperation.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_450);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_451);
+ stringBuffer.append(genOperation.getLowerBound());
+ stringBuffer.append(TEXT_452);
+ stringBuffer.append(genOperation.getUpperBound());
+ stringBuffer.append(TEXT_453);
+ stringBuffer.append(genOperation.getUniqueFlag());
+ stringBuffer.append(TEXT_454);
+ stringBuffer.append(genOperation.getOrderedFlag());
+ stringBuffer.append(TEXT_455);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_456);
+ stringBuffer.append(prefix);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_457);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_458);
+ } else {
+ stringBuffer.append(TEXT_459);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ }
+ stringBuffer.append(TEXT_460);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_461);
+ stringBuffer.append(genOperation.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_462);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_463);
+ stringBuffer.append(genOperation.getLowerBound());
+ stringBuffer.append(TEXT_464);
+ stringBuffer.append(genOperation.getUpperBound());
+ stringBuffer.append(TEXT_465);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ } else {
+ stringBuffer.append(TEXT_466);
+ stringBuffer.append(prefix);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_467);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_468);
+ } else {
+ stringBuffer.append(TEXT_469);
+ stringBuffer.append(genClass.getClassifierInstanceName());
+ }
+ stringBuffer.append(TEXT_470);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_471);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genModel.useGenerics()) {
+ for (ListIterator<GenTypeParameter> t = genOperation.getGenTypeParameters()
+ .listIterator(); t.hasNext();) {
+ GenTypeParameter genTypeParameter = t.next();
+ String typeParameterVariable = "";
+ if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty()
+ || genTypeParameter.isUsed()) {
+ if (maxTypeParameterAssignment <= t.previousIndex()) {
+ ++maxTypeParameterAssignment;
+ typeParameterVariable = genModel
+ .getImportedName("org.eclipse.emf.ecore.ETypeParameter")
+ + " t"
+ + t.nextIndex() + " = ";
+ } else {
+ typeParameterVariable = "t" + t.nextIndex() + " = ";
+ }
+ }
+ stringBuffer.append(TEXT_472);
+ stringBuffer.append(typeParameterVariable);
+ stringBuffer.append(TEXT_473);
+ stringBuffer.append(genTypeParameter.getName());
+ stringBuffer.append(TEXT_474);
+ stringBuffer.append(genModel.getNonNLS());
+ for (EGenericType typeParameter : genTypeParameter.getEcoreTypeParameter()
+ .getEBounds()) {
+ for (InformationIterator i = new InformationIterator(typeParameter); i
+ .hasNext();) {
+ Information info = i.next();
+ String typePrefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ typePrefix = genModel
+ .getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ }
+ stringBuffer.append(TEXT_475);
+ stringBuffer.append(typePrefix);
+ stringBuffer.append(TEXT_476);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_477);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_478);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_479);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_480);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_481);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_482);
+ }
+ }
+ stringBuffer.append(TEXT_483);
+ stringBuffer.append(t.nextIndex());
+ stringBuffer.append(TEXT_484);
+ }
+ }
+ }
+ for (GenParameter genParameter : genOperation.getGenParameters()) {
+ if (genParameter.hasGenericType()) {
+ for (InformationIterator i = new InformationIterator(genParameter
+ .getEcoreParameter().getEGenericType()); i.hasNext();) {
+ Information info = i.next();
+ String typePrefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
+ }
+ stringBuffer.append(TEXT_485);
+ stringBuffer.append(typePrefix);
+ stringBuffer.append(TEXT_486);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_487);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_488);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_489);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_490);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_491);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_492);
+ }
+ }
+ }
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_493);
+ if (genParameter.hasGenericType()) {
+ stringBuffer.append(TEXT_494);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_495);
+ stringBuffer.append(genParameter.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_496);
+ }
+ stringBuffer.append(TEXT_497);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_498);
+ stringBuffer.append(genParameter.getLowerBound());
+ stringBuffer.append(TEXT_499);
+ stringBuffer.append(genParameter.getUpperBound());
+ stringBuffer.append(TEXT_500);
+ stringBuffer.append(genParameter.getUniqueFlag());
+ stringBuffer.append(TEXT_501);
+ stringBuffer.append(genParameter.getOrderedFlag());
+ stringBuffer.append(TEXT_502);
+ stringBuffer.append(genModel.getNonNLS());
+ } else if (!genParameter.getEcoreParameter().isOrdered()
+ || !genParameter.getEcoreParameter().isUnique()) {
+ needsAddEParameter = true;
+ stringBuffer.append(TEXT_503);
+ if (genParameter.hasGenericType()) {
+ stringBuffer.append(TEXT_504);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_505);
+ stringBuffer.append(genParameter.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_506);
+ }
+ stringBuffer.append(TEXT_507);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_508);
+ stringBuffer.append(genParameter.getLowerBound());
+ stringBuffer.append(TEXT_509);
+ stringBuffer.append(genParameter.getUpperBound());
+ stringBuffer.append(TEXT_510);
+ stringBuffer.append(genParameter.getUniqueFlag());
+ stringBuffer.append(TEXT_511);
+ stringBuffer.append(genParameter.getOrderedFlag());
+ stringBuffer.append(TEXT_512);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_513);
+ if (genParameter.hasGenericType()) {
+ stringBuffer.append(TEXT_514);
+ } else {
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
+ stringBuffer.append(TEXT_515);
+ stringBuffer.append(genParameter.getTypeClassifierAccessorName());
+ stringBuffer.append(TEXT_516);
+ }
+ stringBuffer.append(TEXT_517);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_518);
+ stringBuffer.append(genParameter.getLowerBound());
+ stringBuffer.append(TEXT_519);
+ stringBuffer.append(genParameter.getUpperBound());
+ stringBuffer.append(TEXT_520);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ }
+ if (genOperation.hasGenericExceptions()) {
+ for (EGenericType genericExceptions : genOperation.getEcoreOperation()
+ .getEGenericExceptions()) {
+ for (InformationIterator i = new InformationIterator(genericExceptions); i
+ .hasNext();) {
+ Information info = i.next();
+ String typePrefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
+ }
+ stringBuffer.append(TEXT_521);
+ stringBuffer.append(typePrefix);
+ stringBuffer.append(TEXT_522);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_523);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_524);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_525);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_526);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_527);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_528);
+ }
+ stringBuffer.append(TEXT_529);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_530);
+ }
+ }
+ } else {
+ for (GenClassifier genException : genOperation.getGenExceptions()) {
+ stringBuffer.append(TEXT_531);
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genException
+ .getGenPackage()));
+ stringBuffer.append(TEXT_532);
+ stringBuffer.append(genException.getClassifierAccessorName());
+ stringBuffer.append(TEXT_533);
+ }
+ }
+ if (!genOperation.isVoid() && genOperation.hasGenericType()) {
+ for (InformationIterator i = new InformationIterator(genOperation.getEcoreOperation()
+ .getEGenericType()); i.hasNext();) {
+ Information info = i.next();
+ String typePrefix = "";
+ if (maxGenericTypeAssignment <= info.depth) {
+ ++maxGenericTypeAssignment;
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
+ }
+ stringBuffer.append(TEXT_534);
+ stringBuffer.append(typePrefix);
+ stringBuffer.append(TEXT_535);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_536);
+ stringBuffer.append(info.type);
+ stringBuffer.append(TEXT_537);
+ if (info.depth > 0) {
+ stringBuffer.append(TEXT_538);
+ stringBuffer.append(info.depth);
+ stringBuffer.append(TEXT_539);
+ stringBuffer.append(info.accessor);
+ stringBuffer.append(TEXT_540);
+ stringBuffer.append(info.depth + 1);
+ stringBuffer.append(TEXT_541);
+ }
+ }
+ stringBuffer.append(TEXT_542);
+ }
+ }
+ if (c.hasNext()) {
+ stringBuffer.append(TEXT_543);
+ }
+ }
+ }
+ if (!genPackage.getGenEnums().isEmpty()) {
+ stringBuffer.append(TEXT_544);
+ for (Iterator<GenEnum> e = genPackage.getGenEnums().iterator(); e.hasNext();) {
+ GenEnum genEnum = e.next();
+ stringBuffer.append(TEXT_545);
+ stringBuffer.append(genEnum.getClassifierInstanceName());
+ stringBuffer.append(TEXT_546);
+ stringBuffer.append(genEnum.getImportedName());
+ stringBuffer.append(TEXT_547);
+ stringBuffer.append(genEnum.getName());
+ stringBuffer.append(TEXT_548);
+ stringBuffer.append(genModel.getNonNLS());
+ for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {
+ stringBuffer.append(TEXT_549);
+ stringBuffer.append(genEnum.getClassifierInstanceName());
+ stringBuffer.append(TEXT_550);
+ stringBuffer.append(genEnum.getImportedName().equals(genEnum.getClassifierID()) ? genEnum
+ .getQualifiedName() : genEnum.getImportedName());
+ stringBuffer.append(TEXT_551);
+ stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
+ stringBuffer.append(TEXT_552);
+ }
+ if (e.hasNext()) {
+ stringBuffer.append(TEXT_553);
+ }
+ }
+ }
+ if (!genPackage.getGenDataTypes().isEmpty()) {
+ stringBuffer.append(TEXT_554);
+ for (GenDataType genDataType : genPackage.getGenDataTypes()) {
+ boolean hasInstanceTypeName = genModel.useGenerics()
+ && genDataType.getEcoreDataType().getInstanceTypeName() != null
+ && genDataType.getEcoreDataType().getInstanceTypeName().contains("<");
+ stringBuffer.append(TEXT_555);
+ stringBuffer.append(genDataType.getClassifierInstanceName());
+ stringBuffer.append(TEXT_556);
+ stringBuffer.append(genDataType.getRawImportedInstanceClassName());
+ stringBuffer.append(TEXT_557);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_558);
+ stringBuffer.append(genDataType.getSerializableFlag());
+ stringBuffer.append(TEXT_559);
+ stringBuffer.append(genDataType.getGeneratedInstanceClassFlag());
+ if (hasInstanceTypeName) {
+ stringBuffer.append(TEXT_560);
+ stringBuffer.append(genDataType.getEcoreDataType().getInstanceTypeName());
+ stringBuffer.append(TEXT_561);
+ }
+ stringBuffer.append(TEXT_562);
+ stringBuffer.append(genModel.getNonNLS());
+ if (hasInstanceTypeName) {
+ stringBuffer.append(genModel.getNonNLS(2));
+ }
+ }
+ }
+ if (genPackage.getSuperGenPackage() == null) {
+ stringBuffer.append(TEXT_563);
+ stringBuffer.append(genPackage.getSchemaLocation());
+ stringBuffer.append(TEXT_564);
+ }
+ if (!genPackage.isEcorePackage() && !genPackage.getAnnotationSources().isEmpty()) {
+ stringBuffer.append(TEXT_565);
+ for (String annotationSource : genPackage.getAnnotationSources()) {
+ stringBuffer.append(TEXT_566);
+ stringBuffer.append(annotationSource);
+ stringBuffer.append(TEXT_567);
+ stringBuffer.append(genPackage.getAnnotationSourceIdentifier(annotationSource));
+ stringBuffer.append(TEXT_568);
+ }
+ }
+ stringBuffer.append(TEXT_569);
+ for (String annotationSource : genPackage.getAnnotationSources()) {
+ stringBuffer.append(TEXT_570);
+ stringBuffer.append(annotationSource);
+ stringBuffer.append(TEXT_571);
+ stringBuffer.append(genPackage.getAnnotationSourceIdentifier(annotationSource));
+ stringBuffer.append(TEXT_572);
+ if (annotationSource == null) {
+ stringBuffer.append(TEXT_573);
+ } else {
+ stringBuffer.append(TEXT_574);
+ stringBuffer.append(annotationSource);
+ stringBuffer.append(TEXT_575);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ for (EAnnotation eAnnotation : genPackage.getAllAnnotations()) {
+ List<GenPackage.AnnotationReferenceData> annotationReferenceDataList = genPackage
+ .getReferenceData(eAnnotation);
+ if (annotationSource == null ? eAnnotation.getSource() == null : annotationSource
+ .equals(eAnnotation.getSource())) {
+ stringBuffer.append(TEXT_576);
+ stringBuffer.append(genPackage.getAnnotatedModelElementAccessor(eAnnotation));
+ stringBuffer.append(TEXT_577);
+ for (Iterator<Map.Entry<String, String>> k = eAnnotation.getDetails().iterator(); k
+ .hasNext();) {
+ Map.Entry<String, String> detail = k.next();
+ String key = Literals.toStringLiteral(detail.getKey(), genModel);
+ String value = Literals.toStringLiteral(detail.getValue(), genModel);
+ stringBuffer.append(TEXT_578);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_579);
+ stringBuffer.append(value);
+ stringBuffer.append(k.hasNext() ? "," : "");
+ stringBuffer.append(genModel.getNonNLS(key + value));
+ }
+ stringBuffer.append(TEXT_580);
+ if (annotationReferenceDataList.isEmpty()) {
+ stringBuffer.append(TEXT_581);
+ } else {
+ stringBuffer.append(TEXT_582);
+ }
+ if (!annotationReferenceDataList.isEmpty()) {
+ stringBuffer.append(TEXT_583);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_584);
+ for (Iterator<GenPackage.AnnotationReferenceData> k = annotationReferenceDataList
+ .iterator(); k.hasNext();) {
+ GenPackage.AnnotationReferenceData annotationReferenceData = k.next();
+ stringBuffer.append(TEXT_585);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_586);
+ if (annotationReferenceData.containingGenPackage != genPackage) {
+ stringBuffer.append(annotationReferenceData.containingGenPackage
+ .getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_587);
+ }
+ stringBuffer.append(TEXT_588);
+ stringBuffer.append(annotationReferenceData.uriFragment);
+ stringBuffer.append(TEXT_589);
+ if (k.hasNext()) {
+ stringBuffer.append(TEXT_590);
+ }
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_591);
+ }
+ for (EAnnotation nestedEAnnotation : genPackage.getAllNestedAnnotations(eAnnotation)) {
+ String nestedAnnotationSource = nestedEAnnotation.getSource();
+ int depth = 0;
+ boolean nonContentAnnotation = false;
+ StringBuilder path = new StringBuilder();
+ for (EObject eContainer = nestedEAnnotation.eContainer(), child = nestedEAnnotation; child != eAnnotation; child = eContainer, eContainer = eContainer
+ .eContainer()) {
+ boolean nonContentChild = child.eContainmentFeature() != EcorePackage.Literals.EANNOTATION__CONTENTS;
+ if (path.length() != 0) {
+ path.insert(0, ", ");
+ }
+ path.insert(0, nonContentChild);
+ if (nonContentChild) {
+ nonContentAnnotation = true;
+ }
+ ++depth;
+ }
+ List<GenPackage.AnnotationReferenceData> nestedAnnotationReferenceDataList = genPackage
+ .getReferenceData(nestedEAnnotation);
+ stringBuffer.append(TEXT_592);
+ stringBuffer.append(genPackage.getAnnotatedModelElementAccessor(eAnnotation));
+ stringBuffer.append(TEXT_593);
+ if (nonContentAnnotation
+ && genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF210_VALUE) {
+ stringBuffer.append(TEXT_594);
+ stringBuffer.append(path.toString());
+ stringBuffer.append(TEXT_595);
+ } else {
+ stringBuffer.append(depth);
+ }
+ stringBuffer.append(TEXT_596);
+ if (nestedAnnotationSource == null) {
+ stringBuffer.append(TEXT_597);
+ } else {
+ stringBuffer.append(TEXT_598);
+ stringBuffer.append(nestedAnnotationSource);
+ stringBuffer.append(TEXT_599);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_600);
+ for (Iterator<Map.Entry<String, String>> l = nestedEAnnotation.getDetails().iterator(); l
+ .hasNext();) {
+ Map.Entry<String, String> detail = l.next();
+ String key = Literals.toStringLiteral(detail.getKey(), genModel);
+ String value = Literals.toStringLiteral(detail.getValue(), genModel);
+ stringBuffer.append(TEXT_601);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_602);
+ stringBuffer.append(value);
+ stringBuffer.append(l.hasNext() ? "," : "");
+ stringBuffer.append(genModel.getNonNLS(key + value));
+ }
+ stringBuffer.append(TEXT_603);
+ if (nestedAnnotationReferenceDataList.isEmpty()) {
+ stringBuffer.append(TEXT_604);
+ } else {
+ stringBuffer.append(TEXT_605);
+ }
+ if (!nestedAnnotationReferenceDataList.isEmpty()) {
+ stringBuffer.append(TEXT_606);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_607);
+ for (Iterator<GenPackage.AnnotationReferenceData> l = nestedAnnotationReferenceDataList
+ .iterator(); l.hasNext();) {
+ GenPackage.AnnotationReferenceData annotationReferenceData = l.next();
+ stringBuffer.append(TEXT_608);
+ stringBuffer
+ .append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_609);
+ if (annotationReferenceData.containingGenPackage != genPackage) {
+ stringBuffer.append(annotationReferenceData.containingGenPackage
+ .getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_610);
+ }
+ stringBuffer.append(TEXT_611);
+ stringBuffer.append(annotationReferenceData.uriFragment);
+ stringBuffer.append(TEXT_612);
+ if (l.hasNext()) {
+ stringBuffer.append(TEXT_613);
+ }
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_614);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_615);
+ }
+ } else {
+ if (genPackage.isLoadingInitialization()) {
+ stringBuffer.append(TEXT_616);
+ stringBuffer.append(genModel.getImportedName("java.net.URL"));
+ stringBuffer.append(TEXT_617);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_618);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_619);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer.append(TEXT_620);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource"));
+ stringBuffer.append(TEXT_621);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl"));
+ stringBuffer.append(TEXT_622);
+ stringBuffer.append(genModel.getImportedName("java.io.IOException"));
+ stringBuffer.append(TEXT_623);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException"));
+ stringBuffer.append(TEXT_624);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_625);
+ }
+ stringBuffer.append(TEXT_626);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_627);
+ }
+ stringBuffer.append(TEXT_628);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier"));
+ stringBuffer.append(TEXT_629);
+ ArrayList<GenClass> dynamicGenClasses = new ArrayList<GenClass>();
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (genClass.isDynamic()) {
+ dynamicGenClasses.add(genClass);
+ }
+ }
+ if (dynamicGenClasses.isEmpty()) {
+ stringBuffer.append(TEXT_630);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_631);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_632);
+ } else {
+ stringBuffer.append(TEXT_633);
+ for (GenClass genClass : dynamicGenClasses) {
+ if (genClass.isDynamic()) {
+ stringBuffer.append(TEXT_634);
+ stringBuffer.append(genPackage.getClassifierID(genClass));
+ stringBuffer.append(TEXT_635);
+ }
+ }
+ stringBuffer.append(TEXT_636);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_637);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_638);
+ }
+ stringBuffer.append(TEXT_639);
+ }
+ if (needsAddEOperation) {
+ stringBuffer.append(TEXT_640);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_641);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass"));
+ stringBuffer.append(TEXT_642);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier"));
+ stringBuffer.append(TEXT_643);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_644);
+ }
+ if (needsAddEParameter) {
+ stringBuffer.append(TEXT_645);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EParameter"));
+ stringBuffer.append(TEXT_646);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_647);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier"));
+ stringBuffer.append(TEXT_648);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EParameter"));
+ stringBuffer.append(TEXT_649);
+ }
+ }
+ if (isInterface && genPackage.isLiteralsInterface()) {
+ stringBuffer.append(TEXT_650);
+ if (genModel.isOperationReflection()) {
+ stringBuffer.append(TEXT_651);
+ }
+ stringBuffer.append(TEXT_652);
+ if (isImplementation) {
+ stringBuffer.append(TEXT_653);
+ }
+ stringBuffer.append(TEXT_654);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ stringBuffer.append(TEXT_655);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ if (!genClass.isInterface()) {
+ stringBuffer.append(TEXT_656);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ stringBuffer.append(TEXT_657);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_658);
+ stringBuffer.append(genClass.getQualifiedClassName());
+ } else {
+ stringBuffer.append(TEXT_659);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_660);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_661);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ }
+ } else if (genClassifier instanceof GenEnum) {
+ GenEnum genEnum = (GenEnum) genClassifier;
+ stringBuffer.append(TEXT_662);
+ stringBuffer.append(genEnum.getQualifiedName());
+ stringBuffer.append(TEXT_663);
+ stringBuffer.append(genEnum.getFormattedName());
+ stringBuffer.append(TEXT_664);
+ stringBuffer.append(genEnum.getQualifiedName());
+ } else if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ stringBuffer.append(TEXT_665);
+ stringBuffer.append(genDataType.getFormattedName());
+ stringBuffer.append(TEXT_666);
+ if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {
+ stringBuffer.append(TEXT_667);
+ stringBuffer.append(genDataType.getRawInstanceClassName());
+ }
+ }
+ stringBuffer.append(TEXT_668);
+ stringBuffer.append(genPackage.getQualifiedPackageClassName());
+ stringBuffer.append(TEXT_669);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_670);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genClassifier.getImportedMetaType());
+ stringBuffer.append(TEXT_671);
+ stringBuffer.append(genPackage.getClassifierID(genClassifier));
+ stringBuffer.append(TEXT_672);
+ stringBuffer.append(genClassifier.getClassifierAccessorName());
+ stringBuffer.append(TEXT_673);
+ if (genClassifier instanceof GenClass) {
+ GenClass genClass = (GenClass) genClassifier;
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ stringBuffer.append(TEXT_674);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_675);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_676);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genFeature.getImportedMetaType());
+ stringBuffer.append(TEXT_677);
+ stringBuffer.append(genClass.getFeatureID(genFeature));
+ stringBuffer.append(TEXT_678);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_679);
+ }
+ if (genModel.isOperationReflection()) {
+ for (GenOperation genOperation : genClass.getGenOperations()) {
+ stringBuffer.append(TEXT_680);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_681);
+ stringBuffer.append(publicStaticFinalFlag);
+ stringBuffer.append(genOperation.getImportedMetaType());
+ stringBuffer.append(TEXT_682);
+ stringBuffer.append(genClass.getOperationID(genOperation, false));
+ stringBuffer.append(TEXT_683);
+ stringBuffer.append(genOperation.getOperationAccessorName());
+ stringBuffer.append(TEXT_684);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_685);
+ }
+ stringBuffer.append(TEXT_686);
+ stringBuffer.append(isInterface ? genPackage.getPackageInterfaceName() : genPackage.getPackageClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_687);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genPackage.hasClassifiers() && !genModel.isSuppressEMFMetaData() && !genModel
+ .isSuppressInterfaces());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Plugin.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Plugin.java
new file mode 100644
index 0000000..2786510
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Plugin.java
@@ -0,0 +1,309 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Plugin extends org.eclipse.egf.emf.pattern.base.GenModelJava {
+ protected static String nl;
+
+ public static synchronized Plugin create(String lineSeparator) {
+ nl = lineSeparator;
+ Plugin result = new Plugin();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the central singleton for the ";
+ protected final String TEXT_5 = " model plugin." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
+ protected final String TEXT_6 = " extends EMFPlugin" + NL + "{";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = " copyright = ";
+ protected final String TEXT_9 = ";";
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_12 = " INSTANCE = new ";
+ protected final String TEXT_13 = "();" + NL;
+ protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper(new ResourceLocator [] {});" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_17 = NL + "\t@Override";
+ protected final String TEXT_18 = NL + "\tpublic ResourceLocator getPluginResourceLocator()" + NL + "\t{";
+ protected final String TEXT_19 = NL + "\t\treturn null;";
+ protected final String TEXT_20 = NL + "\t\treturn plugin;";
+ protected final String TEXT_21 = NL + "\t}" + NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class Implementation extends EclipsePlugin" + NL + "\t{" + NL + "\t\t/**"
+ + NL + "\t\t * Creates an instance." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->";
+ protected final String TEXT_23 = NL + "\t\t * @param descriptor the description of the plugin.";
+ protected final String TEXT_24 = NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic Implementation(";
+ protected final String TEXT_25 = " descriptor";
+ protected final String TEXT_26 = ")" + NL + "\t\t{" + NL + "\t\t\tsuper(";
+ protected final String TEXT_27 = "descriptor";
+ protected final String TEXT_28 = ");" + NL + "" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//"
+ + NL + "\t\t\tplugin = this;" + NL + "\t\t}";
+ protected final String TEXT_29 = NL + "\t" + NL + "\t\t/**" + NL
+ + "\t\t * The actual implementation of the purely OSGi-compatible <b>Bundle Activator</b>." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic static final class Activator extends ";
+ protected final String TEXT_30 = ".OSGiDelegatingBundleActivator" + NL + "\t\t{";
+ protected final String TEXT_31 = NL + "\t\t\t@Override";
+ protected final String TEXT_32 = NL + "\t\t\tprotected ";
+ protected final String TEXT_33 = " createBundle()" + NL + "\t\t\t{" + NL + "\t\t\t\treturn new Implementation();"
+ + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_34 = NL + "\t}" + NL;
+ protected final String TEXT_35 = NL + "}";
+ protected final String TEXT_36 = NL;
+ protected final String TEXT_37 = NL;
+ protected final String TEXT_38 = NL;
+
+ public Plugin() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(TEXT_38);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPath = genModel.getModelDirectory();
+ packageName = genModel.getModelPluginPackageName();
+ className = genModel.getModelPluginClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2004 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getModelPluginPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.addImport("org.eclipse.emf.common.EMFPlugin");
+ genModel.addImport("org.eclipse.emf.common.util.ResourceLocator");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getModelPluginClassName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getModelPluginClassName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getModelPluginClassName());
+ stringBuffer.append(TEXT_13);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getModelPluginClassName());
+ stringBuffer.append(TEXT_16);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_17);
+ }
+ stringBuffer.append(TEXT_18);
+ if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_19);
+ } else {
+ stringBuffer.append(TEXT_20);
+ }
+ stringBuffer.append(TEXT_21);
+ if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {
+ stringBuffer.append(TEXT_22);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(genModel.getImportedName("org.eclipse.core.runtime.IPluginDescriptor"));
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ if (genModel.needsRuntimeCompatibility()) {
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ if (genModel.isOSGiCompatible()) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.EMFPlugin"));
+ stringBuffer.append(TEXT_30);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_31);
+ }
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genModel.getImportedName("org.osgi.framework.BundleActivator"));
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ }
+ stringBuffer.append(TEXT_35);
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_36);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genModel.hasModelPluginClass());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginProperties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginProperties.java
new file mode 100644
index 0000000..cc44d3b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginProperties.java
@@ -0,0 +1,201 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PluginProperties extends org.eclipse.egf.emf.pattern.base.GenModelProperties {
+ protected static String nl;
+
+ public static synchronized PluginProperties create(String lineSeparator) {
+ nl = lineSeparator;
+ PluginProperties result = new PluginProperties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + NL + "pluginName = ";
+ protected final String TEXT_3 = " Model" + NL + "providerName = www.example.org";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "_UI_";
+ protected final String TEXT_6 = "_content_type = ";
+ protected final String TEXT_7 = " File";
+ protected final String TEXT_8 = NL;
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL;
+
+ public PluginProperties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(TEXT_10);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getModelProjectDirectory() + "/plugin.properties";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2004 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_3);
+ boolean first = true;
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (genPackage.isContentType()) {
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_4);
+ }
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_7);
+ }
+ }
+ stringBuffer.append(TEXT_8);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genModel.hasPluginSupport());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginXML.java
new file mode 100644
index 0000000..86e26c2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginXML.java
@@ -0,0 +1,354 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PluginXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized PluginXML create(String lineSeparator) {
+ nl = lineSeparator;
+ PluginXML result = new PluginXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>"
+ + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+ protected final String TEXT_4 = NL + "<plugin>";
+ protected final String TEXT_5 = NL + "<plugin" + NL + " name=\"%pluginName\"" + NL + " id=\"";
+ protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"";
+ protected final String TEXT_7 = NL + " provider-name=\"%providerName\"" + NL + " class=\"";
+ protected final String TEXT_8 = "$Implementation\">";
+ protected final String TEXT_9 = NL + " provider-name=\"%providerName\">";
+ protected final String TEXT_10 = NL + NL + " <requires>";
+ protected final String TEXT_11 = NL + " <import plugin=\"";
+ protected final String TEXT_12 = "\"";
+ protected final String TEXT_13 = " export=\"true\"";
+ protected final String TEXT_14 = "/>";
+ protected final String TEXT_15 = NL + " </requires>" + NL + "" + NL + " <runtime>";
+ protected final String TEXT_16 = NL + " <library name=\"";
+ protected final String TEXT_17 = ".jar\">";
+ protected final String TEXT_18 = NL + " <library name=\".\">";
+ protected final String TEXT_19 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL
+ + " </runtime>";
+ protected final String TEXT_20 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.generated_package\">";
+ protected final String TEXT_21 = NL + " <!-- @generated ";
+ protected final String TEXT_22 = " -->";
+ protected final String TEXT_23 = NL + " <package" + NL + " uri=\"";
+ protected final String TEXT_24 = "\"";
+ protected final String TEXT_25 = NL + " class=\"";
+ protected final String TEXT_26 = "\"" + NL + " genModel=\"";
+ protected final String TEXT_27 = "\"/>";
+ protected final String TEXT_28 = NL + " class=\"";
+ protected final String TEXT_29 = "\"/>";
+ protected final String TEXT_30 = NL + " </extension>";
+ protected final String TEXT_31 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.content_parser\">";
+ protected final String TEXT_32 = NL + " <!-- @generated ";
+ protected final String TEXT_33 = " -->";
+ protected final String TEXT_34 = NL + " <parser" + NL + " contentTypeIdentifier=\"";
+ protected final String TEXT_35 = "\"" + NL + " class=\"";
+ protected final String TEXT_36 = "\"/>" + NL + " </extension>" + NL + "" + NL
+ + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
+ protected final String TEXT_37 = NL + " <!-- @generated ";
+ protected final String TEXT_38 = " -->";
+ protected final String TEXT_39 = NL + " <content-type" + NL + " base-type=\"";
+ protected final String TEXT_40 = "\"" + NL + " file-extensions=\"";
+ protected final String TEXT_41 = "\"" + NL + " id=\"";
+ protected final String TEXT_42 = "\"" + NL + " name=\"%_UI_";
+ protected final String TEXT_43 = "_content_type\"" + NL + " priority=\"normal\">" + NL
+ + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
+ protected final String TEXT_44 = NL + " <parameter name=\"namespace\" value=\"";
+ protected final String TEXT_45 = "\"/>";
+ protected final String TEXT_46 = NL + " <parameter name=\"kind\" value=\"xmi\"/>";
+ protected final String TEXT_47 = NL + " </describer>" + NL + " </content-type>" + NL
+ + " </extension>";
+ protected final String TEXT_48 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.extension_parser\">";
+ protected final String TEXT_49 = NL + " <!-- @generated ";
+ protected final String TEXT_50 = " -->";
+ protected final String TEXT_51 = NL + " <parser" + NL + " type=\"";
+ protected final String TEXT_52 = "\"" + NL + " class=\"";
+ protected final String TEXT_53 = "\"/>";
+ protected final String TEXT_54 = NL + " </extension>";
+ protected final String TEXT_55 = NL + NL + "</plugin>" + NL;
+ protected final String TEXT_56 = NL;
+ protected final String TEXT_57 = NL;
+
+ public PluginXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(TEXT_57);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getModelProjectDirectory() + "/plugin.xml";
+ overwrite = true;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ String key = genModel.getPluginKey();
+ boolean hasKey = key != null && !key.equals(""); /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ if (genModel.isBundleManifest()) {
+ stringBuffer.append(TEXT_4);
+ } else {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getModelPluginID());
+ stringBuffer.append(TEXT_6);
+ if (genModel.hasModelPluginClass()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getQualifiedModelPluginClassName());
+ stringBuffer.append(TEXT_8);
+ } else {
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ for (String pluginID : genModel.getModelRequiredPlugins()) {
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(pluginID);
+ stringBuffer.append(TEXT_12);
+ if (!pluginID.startsWith("org.eclipse.core.runtime")) {
+ stringBuffer.append(TEXT_13);
+ }
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ if (genModel.isRuntimeJar()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getModelPluginID());
+ stringBuffer.append(TEXT_17);
+ } else {
+ stringBuffer.append(TEXT_18);
+ }
+ stringBuffer.append(TEXT_19);
+ }
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ stringBuffer.append(TEXT_20);
+ if (hasKey) {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_22);
+ }
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_24);
+ if (genModel.hasLocalGenModel()) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genModel.getRelativeGenModelLocation());
+ stringBuffer.append(TEXT_27);
+ } else {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_29);
+ }
+ stringBuffer.append(TEXT_30);
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_31);
+ if (hasKey) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genPackage.getContentTypeIdentifier());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genPackage.getQualifiedEffectiveResourceFactoryClassName());
+ stringBuffer.append(TEXT_36);
+ if (hasKey) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_38);
+ }
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi"
+ : "org.eclipse.core.runtime.xml");
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genPackage.getFileExtensions());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genPackage.getContentTypeIdentifier());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genPackage.getPrefix());
+ stringBuffer.append(TEXT_43);
+ if (genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genPackage.getNSURI());
+ stringBuffer.append(TEXT_45);
+ }
+ if (genPackage.isXMIResource()) {
+ stringBuffer.append(TEXT_46);
+ }
+ stringBuffer.append(TEXT_47);
+ } else if (genPackage.getResource() != GenResourceKind.NONE_LITERAL) {
+ stringBuffer.append(TEXT_48);
+ if (hasKey) {
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(key);
+ stringBuffer.append(TEXT_50);
+ }
+ for (String fileExtension : genPackage.getFileExtensionList()) {
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(fileExtension);
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genPackage.getQualifiedResourceFactoryClassName());
+ stringBuffer.append(TEXT_53);
+ }
+ stringBuffer.append(TEXT_54);
+ }
+ }
+ stringBuffer.append(TEXT_55);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT)
+ && (genModel.hasPluginSupport() && !genModel.sameModelEditProject() && !genModel
+ .sameModelEditorProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceClass.java
new file mode 100644
index 0000000..47ff8f8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceClass.java
@@ -0,0 +1,968 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ResourceClass extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized ResourceClass create(String lineSeparator) {
+ nl = lineSeparator;
+ ResourceClass result = new ResourceClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Resource </b> associated with the package." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @see ";
+ protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_6 = " extends ";
+ protected final String TEXT_7 = NL + "{";
+ protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_9 = " copyright = ";
+ protected final String TEXT_10 = ";";
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * Creates an instance of the resource." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param uri the URI of the new resource." + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_13 = "(URI uri)" + NL + "\t{" + NL + "\t\tsuper(uri);";
+ protected final String TEXT_14 = NL + "\t}" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL
+ + "\t * A load option that turns of the use of the generate data converters." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final String OPTION_USE_DATA_CONVERTER = \"USE_DATA_CONVERTER\";" + NL
+ + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_16 = NL + "\t@Override";
+ protected final String TEXT_17 = NL + "\tpublic void doLoad(InputStream inputStream, ";
+ protected final String TEXT_18 = " options) throws IOException" + NL + "\t{" + NL
+ + "\t\tif (options != null && Boolean.TRUE.equals(options.get(OPTION_USE_DATA_CONVERTER)))" + NL + "\t\t{"
+ + NL + "\t\t getContents().add" + NL + "\t\t\t (load" + NL + "\t\t\t\t (new InputSource(inputStream), "
+ + NL + "\t\t\t\t (";
+ protected final String TEXT_19 = ")options.get(XMLResource.OPTION_PARSER_FEATURES), " + NL + "\t\t\t\t (";
+ protected final String TEXT_20 = ")options.get(XMLResource.OPTION_PARSER_PROPERTIES), " + NL
+ + "\t\t\t\t Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER))).eContainer());" + NL
+ + "\t\t}" + NL + "\t\telse" + NL + "\t\t{ " + NL + "\t\t\tsuper.doLoad(inputStream, options);" + NL
+ + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_21 = NL + "\t@Override";
+ protected final String TEXT_22 = NL + "\tpublic void doLoad(InputSource inputSource, ";
+ protected final String TEXT_23 = " options) throws IOException" + NL + "\t{" + NL
+ + "\t\tif (options != null && Boolean.TRUE.equals(options.get(OPTION_USE_DATA_CONVERTER)))" + NL + "\t\t{"
+ + NL + "\t\t getContents().add" + NL + "\t\t\t (load" + NL + "\t\t\t\t (inputSource," + NL + "\t\t\t\t (";
+ protected final String TEXT_24 = ")options.get(XMLResource.OPTION_PARSER_FEATURES), " + NL + "\t\t\t\t (";
+ protected final String TEXT_25 = ")options.get(XMLResource.OPTION_PARSER_PROPERTIES), "
+ + NL
+ + "\t\t\t\t Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER))).eContainer());"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\telse"
+ + NL
+ + "\t\t{ "
+ + NL
+ + "\t\t\tsuper.doLoad(inputSource, options);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected static final XMLParserPool parserPool = new XMLParserPoolImpl();"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Loads an instance from the input."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @param inputSource the input from which to load."
+ + NL
+ + "\t * @param features a map of the parser features and their values."
+ + NL
+ + "\t * @param properties a map of a parser properties and their values."
+ + NL
+ + "\t * @param useLexicalHandler whether a lexical handler should be used during loading."
+ + NL
+ + "\t * @return the root object; for the case of a document root, the child of that document root is return."
+ + NL + "\t * @throws ParserConfigurationException" + NL + "\t * @throws SAXException" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic static EObject load(InputSource inputSource, ";
+ protected final String TEXT_26 = " features, ";
+ protected final String TEXT_27 = " properties, boolean useLexicalHandler) throws IOException" + NL + "\t{" + NL
+ + "\t\t";
+ protected final String TEXT_28 = " requiredFeatures = new ";
+ protected final String TEXT_29 = "();" + NL
+ + "\t\trequiredFeatures.put(\"http://xml.org/sax/features/namespaces\", Boolean.TRUE); " + NL
+ + "\t\tif (features != null)" + NL + "\t\t{" + NL + "\t\t\trequiredFeatures.putAll(features);" + NL
+ + "\t\t}" + NL + "\t\t" + NL + "\t\tif (properties == null)" + NL + "\t\t{" + NL
+ + "\t\t\tproperties = Collections.";
+ protected final String TEXT_30 = "emptyMap()";
+ protected final String TEXT_31 = "EMPTY_MAP";
+ protected final String TEXT_32 = ";"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\tSAXParser saxParser = null;"
+ + NL
+ + "\t\ttry"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tsaxParser = parserPool.get(requiredFeatures, properties, useLexicalHandler);"
+ + NL
+ + "\t\t\tfinal FrameFactory.DocumentRootStackFrame documentRoot = FrameFactory.INSTANCE.pushDocumentRoot(null, null);"
+ + NL + "\t\t\tXMLTypeResourceImpl.Handler handler = new XMLTypeResourceImpl.Handler(documentRoot);" + NL
+ + "\t\t\tsaxParser.parse(inputSource, handler);";
+ protected final String TEXT_33 = NL
+ + "\t\t\treturn (EObject)((EObject)FrameFactory.INSTANCE.popDocumentRoot(documentRoot)).eContents().get(0);";
+ protected final String TEXT_34 = NL
+ + "\t\t\treturn FrameFactory.INSTANCE.popDocumentRoot(documentRoot).eContents().get(0);";
+ protected final String TEXT_35 = NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL
+ + "\t\t\tthrow new IOWrappedException(exception);" + NL + "\t\t}" + NL + "\t\tfinally" + NL + "\t\t{" + NL
+ + "\t\t\tparserPool.release(saxParser, requiredFeatures, properties, useLexicalHandler);" + NL + "\t\t}"
+ + NL + "\t}" + NL;
+ protected final String TEXT_36 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic final static class FrameFactory" + NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic static final FrameFactory INSTANCE = new FrameFactory();" + NL + "\t";
+ protected final String TEXT_37 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_38 = "StackFrame ";
+ protected final String TEXT_39 = ";" + NL;
+ protected final String TEXT_40 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_41 = " ";
+ protected final String TEXT_42 = ";" + NL;
+ protected final String TEXT_43 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_44 = "StackFrame push";
+ protected final String TEXT_45 = "(";
+ protected final String TEXT_46 = " previous, Attributes attributes)" + NL + "\t\t{" + NL + "\t\t\t ";
+ protected final String TEXT_47 = "StackFrame result";
+ protected final String TEXT_48 = " = ";
+ protected final String TEXT_49 = " == null ? new ";
+ protected final String TEXT_50 = "StackFrame() : ";
+ protected final String TEXT_51 = ";" + NL + "\t\t\t ";
+ protected final String TEXT_52 = " = null;" + NL + "\t\t\t result";
+ protected final String TEXT_53 = ".pushOnto(previous);" + NL + "\t\t\t result";
+ protected final String TEXT_54 = ".handleAttributes(attributes);" + NL + "\t\t\t return result";
+ protected final String TEXT_55 = ";" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_56 = " pop";
+ protected final String TEXT_57 = "(";
+ protected final String TEXT_58 = "StackFrame ";
+ protected final String TEXT_59 = ")" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_60 = " result";
+ protected final String TEXT_61 = "Value = ";
+ protected final String TEXT_62 = ".pop";
+ protected final String TEXT_63 = "();" + NL + "\t\t\tthis.";
+ protected final String TEXT_64 = " = ";
+ protected final String TEXT_65 = ";" + NL + "\t\t\treturn result";
+ protected final String TEXT_66 = "Value;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic static class ";
+ protected final String TEXT_67 = "StackFrame extends ";
+ protected final String TEXT_68 = NL + "\t\t{" + NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
+ protected final String TEXT_69 = " the";
+ protected final String TEXT_70 = ";" + NL + "\t\t";
+ protected final String TEXT_71 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
+ protected final String TEXT_72 = ".FrameFactory.";
+ protected final String TEXT_73 = "StackFrame ";
+ protected final String TEXT_74 = ";" + NL;
+ protected final String TEXT_75 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
+ protected final String TEXT_76 = " ";
+ protected final String TEXT_77 = ";" + NL + "\t\t";
+ protected final String TEXT_78 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
+ protected final String TEXT_79 = NL + "\t\t\t@Override";
+ protected final String TEXT_80 = NL + "\t\t\tpublic void handleAttributes(Attributes attributes)" + NL + "\t\t\t{";
+ protected final String TEXT_81 = NL + "\t\t\t\tString theValue = attributes.getValue(";
+ protected final String TEXT_82 = ", \"";
+ protected final String TEXT_83 = "\");";
+ protected final String TEXT_84 = NL + "\t\t\t\ttheValue = attributes.getValue(";
+ protected final String TEXT_85 = ", \"";
+ protected final String TEXT_86 = "\");";
+ protected final String TEXT_87 = NL + "\t\t\t\tif (theValue != null)" + NL + "\t\t\t\t{";
+ protected final String TEXT_88 = NL + "\t\t\t\t\tthe";
+ protected final String TEXT_89 = ".set";
+ protected final String TEXT_90 = "(";
+ protected final String TEXT_91 = ".create";
+ protected final String TEXT_92 = "(theValue));";
+ protected final String TEXT_93 = NL + "\t\t\t\t\tthe";
+ protected final String TEXT_94 = ".set";
+ protected final String TEXT_95 = "((";
+ protected final String TEXT_96 = ")";
+ protected final String TEXT_97 = ".createFromString(";
+ protected final String TEXT_98 = ", theValue));";
+ protected final String TEXT_99 = NL + "\t\t\t\t}";
+ protected final String TEXT_100 = NL + "\t\t\t\t// There are attributes to handle.";
+ protected final String TEXT_101 = NL + "\t\t\t}" + NL + "\t\t" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */";
+ protected final String TEXT_102 = NL + "\t\t\t@Override";
+ protected final String TEXT_103 = NL + "\t\t\tpublic ";
+ protected final String TEXT_104 = " startElement(String namespace, String localName, String qName, Attributes attributes) throws SAXException"
+ + NL + "\t\t\t{";
+ protected final String TEXT_105 = NL + "\t\t\t\t";
+ protected final String TEXT_106 = "else ";
+ protected final String TEXT_107 = "if (\"";
+ protected final String TEXT_108 = "\".equals(localName) && ";
+ protected final String TEXT_109 = ".equals(namespace))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\treturn ";
+ protected final String TEXT_110 = " = ";
+ protected final String TEXT_111 = ".FrameFactory.INSTANCE.push";
+ protected final String TEXT_112 = "(this, attributes);" + NL + "\t\t\t\t}";
+ protected final String TEXT_113 = NL
+ + "\t\t\t\treturn super.startElement(namespace, localName, qName, attributes);";
+ protected final String TEXT_114 = NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\treturn super.startElement(namespace, localName, qName, attributes);" + NL + "\t\t\t\t}";
+ protected final String TEXT_115 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */";
+ protected final String TEXT_116 = NL + "\t\t\t@Override";
+ protected final String TEXT_117 = NL + "\t\t\tpublic void endElement(";
+ protected final String TEXT_118 = " child) throws SAXException" + NL + "\t\t\t{";
+ protected final String TEXT_119 = NL + "\t\t\t\t";
+ protected final String TEXT_120 = "else ";
+ protected final String TEXT_121 = "if (child == ";
+ protected final String TEXT_122 = ")" + NL + "\t\t\t\t{";
+ protected final String TEXT_123 = NL + "\t\t\t\t\tthe";
+ protected final String TEXT_124 = ".";
+ protected final String TEXT_125 = "().add(";
+ protected final String TEXT_126 = ".FrameFactory.INSTANCE.pop";
+ protected final String TEXT_127 = "(";
+ protected final String TEXT_128 = "));";
+ protected final String TEXT_129 = NL + "\t\t\t\t\tthe";
+ protected final String TEXT_130 = ".set";
+ protected final String TEXT_131 = "(";
+ protected final String TEXT_132 = ".FrameFactory.INSTANCE.pop";
+ protected final String TEXT_133 = "(";
+ protected final String TEXT_134 = "));";
+ protected final String TEXT_135 = NL + "\t\t\t\t\t";
+ protected final String TEXT_136 = " = null;" + NL + "\t\t\t\t}";
+ protected final String TEXT_137 = NL + "\t\t\t\tsuper.endElement(child);";
+ protected final String TEXT_138 = NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tsuper.endElement(child);" + NL + "\t\t\t\t}";
+ protected final String TEXT_139 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */";
+ protected final String TEXT_140 = NL + "\t\t\t@Override";
+ protected final String TEXT_141 = NL + "\t\t\tpublic void create()" + NL + "\t\t\t{" + NL + "\t\t\t\tthe";
+ protected final String TEXT_142 = " = ";
+ protected final String TEXT_143 = ".create";
+ protected final String TEXT_144 = "();" + NL + "\t\t\t}" + NL + "\t\t" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */" + NL + "\t\t\tprotected ";
+ protected final String TEXT_145 = " pop";
+ protected final String TEXT_146 = "()" + NL + "\t\t\t{" + NL + "\t\t\t\tpop();" + NL + "\t\t\t\t";
+ protected final String TEXT_147 = " result";
+ protected final String TEXT_148 = "Value = the";
+ protected final String TEXT_149 = ";" + NL + "\t\t\t\tthe";
+ protected final String TEXT_150 = " = null;" + NL + "\t\t\t\treturn result";
+ protected final String TEXT_151 = "Value;" + NL + "\t\t\t}" + NL + "\t\t" + NL + "\t\t}" + NL;
+ protected final String TEXT_152 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_153 = " push";
+ protected final String TEXT_154 = "(";
+ protected final String TEXT_155 = " previous, Attributes attributes)" + NL + "\t\t{" + NL + "\t\t\t ";
+ protected final String TEXT_156 = " result";
+ protected final String TEXT_157 = " = ";
+ protected final String TEXT_158 = " == null ? new ";
+ protected final String TEXT_159 = "() : ";
+ protected final String TEXT_160 = ";" + NL + "\t\t\t ";
+ protected final String TEXT_161 = " = null;" + NL + "\t\t\t result";
+ protected final String TEXT_162 = ".pushOnto(previous);" + NL + "\t\t\t result";
+ protected final String TEXT_163 = ".handleAttributes(attributes);" + NL + "\t\t\t return result";
+ protected final String TEXT_164 = ";" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_165 = " pop";
+ protected final String TEXT_166 = "(";
+ protected final String TEXT_167 = " ";
+ protected final String TEXT_168 = ")" + NL + "\t\t{";
+ protected final String TEXT_169 = NL + "\t\t\t";
+ protected final String TEXT_170 = " result";
+ protected final String TEXT_171 = "Value = ";
+ protected final String TEXT_172 = ".create";
+ protected final String TEXT_173 = "(";
+ protected final String TEXT_174 = ".popValue());";
+ protected final String TEXT_175 = NL + "\t\t\t";
+ protected final String TEXT_176 = " result";
+ protected final String TEXT_177 = "Value = ((";
+ protected final String TEXT_178 = ")";
+ protected final String TEXT_179 = ".createFromString(";
+ protected final String TEXT_180 = ", ";
+ protected final String TEXT_181 = ".popValue())).";
+ protected final String TEXT_182 = "();";
+ protected final String TEXT_183 = NL + "\t\t\t";
+ protected final String TEXT_184 = " result";
+ protected final String TEXT_185 = "Value = (";
+ protected final String TEXT_186 = ")";
+ protected final String TEXT_187 = ".createFromString(";
+ protected final String TEXT_188 = ", ";
+ protected final String TEXT_189 = ".popValue());";
+ protected final String TEXT_190 = NL + "\t\t\tthis.";
+ protected final String TEXT_191 = " = ";
+ protected final String TEXT_192 = ";" + NL + "\t\t\treturn result";
+ protected final String TEXT_193 = "Value;" + NL + "\t\t}" + NL;
+ protected final String TEXT_194 = NL + "\t}" + NL;
+ protected final String TEXT_195 = NL + "} //";
+ protected final String TEXT_196 = NL;
+ protected final String TEXT_197 = NL;
+ protected final String TEXT_198 = NL;
+
+ public ResourceClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_197);
+ stringBuffer.append(TEXT_198);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getUtilitiesPackageName();
+ className = genPackage.getResourceClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel();
+ ExtendedMetaData extendedMetaData = genModel.getExtendedMetaData();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getUtilitiesPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.getImportedName("org.eclipse.emf.common.util.URI");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getQualifiedResourceFactoryClassName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getResourceClassName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genPackage.getImportedResourceBaseClassName());
+ stringBuffer.append(TEXT_7);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getResourceClassName());
+ stringBuffer.append(TEXT_13);
+ if (genPackage.getResource() == GenResourceKind.XML_LITERAL) { // Do nothing
+ }
+ stringBuffer.append(TEXT_14);
+ if (genPackage.isDataTypeConverters()
+ && (genPackage.hasDocumentRoot() || org.eclipse.emf.ecore.xml.type.XMLTypePackage.eNS_URI
+ .equals(genPackage.getNSURI()))) {
+ boolean isXMLTypePackage = org.eclipse.emf.ecore.xml.type.XMLTypePackage.eNS_URI.equals(genPackage
+ .getNSURI());
+ final String _Map = genModel.useGenerics() ? "Map<?, ?>" : "Map";
+ final String _MapStringBoolean = genModel.useGenerics() ? "Map<String, Boolean>" : "Map";
+ final String _MapStringWildcard = genModel.useGenerics() ? "Map<String, ?>" : "Map";
+ if (!isXMLTypePackage) {
+ genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource");
+ genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLParserPool");
+ genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.XMLParserPoolImpl");
+ genModel.getImportedName("java.io.InputStream");
+ genModel.getImportedName("java.io.IOException");
+ genModel.getImportedName("org.eclipse.emf.ecore.EObject");
+ genModel.getImportedName("java.util.Collections");
+ genModel.getImportedName("java.util.HashMap");
+ genModel.getImportedName("java.util.Map");
+ genModel.getImportedName("org.xml.sax.InputSource");
+ genModel.getImportedName("javax.xml.parsers.SAXParser");
+ }
+ genModel.getImportedName("org.xml.sax.Attributes");
+ genModel.getImportedName("org.xml.sax.SAXException");
+ String _StackFrame = genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl")
+ + ".StackFrame";
+ String _DataFrame = genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl")
+ + ".DataFrame";
+ if (!isXMLTypePackage) {
+ stringBuffer.append(TEXT_15);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_16);
+ }
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(_Map);
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(_MapStringBoolean);
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(_MapStringWildcard);
+ stringBuffer.append(TEXT_20);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(_Map);
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(_MapStringBoolean);
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(_MapStringWildcard);
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(_MapStringBoolean);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(_MapStringWildcard);
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(_MapStringBoolean);
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(_MapStringBoolean.replaceAll("Map", "HashMap"));
+ stringBuffer.append(TEXT_29);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_30);
+ } else {
+ stringBuffer.append(TEXT_31);
+ }
+ stringBuffer.append(TEXT_32);
+ if (genModel.isSuppressEMFTypes()) {
+ stringBuffer.append(TEXT_33);
+ } else {
+ stringBuffer.append(TEXT_34);
+ }
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_39);
+ }
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(_DataFrame);
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_42);
+ }
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ List<EStructuralFeature> attributes = extendedMetaData.getAllAttributes(genClass.getEcoreClass());
+ List<EStructuralFeature> elements = extendedMetaData.getAllElements(genClass.getEcoreClass());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(_StackFrame);
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(_StackFrame);
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_70);
+ for (GenFeature genFeature : genClass.getAllGenFeatures()) {
+ String name = extendedMetaData.getName(genFeature.getEcoreFeature());
+ if ((elements.contains(genFeature.getEcoreFeature()) || attributes.contains(genFeature
+ .getEcoreFeature())) && name.indexOf(":") == -1) {
+ if (genFeature.isReferenceType()) {
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getTypeGenClass().getGenPackage()
+ .getImportedResourceClassName());
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genFeature.getTypeGenClass().getName());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_74);
+ } else {
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(_DataFrame);
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_77);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_78);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_79);
+ }
+ stringBuffer.append(TEXT_80);
+ int count = 0;
+ for (GenFeature genFeature : genClass.getAllGenFeatures()) {
+ String name = extendedMetaData.getName(genFeature.getEcoreFeature());
+ if (attributes.contains(genFeature.getEcoreFeature()) && !genFeature.isDerived()
+ && name.indexOf(":") == -1) {
+ String namespace = Literals.toStringLiteral(
+ extendedMetaData.getNamespace(genFeature.getEcoreFeature()), genModel);
+ if ("null".equals(namespace))
+ namespace = "\"\"";
+ if (!genFeature.isReferenceType()) {
+ GenClassifier genClassifier = genFeature.getTypeGenClassifier();
+ if (count++ == 0) {
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(namespace);
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(name);
+ stringBuffer.append(TEXT_83);
+ } else {
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(namespace);
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(name);
+ stringBuffer.append(TEXT_86);
+ }
+ stringBuffer.append(TEXT_87);
+ if (genClassifier.getGenPackage().isDataTypeConverters()) {
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer
+ .append(genClassifier.getGenPackage().getQualifiedFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genClassifier.getName());
+ stringBuffer.append(TEXT_92);
+ } else {
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(genFeature.getImportedType(null));
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genClassifier.getGenPackage()
+ .getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genClassifier.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_98);
+ }
+ stringBuffer.append(TEXT_99);
+ }
+ }
+ }
+ if (count == 0) {
+ stringBuffer.append(TEXT_100);
+ }
+ stringBuffer.append(TEXT_101);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_102);
+ }
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(_StackFrame);
+ stringBuffer.append(TEXT_104);
+ count = 0;
+ for (GenFeature genFeature : genClass.getAllGenFeatures()) {
+ String name = extendedMetaData.getName(genFeature.getEcoreFeature());
+ if (elements.contains(genFeature.getEcoreFeature()) && name.indexOf(":") == -1) {
+ String namespace = Literals.toStringLiteral(
+ extendedMetaData.getNamespace(genFeature.getEcoreFeature()), genModel);
+ if ("null".equals(namespace))
+ namespace = "\"\"";
+ stringBuffer.append(TEXT_105);
+ if (count++ != 0) {
+ stringBuffer.append(TEXT_106);
+ }
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(name);
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(namespace);
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage()
+ .getImportedResourceClassName());
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genFeature.getTypeGenClassifier().getName());
+ stringBuffer.append(TEXT_112);
+ }
+ }
+ if (count == 0) {
+ stringBuffer.append(TEXT_113);
+ } else {
+ stringBuffer.append(TEXT_114);
+ }
+ stringBuffer.append(TEXT_115);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_116);
+ }
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(_StackFrame);
+ stringBuffer.append(TEXT_118);
+ count = 0;
+ for (GenFeature genFeature : genClass.getAllGenFeatures()) {
+ String name = extendedMetaData.getName(genFeature.getEcoreFeature());
+ if (elements.contains(genFeature.getEcoreFeature()) && name.indexOf(":") == -1) {
+ stringBuffer.append(TEXT_119);
+ if (count++ != 0) {
+ stringBuffer.append(TEXT_120);
+ }
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_122);
+ if (genFeature.isListType()) {
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage()
+ .getImportedResourceClassName());
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genFeature.getTypeGenClassifier().getName());
+ stringBuffer.append(TEXT_127);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_128);
+ } else {
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage()
+ .getImportedResourceClassName());
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genFeature.getTypeGenClassifier().getName());
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_134);
+ }
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_136);
+ }
+ }
+ if (count == 0) {
+ stringBuffer.append(TEXT_137);
+ } else {
+ stringBuffer.append(TEXT_138);
+ }
+ stringBuffer.append(TEXT_139);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_140);
+ }
+ stringBuffer.append(TEXT_141);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genPackage.getQualifiedFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_146);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_151);
+ }
+ for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(_DataFrame);
+ stringBuffer.append(TEXT_153);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(_StackFrame);
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(_DataFrame);
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_157);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(_DataFrame);
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_162);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_164);
+ stringBuffer.append(genDataType.getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_166);
+ stringBuffer.append(_DataFrame);
+ stringBuffer.append(TEXT_167);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_168);
+ if (genDataType.getGenPackage().isDataTypeConverters()) {
+ stringBuffer.append(TEXT_169);
+ stringBuffer.append(genDataType.getImportedParameterizedInstanceClassName());
+ stringBuffer.append(TEXT_170);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_171);
+ stringBuffer.append(genDataType.getGenPackage().getQualifiedFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_174);
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(genDataType.getGenPackage().getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_179);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_180);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(genDataType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_182);
+ } else {
+ stringBuffer.append(TEXT_183);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_184);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_186);
+ stringBuffer.append(genDataType.getGenPackage().getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(TEXT_187);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_188);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_189);
+ }
+ stringBuffer.append(TEXT_190);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_193);
+ }
+ stringBuffer.append(TEXT_194);
+ }
+ stringBuffer.append(TEXT_195);
+ stringBuffer.append(genPackage.getResourceClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_196);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genPackage.getResource() != GenResourceKind.NONE_LITERAL);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceFactoryClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceFactoryClass.java
new file mode 100644
index 0000000..8682809
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceFactoryClass.java
@@ -0,0 +1,296 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ResourceFactoryClass extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized ResourceFactoryClass create(String lineSeparator) {
+ nl = lineSeparator;
+ ResourceFactoryClass result = new ResourceFactoryClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Resource Factory</b> associated with the package." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @see ";
+ protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_6 = " extends ";
+ protected final String TEXT_7 = NL + "{";
+ protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_9 = " copyright = ";
+ protected final String TEXT_10 = ";";
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_13 = " extendedMetaData;" + NL;
+ protected final String TEXT_14 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_15 = " xmlMap = new ";
+ protected final String TEXT_16 = "();" + NL;
+ protected final String TEXT_17 = NL + "\t/**" + NL + "\t * Creates an instance of the resource factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_18 = "()" + NL + "\t{" + NL + "\t\tsuper();";
+ protected final String TEXT_19 = NL + "\t\textendedMetaData = new ";
+ protected final String TEXT_20 = "(new ";
+ protected final String TEXT_21 = "(";
+ protected final String TEXT_22 = ".Registry.INSTANCE));" + NL + "\t\textendedMetaData.putPackage(null, ";
+ protected final String TEXT_23 = ".eINSTANCE);";
+ protected final String TEXT_24 = NL + "\t\txmlMap.setNoNamespacePackage(";
+ protected final String TEXT_25 = ".eINSTANCE);";
+ protected final String TEXT_26 = NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the resource." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_27 = NL + "\t@Override";
+ protected final String TEXT_28 = NL + "\tpublic Resource createResource(URI uri)" + NL + "\t{";
+ protected final String TEXT_29 = NL;
+ protected final String TEXT_30 = NL + "\t}" + NL + "" + NL + "} //";
+ protected final String TEXT_31 = NL;
+ protected final String TEXT_32 = NL;
+ protected final String TEXT_33 = NL;
+
+ public ResourceFactoryClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(TEXT_33);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getUtilitiesPackageName();
+ className = genPackage.getResourceFactoryClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getUtilitiesPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.getImportedName("org.eclipse.emf.common.util.URI");
+ genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getQualifiedResourceClassName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getResourceFactoryClassName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genPackage.getImportedResourceFactoryBaseClassName());
+ stringBuffer.append(TEXT_7);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_11);
+ }
+ if (genPackage.hasExtendedMetaData() && !genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData"));
+ stringBuffer.append(TEXT_13);
+ } else if (genPackage.hasXMLMap()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource$XMLMap"));
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.XMLMapImpl"));
+ stringBuffer.append(TEXT_16);
+ }
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genPackage.getResourceFactoryClassName());
+ stringBuffer.append(TEXT_18);
+ if (genPackage.hasExtendedMetaData() && !genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.BasicExtendedMetaData"));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.EPackageRegistryImpl"));
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_23);
+ } else if (genPackage.hasXMLMap() && !genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(TEXT_29);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass.ResourceFactoryClass.createResource.override" args="genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uqqgWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //ResourceFactoryClass/createResource.override.javajetinc
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genPackage.getResourceFactoryClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_31);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genPackage.getResource() != GenResourceKind.NONE_LITERAL);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/SwitchClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/SwitchClass.java
new file mode 100644
index 0000000..ad87ef4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/SwitchClass.java
@@ -0,0 +1,513 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class SwitchClass extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized SwitchClass create(String lineSeparator) {
+ nl = lineSeparator;
+ SwitchClass result = new SwitchClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Switch</b> for the model's inheritance hierarchy." + NL
+ + " * It supports the call {@link #doSwitch(EObject) doSwitch(object)}" + NL
+ + " * to invoke the <code>caseXXX</code> method for each class of the model," + NL
+ + " * starting with the actual class of the object" + NL + " * and proceeding up the inheritance hierarchy"
+ + NL + " * until a non-null result is returned," + NL + " * which is the result of the switch." + NL
+ + " * <!-- end-user-doc -->" + NL + " * @see ";
+ protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_6 = " extends Switch";
+ protected final String TEXT_7 = NL + "{";
+ protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_9 = " copyright = ";
+ protected final String TEXT_10 = ";";
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached model package" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected static ";
+ protected final String TEXT_13 = " modelPackage;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the switch." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_14 = "()" + NL + "\t{" + NL + "\t\tif (modelPackage == null)" + NL + "\t\t{" + NL
+ + "\t\t\tmodelPackage = ";
+ protected final String TEXT_15 = ".eINSTANCE;" + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_16 = NL + "\t/**" + NL + "\t * Checks whether this is a switch for the given package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @parameter ePackage the package in question." + NL
+ + "\t * @return whether this is a switch for the given package." + NL + "\t * @generated" + NL + "\t */"
+ + NL + "\t@Override" + NL + "\tprotected boolean isSwitchFor(EPackage ePackage)" + NL + "\t{" + NL
+ + "\t\treturn ePackage == modelPackage;" + NL + "\t}";
+ protected final String TEXT_17 = NL
+ + "\t/**"
+ + NL
+ + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_18 = " doSwitch(EObject theEObject)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn doSwitch(theEObject.eClass(), theEObject);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_19 = " doSwitch(EClass theEClass, EObject theEObject)" + NL + "\t{" + NL
+ + "\t\tif (theEClass.eContainer() == modelPackage)" + NL + "\t\t{" + NL
+ + "\t\t\treturn doSwitch(theEClass.getClassifierID(), theEObject);" + NL + "\t\t}";
+ protected final String TEXT_20 = NL + "\t\telse" + NL + "\t\t{";
+ protected final String TEXT_21 = NL + "\t\t";
+ protected final String TEXT_22 = "<";
+ protected final String TEXT_23 = ">";
+ protected final String TEXT_24 = " eSuperTypes = theEClass.getESuperTypes();" + NL + "\t\t";
+ protected final String TEXT_25 = "return" + NL + "\t\t";
+ protected final String TEXT_26 = "\teSuperTypes.isEmpty() ?" + NL + "\t\t";
+ protected final String TEXT_27 = "\t\tdefaultCase(theEObject) :" + NL + "\t\t";
+ protected final String TEXT_28 = "\t\tdoSwitch(";
+ protected final String TEXT_29 = "(EClass)";
+ protected final String TEXT_30 = "eSuperTypes.get(0), theEObject);";
+ protected final String TEXT_31 = NL + "\t\t}";
+ protected final String TEXT_32 = NL + "\t}";
+ protected final String TEXT_33 = NL
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_34 = NL + "\t@Override";
+ protected final String TEXT_35 = NL + "\tprotected ";
+ protected final String TEXT_36 = " doSwitch(int classifierID, EObject theEObject)" + NL + "\t{" + NL
+ + "\t\tswitch (classifierID)" + NL + "\t\t{";
+ protected final String TEXT_37 = NL + "\t\t\tcase ";
+ protected final String TEXT_38 = ".";
+ protected final String TEXT_39 = ":" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_40 = "@SuppressWarnings(\"unchecked\") ";
+ protected final String TEXT_41 = " ";
+ protected final String TEXT_42 = " = (";
+ protected final String TEXT_43 = ")theEObject;" + NL + "\t\t\t\t";
+ protected final String TEXT_44 = " ";
+ protected final String TEXT_45 = " = case";
+ protected final String TEXT_46 = "(";
+ protected final String TEXT_47 = ");";
+ protected final String TEXT_48 = NL + "\t\t\t\tif (";
+ protected final String TEXT_49 = " == null) ";
+ protected final String TEXT_50 = " = ";
+ protected final String TEXT_51 = "(";
+ protected final String TEXT_52 = ")";
+ protected final String TEXT_53 = "case";
+ protected final String TEXT_54 = "(";
+ protected final String TEXT_55 = "(";
+ protected final String TEXT_56 = ")";
+ protected final String TEXT_57 = ");";
+ protected final String TEXT_58 = NL + "\t\t\t\tif (";
+ protected final String TEXT_59 = " == null) ";
+ protected final String TEXT_60 = " = defaultCase(theEObject);" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_61 = ";" + NL + "\t\t\t}";
+ protected final String TEXT_62 = NL + "\t\t\tdefault: return defaultCase(theEObject);" + NL + "\t\t}" + NL + "\t}";
+ protected final String TEXT_63 = NL + NL + "\t/**" + NL
+ + "\t * Returns the result of interpreting the object as an instance of '<em>";
+ protected final String TEXT_64 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * This implementation returns null;" + NL
+ + "\t * returning a non-null result will terminate the switch." + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param object the target of the switch." + NL
+ + "\t * @return the result of interpreting the object as an instance of '<em>";
+ protected final String TEXT_65 = "</em>'." + NL
+ + "\t * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_66 = " case";
+ protected final String TEXT_67 = "(";
+ protected final String TEXT_68 = " object)" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}";
+ protected final String TEXT_69 = NL + NL + "\t/**" + NL
+ + "\t * Returns the result of interpreting the object as an instance of '<em>EObject</em>'." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * This implementation returns null;" + NL
+ + "\t * returning a non-null result will terminate the switch, but this is the last case anyway." + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param object the target of the switch." + NL
+ + "\t * @return the result of interpreting the object as an instance of '<em>EObject</em>'." + NL
+ + "\t * @see #doSwitch(org.eclipse.emf.ecore.EObject)" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_70 = NL + "\t@Override";
+ protected final String TEXT_71 = NL + "\tpublic ";
+ protected final String TEXT_72 = " defaultCase(EObject object)" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}"
+ + NL + "" + NL + "} //";
+ protected final String TEXT_73 = NL;
+ protected final String TEXT_74 = NL;
+ protected final String TEXT_75 = NL;
+
+ public SwitchClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(TEXT_75);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getUtilitiesPackageName();
+ className = genPackage.getSwitchClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel();
+ boolean supportsComposition = genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF27_VALUE;
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getUtilitiesPackageName());
+ stringBuffer.append(TEXT_3);
+ if (supportsComposition) {
+ genModel.addImport("org.eclipse.emf.ecore.EObject");
+ genModel.addImport("org.eclipse.emf.ecore.EPackage");
+ genModel.addImport("org.eclipse.emf.ecore.util.Switch");
+ } else {
+ genModel.addImport("org.eclipse.emf.ecore.EClass");
+ genModel.addImport("org.eclipse.emf.ecore.EObject");
+ }
+ if (!genPackage.hasJavaLangConflict()
+ && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
+ genModel.addImport(genPackage.getInterfacePackageName() + ".*");
+
+ String templateParameterName = null;
+ if (genModel.useGenerics()) {
+ Set<String> usedNames = new HashSet<String>();
+ for (GenEnum genEnum : genPackage.getGenEnums()) {
+ usedNames.add(genEnum.getName());
+ }
+ for (GenClass genClass : genPackage.getAllSwitchGenClasses()) {
+ if (!genClass.isDynamic() && !genClass.isExternalInterface()) {
+ usedNames.add(genClass.getName());
+ }
+ for (GenTypeParameter genTypeParameter : genClass.getGenTypeParameters()) {
+ usedNames.add(genTypeParameter.getName());
+ }
+ }
+ templateParameterName = "T";
+ for (int i = 1; usedNames.contains(templateParameterName); ++i) {
+ templateParameterName = "T" + i;
+ }
+ }
+
+ String templateParameters = genModel.useGenerics() ? "<" + templateParameterName + ">" : "";
+ String returnType = genModel.useGenerics() ? templateParameterName : genModel
+ .getImportedName("java.lang.Object");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getSwitchClassName());
+ stringBuffer.append(templateParameters);
+ if (supportsComposition) {
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(templateParameters);
+ }
+ stringBuffer.append(TEXT_7);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genPackage.getSwitchClassName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_15);
+ if (supportsComposition) {
+ stringBuffer.append(TEXT_16);
+ } else {
+ boolean isUnnecessaryElse = genModel.isUnnecessaryElse();
+ String indent = isUnnecessaryElse ? "" : "\t";
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_19);
+ if (!isUnnecessaryElse) {
+ stringBuffer.append(TEXT_20);
+ }
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(indent);
+ stringBuffer.append(genModel.getImportedName("java.util.List"));
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass"));
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(indent);
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(indent);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(indent);
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(indent);
+ stringBuffer.append(TEXT_28);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_29);
+ }
+ stringBuffer.append(TEXT_30);
+ if (!isUnnecessaryElse) {
+ stringBuffer.append(TEXT_31);
+ }
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(TEXT_33);
+ if (supportsComposition) {
+ stringBuffer.append(TEXT_34);
+ }
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_36);
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.isEObject()) {
+ String result = "result".equals(genClass.getSafeUncapName()) ? "theResult" : "result";
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getClassifierID(genClass));
+ stringBuffer.append(TEXT_39);
+ if (genClass.isUncheckedCast() || genClass.isMapEntry()
+ && genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_40);
+ }
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genPackage.getClassUniqueName(genClass));
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_47);
+ for (GenClass baseGenClass : genClass.getSwitchGenClasses()) {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_50);
+ if (genClass.isRawBaseClass(baseGenClass)) {
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_52);
+ }
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genPackage.getClassUniqueName(baseGenClass));
+ stringBuffer.append(TEXT_54);
+ if (genClass.isMapEntry()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(baseGenClass.getImportedInterfaceName());
+ stringBuffer.append(baseGenClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_56);
+ }
+ stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(TEXT_57);
+ }
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_61);
+ }
+ }
+ stringBuffer.append(TEXT_62);
+ for (GenClass genClass : genPackage.getAllSwitchGenClasses()) {
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getTypeParameters());
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genPackage.getClassUniqueName(genClass));
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceTypeArguments());
+ stringBuffer.append(TEXT_68);
+ }
+ stringBuffer.append(TEXT_69);
+ if (supportsComposition) {
+ stringBuffer.append(TEXT_70);
+ }
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(returnType);
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genPackage.getSwitchClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_73);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genPackage.hasClassifiers() && genPackage.isAdapterFactory() && !genPackage.getGenClasses()
+ .isEmpty());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ValidatorClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ValidatorClass.java
new file mode 100644
index 0000000..8619a6c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ValidatorClass.java
@@ -0,0 +1,2287 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ValidatorClass extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized ValidatorClass create(String lineSeparator) {
+ nl = lineSeparator;
+ ValidatorClass result = new ValidatorClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Validator</b> for the model." + NL + " * <!-- end-user-doc -->" + NL + " * @see ";
+ protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_6 = " extends ";
+ protected final String TEXT_7 = NL + "{";
+ protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_9 = " copyright = ";
+ protected final String TEXT_10 = ";";
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached model package" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_13 = " INSTANCE = new ";
+ protected final String TEXT_14 = "();"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see org.eclipse.emf.common.util.Diagnostic#getSource()" + NL
+ + "\t * @see org.eclipse.emf.common.util.Diagnostic#getCode()" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static final String DIAGNOSTIC_SOURCE = \"";
+ protected final String TEXT_15 = "\";";
+ protected final String TEXT_16 = NL;
+ protected final String TEXT_17 = NL + "\t/**" + NL
+ + "\t * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint '";
+ protected final String TEXT_18 = "' of '";
+ protected final String TEXT_19 = "'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final int ";
+ protected final String TEXT_20 = " = ";
+ protected final String TEXT_21 = ";" + NL;
+ protected final String TEXT_22 = NL
+ + "\t/**"
+ + NL
+ + "\t * A constant with a fixed name that can be used as the base value for additional hand written constants."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static final int GENERATED_DIAGNOSTIC_CODE_COUNT = ";
+ protected final String TEXT_23 = ";"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;"
+ + NL;
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The cached base package validator." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_25 = " ";
+ protected final String TEXT_26 = "Validator;" + NL;
+ protected final String TEXT_27 = NL + "\t/**" + NL
+ + "\t * Delegates evaluation of the given invariant expression against the object in the given context."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static boolean validate(";
+ protected final String TEXT_28 = " eClass, ";
+ protected final String TEXT_29 = " eObject, DiagnosticChain diagnostics, ";
+ protected final String TEXT_30 = " context, ";
+ protected final String TEXT_31 = " validationDelegate, ";
+ protected final String TEXT_32 = " invariant, ";
+ protected final String TEXT_33 = " expression, int severity, ";
+ protected final String TEXT_34 = " source, int code)" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_35 = ".validate(eClass, eObject, diagnostics, context, validationDelegate, invariant, expression, severity, source, code);"
+ + NL + "\t}" + NL;
+ protected final String TEXT_36 = NL + "\t/**" + NL + "\t * Creates an instance of the switch." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_37 = "()" + NL + "\t{" + NL + "\t\tsuper();";
+ protected final String TEXT_38 = NL + "\t\t";
+ protected final String TEXT_39 = "Validator = ";
+ protected final String TEXT_40 = ".INSTANCE;";
+ protected final String TEXT_41 = NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns the package of this validator switch." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_42 = NL + "\t@Override";
+ protected final String TEXT_43 = NL + "\tprotected EPackage getEPackage()" + NL + "\t{" + NL + "\t return ";
+ protected final String TEXT_44 = ".eINSTANCE;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Calls <code>validateXXX</code> for the corresponding classifier of the model." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_45 = NL + "\t@Override";
+ protected final String TEXT_46 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_47 = NL
+ + "\tprotected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, ";
+ protected final String TEXT_48 = " context)" + NL + "\t{" + NL + "\t\tswitch (classifierID)" + NL + "\t\t{";
+ protected final String TEXT_49 = NL + "\t\t\tcase ";
+ protected final String TEXT_50 = ".";
+ protected final String TEXT_51 = ":";
+ protected final String TEXT_52 = NL + "\t\t\t\treturn validate";
+ protected final String TEXT_53 = "(((";
+ protected final String TEXT_54 = ")value).";
+ protected final String TEXT_55 = "(), diagnostics, context);";
+ protected final String TEXT_56 = NL + "\t\t\t\treturn validate";
+ protected final String TEXT_57 = "((";
+ protected final String TEXT_58 = ")value, diagnostics, context);";
+ protected final String TEXT_59 = NL + "\t\t\t\treturn validate";
+ protected final String TEXT_60 = "(value, diagnostics, context);";
+ protected final String TEXT_61 = NL + "\t\t\t\treturn validate";
+ protected final String TEXT_62 = "((";
+ protected final String TEXT_63 = ")value, diagnostics, context);";
+ protected final String TEXT_64 = NL + "\t\t\t\treturn validate";
+ protected final String TEXT_65 = "((";
+ protected final String TEXT_66 = ")value, diagnostics, context);";
+ protected final String TEXT_67 = NL + "\t\t\tdefault:" + NL + "\t\t\t\treturn true;" + NL + "\t\t}" + NL + "\t}"
+ + NL;
+ protected final String TEXT_68 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean validate";
+ protected final String TEXT_69 = "(";
+ protected final String TEXT_70 = " ";
+ protected final String TEXT_71 = ", DiagnosticChain ";
+ protected final String TEXT_72 = ", ";
+ protected final String TEXT_73 = " ";
+ protected final String TEXT_74 = ")" + NL + "\t{";
+ protected final String TEXT_75 = NL + "\t\treturn true;";
+ protected final String TEXT_76 = NL + "\t\treturn validate_EveryDefaultConstraint(";
+ protected final String TEXT_77 = "(";
+ protected final String TEXT_78 = ")";
+ protected final String TEXT_79 = ", ";
+ protected final String TEXT_80 = ", ";
+ protected final String TEXT_81 = ");";
+ protected final String TEXT_82 = NL + "\t\tif (!validate_NoCircularContainment(";
+ protected final String TEXT_83 = "(";
+ protected final String TEXT_84 = ")";
+ protected final String TEXT_85 = ", ";
+ protected final String TEXT_86 = ", ";
+ protected final String TEXT_87 = ")) return false;";
+ protected final String TEXT_88 = NL + "\t\tboolean ";
+ protected final String TEXT_89 = " = ";
+ protected final String TEXT_90 = "validate";
+ protected final String TEXT_91 = "_";
+ protected final String TEXT_92 = "(";
+ protected final String TEXT_93 = ", ";
+ protected final String TEXT_94 = ", ";
+ protected final String TEXT_95 = ");";
+ protected final String TEXT_96 = NL + "\t\tif (";
+ protected final String TEXT_97 = " || ";
+ protected final String TEXT_98 = " != null) ";
+ protected final String TEXT_99 = " &= ";
+ protected final String TEXT_100 = "validate";
+ protected final String TEXT_101 = "_";
+ protected final String TEXT_102 = "(";
+ protected final String TEXT_103 = ", ";
+ protected final String TEXT_104 = ", ";
+ protected final String TEXT_105 = ");";
+ protected final String TEXT_106 = NL + "\t\treturn ";
+ protected final String TEXT_107 = ";";
+ protected final String TEXT_108 = NL + "\t}" + NL;
+ protected final String TEXT_109 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_110 = "_";
+ protected final String TEXT_111 = NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_112 = " ";
+ protected final String TEXT_113 = "__VALUE = ";
+ protected final String TEXT_114 = ";" + NL;
+ protected final String TEXT_115 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_116 = "_";
+ protected final String TEXT_117 = NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_118 = " ";
+ protected final String TEXT_119 = "__VALUE = ";
+ protected final String TEXT_120 = ";" + NL;
+ protected final String TEXT_121 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_122 = "_";
+ protected final String TEXT_123 = NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_124 = " ";
+ protected final String TEXT_125 = "__UPPER_BOUND = ";
+ protected final String TEXT_126 = ";" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_127 = "_";
+ protected final String TEXT_128 = NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_129 = " ";
+ protected final String TEXT_130 = "__LOWER_BOUND = ";
+ protected final String TEXT_131 = ";" + NL;
+ protected final String TEXT_132 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_133 = "_";
+ protected final String TEXT_134 = NL + "\t */" + NL + "\tpublic static final PatternMatcher [][] ";
+ protected final String TEXT_135 = "__VALUES =" + NL + "\t\tnew PatternMatcher [][]" + NL + "\t\t{";
+ protected final String TEXT_136 = NL + "\t\t\tnew PatternMatcher []" + NL + "\t\t\t{";
+ protected final String TEXT_137 = NL + "\t\t\t\t";
+ protected final String TEXT_138 = ".createPatternMatcher(";
+ protected final String TEXT_139 = ")";
+ protected final String TEXT_140 = NL + "\t\t\t}";
+ protected final String TEXT_141 = NL + "\t\t};" + NL;
+ protected final String TEXT_142 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_143 = "_";
+ protected final String TEXT_144 = NL + "\t */";
+ protected final String TEXT_145 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_146 = NL + "\tpublic static final ";
+ protected final String TEXT_147 = " ";
+ protected final String TEXT_148 = "__VALUES =" + NL + "\t\twrapEnumerationValues" + NL + "\t\t\t(new Object[]" + NL
+ + "\t\t\t {";
+ protected final String TEXT_149 = NL + "\t\t\t\t ";
+ protected final String TEXT_150 = "new ";
+ protected final String TEXT_151 = "(";
+ protected final String TEXT_152 = ")";
+ protected final String TEXT_153 = NL + "\t\t\t });" + NL;
+ protected final String TEXT_154 = NL + "\t/**" + NL + "\t * The cached validation expression for the ";
+ protected final String TEXT_155 = " constraint of '<em>";
+ protected final String TEXT_156 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_157 = " ";
+ protected final String TEXT_158 = "__";
+ protected final String TEXT_159 = "__EEXPRESSION = \"";
+ protected final String TEXT_160 = "\";";
+ protected final String TEXT_161 = NL;
+ protected final String TEXT_162 = NL + "\t/**" + NL + "\t * Validates the ";
+ protected final String TEXT_163 = " constraint of '<em>";
+ protected final String TEXT_164 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean validate";
+ protected final String TEXT_165 = "_";
+ protected final String TEXT_166 = "(";
+ protected final String TEXT_167 = " ";
+ protected final String TEXT_168 = ", DiagnosticChain ";
+ protected final String TEXT_169 = ", ";
+ protected final String TEXT_170 = " ";
+ protected final String TEXT_171 = ")" + NL + "\t{";
+ protected final String TEXT_172 = NL + "\t\tboolean ";
+ protected final String TEXT_173 = " = true;" + NL + "\t\tfor (";
+ protected final String TEXT_174 = " i = ";
+ protected final String TEXT_175 = ".iterator(); i.hasNext() && (result || diagnostics != null); )" + NL + "\t\t{"
+ + NL + "\t\t\tObject item = i.next();";
+ protected final String TEXT_176 = NL + "\t\t\tif (";
+ protected final String TEXT_177 = ".isInstance(item))" + NL + "\t\t\t{" + NL + "\t\t\t\tresult &= ";
+ protected final String TEXT_178 = "validate";
+ protected final String TEXT_179 = "(";
+ protected final String TEXT_180 = "(";
+ protected final String TEXT_181 = "(";
+ protected final String TEXT_182 = ")";
+ protected final String TEXT_183 = ").";
+ protected final String TEXT_184 = "()";
+ protected final String TEXT_185 = ", ";
+ protected final String TEXT_186 = ", ";
+ protected final String TEXT_187 = ");" + NL + "\t\t\t}" + NL + "\t\t\telse";
+ protected final String TEXT_188 = NL + "\t\t\tif (!";
+ protected final String TEXT_189 = ".isInstance(item))";
+ protected final String TEXT_190 = NL + "\t\t\t{" + NL + "\t\t\t\tresult = false;" + NL
+ + "\t\t\t\treportDataValueTypeViolation(";
+ protected final String TEXT_191 = ", item, ";
+ protected final String TEXT_192 = ", ";
+ protected final String TEXT_193 = ");" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn result;";
+ protected final String TEXT_194 = NL + "\t\tif (diagnostics != null)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_195 = " tempDiagnostics = new BasicDiagnostic();";
+ protected final String TEXT_196 = NL + "\t\t\tif (";
+ protected final String TEXT_197 = "validate";
+ protected final String TEXT_198 = "(";
+ protected final String TEXT_199 = ", tempDiagnostics, ";
+ protected final String TEXT_200 = ")) return true;";
+ protected final String TEXT_201 = NL + "\t\t\tif (";
+ protected final String TEXT_202 = ".isInstance(";
+ protected final String TEXT_203 = "))" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_204 = "if (";
+ protected final String TEXT_205 = "validate";
+ protected final String TEXT_206 = "(";
+ protected final String TEXT_207 = "(";
+ protected final String TEXT_208 = "(";
+ protected final String TEXT_209 = ")";
+ protected final String TEXT_210 = ").";
+ protected final String TEXT_211 = "()";
+ protected final String TEXT_212 = ", tempDiagnostics, ";
+ protected final String TEXT_213 = ")) ";
+ protected final String TEXT_214 = "return true;" + NL + "\t\t\t}";
+ protected final String TEXT_215 = NL + "\t\t\tfor (";
+ protected final String TEXT_216 = " diagnostic : tempDiagnostics.getChildren())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tdiagnostics.add(diagnostic);" + NL + "\t\t\t}";
+ protected final String TEXT_217 = NL + "\t\t\t";
+ protected final String TEXT_218 = " children = tempDiagnostics.getChildren();" + NL
+ + "\t\t\tfor (int i = 0; i < children.size(); i++)" + NL + "\t\t\t{" + NL + "\t\t\t\tdiagnostics.add((";
+ protected final String TEXT_219 = ")children.get(i));" + NL + "\t\t\t}";
+ protected final String TEXT_220 = NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{";
+ protected final String TEXT_221 = NL + "\t\t\tif (";
+ protected final String TEXT_222 = "validate";
+ protected final String TEXT_223 = "(";
+ protected final String TEXT_224 = ", null, ";
+ protected final String TEXT_225 = ")) return true;";
+ protected final String TEXT_226 = NL + "\t\t\tif (";
+ protected final String TEXT_227 = ".isInstance(";
+ protected final String TEXT_228 = "))" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_229 = "if (";
+ protected final String TEXT_230 = "validate";
+ protected final String TEXT_231 = "(";
+ protected final String TEXT_232 = "(";
+ protected final String TEXT_233 = "(";
+ protected final String TEXT_234 = ")";
+ protected final String TEXT_235 = ").";
+ protected final String TEXT_236 = "()";
+ protected final String TEXT_237 = ", null, ";
+ protected final String TEXT_238 = ")) ";
+ protected final String TEXT_239 = "return true;" + NL + "\t\t\t}";
+ protected final String TEXT_240 = NL + "\t\t}" + NL + "\t\treturn false;";
+ protected final String TEXT_241 = NL + "\t\treturn validatePattern(";
+ protected final String TEXT_242 = ", ";
+ protected final String TEXT_243 = "new ";
+ protected final String TEXT_244 = "(";
+ protected final String TEXT_245 = ")";
+ protected final String TEXT_246 = ", ";
+ protected final String TEXT_247 = "__VALUES, ";
+ protected final String TEXT_248 = ", ";
+ protected final String TEXT_249 = ");";
+ protected final String TEXT_250 = NL + "\t\t";
+ protected final String TEXT_251 = " ";
+ protected final String TEXT_252 = " = new ";
+ protected final String TEXT_253 = "(";
+ protected final String TEXT_254 = ");";
+ protected final String TEXT_255 = NL + "\t\tboolean ";
+ protected final String TEXT_256 = " = ";
+ protected final String TEXT_257 = "__VALUES.contains(";
+ protected final String TEXT_258 = ");" + NL + "\t\tif (!";
+ protected final String TEXT_259 = " && ";
+ protected final String TEXT_260 = " != null)" + NL + "\t\t\treportEnumerationViolation(";
+ protected final String TEXT_261 = ", ";
+ protected final String TEXT_262 = ", ";
+ protected final String TEXT_263 = "__VALUES, ";
+ protected final String TEXT_264 = ", ";
+ protected final String TEXT_265 = ");" + NL + "\t\treturn ";
+ protected final String TEXT_266 = ";";
+ protected final String TEXT_267 = NL + "\t\tboolean ";
+ protected final String TEXT_268 = " = ";
+ protected final String TEXT_269 = " ";
+ protected final String TEXT_270 = " ";
+ protected final String TEXT_271 = "__VALUE;" + NL + "\t\tif (!";
+ protected final String TEXT_272 = " && ";
+ protected final String TEXT_273 = " != null)";
+ protected final String TEXT_274 = NL + "\t\t\treportMinViolation(";
+ protected final String TEXT_275 = ", new ";
+ protected final String TEXT_276 = "(";
+ protected final String TEXT_277 = "), new ";
+ protected final String TEXT_278 = "(";
+ protected final String TEXT_279 = "__VALUE), ";
+ protected final String TEXT_280 = ", ";
+ protected final String TEXT_281 = ", ";
+ protected final String TEXT_282 = ");";
+ protected final String TEXT_283 = NL + "\t\t\treportMinViolation(";
+ protected final String TEXT_284 = ", ";
+ protected final String TEXT_285 = ", ";
+ protected final String TEXT_286 = "__VALUE, ";
+ protected final String TEXT_287 = ", ";
+ protected final String TEXT_288 = ", ";
+ protected final String TEXT_289 = ");";
+ protected final String TEXT_290 = NL + "\t\treturn ";
+ protected final String TEXT_291 = ";";
+ protected final String TEXT_292 = NL + "\t\tint ";
+ protected final String TEXT_293 = " = ";
+ protected final String TEXT_294 = ".compareCalendar(";
+ protected final String TEXT_295 = ", ";
+ protected final String TEXT_296 = "__VALUE);" + NL + "\t\tboolean ";
+ protected final String TEXT_297 = " = ";
+ protected final String TEXT_298 = " == 0 || ";
+ protected final String TEXT_299 = " == 1;";
+ protected final String TEXT_300 = NL + "\t\tint ";
+ protected final String TEXT_301 = " = ";
+ protected final String TEXT_302 = ".compareDuration(";
+ protected final String TEXT_303 = ", ";
+ protected final String TEXT_304 = "__VALUE);" + NL + "\t\tboolean ";
+ protected final String TEXT_305 = " = ";
+ protected final String TEXT_306 = " == 0 || ";
+ protected final String TEXT_307 = " == 1;";
+ protected final String TEXT_308 = NL + "\t\tboolean ";
+ protected final String TEXT_309 = " = ";
+ protected final String TEXT_310 = ".compareTo(";
+ protected final String TEXT_311 = "__VALUE) ";
+ protected final String TEXT_312 = " 0;";
+ protected final String TEXT_313 = NL + "\t\tif (!";
+ protected final String TEXT_314 = " && ";
+ protected final String TEXT_315 = " != null)" + NL + "\t\t\treportMinViolation(";
+ protected final String TEXT_316 = ", ";
+ protected final String TEXT_317 = ", ";
+ protected final String TEXT_318 = "__VALUE, ";
+ protected final String TEXT_319 = ", ";
+ protected final String TEXT_320 = ", ";
+ protected final String TEXT_321 = ");" + NL + "\t\treturn ";
+ protected final String TEXT_322 = ";";
+ protected final String TEXT_323 = NL + "\t\tboolean ";
+ protected final String TEXT_324 = " = ";
+ protected final String TEXT_325 = " ";
+ protected final String TEXT_326 = " ";
+ protected final String TEXT_327 = "__VALUE;" + NL + "\t\tif (!";
+ protected final String TEXT_328 = " && ";
+ protected final String TEXT_329 = " != null)";
+ protected final String TEXT_330 = NL + "\t\t\treportMaxViolation(";
+ protected final String TEXT_331 = ", new ";
+ protected final String TEXT_332 = "(";
+ protected final String TEXT_333 = "), new ";
+ protected final String TEXT_334 = "(";
+ protected final String TEXT_335 = "__VALUE), ";
+ protected final String TEXT_336 = ", ";
+ protected final String TEXT_337 = ", ";
+ protected final String TEXT_338 = ");";
+ protected final String TEXT_339 = NL + "\t\t\treportMaxViolation(";
+ protected final String TEXT_340 = ", ";
+ protected final String TEXT_341 = ", ";
+ protected final String TEXT_342 = "__VALUE, ";
+ protected final String TEXT_343 = ", ";
+ protected final String TEXT_344 = ", ";
+ protected final String TEXT_345 = ");";
+ protected final String TEXT_346 = NL + "\t\treturn ";
+ protected final String TEXT_347 = ";";
+ protected final String TEXT_348 = NL + "\t\tint ";
+ protected final String TEXT_349 = " = ";
+ protected final String TEXT_350 = ".compareCalendar(";
+ protected final String TEXT_351 = ", ";
+ protected final String TEXT_352 = "__VALUE);" + NL + "\t\tboolean ";
+ protected final String TEXT_353 = " = ";
+ protected final String TEXT_354 = " == 0 || ";
+ protected final String TEXT_355 = " == -1;";
+ protected final String TEXT_356 = NL + "\t\tint ";
+ protected final String TEXT_357 = " = ";
+ protected final String TEXT_358 = ".compareDuration(";
+ protected final String TEXT_359 = ", ";
+ protected final String TEXT_360 = "__VALUE);" + NL + "\t\tboolean ";
+ protected final String TEXT_361 = " = ";
+ protected final String TEXT_362 = " == 0 || ";
+ protected final String TEXT_363 = " == -1;";
+ protected final String TEXT_364 = NL + "\t\tboolean ";
+ protected final String TEXT_365 = " = ";
+ protected final String TEXT_366 = ".compareTo(";
+ protected final String TEXT_367 = "__VALUE) ";
+ protected final String TEXT_368 = " 0;";
+ protected final String TEXT_369 = NL + "\t\tif (!";
+ protected final String TEXT_370 = " && ";
+ protected final String TEXT_371 = " != null)" + NL + "\t\t\treportMaxViolation(";
+ protected final String TEXT_372 = ", ";
+ protected final String TEXT_373 = ", ";
+ protected final String TEXT_374 = "__VALUE, ";
+ protected final String TEXT_375 = ", ";
+ protected final String TEXT_376 = ", ";
+ protected final String TEXT_377 = ");" + NL + "\t\treturn ";
+ protected final String TEXT_378 = ";";
+ protected final String TEXT_379 = NL + "\t\tint length = ";
+ protected final String TEXT_380 = ".";
+ protected final String TEXT_381 = ";" + NL + "\t\tboolean ";
+ protected final String TEXT_382 = " = length >= ";
+ protected final String TEXT_383 = ";" + NL + "\t\tif (!";
+ protected final String TEXT_384 = " && ";
+ protected final String TEXT_385 = " != null)" + NL + "\t\t\treportMinLengthViolation(";
+ protected final String TEXT_386 = ", ";
+ protected final String TEXT_387 = ", length, ";
+ protected final String TEXT_388 = ", ";
+ protected final String TEXT_389 = ", ";
+ protected final String TEXT_390 = ");" + NL + "\t\treturn ";
+ protected final String TEXT_391 = ";";
+ protected final String TEXT_392 = NL + "\t\tint length = ";
+ protected final String TEXT_393 = ".";
+ protected final String TEXT_394 = ";" + NL + "\t\tboolean ";
+ protected final String TEXT_395 = " = length <= ";
+ protected final String TEXT_396 = ";" + NL + "\t\tif (!";
+ protected final String TEXT_397 = " && ";
+ protected final String TEXT_398 = " != null)" + NL + "\t\t\treportMaxLengthViolation(";
+ protected final String TEXT_399 = ", ";
+ protected final String TEXT_400 = ", length, ";
+ protected final String TEXT_401 = ", ";
+ protected final String TEXT_402 = ", ";
+ protected final String TEXT_403 = ");" + NL + "\t\treturn ";
+ protected final String TEXT_404 = ";";
+ protected final String TEXT_405 = NL + "\t\tboolean ";
+ protected final String TEXT_406 = " = ";
+ protected final String TEXT_407 = " > ";
+ protected final String TEXT_408 = "__LOWER_BOUND && ";
+ protected final String TEXT_409 = " < ";
+ protected final String TEXT_410 = "__UPPER_BOUND;" + NL + "\t\tif (!";
+ protected final String TEXT_411 = " && ";
+ protected final String TEXT_412 = " != null)";
+ protected final String TEXT_413 = NL + "\t\t\treportTotalDigitsViolation(";
+ protected final String TEXT_414 = ", new ";
+ protected final String TEXT_415 = "(";
+ protected final String TEXT_416 = "), ";
+ protected final String TEXT_417 = ", ";
+ protected final String TEXT_418 = ", ";
+ protected final String TEXT_419 = ");";
+ protected final String TEXT_420 = NL + "\t\t\treportTotalDigitsViolation(";
+ protected final String TEXT_421 = ", ";
+ protected final String TEXT_422 = ", ";
+ protected final String TEXT_423 = ", ";
+ protected final String TEXT_424 = ", ";
+ protected final String TEXT_425 = ");";
+ protected final String TEXT_426 = NL + "\t\tboolean ";
+ protected final String TEXT_427 = " = ";
+ protected final String TEXT_428 = ".unscaledValue().abs().toString().length() <= ";
+ protected final String TEXT_429 = ";" + NL + "\t\tif (!";
+ protected final String TEXT_430 = " && ";
+ protected final String TEXT_431 = " != null)" + NL + "\t\t\treportTotalDigitsViolation(";
+ protected final String TEXT_432 = ", ";
+ protected final String TEXT_433 = ", ";
+ protected final String TEXT_434 = ", ";
+ protected final String TEXT_435 = ", ";
+ protected final String TEXT_436 = ");";
+ protected final String TEXT_437 = NL + "\t\tboolean ";
+ protected final String TEXT_438 = " = ";
+ protected final String TEXT_439 = ".compareTo(";
+ protected final String TEXT_440 = "__LOWER_BOUND) > 0 && ";
+ protected final String TEXT_441 = ".compareTo(";
+ protected final String TEXT_442 = "__UPPER_BOUND) < 0;" + NL + "\t\tif (!";
+ protected final String TEXT_443 = " && ";
+ protected final String TEXT_444 = " != null)" + NL + "\t\t\treportTotalDigitsViolation(";
+ protected final String TEXT_445 = ", ";
+ protected final String TEXT_446 = ", ";
+ protected final String TEXT_447 = ", ";
+ protected final String TEXT_448 = ", ";
+ protected final String TEXT_449 = ");";
+ protected final String TEXT_450 = NL + "\t\treturn ";
+ protected final String TEXT_451 = ";";
+ protected final String TEXT_452 = NL + "\t\tboolean ";
+ protected final String TEXT_453 = " = ";
+ protected final String TEXT_454 = ".scale() <= ";
+ protected final String TEXT_455 = ";" + NL + "\t\tif (!";
+ protected final String TEXT_456 = " && ";
+ protected final String TEXT_457 = " != null)" + NL + "\t\t\treportFractionDigitsViolation(";
+ protected final String TEXT_458 = ", ";
+ protected final String TEXT_459 = ", ";
+ protected final String TEXT_460 = ", ";
+ protected final String TEXT_461 = ", ";
+ protected final String TEXT_462 = ");" + NL + "\t\treturn ";
+ protected final String TEXT_463 = ";";
+ protected final String TEXT_464 = NL + "\t\t// TODO override the constraint, if desired" + NL
+ + "\t\t// -> uncomment the scaffolding" + NL
+ + "\t\t// -> specify the condition that violates the constraint" + NL
+ + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_465 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_466 = ".add";
+ protected final String TEXT_467 = NL + "\t\t\t\t\t(createDiagnostic" + NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_468 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
+ protected final String TEXT_469 = NL + "\t\t\t\t\t\t new Object[] { \"";
+ protected final String TEXT_470 = "\", getValueLabel(";
+ protected final String TEXT_471 = ", ";
+ protected final String TEXT_472 = ", ";
+ protected final String TEXT_473 = ") },";
+ protected final String TEXT_474 = NL + "\t\t\t\t\t\t new Object[] { ";
+ protected final String TEXT_475 = " }," + NL + "\t\t\t\t\t\t context));";
+ protected final String TEXT_476 = NL + "\t\t\t\t\t(new ";
+ protected final String TEXT_477 = NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_478 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t ";
+ protected final String TEXT_479 = ".INSTANCE.getString(\"_UI_GenericConstraint_diagnostic\", new Object[] { \"";
+ protected final String TEXT_480 = "\", getValueLabel(";
+ protected final String TEXT_481 = ", ";
+ protected final String TEXT_482 = ", ";
+ protected final String TEXT_483 = ") }),";
+ protected final String TEXT_484 = NL + "\t\t\t\t\t\t new Object[] { ";
+ protected final String TEXT_485 = " }));";
+ protected final String TEXT_486 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn ";
+ protected final String TEXT_487 = "validate";
+ protected final String TEXT_488 = "_";
+ protected final String TEXT_489 = "(";
+ protected final String TEXT_490 = ", ";
+ protected final String TEXT_491 = ", ";
+ protected final String TEXT_492 = ");";
+ protected final String TEXT_493 = NL + "\t\treturn" + NL + "\t\t\tvalidate" + NL + "\t\t\t\t(";
+ protected final String TEXT_494 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_495 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_496 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_497 = "," + NL + "\t\t\t\t \"";
+ protected final String TEXT_498 = "\",";
+ protected final String TEXT_499 = NL + "\t\t\t\t \"";
+ protected final String TEXT_500 = "\",";
+ protected final String TEXT_501 = NL + "\t\t\t\t ";
+ protected final String TEXT_502 = "__";
+ protected final String TEXT_503 = "__EEXPRESSION," + NL + "\t\t\t\t ";
+ protected final String TEXT_504 = ".ERROR," + NL + "\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t 0);";
+ protected final String TEXT_505 = NL + "\t\t// TODO implement the constraint" + NL
+ + "\t\t// -> specify the condition that violates the constraint" + NL
+ + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_506 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_507 = ".add";
+ protected final String TEXT_508 = NL + "\t\t\t\t\t(createDiagnostic" + NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_509 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
+ protected final String TEXT_510 = NL + "\t\t\t\t\t\t new Object[] { \"";
+ protected final String TEXT_511 = "\", getValueLabel(";
+ protected final String TEXT_512 = ", ";
+ protected final String TEXT_513 = ", ";
+ protected final String TEXT_514 = ") },";
+ protected final String TEXT_515 = NL + "\t\t\t\t\t\t new Object[] { ";
+ protected final String TEXT_516 = " }," + NL + "\t\t\t\t\t\t context));";
+ protected final String TEXT_517 = NL + "\t\t\t\t\t(new ";
+ protected final String TEXT_518 = NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_519 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t ";
+ protected final String TEXT_520 = ".INSTANCE.getString(\"_UI_GenericConstraint_diagnostic\", new Object[] { \"";
+ protected final String TEXT_521 = "\", getValueLabel(";
+ protected final String TEXT_522 = ", ";
+ protected final String TEXT_523 = ", ";
+ protected final String TEXT_524 = ") }),";
+ protected final String TEXT_525 = NL + "\t\t\t\t\t\t new Object[] { ";
+ protected final String TEXT_526 = " }));";
+ protected final String TEXT_527 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL
+ + "\t\treturn true;";
+ protected final String TEXT_528 = NL + "\t\treturn ";
+ protected final String TEXT_529 = ".";
+ protected final String TEXT_530 = "(";
+ protected final String TEXT_531 = ", ";
+ protected final String TEXT_532 = ");";
+ protected final String TEXT_533 = NL + "\t\t// TODO override the constraint, if desired" + NL
+ + "\t\t// -> uncomment the scaffolding" + NL
+ + "\t\t// -> specify the condition that violates the constraint" + NL
+ + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_534 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_535 = ".add";
+ protected final String TEXT_536 = NL + "\t\t\t\t\t(createDiagnostic" + NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_537 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
+ protected final String TEXT_538 = NL + "\t\t\t\t\t\t new Object[] { \"";
+ protected final String TEXT_539 = "\", getObjectLabel(";
+ protected final String TEXT_540 = ", ";
+ protected final String TEXT_541 = ") },";
+ protected final String TEXT_542 = NL + "\t\t\t\t\t\t new Object[] { ";
+ protected final String TEXT_543 = " }," + NL + "\t\t\t\t\t\t context));";
+ protected final String TEXT_544 = NL + "\t\t\t\t\t(new ";
+ protected final String TEXT_545 = NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_546 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t ";
+ protected final String TEXT_547 = ".INSTANCE.getString(\"_UI_GenericConstraint_diagnostic\", new Object[] { \"";
+ protected final String TEXT_548 = "\", getObjectLabel(";
+ protected final String TEXT_549 = ", ";
+ protected final String TEXT_550 = ") }),";
+ protected final String TEXT_551 = NL + "\t\t\t\t\t\t new Object[] { ";
+ protected final String TEXT_552 = " }));";
+ protected final String TEXT_553 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn ";
+ protected final String TEXT_554 = "validate";
+ protected final String TEXT_555 = "_";
+ protected final String TEXT_556 = "(";
+ protected final String TEXT_557 = ", ";
+ protected final String TEXT_558 = ", ";
+ protected final String TEXT_559 = ");";
+ protected final String TEXT_560 = NL + "\t\treturn" + NL + "\t\t\tvalidate" + NL + "\t\t\t\t(";
+ protected final String TEXT_561 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_562 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_563 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_564 = "," + NL + "\t\t\t\t \"";
+ protected final String TEXT_565 = "\",";
+ protected final String TEXT_566 = NL + "\t\t\t\t \"";
+ protected final String TEXT_567 = "\",";
+ protected final String TEXT_568 = NL + "\t\t\t\t ";
+ protected final String TEXT_569 = "__";
+ protected final String TEXT_570 = "__EEXPRESSION," + NL + "\t\t\t\t ";
+ protected final String TEXT_571 = ".ERROR," + NL + "\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t 0);";
+ protected final String TEXT_572 = NL + "\t\t// TODO implement the constraint" + NL
+ + "\t\t// -> specify the condition that violates the constraint" + NL
+ + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_573 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_574 = ".add";
+ protected final String TEXT_575 = NL + "\t\t\t\t\t(createDiagnostic" + NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_576 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
+ protected final String TEXT_577 = NL + "\t\t\t\t\t\t new Object[] { \"";
+ protected final String TEXT_578 = "\", getObjectLabel(";
+ protected final String TEXT_579 = ", ";
+ protected final String TEXT_580 = ") },";
+ protected final String TEXT_581 = NL + "\t\t\t\t\t\t new Object[] { ";
+ protected final String TEXT_582 = " }," + NL + "\t\t\t\t\t\t context));";
+ protected final String TEXT_583 = NL + "\t\t\t\t\t(new ";
+ protected final String TEXT_584 = NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_585 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t ";
+ protected final String TEXT_586 = ".INSTANCE.getString(\"_UI_GenericConstraint_diagnostic\", new Object[] { \"";
+ protected final String TEXT_587 = "\", getObjectLabel(";
+ protected final String TEXT_588 = ", ";
+ protected final String TEXT_589 = ") }),";
+ protected final String TEXT_590 = NL + "\t\t\t\t\t\t new Object[] { ";
+ protected final String TEXT_591 = " }));";
+ protected final String TEXT_592 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL
+ + "\t\treturn true;";
+ protected final String TEXT_593 = NL + "\t}" + NL;
+ protected final String TEXT_594 = NL + "\t/**" + NL
+ + "\t * Returns the resource locator that will be used to fetch messages for this validator's diagnostics."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_595 = NL + "\t@Override";
+ protected final String TEXT_596 = NL + "\tpublic ";
+ protected final String TEXT_597 = " getResourceLocator()" + NL + "\t{";
+ protected final String TEXT_598 = NL + "\t\treturn ";
+ protected final String TEXT_599 = ".INSTANCE;";
+ protected final String TEXT_600 = NL + "\t\t// TODO" + NL
+ + "\t\t// Specialize this to return a resource locator for messages specific to this validator." + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\treturn super.getResourceLocator();";
+ protected final String TEXT_601 = NL + "\t}" + NL;
+ protected final String TEXT_602 = NL;
+ protected final String TEXT_603 = NL + "} //";
+ protected final String TEXT_604 = NL;
+ protected final String TEXT_605 = NL;
+ protected final String TEXT_606 = NL;
+
+ public ValidatorClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_605);
+ stringBuffer.append(TEXT_606);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getUtilitiesPackageName();
+ className = genPackage.getValidatorClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2002-2013 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel();
+ final String singleWildcard = genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50 ? "<?>" : "";
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getUtilitiesPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.addImport("java.util.Map");
+ final String _Map = genModel.useGenerics() ? "Map<" + genModel.getImportedName("java.lang.Object") + ", "
+ + genModel.getImportedName("java.lang.Object") + ">" : "Map";
+ final String objectArgument = genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ">"
+ : "";
+ genModel.addImport("org.eclipse.emf.common.util.DiagnosticChain");
+ genModel.addImport("org.eclipse.emf.ecore.EPackage");
+ if (!genPackage.hasJavaLangConflict()
+ && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
+ genModel.addImport(genPackage.getInterfacePackageName() + ".*");
+ genModel.markImportLocation(stringBuffer);
+ genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.Descriptor");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.Registry");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider");
+ genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.PatternMatcher");
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getValidatorClassName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator"));
+ stringBuffer.append(TEXT_7);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genPackage.getValidatorClassName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genPackage.getValidatorClassName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genPackage.getInterfacePackageName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_16);
+ int count = 0;
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ for (GenOperation genOperation : genClass.getInvariantOperations()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genClass.getOperationID(genOperation));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(++count);
+ stringBuffer.append(TEXT_21);
+ }
+ }
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(count);
+ stringBuffer.append(TEXT_23);
+ for (GenPackage baseGenPackage : genPackage.getAllValidatorBaseGenPackages()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(baseGenPackage.getImportedValidatorClassName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genPackage.getValidatorPackageUniqueSafeName(baseGenPackage));
+ stringBuffer.append(TEXT_26);
+ }
+ if (genPackage.hasInvariantExpressions()) {
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass"));
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(_Map);
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator"));
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genPackage.getValidatorClassName());
+ stringBuffer.append(TEXT_37);
+ for (GenPackage baseGenPackage : genPackage.getAllValidatorBaseGenPackages()) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genPackage.getValidatorPackageUniqueSafeName(baseGenPackage));
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(baseGenPackage.getImportedValidatorClassName());
+ stringBuffer.append(TEXT_40);
+ }
+ stringBuffer.append(TEXT_41);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_42);
+ }
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_44);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_45);
+ }
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ if (genClassifier.isUncheckedCast()) {
+ stringBuffer.append(TEXT_46);
+ break;
+ }
+ }
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(_Map);
+ stringBuffer.append(TEXT_48);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genPackage.getClassifierID(genClassifier));
+ stringBuffer.append(TEXT_51);
+ if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (genDataType.isPrimitiveType()) {
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genDataType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_55);
+ } else {
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_58);
+ }
+ } else if (genDataType.isObjectType()) {
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_60);
+ } else {
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genDataType.getObjectType().getImportedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_63);
+ }
+ } else {
+ GenClass genClass = (GenClass) genClassifier;
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getImportedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_66);
+ }
+ }
+ stringBuffer.append(TEXT_67);
+ for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
+ String result = "result".equals(genClassifier.getSafeUncapName()) ? "theResult" : "result";
+ String diagnostics = "diagnostics".equals(genClassifier.getSafeUncapName()) ? "theDiagnostics"
+ : "diagnostics";
+ String item = "item".equals(genClassifier.getSafeUncapName()) ? "theItem" : "item";
+ String context = "context".equals(genClassifier.getSafeUncapName()) ? "theContext" : "context";
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genClassifier.getName());
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genClassifier.getImportedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(_Map);
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_74);
+ if (genClassifier.getAllGenConstraints().isEmpty()) {
+ stringBuffer.append(TEXT_75);
+ } else if (genClassifier.hasOnlyDefaultConstraints()) {
+ stringBuffer.append(TEXT_76);
+ if (!((GenClass) genClassifier).isEObjectExtension()) {
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(TEXT_78);
+ }
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_81);
+ } else {
+ boolean first = true;
+ for (String constraint : genClassifier.getAllGenConstraints()) {
+ GenClassifier constraintImplementor = genClassifier.getConstraintImplementor(constraint);
+ String delegate = constraintImplementor == null
+ || constraintImplementor.getGenPackage() == genPackage ? "" : genPackage
+ .getValidatorPackageUniqueSafeName(constraintImplementor.getGenPackage()) + "Validator.";
+ String cast = constraintImplementor == null && genClassifier instanceof GenClass
+ && !((GenClass) genClassifier).isEObjectExtension() ? "("
+ + genModel.getImportedName("org.eclipse.emf.ecore.EObject") + ")" : "";
+ String accessor = constraintImplementor != null && genClassifier instanceof GenDataType
+ && !((GenDataType) genClassifier).isPrimitiveType()
+ && ((GenDataType) constraintImplementor).isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50 ? "."
+ + ((GenDataType) constraintImplementor).getPrimitiveValueFunction() + "()" : "";
+ if ("NoCircularContainment".equals(constraint)) {
+ stringBuffer.append(TEXT_82);
+ if (!((GenClass) genClassifier).isEObjectExtension()) {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_87);
+ } else if (first) {
+ first = false;
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(delegate);
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(constraintImplementor == null ? "" : constraintImplementor.getName());
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(cast);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(accessor);
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_95);
+ } else {
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(delegate);
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(constraintImplementor == null ? "" : constraintImplementor.getName());
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(cast);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(accessor);
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_105);
+ }
+ }
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_107);
+ }
+ stringBuffer.append(TEXT_108);
+ for (String constraint : genClassifier.getGenConstraints()) {
+ GenClassifier constraintDelegate = genClassifier.getConstraintDelegate(constraint);
+ String constant = genClassifier.getClassifierID()
+ + "__"
+ + CodeGenUtil.format(constraint, '_', null, false, false).toUpperCase(
+ genClassifier.getGenModel().getLocale());
+ String delegate = constraintDelegate == null || constraintDelegate.getGenPackage() == genPackage ? ""
+ : genPackage.getValidatorPackageUniqueSafeName(constraintDelegate.getGenPackage())
+ + "Validator.";
+ String cast = constraintDelegate == null && genClassifier instanceof GenClass
+ && !((GenClass) genClassifier).isEObjectExtension() ? "("
+ + genModel.getImportedName("org.eclipse.emf.ecore.EObject") + ")" : "";
+ String accessor = constraintDelegate != null && genClassifier instanceof GenDataType
+ && !((GenDataType) genClassifier).isPrimitiveType()
+ && ((GenDataType) constraintDelegate).isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50 ? "."
+ + ((GenDataType) constraintDelegate).getPrimitiveValueFunction() + "()" : "";
+ if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (constraint.equals("Min") && genDataType.getMinLiteral() != null) {
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genDataType.getStaticValue(genDataType.getMinLiteral()));
+ stringBuffer.append(TEXT_114);
+ } else if (constraint.equals("Max") && genDataType.getMaxLiteral() != null) {
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(genDataType.getStaticValue(genDataType.getMaxLiteral()));
+ stringBuffer.append(TEXT_120);
+ } else if (constraint.equals("TotalDigits") && genDataType.getTotalDigits() != -1
+ && !"java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {
+ String value = "1";
+ for (int digitCount = genDataType.getTotalDigits(); digitCount > 0; --digitCount)
+ value += "0";
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genDataType.getStaticValue(value));
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_127);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genDataType.getImportedInstanceClassName());
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genDataType.getStaticValue("-" + value));
+ stringBuffer.append(TEXT_131);
+ } else if (constraint.equals("Pattern") && !genDataType.getPatterns().isEmpty()) {
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_135);
+ for (Iterator<List<String>> k = genDataType.getPatterns().iterator(); k.hasNext();) {
+ List<String> patternList = k.next();
+ stringBuffer.append(TEXT_136);
+ for (Iterator<String> p = patternList.iterator(); p.hasNext();) {
+ String pattern = p.next();
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(pattern);
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(p.hasNext() ? "," : "");
+ }
+ stringBuffer.append(TEXT_140);
+ stringBuffer.append(k.hasNext() ? "," : "");
+ }
+ stringBuffer.append(TEXT_141);
+ } else if (constraint.equals("Enumeration") && !genDataType.getEnumerationLiterals().isEmpty()) {
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genDataType.getName());
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_144);
+ if (genDataType.isUncheckedCast()) {
+ stringBuffer.append(TEXT_145);
+ }
+ stringBuffer.append(TEXT_146);
+ stringBuffer.append(genModel.getImportedName("java.util.Collection"));
+ stringBuffer.append(objectArgument);
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_148);
+ for (Iterator<String> k = genDataType.getEnumerationLiterals().iterator(); k.hasNext();) {
+ String literal = k.next();
+ stringBuffer.append(TEXT_149);
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_151);
+ }
+ stringBuffer.append(genDataType.getStaticValue(literal, false));
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_152);
+ }
+ stringBuffer.append(k.hasNext() ? "," : "");
+ }
+ stringBuffer.append(TEXT_153);
+ }
+ }
+ if (genClassifier.hasConstraintExpression(constraint)) {
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(genClassifier.getFormattedName());
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_157);
+ stringBuffer.append(genClassifier.getClassifierID());
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(CodeGenUtil.upperName(constraint));
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genClassifier.getConstraintExpression(constraint, "\t\t"));
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_161);
+ }
+ stringBuffer.append(TEXT_162);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(genClassifier.getFormattedName());
+ stringBuffer.append(TEXT_164);
+ stringBuffer.append(genClassifier.getName());
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_166);
+ stringBuffer.append(genClassifier.getImportedWildcardInstanceClassName());
+ stringBuffer.append(TEXT_167);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_168);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_169);
+ stringBuffer.append(_Map);
+ stringBuffer.append(TEXT_170);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_171);
+ if (genClassifier instanceof GenDataType) {
+ GenDataType genDataType = (GenDataType) genClassifier;
+ if (constraint.equals("ItemType") && genDataType.getItemType() != null) {
+ GenDataType itemType = genDataType.getItemType();
+ String itemDelegate = itemType.getGenPackage() == genPackage ? "" : genPackage
+ .getValidatorPackageUniqueSafeName(itemType.getGenPackage()) + "Validator.";
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_173);
+ stringBuffer.append(genModel.getImportedName("java.util.Iterator"));
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_175);
+ if (itemType.getGenPackage().hasConstraints()) {
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(itemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(itemDelegate);
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(itemType.getName());
+ stringBuffer.append(TEXT_179);
+ if (itemType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_180);
+ }
+ if (!itemType.isObjectType()) {
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(itemType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_182);
+ }
+ stringBuffer.append(item);
+ if (itemType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_183);
+ stringBuffer.append(itemType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_184);
+ }
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_186);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_187);
+ } else {
+ stringBuffer.append(TEXT_188);
+ stringBuffer.append(itemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_189);
+ }
+ stringBuffer.append(TEXT_190);
+ stringBuffer.append(itemType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_193);
+ } else if (constraint.equals("MemberTypes") && !genDataType.getMemberTypes().isEmpty()) {
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(TEXT_195);
+ for (ListIterator<GenDataType> k = genDataType.getMemberTypes().listIterator(); k.hasNext();) {
+ GenDataType memberType = k.next();
+ String memberDelegate = memberType.getGenPackage() == genPackage ? "" : genPackage
+ .getValidatorPackageUniqueSafeName(memberType.getGenPackage()) + "Validator.";
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(memberDelegate);
+ stringBuffer.append(TEXT_197);
+ stringBuffer.append(memberType.getName());
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_199);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_200);
+ } else {
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(memberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_203);
+ if (memberType.getGenPackage().hasConstraints()) {
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(memberDelegate);
+ stringBuffer.append(TEXT_205);
+ stringBuffer.append(memberType.getName());
+ stringBuffer.append(TEXT_206);
+ if (memberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_207);
+ }
+ if (!memberType.isObjectType()
+ && !memberType.getQualifiedInstanceClassName().equals(
+ genDataType.getQualifiedInstanceClassName())) {
+ stringBuffer.append(TEXT_208);
+ stringBuffer.append(memberType.getImportedWildcardObjectInstanceClassName());
+ stringBuffer.append(TEXT_209);
+ }
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ if (memberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_210);
+ stringBuffer.append(memberType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_211);
+ }
+ stringBuffer.append(TEXT_212);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_213);
+ }
+ stringBuffer.append(TEXT_214);
+ }
+ }
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_216);
+ } else {
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genModel.getImportedName("java.util.List"));
+ stringBuffer.append(TEXT_218);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_219);
+ }
+ stringBuffer.append(TEXT_220);
+ for (ListIterator<GenDataType> k = genDataType.getMemberTypes().listIterator(); k.hasNext();) {
+ GenDataType memberType = k.next();
+ String memberDelegate = memberType.getGenPackage() == genPackage ? "" : genPackage
+ .getValidatorPackageUniqueSafeName(memberType.getGenPackage()) + "Validator.";
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_221);
+ stringBuffer.append(memberDelegate);
+ stringBuffer.append(TEXT_222);
+ stringBuffer.append(memberType.getName());
+ stringBuffer.append(TEXT_223);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_224);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_225);
+ } else {
+ stringBuffer.append(TEXT_226);
+ stringBuffer.append(memberType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_227);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_228);
+ if (memberType.getGenPackage().hasConstraints()) {
+ stringBuffer.append(TEXT_229);
+ stringBuffer.append(memberDelegate);
+ stringBuffer.append(TEXT_230);
+ stringBuffer.append(memberType.getName());
+ stringBuffer.append(TEXT_231);
+ if (memberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_232);
+ }
+ if (!memberType.isObjectType()
+ && !memberType.getQualifiedInstanceClassName().equals(
+ genDataType.getQualifiedInstanceClassName())) {
+ stringBuffer.append(TEXT_233);
+ stringBuffer.append(memberType.getImportedWildcardObjectInstanceClassName());
+ stringBuffer.append(TEXT_234);
+ }
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ if (memberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_235);
+ stringBuffer.append(memberType.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_236);
+ }
+ stringBuffer.append(TEXT_237);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_238);
+ }
+ stringBuffer.append(TEXT_239);
+ }
+ }
+ stringBuffer.append(TEXT_240);
+ } else if (constraint.equals("Pattern") && !genDataType.getPatterns().isEmpty()) {
+ stringBuffer.append(TEXT_241);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_242);
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_243);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_244);
+ }
+ stringBuffer.append(genDataType.getSafeUncapName());
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_245);
+ }
+ stringBuffer.append(TEXT_246);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_247);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_248);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_249);
+ } else if (constraint.equals("Enumeration") && !genDataType.getEnumerationLiterals().isEmpty()) {
+ String variable = genDataType.getSafeUncapName();
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ variable = variable + "Object";
+ stringBuffer.append(TEXT_250);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_251);
+ stringBuffer.append(variable);
+ stringBuffer.append(TEXT_252);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_253);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_254);
+ }
+ stringBuffer.append(TEXT_255);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_256);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_257);
+ stringBuffer.append(variable);
+ stringBuffer.append(TEXT_258);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_259);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_260);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_261);
+ stringBuffer.append(variable);
+ stringBuffer.append(TEXT_262);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_263);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_264);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_265);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_266);
+ } else if (constraint.equals("Min") && genDataType.getMinLiteral() != null) {
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_267);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_268);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_269);
+ stringBuffer.append(genDataType.isMinInclusive() ? ">=" : ">");
+ stringBuffer.append(TEXT_270);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_271);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_272);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_273);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_274);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_275);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_276);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_277);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_278);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_279);
+ stringBuffer.append(genDataType.isMinInclusive() ? "true" : "false");
+ stringBuffer.append(TEXT_280);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_281);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_282);
+ } else {
+ stringBuffer.append(TEXT_283);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_284);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_285);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_286);
+ stringBuffer.append(genDataType.isMinInclusive() ? "true" : "false");
+ stringBuffer.append(TEXT_287);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_288);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_289);
+ }
+ stringBuffer.append(TEXT_290);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_291);
+ } else {
+ String comparison = "comparison".equals(genClassifier.getSafeUncapName()) ? "theComparison"
+ : "comparison";
+ if (genDataType.isXMLCalendar()) {
+ stringBuffer.append(TEXT_292);
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_293);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(TEXT_294);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_295);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_296);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_297);
+ if (genDataType.isMinInclusive()) {
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_298);
+ }
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_299);
+ } else if (genDataType.isXMLDuration()) {
+ stringBuffer.append(TEXT_300);
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_301);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(TEXT_302);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_303);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_304);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_305);
+ if (genDataType.isMinInclusive()) {
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_306);
+ }
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_307);
+ } else {
+ stringBuffer.append(TEXT_308);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_309);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_310);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_311);
+ stringBuffer.append(genDataType.isMinInclusive() ? ">=" : ">");
+ stringBuffer.append(TEXT_312);
+ }
+ stringBuffer.append(TEXT_313);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_314);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_315);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_316);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_317);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_318);
+ stringBuffer.append(genDataType.isMinInclusive() ? "true" : "false");
+ stringBuffer.append(TEXT_319);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_320);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_321);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_322);
+ }
+ } else if (constraint.equals("Max") && genDataType.getMaxLiteral() != null) {
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_323);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_324);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_325);
+ stringBuffer.append(genDataType.isMaxInclusive() ? "<=" : "<");
+ stringBuffer.append(TEXT_326);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_327);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_328);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_329);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_330);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_331);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_332);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_333);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_334);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_335);
+ stringBuffer.append(genDataType.isMaxInclusive() ? "true" : "false");
+ stringBuffer.append(TEXT_336);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_337);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_338);
+ } else {
+ stringBuffer.append(TEXT_339);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_340);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_341);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_342);
+ stringBuffer.append(genDataType.isMaxInclusive() ? "true" : "false");
+ stringBuffer.append(TEXT_343);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_344);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_345);
+ }
+ stringBuffer.append(TEXT_346);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_347);
+ } else {
+ String comparison = "comparison".equals(genClassifier.getSafeUncapName()) ? "theComparison"
+ : "comparison";
+ if (genDataType.isXMLCalendar()) {
+ stringBuffer.append(TEXT_348);
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_349);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(TEXT_350);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_351);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_352);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_353);
+ if (genDataType.isMaxInclusive()) {
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_354);
+ }
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_355);
+ } else if (genDataType.isXMLDuration()) {
+ stringBuffer.append(TEXT_356);
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_357);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(TEXT_358);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_359);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_360);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_361);
+ if (genDataType.isMaxInclusive()) {
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_362);
+ }
+ stringBuffer.append(comparison);
+ stringBuffer.append(TEXT_363);
+ } else {
+ stringBuffer.append(TEXT_364);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_365);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_366);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_367);
+ stringBuffer.append(genDataType.isMaxInclusive() ? "<=" : "<");
+ stringBuffer.append(TEXT_368);
+ }
+ stringBuffer.append(TEXT_369);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_370);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_371);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_372);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_373);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_374);
+ stringBuffer.append(genDataType.isMaxInclusive() ? "true" : "false");
+ stringBuffer.append(TEXT_375);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_376);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_377);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_378);
+ }
+ } else if (constraint.equals("MinLength") && genDataType.getMinLength() != -1) {
+ stringBuffer.append(TEXT_379);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_380);
+ stringBuffer.append(genDataType.getLengthAccessorFunction());
+ stringBuffer.append(TEXT_381);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_382);
+ stringBuffer.append(genDataType.getMinLength());
+ stringBuffer.append(TEXT_383);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_384);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_385);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_386);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_387);
+ stringBuffer.append(genDataType.getMinLength());
+ stringBuffer.append(TEXT_388);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_389);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_390);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_391);
+ } else if (constraint.equals("MaxLength") && genDataType.getMaxLength() != -1) {
+ stringBuffer.append(TEXT_392);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_393);
+ stringBuffer.append(genDataType.getLengthAccessorFunction());
+ stringBuffer.append(TEXT_394);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_395);
+ stringBuffer.append(genDataType.getMaxLength());
+ stringBuffer.append(TEXT_396);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_397);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_398);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_399);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_400);
+ stringBuffer.append(genDataType.getMaxLength());
+ stringBuffer.append(TEXT_401);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_402);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_403);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_404);
+ } else if (constraint.equals("TotalDigits") && genDataType.getTotalDigits() != -1) {
+ if (genDataType.isPrimitiveType()) {
+ stringBuffer.append(TEXT_405);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_406);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_407);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_408);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_409);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_410);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_411);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_412);
+ if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_413);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_414);
+ stringBuffer.append(genDataType.getObjectInstanceClassName());
+ stringBuffer.append(TEXT_415);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_416);
+ stringBuffer.append(genDataType.getTotalDigits());
+ stringBuffer.append(TEXT_417);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_418);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_419);
+ } else {
+ stringBuffer.append(TEXT_420);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_421);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_422);
+ stringBuffer.append(genDataType.getTotalDigits());
+ stringBuffer.append(TEXT_423);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_424);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_425);
+ }
+ } else if ("java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {
+ stringBuffer.append(TEXT_426);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_427);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_428);
+ stringBuffer.append(genDataType.getTotalDigits());
+ stringBuffer.append(TEXT_429);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_430);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_431);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_432);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_433);
+ stringBuffer.append(genDataType.getTotalDigits());
+ stringBuffer.append(TEXT_434);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_435);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_436);
+ } else {
+ stringBuffer.append(TEXT_437);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_438);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_439);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_440);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_441);
+ stringBuffer.append(constant);
+ stringBuffer.append(TEXT_442);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_443);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_444);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_445);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_446);
+ stringBuffer.append(genDataType.getTotalDigits());
+ stringBuffer.append(TEXT_447);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_448);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_449);
+ }
+ stringBuffer.append(TEXT_450);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_451);
+ } else if (constraint.equals("FractionDigits") && genDataType.getFractionDigits() != -1
+ && "java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {
+ stringBuffer.append(TEXT_452);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_453);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_454);
+ stringBuffer.append(genDataType.getFractionDigits());
+ stringBuffer.append(TEXT_455);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_456);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_457);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_458);
+ stringBuffer.append(genDataType.getSafeUncapName());
+ stringBuffer.append(TEXT_459);
+ stringBuffer.append(genDataType.getFractionDigits());
+ stringBuffer.append(TEXT_460);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_461);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_462);
+ stringBuffer.append(result);
+ stringBuffer.append(TEXT_463);
+ } else if (constraintDelegate != null) {
+ stringBuffer.append(TEXT_464);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_465);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_466);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {
+ stringBuffer.append(TEXT_467);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_468);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_469);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_470);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_471);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_472);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_473);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_474);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_475);
+ } else {
+ stringBuffer.append(TEXT_476);
+ stringBuffer
+ .append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(TEXT_477);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_478);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(TEXT_479);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_480);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_481);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_482);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_483);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_484);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_485);
+ }
+ stringBuffer.append(TEXT_486);
+ stringBuffer.append(delegate);
+ stringBuffer.append(TEXT_487);
+ stringBuffer.append(constraintDelegate.getName());
+ stringBuffer.append(TEXT_488);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_489);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(accessor);
+ stringBuffer.append(TEXT_490);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_491);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_492);
+ } else {
+ if (genClassifier.hasConstraintExpression(constraint)) {
+ stringBuffer.append(TEXT_493);
+ stringBuffer.append(genClassifier.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_494);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_495);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_496);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_497);
+ stringBuffer.append(genClassifier.getValidationDelegate(constraint));
+ stringBuffer.append(TEXT_498);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_499);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_500);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_501);
+ stringBuffer.append(genClassifier.getClassifierID());
+ stringBuffer.append(TEXT_502);
+ stringBuffer.append(CodeGenUtil.upperName(constraint));
+ stringBuffer.append(TEXT_503);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_504);
+ } else {
+ stringBuffer.append(TEXT_505);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_506);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_507);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {
+ stringBuffer.append(TEXT_508);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_509);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_510);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_511);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_512);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_513);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_514);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_515);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_516);
+ } else {
+ stringBuffer.append(TEXT_517);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(TEXT_518);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_519);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(TEXT_520);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_521);
+ stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_522);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_523);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_524);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_525);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_526);
+ }
+ stringBuffer.append(TEXT_527);
+ }
+ }
+ } else {
+ GenOperation genOperation = ((GenClass) genClassifier).getInvariantOperation(constraint);
+ if (genOperation != null) {
+ stringBuffer.append(TEXT_528);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_529);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_530);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_531);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_532);
+ } else if (constraintDelegate != null) {
+ stringBuffer.append(TEXT_533);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_534);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_535);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {
+ stringBuffer.append(TEXT_536);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_537);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_538);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_539);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_540);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_541);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_542);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_543);
+ } else {
+ stringBuffer.append(TEXT_544);
+ stringBuffer
+ .append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(TEXT_545);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_546);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(TEXT_547);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_548);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_549);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_550);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_551);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_552);
+ }
+ stringBuffer.append(TEXT_553);
+ stringBuffer.append(delegate);
+ stringBuffer.append(TEXT_554);
+ stringBuffer.append(constraintDelegate.getName());
+ stringBuffer.append(TEXT_555);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_556);
+ stringBuffer.append(cast);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_557);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_558);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_559);
+ } else {
+ if (genClassifier.hasConstraintExpression(constraint)) {
+ stringBuffer.append(TEXT_560);
+ stringBuffer.append(genClassifier.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_561);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_562);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_563);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_564);
+ stringBuffer.append(genClassifier.getValidationDelegate(constraint));
+ stringBuffer.append(TEXT_565);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_566);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_567);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_568);
+ stringBuffer.append(genClassifier.getClassifierID());
+ stringBuffer.append(TEXT_569);
+ stringBuffer.append(CodeGenUtil.upperName(constraint));
+ stringBuffer.append(TEXT_570);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_571);
+ } else {
+ stringBuffer.append(TEXT_572);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_573);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_574);
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {
+ stringBuffer.append(TEXT_575);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_576);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_577);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_578);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_579);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_580);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_581);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_582);
+ } else {
+ stringBuffer.append(TEXT_583);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(TEXT_584);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_585);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(TEXT_586);
+ stringBuffer.append(constraint);
+ stringBuffer.append(TEXT_587);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_588);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_589);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_590);
+ stringBuffer.append(genClassifier.getSafeUncapName());
+ stringBuffer.append(TEXT_591);
+ }
+ stringBuffer.append(TEXT_592);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_593);
+ }
+ }
+ if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {
+ stringBuffer.append(TEXT_594);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_595);
+ }
+ stringBuffer.append(TEXT_596);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.ResourceLocator"));
+ stringBuffer.append(TEXT_597);
+ if (genModel.hasModelPluginClass()) {
+ stringBuffer.append(TEXT_598);
+ stringBuffer.append(genModel.getImportedName(genModel.getQualifiedModelPluginClassName()));
+ stringBuffer.append(TEXT_599);
+ } else {
+ stringBuffer.append(TEXT_600);
+ }
+ stringBuffer.append(TEXT_601);
+ }
+ stringBuffer.append(TEXT_602);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.ValidatorClass.ValidatorClass.insert" args="genPackage:genPackage,genModel:genModel,singleWildcard:singleWildcard,_Map:_Map,objectArgument:objectArgument,count:count"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("_Map", _Map);
+ callParameters.put("objectArgument", objectArgument);
+ callParameters.put("count", count);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_omcocbM-EeKd56X4hcZPSw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_603);
+ stringBuffer.append(genPackage.getValidatorClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_604);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.hasConstraints());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/XMLProcessorClass.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/XMLProcessorClass.java
new file mode 100644
index 0000000..93e27e4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/XMLProcessorClass.java
@@ -0,0 +1,278 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class XMLProcessorClass extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized XMLProcessorClass create(String lineSeparator) {
+ nl = lineSeparator;
+ XMLProcessorClass result = new XMLProcessorClass();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL
+ + " * This class contains helper methods to serialize and deserialize XML documents" + NL
+ + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL
+ + "public class ";
+ protected final String TEXT_5 = " extends ";
+ protected final String TEXT_6 = NL + "{";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = " copyright = ";
+ protected final String TEXT_9 = ";";
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * Public constructor to instantiate the helper." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_12 = "()" + NL + "\t{";
+ protected final String TEXT_13 = NL + "\t\tsuper(new ";
+ protected final String TEXT_14 = "(";
+ protected final String TEXT_15 = ".Registry.INSTANCE));" + NL + "\t\textendedMetaData.putPackage(null, ";
+ protected final String TEXT_16 = ".eINSTANCE);";
+ protected final String TEXT_17 = NL + "\t\tsuper((";
+ protected final String TEXT_18 = ".Registry.INSTANCE));" + NL + "\t\t";
+ protected final String TEXT_19 = ".eINSTANCE.eClass();";
+ protected final String TEXT_20 = NL + "\t}" + NL + "\t" + NL + "\t/**" + NL
+ + "\t * Register for \"*\" and \"xml\" file extensions the ";
+ protected final String TEXT_21 = " factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_22 = NL + "\t@Override";
+ protected final String TEXT_23 = NL + "\tprotected Map";
+ protected final String TEXT_24 = "<";
+ protected final String TEXT_25 = ", ";
+ protected final String TEXT_26 = ".Factory>";
+ protected final String TEXT_27 = " getRegistrations()" + NL + "\t{" + NL + "\t\tif (registrations == null)" + NL
+ + "\t\t{" + NL + "\t\t\tsuper.getRegistrations();" + NL + "\t\t\tregistrations.put(XML_EXTENSION, new ";
+ protected final String TEXT_28 = "());" + NL + "\t\t\tregistrations.put(STAR_EXTENSION, new ";
+ protected final String TEXT_29 = "());" + NL + "\t\t}" + NL + "\t\treturn registrations;" + NL + "\t}" + NL + ""
+ + NL + "} //";
+ protected final String TEXT_30 = NL;
+ protected final String TEXT_31 = NL;
+ protected final String TEXT_32 = NL;
+
+ public XMLProcessorClass() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(TEXT_32);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getModelDirectory();
+ packageName = genPackage.getUtilitiesPackageName();
+ className = genPackage.getXMLProcessorClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getUtilitiesPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.getImportedName("java.util.Map");
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getXMLProcessorClassName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getImportedXMLProcessorBaseClassName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genPackage.getXMLProcessorClassName());
+ stringBuffer.append(TEXT_12);
+ if (genPackage.hasExtendedMetaData() && !genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.EPackageRegistryImpl"));
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_16);
+ } else {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EPackage"));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getResourceFactoryClassName());
+ stringBuffer.append(TEXT_21);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_22);
+ }
+ stringBuffer.append(TEXT_23);
+ if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource"));
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genPackage.getResourceFactoryClassName());
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genPackage.getResourceFactoryClassName());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genPackage.getXMLProcessorClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_30);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genPackage.hasClassifiers() && genPackage.getResource().getValue() == GenResourceKind.XML);
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..54e9762
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureTODOoverride.java
@@ -0,0 +1,287 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicGetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized ClassbasicGetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicGetGenFeatureTODOoverride result = new ClassbasicGetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL + "\t\t// -> do not perform proxy resolution" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public ClassbasicGetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..9587b7e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicGetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized ClassbasicGetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicGetGenFeatureannotationsinsert result = new ClassbasicGetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassbasicGetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureoverride.java
new file mode 100644
index 0000000..59dfa93
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureoverride.java
@@ -0,0 +1,490 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicGetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClassbasicGetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicGetGenFeatureoverride result = new ClassbasicGetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\tpublic ";
+ protected final String TEXT_4 = " basicGet";
+ protected final String TEXT_5 = "()" + NL + "\t{";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + "\t\treturn (";
+ protected final String TEXT_8 = ")eDynamicGet(";
+ protected final String TEXT_9 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_10 = ", ";
+ protected final String TEXT_11 = ", false, ";
+ protected final String TEXT_12 = ");";
+ protected final String TEXT_13 = NL + "\t\treturn ";
+ protected final String TEXT_14 = "(";
+ protected final String TEXT_15 = "(";
+ protected final String TEXT_16 = ")";
+ protected final String TEXT_17 = "__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false)";
+ protected final String TEXT_18 = ").";
+ protected final String TEXT_19 = "()";
+ protected final String TEXT_20 = ";";
+ protected final String TEXT_21 = NL + "\t\tif (eContainerFeatureID() != ";
+ protected final String TEXT_22 = ") return null;" + NL + "\t\treturn (";
+ protected final String TEXT_23 = ")eInternalContainer();";
+ protected final String TEXT_24 = NL + "\t\treturn (";
+ protected final String TEXT_25 = ")eVirtualGet(";
+ protected final String TEXT_26 = ");";
+ protected final String TEXT_27 = NL + "\t\treturn ";
+ protected final String TEXT_28 = ";";
+ protected final String TEXT_29 = NL + "\t\treturn (";
+ protected final String TEXT_30 = ")((";
+ protected final String TEXT_31 = ".Internal.Wrapper)get";
+ protected final String TEXT_32 = "()).featureMap().get(";
+ protected final String TEXT_33 = ", false);";
+ protected final String TEXT_34 = NL + "\t\treturn (";
+ protected final String TEXT_35 = ")get";
+ protected final String TEXT_36 = "().get(";
+ protected final String TEXT_37 = ", false);";
+ protected final String TEXT_38 = NL + "\t\t";
+ protected final String TEXT_39 = NL;
+ protected final String TEXT_40 = NL + "\t}" + NL + NL;
+ protected final String TEXT_41 = NL;
+ protected final String TEXT_42 = NL;
+
+ public ClassbasicGetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(TEXT_42);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isJDK50) { //Class/basicGetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0l364GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mBr4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(!genFeature.isEffectiveSuppressEMFTypes());
+ stringBuffer.append(TEXT_12);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_13);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_17);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ } else if (genFeature.isContainer()) {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_23);
+ } else if (!genFeature.isVolatile()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_26);
+ } else {
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_28);
+ }
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_33);
+ } else {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_37);
+ }
+ } else if (genFeature.hasGetterBody()) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_39);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mK10GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicGetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_40);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeaturepreinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeaturepreinsert.java
new file mode 100644
index 0000000..d5e4e88
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeaturepreinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicGetGenFeaturepreinsert {
+ protected static String nl;
+
+ public static synchronized ClassbasicGetGenFeaturepreinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicGetGenFeaturepreinsert result = new ClassbasicGetGenFeaturepreinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassbasicGetGenFeaturepreinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..3961a97
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureTODOoverride.java
@@ -0,0 +1,292 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicSetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized ClassbasicSetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicSetGenFeatureTODOoverride result = new ClassbasicSetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to set the contained '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL
+ + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch"
+ + NL
+ + "\t\t// -> do not modify other features"
+ + NL
+ + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)"
+ + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public ClassbasicSetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..e0ca7b9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicSetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized ClassbasicSetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicSetGenFeatureannotationsinsert result = new ClassbasicSetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassbasicSetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureoverride.java
new file mode 100644
index 0000000..2dcb1dc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureoverride.java
@@ -0,0 +1,777 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicSetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClassbasicSetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicSetGenFeatureoverride result = new ClassbasicSetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\tpublic ";
+ protected final String TEXT_4 = " basicSet";
+ protected final String TEXT_5 = "(";
+ protected final String TEXT_6 = " new";
+ protected final String TEXT_7 = ", ";
+ protected final String TEXT_8 = " msgs)" + NL + "\t{";
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL + "\t\tmsgs = eBasicSetContainer((";
+ protected final String TEXT_11 = ")new";
+ protected final String TEXT_12 = ", ";
+ protected final String TEXT_13 = ", msgs);";
+ protected final String TEXT_14 = NL;
+ protected final String TEXT_15 = NL + "\t\treturn msgs;";
+ protected final String TEXT_16 = NL;
+ protected final String TEXT_17 = NL + "\t\tmsgs = eDynamicInverseAdd((";
+ protected final String TEXT_18 = ")new";
+ protected final String TEXT_19 = ", ";
+ protected final String TEXT_20 = ", msgs);";
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL + "\t\treturn msgs;";
+ protected final String TEXT_23 = NL;
+ protected final String TEXT_24 = NL + "\t\tObject old";
+ protected final String TEXT_25 = " = eVirtualSet(";
+ protected final String TEXT_26 = ", new";
+ protected final String TEXT_27 = ");";
+ protected final String TEXT_28 = NL + "\t\t";
+ protected final String TEXT_29 = " old";
+ protected final String TEXT_30 = " = ";
+ protected final String TEXT_31 = ";" + NL + "\t\t";
+ protected final String TEXT_32 = " = new";
+ protected final String TEXT_33 = ";";
+ protected final String TEXT_34 = NL + "\t\tboolean isSetChange = old";
+ protected final String TEXT_35 = " == EVIRTUAL_NO_VALUE;";
+ protected final String TEXT_36 = NL + "\t\tboolean old";
+ protected final String TEXT_37 = "ESet = (";
+ protected final String TEXT_38 = " & ";
+ protected final String TEXT_39 = "_ESETFLAG) != 0;";
+ protected final String TEXT_40 = NL + "\t\t";
+ protected final String TEXT_41 = " |= ";
+ protected final String TEXT_42 = "_ESETFLAG;";
+ protected final String TEXT_43 = NL + "\t\tboolean old";
+ protected final String TEXT_44 = "ESet = ";
+ protected final String TEXT_45 = "ESet;";
+ protected final String TEXT_46 = NL + "\t\t";
+ protected final String TEXT_47 = "ESet = true;";
+ protected final String TEXT_48 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{";
+ protected final String TEXT_49 = NL + "\t\t\t";
+ protected final String TEXT_50 = " notification = new ";
+ protected final String TEXT_51 = "(this, ";
+ protected final String TEXT_52 = ".SET, ";
+ protected final String TEXT_53 = ", ";
+ protected final String TEXT_54 = "isSetChange ? null : old";
+ protected final String TEXT_55 = "old";
+ protected final String TEXT_56 = ", new";
+ protected final String TEXT_57 = ", ";
+ protected final String TEXT_58 = "isSetChange";
+ protected final String TEXT_59 = "!old";
+ protected final String TEXT_60 = "ESet";
+ protected final String TEXT_61 = ");";
+ protected final String TEXT_62 = NL + "\t\t\t";
+ protected final String TEXT_63 = " notification = new ";
+ protected final String TEXT_64 = "(this, ";
+ protected final String TEXT_65 = ".SET, ";
+ protected final String TEXT_66 = ", ";
+ protected final String TEXT_67 = "old";
+ protected final String TEXT_68 = " == EVIRTUAL_NO_VALUE ? null : old";
+ protected final String TEXT_69 = "old";
+ protected final String TEXT_70 = ", new";
+ protected final String TEXT_71 = ");";
+ protected final String TEXT_72 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);"
+ + NL + "\t\t}";
+ protected final String TEXT_73 = NL;
+ protected final String TEXT_74 = NL + "\t\treturn msgs;";
+ protected final String TEXT_75 = NL + "\t\treturn ((";
+ protected final String TEXT_76 = ".Internal)((";
+ protected final String TEXT_77 = ".Internal.Wrapper)get";
+ protected final String TEXT_78 = "()).featureMap()).basicAdd(";
+ protected final String TEXT_79 = ", new";
+ protected final String TEXT_80 = ", msgs);";
+ protected final String TEXT_81 = NL + "\t\treturn ((";
+ protected final String TEXT_82 = ".Internal)get";
+ protected final String TEXT_83 = "()).basicAdd(";
+ protected final String TEXT_84 = ", new";
+ protected final String TEXT_85 = ", msgs);";
+ protected final String TEXT_86 = NL;
+ protected final String TEXT_87 = NL + "\t}" + NL + NL;
+ protected final String TEXT_88 = NL;
+ protected final String TEXT_89 = NL;
+
+ public ClassbasicSetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(TEXT_89);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mnhwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getImportedInternalType(genClass));
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_8);
+ if (genFeature.isContainer()) {
+ stringBuffer.append(TEXT_9);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(TEXT_14);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_15);
+ } else if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_16);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(TEXT_21);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_22);
+ } else if (!genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_23);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_27);
+ } else {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_33);
+ }
+ if (genFeature.isUnsettable()) {
+ if (genModel.isVirtualDelegation()) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_35);
+ }
+ } else if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_39);
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_42);
+ }
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_45);
+ }
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_47);
+ }
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_48);
+ if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_53);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_57);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_58);
+ } else {
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ } else {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_66);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_71);
+ }
+ stringBuffer.append(TEXT_72);
+ }
+ stringBuffer.append(TEXT_73);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_74);
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_80);
+ } else {
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_85);
+ }
+ } else {
+ stringBuffer.append(TEXT_86);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0m6cwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicSetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_87);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepostinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepostinsert.java
new file mode 100644
index 0000000..8a63f65
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepostinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicSetGenFeaturepostinsert {
+ protected static String nl;
+
+ public static synchronized ClassbasicSetGenFeaturepostinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicSetGenFeaturepostinsert result = new ClassbasicSetGenFeaturepostinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassbasicSetGenFeaturepostinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepreinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepreinsert.java
new file mode 100644
index 0000000..b5563a2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepreinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicSetGenFeaturepreinsert {
+ protected static String nl;
+
+ public static synchronized ClassbasicSetGenFeaturepreinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicSetGenFeaturepreinsert result = new ClassbasicSetGenFeaturepreinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassbasicSetGenFeaturepreinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..0cd792a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureTODOoverride.java
@@ -0,0 +1,292 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicUnsetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized ClassbasicUnsetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicUnsetGenFeatureTODOoverride result = new ClassbasicUnsetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to unset the contained '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL
+ + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch"
+ + NL
+ + "\t\t// -> do not modify other features"
+ + NL
+ + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)"
+ + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public ClassbasicUnsetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..cf069e3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicUnsetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized ClassbasicUnsetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicUnsetGenFeatureannotationsinsert result = new ClassbasicUnsetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassbasicUnsetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureoverride.java
new file mode 100644
index 0000000..6397d74
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureoverride.java
@@ -0,0 +1,503 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassbasicUnsetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClassbasicUnsetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassbasicUnsetGenFeatureoverride result = new ClassbasicUnsetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\tpublic ";
+ protected final String TEXT_4 = " basicUnset";
+ protected final String TEXT_5 = "(";
+ protected final String TEXT_6 = " msgs)" + NL + "\t{";
+ protected final String TEXT_7 = NL + "\t\treturn eDynamicInverseRemove((";
+ protected final String TEXT_8 = ")";
+ protected final String TEXT_9 = "basicGet";
+ protected final String TEXT_10 = "(), ";
+ protected final String TEXT_11 = ", msgs);";
+ protected final String TEXT_12 = "Object old";
+ protected final String TEXT_13 = " = ";
+ protected final String TEXT_14 = "eVirtualUnset(";
+ protected final String TEXT_15 = ");";
+ protected final String TEXT_16 = NL + "\t\t";
+ protected final String TEXT_17 = " old";
+ protected final String TEXT_18 = " = ";
+ protected final String TEXT_19 = ";";
+ protected final String TEXT_20 = NL + "\t\t";
+ protected final String TEXT_21 = " = null;";
+ protected final String TEXT_22 = NL + "\t\tboolean isSetChange = old";
+ protected final String TEXT_23 = " != EVIRTUAL_NO_VALUE;";
+ protected final String TEXT_24 = NL + "\t\tboolean old";
+ protected final String TEXT_25 = "ESet = (";
+ protected final String TEXT_26 = " & ";
+ protected final String TEXT_27 = "_ESETFLAG) != 0;";
+ protected final String TEXT_28 = NL + "\t\t";
+ protected final String TEXT_29 = " &= ~";
+ protected final String TEXT_30 = "_ESETFLAG;";
+ protected final String TEXT_31 = NL + "\t\tboolean old";
+ protected final String TEXT_32 = "ESet = ";
+ protected final String TEXT_33 = "ESet;";
+ protected final String TEXT_34 = NL + "\t\t";
+ protected final String TEXT_35 = "ESet = false;";
+ protected final String TEXT_36 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_37 = " notification = new ";
+ protected final String TEXT_38 = "(this, ";
+ protected final String TEXT_39 = ".UNSET, ";
+ protected final String TEXT_40 = ", ";
+ protected final String TEXT_41 = "isSetChange ? old";
+ protected final String TEXT_42 = " : null";
+ protected final String TEXT_43 = "old";
+ protected final String TEXT_44 = ", null, ";
+ protected final String TEXT_45 = "isSetChange";
+ protected final String TEXT_46 = "old";
+ protected final String TEXT_47 = "ESet";
+ protected final String TEXT_48 = ");" + NL
+ + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL
+ + "\t\treturn msgs;";
+ protected final String TEXT_49 = NL;
+ protected final String TEXT_50 = NL + "\t}" + NL + NL;
+ protected final String TEXT_51 = NL;
+ protected final String TEXT_52 = NL;
+
+ public ClassbasicUnsetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(TEXT_52);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isJDK50) { //Class/basicUnsetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qpGIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_6);
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_8);
+ if (genFeature.isResolveProxies()) {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getAccessorName());
+ } else {
+ stringBuffer.append(genFeature.getGetAccessor());
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_11);
+ } else if (!genFeature.isVolatile()) {
+ if (genModel.isVirtualDelegation()) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_13);
+ }
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_15);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_21);
+ }
+ if (genModel.isVirtualDelegation()) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_23);
+ }
+ } else if (genClass.isESetFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_30);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_35);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_40);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_42);
+ } else {
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_44);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_45);
+ } else {
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_47);
+ }
+ stringBuffer.append(TEXT_48);
+ }
+ } else {
+ stringBuffer.append(TEXT_49);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qy3IGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicUnsetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_50);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureinsert.java
new file mode 100644
index 0000000..ff8e20a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassdeclaredFieldGenFeatureinsert {
+ protected static String nl;
+
+ public static synchronized ClassdeclaredFieldGenFeatureinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassdeclaredFieldGenFeatureinsert result = new ClassdeclaredFieldGenFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassdeclaredFieldGenFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureoverride.java
new file mode 100644
index 0000000..c68a9d8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureoverride.java
@@ -0,0 +1,708 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassdeclaredFieldGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClassdeclaredFieldGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassdeclaredFieldGenFeatureoverride result = new ClassdeclaredFieldGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * The cached setting delegate for the '{@link #";
+ protected final String TEXT_3 = "() <em>";
+ protected final String TEXT_4 = "</em>}' ";
+ protected final String TEXT_5 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_7 = NL + "\t@";
+ protected final String TEXT_8 = NL + "\tprotected ";
+ protected final String TEXT_9 = ".Internal.SettingDelegate ";
+ protected final String TEXT_10 = "__ESETTING_DELEGATE = ((";
+ protected final String TEXT_11 = ".Internal)";
+ protected final String TEXT_12 = ").getSettingDelegate();" + NL;
+ protected final String TEXT_13 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
+ protected final String TEXT_14 = "() <em>";
+ protected final String TEXT_15 = "</em>}' ";
+ protected final String TEXT_16 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_17 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_18 = NL + "\t@";
+ protected final String TEXT_19 = NL + "\tprotected ";
+ protected final String TEXT_20 = " ";
+ protected final String TEXT_21 = ";" + NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The empty value for the '{@link #";
+ protected final String TEXT_23 = "() <em>";
+ protected final String TEXT_24 = "</em>}' array accessor." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_25 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_26 = NL + "\t@SuppressWarnings(\"rawtypes\")";
+ protected final String TEXT_27 = NL + "\tprotected static final ";
+ protected final String TEXT_28 = "[] ";
+ protected final String TEXT_29 = "_EEMPTY_ARRAY = new ";
+ protected final String TEXT_30 = " [0]";
+ protected final String TEXT_31 = ";" + NL;
+ protected final String TEXT_32 = NL + "\t/**" + NL + "\t * The default value of the '{@link #";
+ protected final String TEXT_33 = "() <em>";
+ protected final String TEXT_34 = "</em>}' ";
+ protected final String TEXT_35 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_36 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_37 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_38 = NL + "\tprotected static final ";
+ protected final String TEXT_39 = " ";
+ protected final String TEXT_40 = "; // TODO The default value literal \"";
+ protected final String TEXT_41 = "\" is not valid.";
+ protected final String TEXT_42 = " = ";
+ protected final String TEXT_43 = ";";
+ protected final String TEXT_44 = NL;
+ protected final String TEXT_45 = NL
+ + "\t/**"
+ + NL
+ + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_46 = NL + "\t@";
+ protected final String TEXT_47 = NL + "\tprotected int ";
+ protected final String TEXT_48 = " = 0;" + NL;
+ protected final String TEXT_49 = NL + "\t/**" + NL
+ + "\t * The offset of the flags representing the value of the '{@link #";
+ protected final String TEXT_50 = "() <em>";
+ protected final String TEXT_51 = "</em>}' ";
+ protected final String TEXT_52 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_53 = "_EFLAG_OFFSET = ";
+ protected final String TEXT_54 = ";" + NL + "" + NL + "\t/**" + NL
+ + "\t * The flags representing the default value of the '{@link #";
+ protected final String TEXT_55 = "() <em>";
+ protected final String TEXT_56 = "</em>}' ";
+ protected final String TEXT_57 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_58 = "_EFLAG_DEFAULT = ";
+ protected final String TEXT_59 = ".ordinal()";
+ protected final String TEXT_60 = ".VALUES.indexOf(";
+ protected final String TEXT_61 = ")";
+ protected final String TEXT_62 = " << ";
+ protected final String TEXT_63 = "_EFLAG_OFFSET;" + NL + "" + NL + "\t/**" + NL
+ + "\t * The array of enumeration values for '{@link ";
+ protected final String TEXT_64 = " ";
+ protected final String TEXT_65 = "}'" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprivate static final ";
+ protected final String TEXT_66 = "[] ";
+ protected final String TEXT_67 = "_EFLAG_VALUES = ";
+ protected final String TEXT_68 = ".values()";
+ protected final String TEXT_69 = "(";
+ protected final String TEXT_70 = "[])";
+ protected final String TEXT_71 = ".VALUES.toArray(new ";
+ protected final String TEXT_72 = "[";
+ protected final String TEXT_73 = ".VALUES.size()])";
+ protected final String TEXT_74 = ";" + NL;
+ protected final String TEXT_75 = NL + "\t/**" + NL + "\t * The flag";
+ protected final String TEXT_76 = " representing the value of the '{@link #";
+ protected final String TEXT_77 = "() <em>";
+ protected final String TEXT_78 = "</em>}' ";
+ protected final String TEXT_79 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_80 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final int ";
+ protected final String TEXT_81 = "_EFLAG = ";
+ protected final String TEXT_82 = " << ";
+ protected final String TEXT_83 = "_EFLAG_OFFSET";
+ protected final String TEXT_84 = ";" + NL;
+ protected final String TEXT_85 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
+ protected final String TEXT_86 = "() <em>";
+ protected final String TEXT_87 = "</em>}' ";
+ protected final String TEXT_88 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_89 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_90 = NL + "\t@";
+ protected final String TEXT_91 = NL + "\tprotected ";
+ protected final String TEXT_92 = " ";
+ protected final String TEXT_93 = " = ";
+ protected final String TEXT_94 = ";" + NL;
+ protected final String TEXT_95 = NL
+ + "\t/**"
+ + NL
+ + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_96 = NL + "\t@";
+ protected final String TEXT_97 = NL + "\tprotected int ";
+ protected final String TEXT_98 = " = 0;" + NL;
+ protected final String TEXT_99 = NL + "\t/**" + NL + "\t * The flag representing whether the ";
+ protected final String TEXT_100 = " ";
+ protected final String TEXT_101 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final int ";
+ protected final String TEXT_102 = "_ESETFLAG = 1 << ";
+ protected final String TEXT_103 = ";" + NL;
+ protected final String TEXT_104 = NL + "\t/**" + NL + "\t * This is true if the ";
+ protected final String TEXT_105 = " ";
+ protected final String TEXT_106 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_107 = NL + "\t@";
+ protected final String TEXT_108 = NL + "\tprotected boolean ";
+ protected final String TEXT_109 = "ESet;" + NL;
+ protected final String TEXT_110 = NL;
+ protected final String TEXT_111 = NL;
+ protected final String TEXT_112 = NL;
+ protected final String TEXT_113 = NL;
+
+ public ClassdeclaredFieldGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(TEXT_113);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_6);
+ if (isGWT) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_12);
+ } else if (genFeature.isListType() || genFeature.isReferenceType()) {
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_17);
+ if (isGWT) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getImportedInternalType(genClass));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_21);
+ }
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ String rawListItemType = genFeature.getRawListItemType(genClass);
+ int index = rawListItemType.indexOf('[');
+ String head = rawListItemType;
+ String tail = "";
+ if (index != -1) {
+ head = rawListItemType.substring(0, index);
+ tail = rawListItemType.substring(index);
+ }
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_25);
+ if (genFeature.getQualifiedListItemType(genClass).contains("<")
+ || genFeature.getArrayItemType(genClass).contains("<")) {
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(rawListItemType);
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(head);
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(tail);
+ stringBuffer.append(TEXT_31);
+ }
+ } else {
+ if (genFeature.hasEDefault()
+ && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation()
+ && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) {
+ String staticDefaultValue = genFeature.getStaticDefaultValue();
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_36);
+ if (genModel.useGenerics() && genFeature.isListDataType() && genFeature.isSetDefaultValue()) {
+ stringBuffer.append(TEXT_37);
+ }
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getEDefault());
+ if ("".equals(staticDefaultValue)) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genFeature.getEcoreFeature().getDefaultValueLiteral());
+ stringBuffer.append(TEXT_41);
+ } else {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(staticDefaultValue);
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genModel.getNonNLS(staticDefaultValue));
+ }
+ stringBuffer.append(TEXT_44);
+ }
+ if (genClass.isField(genFeature)) {
+ if (genClass.isFlag(genFeature)) {
+ int flagIndex = genClass.getFlagIndex(genFeature);
+ if (flagIndex > 31 && flagIndex % 32 == 0) {
+ stringBuffer.append(TEXT_45);
+ if (isGWT) {
+ stringBuffer.append(TEXT_46);
+ stringBuffer
+ .append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_48);
+ }
+ if (genFeature.isEnumType()) {
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(flagIndex % 32);
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_58);
+ if (isJDK50) {
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_59);
+ } else {
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_61);
+ }
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genFeature.getTypeGenClassifier().getFormattedName());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_67);
+ if (isJDK50) {
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_68);
+ } else {
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_73);
+ }
+ stringBuffer.append(TEXT_74);
+ }
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genClass.getFlagSize(genFeature) > 1 ? "s" : "");
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genClass.getFlagMask(genFeature));
+ stringBuffer.append(TEXT_82);
+ if (genFeature.isEnumType()) {
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_83);
+ } else {
+ stringBuffer.append(flagIndex % 32);
+ }
+ stringBuffer.append(TEXT_84);
+ } else {
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_89);
+ if (isGWT) {
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genFeature.getSafeName());
+ if (genFeature.hasEDefault()) {
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genFeature.getEDefault());
+ }
+ stringBuffer.append(TEXT_94);
+ }
+ }
+ }
+ if (genClass.isESetField(genFeature)) {
+ if (genClass.isESetFlag(genFeature)) {
+ int flagIndex = genClass.getESetFlagIndex(genFeature);
+ if (flagIndex > 31 && flagIndex % 32 == 0) {
+ stringBuffer.append(TEXT_95);
+ if (isGWT) {
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_98);
+ }
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(flagIndex % 32);
+ stringBuffer.append(TEXT_103);
+ } else {
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_106);
+ if (isGWT) {
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_109);
+ }
+ }
+ stringBuffer.append(TEXT_110);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0jyQMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_111);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseIsSetoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseIsSetoverride.java
new file mode 100644
index 0000000..06476c0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseIsSetoverride.java
@@ -0,0 +1,568 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasseIsSetoverride {
+ protected static String nl;
+
+ public static synchronized ClasseIsSetoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasseIsSetoverride result = new ClasseIsSetoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_3 = NL + "\t@Override";
+ protected final String TEXT_4 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
+ protected final String TEXT_5 = ")" + NL + "\t\t{";
+ protected final String TEXT_6 = NL + "\t\t\tcase ";
+ protected final String TEXT_7 = ":";
+ protected final String TEXT_8 = NL + "\t\t\t\treturn isSet";
+ protected final String TEXT_9 = "();";
+ protected final String TEXT_10 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_11 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);";
+ protected final String TEXT_12 = NL + "\t\t\t\treturn !((";
+ protected final String TEXT_13 = ".Internal.Wrapper)";
+ protected final String TEXT_14 = "()).featureMap().isEmpty();";
+ protected final String TEXT_15 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_16 = " != null && !";
+ protected final String TEXT_17 = ".featureMap().isEmpty();";
+ protected final String TEXT_18 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_19 = " != null && !";
+ protected final String TEXT_20 = ".isEmpty();";
+ protected final String TEXT_21 = NL + "\t\t\t\t";
+ protected final String TEXT_22 = " ";
+ protected final String TEXT_23 = " = (";
+ protected final String TEXT_24 = ")eVirtualGet(";
+ protected final String TEXT_25 = ");" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_26 = " != null && !";
+ protected final String TEXT_27 = ".isEmpty();";
+ protected final String TEXT_28 = NL + "\t\t\t\treturn !";
+ protected final String TEXT_29 = "().isEmpty();";
+ protected final String TEXT_30 = NL + "\t\t\t\treturn isSet";
+ protected final String TEXT_31 = "();";
+ protected final String TEXT_32 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_33 = " != null;";
+ protected final String TEXT_34 = NL + "\t\t\t\treturn eVirtualGet(";
+ protected final String TEXT_35 = ") != null;";
+ protected final String TEXT_36 = NL + "\t\t\t\treturn basicGet";
+ protected final String TEXT_37 = "() != null;";
+ protected final String TEXT_38 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_39 = " != null;";
+ protected final String TEXT_40 = NL + "\t\t\t\treturn eVirtualGet(";
+ protected final String TEXT_41 = ") != null;";
+ protected final String TEXT_42 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_43 = "() != null;";
+ protected final String TEXT_44 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_45 = " & ";
+ protected final String TEXT_46 = "_EFLAG) != 0) != ";
+ protected final String TEXT_47 = ";";
+ protected final String TEXT_48 = NL + "\t\t\t\treturn (";
+ protected final String TEXT_49 = " & ";
+ protected final String TEXT_50 = "_EFLAG) != ";
+ protected final String TEXT_51 = "_EFLAG_DEFAULT;";
+ protected final String TEXT_52 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_53 = " != ";
+ protected final String TEXT_54 = ";";
+ protected final String TEXT_55 = NL + "\t\t\t\treturn eVirtualGet(";
+ protected final String TEXT_56 = ", ";
+ protected final String TEXT_57 = ") != ";
+ protected final String TEXT_58 = ";";
+ protected final String TEXT_59 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_60 = "() != ";
+ protected final String TEXT_61 = ";";
+ protected final String TEXT_62 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_63 = " == null ? ";
+ protected final String TEXT_64 = " != null : !";
+ protected final String TEXT_65 = ".equals(";
+ protected final String TEXT_66 = ");";
+ protected final String TEXT_67 = NL + "\t\t\t\t";
+ protected final String TEXT_68 = " ";
+ protected final String TEXT_69 = " = (";
+ protected final String TEXT_70 = ")eVirtualGet(";
+ protected final String TEXT_71 = ", ";
+ protected final String TEXT_72 = ");" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_73 = " == null ? ";
+ protected final String TEXT_74 = " != null : !";
+ protected final String TEXT_75 = ".equals(";
+ protected final String TEXT_76 = ");";
+ protected final String TEXT_77 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_78 = " == null ? ";
+ protected final String TEXT_79 = "() != null : !";
+ protected final String TEXT_80 = ".equals(";
+ protected final String TEXT_81 = "());";
+ protected final String TEXT_82 = NL + "\t\t}";
+ protected final String TEXT_83 = NL + "\t\treturn super.eIsSet(featureID);";
+ protected final String TEXT_84 = NL + "\t\treturn eDynamicIsSet(featureID);";
+ protected final String TEXT_85 = NL + "\t}" + NL + NL;
+ protected final String TEXT_86 = NL;
+ protected final String TEXT_87 = NL;
+
+ public ClasseIsSetoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(TEXT_87);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.useGenerics()) {
+ for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {
+ if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType()
+ && !genClass.isField(genFeature) && genFeature.isField()
+ && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_2);
+ break;
+ }
+ }
+ }
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_3);
+ }
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_5);
+ for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {
+ String safeNameAccessor = genFeature.getSafeName();
+ if ("featureID".equals(safeNameAccessor)) {
+ safeNameAccessor = "this." + safeNameAccessor;
+ }
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_7);
+ if (genFeature.hasSettingDelegate()) {
+ if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_9);
+ } else {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_11);
+ }
+ } else if (genFeature.isListType() && !genFeature.isUnsettable()) {
+ if (genFeature.isWrappedFeatureMapType()) {
+ if (genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_14);
+ } else {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_17);
+ }
+ } else {
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_20);
+ } else {
+ if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_27);
+ } else {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_29);
+ }
+ }
+ }
+ } else if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_31);
+ } else if (genFeature.isResolveProxies()) {
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_33);
+ } else {
+ if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_35);
+ } else {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_37);
+ }
+ }
+ } else if (!genFeature.hasEDefault()) {
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_39);
+ } else {
+ if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_41);
+ } else {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_43);
+ }
+ }
+ } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) {
+ if (genClass.isField(genFeature)) {
+ if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_47);
+ } else {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_51);
+ }
+ } else {
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_54);
+ }
+ } else {
+ if (genFeature.isEnumType() && genFeature.isField()
+ && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_58);
+ } else {
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_61);
+ }
+ }
+ } else {//datatype
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_66);
+ } else {
+ if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_76);
+ } else {
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_81);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_82);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_83);
+ } else {
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseUnsetoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseUnsetoverride.java
new file mode 100644
index 0000000..e15c7c6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseUnsetoverride.java
@@ -0,0 +1,344 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasseUnsetoverride {
+ protected static String nl;
+
+ public static synchronized ClasseUnsetoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasseUnsetoverride result = new ClasseUnsetoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL + "\t@Override";
+ protected final String TEXT_3 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
+ protected final String TEXT_4 = ")" + NL + "\t\t{";
+ protected final String TEXT_5 = NL + "\t\t\tcase ";
+ protected final String TEXT_6 = ":";
+ protected final String TEXT_7 = NL + "\t\t\t\t((";
+ protected final String TEXT_8 = ".Internal.Wrapper)";
+ protected final String TEXT_9 = "()).featureMap().clear();";
+ protected final String TEXT_10 = NL + "\t\t\t\t";
+ protected final String TEXT_11 = "().clear();";
+ protected final String TEXT_12 = NL + "\t\t\t\tunset";
+ protected final String TEXT_13 = "();";
+ protected final String TEXT_14 = NL + "\t\t\t\tset";
+ protected final String TEXT_15 = "((";
+ protected final String TEXT_16 = ")null);";
+ protected final String TEXT_17 = NL + "\t\t\t\t";
+ protected final String TEXT_18 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);";
+ protected final String TEXT_19 = NL + "\t\t\t\tset";
+ protected final String TEXT_20 = "(";
+ protected final String TEXT_21 = ");";
+ protected final String TEXT_22 = NL + "\t\t\t\treturn;";
+ protected final String TEXT_23 = NL + "\t\t}";
+ protected final String TEXT_24 = NL + "\t\tsuper.eUnset(featureID);";
+ protected final String TEXT_25 = NL + "\t\teDynamicUnset(featureID);";
+ protected final String TEXT_26 = NL + "\t}" + NL + NL;
+ protected final String TEXT_27 = NL;
+ protected final String TEXT_28 = NL;
+
+ public ClasseUnsetoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(TEXT_28);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_2);
+ }
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_4);
+ for (GenFeature genFeature : genClass.getEUnsetGenFeatures()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_6);
+ if (genFeature.isListType() && !genFeature.isUnsettable()) {
+ if (genFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_9);
+ } else {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_11);
+ }
+ } else if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_13);
+ } else if (!genFeature.hasEDefault()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_16);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_18);
+ } else {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ }
+ stringBuffer.append(TEXT_23);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_24);
+ } else {
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassegfCustomconstructoroverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassegfCustomconstructoroverride.java
new file mode 100644
index 0000000..4d8734d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassegfCustomconstructoroverride.java
@@ -0,0 +1,265 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassegfCustomconstructoroverride {
+ protected static String nl;
+
+ public static synchronized ClassegfCustomconstructoroverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassegfCustomconstructoroverride result = new ClassegfCustomconstructoroverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\tsuper();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public ClassegfCustomconstructoroverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureReifiedoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureReifiedoverride.java
new file mode 100644
index 0000000..0b27477
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureReifiedoverride.java
@@ -0,0 +1,660 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgenFeatureReifiedoverride {
+ protected static String nl;
+
+ public static synchronized ClassgenFeatureReifiedoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgenFeatureReifiedoverride result = new ClassgenFeatureReifiedoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_4 = NL + "\t@Override";
+ protected final String TEXT_5 = NL + "\tpublic ";
+ protected final String TEXT_6 = "[] ";
+ protected final String TEXT_7 = "()" + NL + "\t{";
+ protected final String TEXT_8 = NL + "\t\t";
+ protected final String TEXT_9 = " list = (";
+ protected final String TEXT_10 = ")";
+ protected final String TEXT_11 = "();" + NL + "\t\tif (list.isEmpty()) return ";
+ protected final String TEXT_12 = "_EEMPTY_ARRAY;";
+ protected final String TEXT_13 = NL + "\t\tif (";
+ protected final String TEXT_14 = " == null || ";
+ protected final String TEXT_15 = ".isEmpty()) return ";
+ protected final String TEXT_16 = "_EEMPTY_ARRAY;" + NL + "\t\t";
+ protected final String TEXT_17 = " list = (";
+ protected final String TEXT_18 = ")";
+ protected final String TEXT_19 = ";";
+ protected final String TEXT_20 = NL + "\t\tlist.shrink();" + NL + "\t\treturn (";
+ protected final String TEXT_21 = "[])list.data();" + NL + "\t}" + NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_23 = NL;
+ protected final String TEXT_24 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_25 = NL + "\t@Override";
+ protected final String TEXT_26 = NL + "\tpublic ";
+ protected final String TEXT_27 = " ";
+ protected final String TEXT_28 = "_";
+ protected final String TEXT_29 = "()" + NL + "\t{";
+ protected final String TEXT_30 = NL;
+ protected final String TEXT_31 = NL + "\t\t";
+ protected final String TEXT_32 = " ";
+ protected final String TEXT_33 = " = (";
+ protected final String TEXT_34 = ")eVirtualGet(";
+ protected final String TEXT_35 = ");";
+ protected final String TEXT_36 = NL + "\t\tif (";
+ protected final String TEXT_37 = " == null)" + NL + "\t\t{";
+ protected final String TEXT_38 = NL + "\t\t\teVirtualSet(";
+ protected final String TEXT_39 = ", ";
+ protected final String TEXT_40 = " = new ";
+ protected final String TEXT_41 = ");";
+ protected final String TEXT_42 = NL + "\t\t\t";
+ protected final String TEXT_43 = " = new ";
+ protected final String TEXT_44 = ";";
+ protected final String TEXT_45 = NL + "\t\t}" + NL + "\t\treturn ";
+ protected final String TEXT_46 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_47 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated"
+ + NL + "\t */";
+ protected final String TEXT_48 = NL;
+ protected final String TEXT_49 = NL + "\t@Override";
+ protected final String TEXT_50 = NL + "\tpublic ";
+ protected final String TEXT_51 = " basicSet";
+ protected final String TEXT_52 = "(";
+ protected final String TEXT_53 = " new";
+ protected final String TEXT_54 = ", ";
+ protected final String TEXT_55 = " msgs)" + NL + "\t{" + NL + "\t\treturn super.basicSet";
+ protected final String TEXT_56 = "(new";
+ protected final String TEXT_57 = ", msgs);" + NL + "\t}" + NL;
+ protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated"
+ + NL + "\t */";
+ protected final String TEXT_59 = NL;
+ protected final String TEXT_60 = NL + "\t@Override";
+ protected final String TEXT_61 = NL + "\tpublic void set";
+ protected final String TEXT_62 = "_";
+ protected final String TEXT_63 = "(";
+ protected final String TEXT_64 = " ";
+ protected final String TEXT_65 = ")" + NL + "\t{" + NL + "\t\tsuper.set";
+ protected final String TEXT_66 = "_";
+ protected final String TEXT_67 = "(";
+ protected final String TEXT_68 = ");" + NL + "\t}" + NL;
+ protected final String TEXT_69 = NL;
+ protected final String TEXT_70 = NL;
+ protected final String TEXT_71 = NL;
+
+ public ClassgenFeatureReifiedoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> classExtendsGenClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> classExtendsAllGenFeaturesList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object classExtendsGenClassParameter : classExtendsGenClassList) {
+ for (Object classExtendsAllGenFeaturesParameter : classExtendsAllGenFeaturesList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.classExtendsGenClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) classExtendsGenClassParameter;
+ this.classExtendsAllGenFeatures = (java.util.List) classExtendsAllGenFeaturesParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(TEXT_71);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("classExtendsGenClass", this.classExtendsGenClass);
+ parameterValues.put("classExtendsAllGenFeatures", this.classExtendsAllGenFeatures);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass classExtendsGenClass = null;
+
+ public void set_classExtendsGenClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.classExtendsGenClass = object;
+ }
+
+ protected java.util.List classExtendsAllGenFeatures = null;
+
+ public void set_classExtendsAllGenFeatures(java.util.List object) {
+ this.classExtendsAllGenFeatures = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("classExtendsGenClass", this.classExtendsGenClass);
+ parameters.put("classExtendsAllGenFeatures", this.classExtendsAllGenFeatures);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ String arrayElementType = genFeature.getArrayItemType(genClass);
+ stringBuffer.append(TEXT_2);
+ if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {
+ stringBuffer.append(TEXT_3);
+ }
+ if (classExtendsAllGenFeatures.contains(genFeature)) {
+ stringBuffer.append(TEXT_4);
+ }
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_7);
+ if (genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_12);
+ } else {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_21);
+ }
+ if (genFeature.isGet() && genFeature.isListType()) {
+ stringBuffer.append(TEXT_22);
+ if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_23);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUFGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ if (genFeature.isListType() && genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_24);
+ }
+ if (classExtendsAllGenFeatures.contains(genFeature)) {
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genFeature.getGetAccessor());
+ if (genClass.hasCollidingGetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_28);
+ }
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(TEXT_30);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lSFDGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_37);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genClass.getListConstructor(genFeature));
+ stringBuffer.append(TEXT_41);
+ } else {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genClass.getListConstructor(genFeature));
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : "");
+ stringBuffer.append(TEXT_46);
+ }
+ if (!genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {
+ stringBuffer.append(TEXT_47);
+ if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_48);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mnhwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ if (classExtendsAllGenFeatures.contains(genFeature)) {
+ stringBuffer.append(TEXT_49);
+ }
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getImportedInternalType(genClass));
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_57);
+ }
+ if (genFeature.isSet() && !(!genModel.isReflectiveDelegation() && genFeature.isBasicSet())) {
+ stringBuffer.append(TEXT_58);
+ if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_59);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nqqoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ {
+ GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);
+ if (classExtendsAllGenFeatures.contains(genFeature)) {
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingSetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_62);
+ }
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName()
+ : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingSetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_66);
+ }
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName()
+ : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(TEXT_68);
+ }
+ }
+ stringBuffer.append(TEXT_69);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureinsert.java
new file mode 100644
index 0000000..8af156b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgenFeatureinsert {
+ protected static String nl;
+
+ public static synchronized ClassgenFeatureinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgenFeatureinsert result = new ClassgenFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassgenFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureoverride.java
new file mode 100644
index 0000000..ef9ec66
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureoverride.java
@@ -0,0 +1,750 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClassgenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgenFeatureoverride result = new ClassgenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t";
+ protected final String TEXT_4 = "[] ";
+ protected final String TEXT_5 = "();" + NL;
+ protected final String TEXT_6 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_7 = NL + "\tpublic ";
+ protected final String TEXT_8 = "[] ";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL + "\t\t";
+ protected final String TEXT_11 = " list = (";
+ protected final String TEXT_12 = ")";
+ protected final String TEXT_13 = "();" + NL + "\t\tif (list.isEmpty()) return ";
+ protected final String TEXT_14 = "_EEMPTY_ARRAY;";
+ protected final String TEXT_15 = NL + "\t\tif (";
+ protected final String TEXT_16 = " == null || ";
+ protected final String TEXT_17 = ".isEmpty()) return ";
+ protected final String TEXT_18 = "_EEMPTY_ARRAY;" + NL + "\t\t";
+ protected final String TEXT_19 = " list = (";
+ protected final String TEXT_20 = ")";
+ protected final String TEXT_21 = ";";
+ protected final String TEXT_22 = NL + "\t\tlist.shrink();" + NL + "\t\treturn (";
+ protected final String TEXT_23 = "[])list.data();" + NL + "\t}" + NL;
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_25 = NL + "\t";
+ protected final String TEXT_26 = " get";
+ protected final String TEXT_27 = "(int index);" + NL;
+ protected final String TEXT_28 = NL + "\tpublic ";
+ protected final String TEXT_29 = " get";
+ protected final String TEXT_30 = "(int index)" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_31 = "(";
+ protected final String TEXT_32 = ")";
+ protected final String TEXT_33 = "().get(index);" + NL + "\t}" + NL;
+ protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_35 = NL + "\tint get";
+ protected final String TEXT_36 = "Length();" + NL;
+ protected final String TEXT_37 = NL + "\tpublic int get";
+ protected final String TEXT_38 = "Length()" + NL + "\t{";
+ protected final String TEXT_39 = NL + "\t\treturn ";
+ protected final String TEXT_40 = "().size();";
+ protected final String TEXT_41 = NL + "\t\treturn ";
+ protected final String TEXT_42 = " == null ? 0 : ";
+ protected final String TEXT_43 = ".size();";
+ protected final String TEXT_44 = NL + "\t}" + NL;
+ protected final String TEXT_45 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_46 = NL + "\tvoid set";
+ protected final String TEXT_47 = "(";
+ protected final String TEXT_48 = "[] new";
+ protected final String TEXT_49 = ");" + NL;
+ protected final String TEXT_50 = NL + "\tpublic void set";
+ protected final String TEXT_51 = "(";
+ protected final String TEXT_52 = "[] new";
+ protected final String TEXT_53 = ")" + NL + "\t{" + NL + "\t\t((";
+ protected final String TEXT_54 = ")";
+ protected final String TEXT_55 = "()).setData(new";
+ protected final String TEXT_56 = ".length, new";
+ protected final String TEXT_57 = ");" + NL + "\t}" + NL;
+ protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_59 = NL + "\tvoid set";
+ protected final String TEXT_60 = "(int index, ";
+ protected final String TEXT_61 = " element);" + NL;
+ protected final String TEXT_62 = NL + "\tpublic void set";
+ protected final String TEXT_63 = "(int index, ";
+ protected final String TEXT_64 = " element)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_65 = "().set(index, element);" + NL + "\t}" + NL;
+ protected final String TEXT_66 = NL;
+ protected final String TEXT_67 = NL;
+ protected final String TEXT_68 = NL;
+ protected final String TEXT_69 = NL;
+ protected final String TEXT_70 = NL;
+ protected final String TEXT_71 = NL;
+ protected final String TEXT_72 = NL;
+ protected final String TEXT_73 = NL;
+ protected final String TEXT_74 = NL;
+ protected final String TEXT_75 = NL;
+ protected final String TEXT_76 = NL;
+
+ public ClassgenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(TEXT_76);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ String arrayElementType = genFeature.getArrayItemType(genClass);
+ stringBuffer.append(TEXT_2);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_5);
+ } else {
+ if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_9);
+ if (genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_14);
+ } else {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_27);
+ } else {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_30);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_36);
+ } else {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_38);
+ if (genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_40);
+ } else {
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_49);
+ } else {
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_57);
+ }
+ stringBuffer.append(TEXT_58);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_61);
+ } else {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_65);
+ }
+ }
+ if (genFeature.isGet() && (isImplementation || !genFeature.isSuppressedGetVisibility())) {
+ stringBuffer.append(TEXT_66);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kh3EGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/getGenFeature.override.javajetinc
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicGet()) {
+ stringBuffer.append(TEXT_67);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lk_8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicGetGenFeature.override.javajetinc
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {
+ stringBuffer.append(TEXT_68);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mUm0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicSetGenFeature.override.javajetinc
+ }
+ if (genFeature.isSet() && (isImplementation || !genFeature.isSuppressedSetVisibility())) {
+ stringBuffer.append(TEXT_69);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nN-sGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/setGenFeature.override.javajetinc
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicUnset()) {
+ stringBuffer.append(TEXT_70);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qfVIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class.basicUnsetGenFeature.override.javajetinc
+ }
+ if (genFeature.isUnset() && (isImplementation || !genFeature.isSuppressedUnsetVisibility())) {
+ stringBuffer.append(TEXT_71);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0q8BEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/unsetGenFeature.override.javajetinc
+ }
+ if (genFeature.isIsSet() && (isImplementation || !genFeature.isSuppressedIsSetVisibility())) {
+ stringBuffer.append(TEXT_72);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sIT4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/isSetGenFeature.override.javajetinc
+ }
+ stringBuffer.append(TEXT_73);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0s36wGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_74);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationannotationsinsert.java
new file mode 100644
index 0000000..4f1c1ad
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgenOperationannotationsinsert {
+ protected static String nl;
+
+ public static synchronized ClassgenOperationannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgenOperationannotationsinsert result = new ClassgenOperationannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassgenOperationannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationinsert.java
new file mode 100644
index 0000000..4a7cf6f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgenOperationinsert {
+ protected static String nl;
+
+ public static synchronized ClassgenOperationinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgenOperationinsert result = new ClassgenOperationinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassgenOperationinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocinsert.java
new file mode 100644
index 0000000..cbe5c2b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgenOperationjavadocinsert {
+ protected static String nl;
+
+ public static synchronized ClassgenOperationjavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgenOperationjavadocinsert result = new ClassgenOperationjavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassgenOperationjavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocoverride.java
new file mode 100644
index 0000000..54ef1bf
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocoverride.java
@@ -0,0 +1,365 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgenOperationjavadocoverride {
+ protected static String nl;
+
+ public static synchronized ClassgenOperationjavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgenOperationjavadocoverride result = new ClassgenOperationjavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_4 = NL + "\t * <!-- begin-model-doc -->";
+ protected final String TEXT_5 = NL + "\t * ";
+ protected final String TEXT_6 = NL + "\t * @param ";
+ protected final String TEXT_7 = NL + "\t * ";
+ protected final String TEXT_8 = NL + "\t * @param ";
+ protected final String TEXT_9 = " ";
+ protected final String TEXT_10 = NL + "\t * <!-- end-model-doc -->";
+ protected final String TEXT_11 = NL + "\t * @model ";
+ protected final String TEXT_12 = NL + "\t * ";
+ protected final String TEXT_13 = NL + "\t * @model";
+ protected final String TEXT_14 = NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_15 = NL;
+ protected final String TEXT_16 = NL;
+
+ public ClassgenOperationjavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(TEXT_16);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0toIsGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ if (genOperation.hasDocumentation() || genOperation.hasParameterDocumentation()) {
+ stringBuffer.append(TEXT_4);
+ if (genOperation.hasDocumentation()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genOperation.getDocumentation(genModel.getIndentation(stringBuffer)));
+ }
+ for (GenParameter genParameter : genOperation.getGenParameters()) {
+ if (genParameter.hasDocumentation()) {
+ String documentation = genParameter.getDocumentation("");
+ if (documentation.contains("\n") || documentation.contains("\r")) {
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genParameter.getDocumentation(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genParameter.getDocumentation(genModel.getIndentation(stringBuffer)));
+ }
+ }
+ }
+ stringBuffer.append(TEXT_10);
+ }
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_13);
+ }
+ }
+ stringBuffer.append(TEXT_14);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationoverride.java
new file mode 100644
index 0000000..9e4d55f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationoverride.java
@@ -0,0 +1,699 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgenOperationoverride {
+ protected static String nl;
+
+ public static synchronized ClassgenOperationoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgenOperationoverride result = new ClassgenOperationoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * The cached validation expression for the '{@link #";
+ protected final String TEXT_3 = "(";
+ protected final String TEXT_4 = ") <em>";
+ protected final String TEXT_5 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_6 = "(";
+ protected final String TEXT_7 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final ";
+ protected final String TEXT_8 = " ";
+ protected final String TEXT_9 = "__EEXPRESSION = \"";
+ protected final String TEXT_10 = "\";";
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached invocation delegate for the '{@link #";
+ protected final String TEXT_13 = "(";
+ protected final String TEXT_14 = ") <em>";
+ protected final String TEXT_15 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_16 = "(";
+ protected final String TEXT_17 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final ";
+ protected final String TEXT_18 = ".Internal.InvocationDelegate ";
+ protected final String TEXT_19 = "__EINVOCATION_DELEGATE = ((";
+ protected final String TEXT_20 = ".Internal)";
+ protected final String TEXT_21 = ").getInvocationDelegate();" + NL;
+ protected final String TEXT_22 = NL;
+ protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_24 = NL;
+ protected final String TEXT_25 = NL + "\t";
+ protected final String TEXT_26 = " ";
+ protected final String TEXT_27 = "(";
+ protected final String TEXT_28 = ")";
+ protected final String TEXT_29 = ";" + NL;
+ protected final String TEXT_30 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_31 = NL + "\tpublic ";
+ protected final String TEXT_32 = " ";
+ protected final String TEXT_33 = "(";
+ protected final String TEXT_34 = ")";
+ protected final String TEXT_35 = NL + "\t{";
+ protected final String TEXT_36 = NL + "\t\t";
+ protected final String TEXT_37 = NL + "\t\treturn" + NL + "\t\t\t";
+ protected final String TEXT_38 = ".validate" + NL + "\t\t\t\t(";
+ protected final String TEXT_39 = "," + NL + "\t\t\t\t this," + NL + "\t\t\t\t ";
+ protected final String TEXT_40 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_41 = "," + NL + "\t\t\t\t \"";
+ protected final String TEXT_42 = "\",";
+ protected final String TEXT_43 = NL + "\t\t\t\t ";
+ protected final String TEXT_44 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_45 = "__EEXPRESSION," + NL + "\t\t\t\t ";
+ protected final String TEXT_46 = ".ERROR," + NL + "\t\t\t\t ";
+ protected final String TEXT_47 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t ";
+ protected final String TEXT_48 = ".";
+ protected final String TEXT_49 = ");";
+ protected final String TEXT_50 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// -> specify the condition that violates the invariant" + NL
+ + "\t\t// -> verify the details of the diagnostic, including severity and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_51 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_52 = ".add" + NL + "\t\t\t\t\t(new ";
+ protected final String TEXT_53 = NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_54 = ".ERROR," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_55 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_56 = ".";
+ protected final String TEXT_57 = "," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_58 = ".INSTANCE.getString(\"_UI_GenericInvariant_diagnostic\", new Object[] { \"";
+ protected final String TEXT_59 = "\", ";
+ protected final String TEXT_60 = ".getObjectLabel(this, ";
+ protected final String TEXT_61 = ") }),";
+ protected final String TEXT_62 = NL + "\t\t\t\t\t\t new Object [] { this }));" + NL + "\t\t\t}" + NL
+ + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
+ protected final String TEXT_63 = NL + "\t\ttry" + NL + "\t\t{";
+ protected final String TEXT_64 = NL + "\t\t\t";
+ protected final String TEXT_65 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, ";
+ protected final String TEXT_66 = "new ";
+ protected final String TEXT_67 = ".UnmodifiableEList<Object>(";
+ protected final String TEXT_68 = ", ";
+ protected final String TEXT_69 = ")";
+ protected final String TEXT_70 = "null";
+ protected final String TEXT_71 = ");";
+ protected final String TEXT_72 = NL + "\t\t\treturn ";
+ protected final String TEXT_73 = "(";
+ protected final String TEXT_74 = "(";
+ protected final String TEXT_75 = ")";
+ protected final String TEXT_76 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, ";
+ protected final String TEXT_77 = "new ";
+ protected final String TEXT_78 = ".UnmodifiableEList<Object>(";
+ protected final String TEXT_79 = ", ";
+ protected final String TEXT_80 = ")";
+ protected final String TEXT_81 = "null";
+ protected final String TEXT_82 = ")";
+ protected final String TEXT_83 = ").";
+ protected final String TEXT_84 = "()";
+ protected final String TEXT_85 = ";";
+ protected final String TEXT_86 = NL + "\t\t}" + NL + "\t\tcatch (";
+ protected final String TEXT_87 = " ite)" + NL + "\t\t{" + NL + "\t\t\tthrow new ";
+ protected final String TEXT_88 = "(ite);" + NL + "\t\t}";
+ protected final String TEXT_89 = NL;
+ protected final String TEXT_90 = NL + "\t}" + NL;
+ protected final String TEXT_91 = NL;
+ protected final String TEXT_92 = NL;
+ protected final String TEXT_93 = NL;
+ protected final String TEXT_94 = NL;
+
+ public ClassgenOperationoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(TEXT_94);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isImplementation) {
+ if (genOperation.isInvariant() && genOperation.hasInvariantExpression()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genOperation.getInvariantExpression("\t\t"));
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_11);
+ } else if (genOperation.hasInvocationDelegate()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genOperation.getQualifiedOperationAccessor());
+ stringBuffer.append(TEXT_21);
+ }
+ }
+ if (isInterface) {
+ stringBuffer.append(TEXT_22);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0tUmsGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/genOperation.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_23);
+ if (isJDK50) { //Class/genOperation.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_24);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.annotations.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0txSoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genOperation.getTypeParameters(genClass));
+ stringBuffer.append(genOperation.getImportedType(genClass));
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genOperation.getParameters(genClass));
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genOperation.getThrows(genClass));
+ stringBuffer.append(TEXT_29);
+ } else {
+ if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant()
+ && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genOperation.getTypeParameters(genClass));
+ stringBuffer.append(genOperation.getImportedType(genClass));
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genOperation.getParameters(isImplementation, genClass));
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genOperation.getThrows(genClass));
+ stringBuffer.append(TEXT_35);
+ if (genOperation.hasBody()) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genOperation.getBody(genModel.getIndentation(stringBuffer)));
+ } else if (genOperation.isInvariant()) {
+ GenClass opClass = genOperation.getGenClass();
+ String diagnostics = genOperation.getGenParameters().get(0).getName();
+ String context = genOperation.getGenParameters().get(1).getName();
+ if (genOperation.hasInvariantExpression()) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genOperation.getValidationDelegate());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genOperation.getQualifiedOperationAccessor());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(opClass.getOperationID(genOperation));
+ stringBuffer.append(TEXT_49);
+ } else {
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(opClass.getOperationID(genOperation));
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator"));
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_62);
+ }
+ } else if (genOperation.hasInvocationDelegate()) {
+ int size = genOperation.getGenParameters().size();
+ stringBuffer.append(TEXT_63);
+ if (genOperation.isVoid()) {
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
+ stringBuffer.append(TEXT_65);
+ if (size > 0) {
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(size);
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genOperation.getParametersArray(genClass));
+ stringBuffer.append(TEXT_69);
+ } else {
+ stringBuffer.append(TEXT_70);
+ }
+ stringBuffer.append(TEXT_71);
+ } else {
+ stringBuffer.append(TEXT_72);
+ if (!isJDK50 && genOperation.isPrimitiveType()) {
+ stringBuffer.append(TEXT_73);
+ }
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genOperation.getObjectType(genClass));
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
+ stringBuffer.append(TEXT_76);
+ if (size > 0) {
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(size);
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genOperation.getParametersArray(genClass));
+ stringBuffer.append(TEXT_80);
+ } else {
+ stringBuffer.append(TEXT_81);
+ }
+ stringBuffer.append(TEXT_82);
+ if (!isJDK50 && genOperation.isPrimitiveType()) {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genOperation.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ }
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException"));
+ stringBuffer.append(TEXT_88);
+ } else {
+ stringBuffer.append(TEXT_89);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.implementedGenOperation.TODO.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0t7DoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/implementedGenOperation.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_90);
+ }
+ stringBuffer.append(TEXT_91);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uENkGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_92);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..24d0d17
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureTODOoverride.java
@@ -0,0 +1,305 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized ClassgetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgetGenFeatureTODOoverride result = new ClassgetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT";
+ protected final String TEXT_4 = NL
+ + "\t\t// The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting"
+ + NL + "\t\t// so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.";
+ protected final String TEXT_5 = "EcoreEMap";
+ protected final String TEXT_6 = "BasicFeatureMap";
+ protected final String TEXT_7 = "EcoreEList";
+ protected final String TEXT_8 = " should be used.";
+ protected final String TEXT_9 = NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL;
+
+ public ClassgetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(TEXT_11);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ if (genFeature.isListType()) {
+ stringBuffer.append(TEXT_4);
+ if (genFeature.isMapType()) {
+ stringBuffer.append(TEXT_5);
+ } else if (genFeature.isFeatureMapType()) {
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..102ebd3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized ClassgetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgetGenFeatureannotationsinsert result = new ClassgetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassgetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocinsert.java
new file mode 100644
index 0000000..2d2973b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgetGenFeaturejavadocinsert {
+ protected static String nl;
+
+ public static synchronized ClassgetGenFeaturejavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgetGenFeaturejavadocinsert result = new ClassgetGenFeaturejavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassgetGenFeaturejavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocoverride.java
new file mode 100644
index 0000000..1804fda
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocoverride.java
@@ -0,0 +1,510 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgetGenFeaturejavadocoverride {
+ protected static String nl;
+
+ public static synchronized ClassgetGenFeaturejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgetGenFeaturejavadocoverride result = new ClassgetGenFeaturejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * Returns the value of the '<em><b>";
+ protected final String TEXT_2 = "</b></em>' ";
+ protected final String TEXT_3 = ".";
+ protected final String TEXT_4 = NL + "\t * The key is of type ";
+ protected final String TEXT_5 = "list of {@link ";
+ protected final String TEXT_6 = "}";
+ protected final String TEXT_7 = "{@link ";
+ protected final String TEXT_8 = "}";
+ protected final String TEXT_9 = "," + NL + "\t * and the value is of type ";
+ protected final String TEXT_10 = "list of {@link ";
+ protected final String TEXT_11 = "}";
+ protected final String TEXT_12 = "{@link ";
+ protected final String TEXT_13 = "}";
+ protected final String TEXT_14 = ",";
+ protected final String TEXT_15 = NL + "\t * The list contents are of type {@link ";
+ protected final String TEXT_16 = "}";
+ protected final String TEXT_17 = ".";
+ protected final String TEXT_18 = NL + "\t * The default value is <code>";
+ protected final String TEXT_19 = "</code>.";
+ protected final String TEXT_20 = NL + "\t * The literals are from the enumeration {@link ";
+ protected final String TEXT_21 = "}.";
+ protected final String TEXT_22 = NL + "\t * It is bidirectional and its opposite is '{@link ";
+ protected final String TEXT_23 = "#";
+ protected final String TEXT_24 = " <em>";
+ protected final String TEXT_25 = "</em>}'.";
+ protected final String TEXT_26 = NL;
+ protected final String TEXT_27 = NL + "\t * <!-- begin-user-doc -->";
+ protected final String TEXT_28 = NL + "\t * <p>" + NL + "\t * If the meaning of the '<em>";
+ protected final String TEXT_29 = "</em>' ";
+ protected final String TEXT_30 = " isn't clear," + NL + "\t * there really should be more of a description here..."
+ + NL + "\t * </p>";
+ protected final String TEXT_31 = NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_32 = NL + "\t * <!-- begin-model-doc -->" + NL + "\t * ";
+ protected final String TEXT_33 = NL + "\t * <!-- end-model-doc -->";
+ protected final String TEXT_34 = NL + "\t * @return the value of the '<em>";
+ protected final String TEXT_35 = "</em>' ";
+ protected final String TEXT_36 = ".";
+ protected final String TEXT_37 = NL + "\t * @see ";
+ protected final String TEXT_38 = NL + "\t * @see #isSet";
+ protected final String TEXT_39 = "()";
+ protected final String TEXT_40 = NL + "\t * @see #unset";
+ protected final String TEXT_41 = "()";
+ protected final String TEXT_42 = NL + "\t * @see #set";
+ protected final String TEXT_43 = "(";
+ protected final String TEXT_44 = ")";
+ protected final String TEXT_45 = NL + "\t * @see ";
+ protected final String TEXT_46 = "#get";
+ protected final String TEXT_47 = "()";
+ protected final String TEXT_48 = NL + "\t * @see ";
+ protected final String TEXT_49 = "#";
+ protected final String TEXT_50 = NL + "\t * @model ";
+ protected final String TEXT_51 = NL + "\t * ";
+ protected final String TEXT_52 = NL + "\t * @model";
+ protected final String TEXT_53 = NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_54 = NL;
+ protected final String TEXT_55 = NL;
+
+ public ClassgetGenFeaturejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(TEXT_55);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ if (genFeature.isListType() && genFeature.getEcoreFeature().getEGenericType().getETypeParameter() == null) {
+ if (genFeature.isMapType()) {
+ GenFeature keyFeature = genFeature.getMapEntryTypeGenClass().getMapEntryKeyFeature();
+ GenFeature valueFeature = genFeature.getMapEntryTypeGenClass().getMapEntryValueFeature();
+ stringBuffer.append(TEXT_4);
+ if (keyFeature.isListType()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(keyFeature.getQualifiedListItemType(genClass));
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(keyFeature.getType(genClass));
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (valueFeature.isListType()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(valueFeature.getQualifiedListItemType(genClass));
+ stringBuffer.append(TEXT_11);
+ } else {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(valueFeature.getType(genClass));
+ stringBuffer.append(TEXT_13);
+ }
+ stringBuffer.append(TEXT_14);
+ } else if (!genFeature.isWrappedFeatureMapType()
+ && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature
+ .getQualifiedListItemType(genClass)))) {
+ String typeName = genFeature.getQualifiedListItemType(genClass);
+ String head = typeName;
+ String tail = "";
+ int index = typeName.indexOf('<');
+ if (index == -1) {
+ index = typeName.indexOf('[');
+ }
+ if (index != -1) {
+ head = typeName.substring(0, index);
+ tail = typeName.substring(index).replaceAll("<", "<");
+ }
+
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(head);
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(tail);
+ stringBuffer.append(TEXT_17);
+ }
+ } else if (genFeature.isSetDefaultValue()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getDefaultValue());
+ stringBuffer.append(TEXT_19);
+ }
+ if (genFeature.getTypeGenEnum() != null) {
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getTypeGenEnum().getQualifiedName());
+ stringBuffer.append(TEXT_21);
+ }
+ if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) {
+ GenFeature reverseGenFeature = genFeature.getReverse();
+ if (!reverseGenFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(reverseGenFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(reverseGenFeature.getGetAccessor());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(reverseGenFeature.getFormattedName());
+ stringBuffer.append(TEXT_25);
+ }
+ }
+ stringBuffer.append(TEXT_26);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_27);
+ if (!genFeature.hasDocumentation()) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ if (genFeature.hasDocumentation()) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getDocumentation(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_36);
+ if (genFeature.getTypeGenEnum() != null) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getTypeGenEnum().getQualifiedName());
+ }
+ if (genFeature.isUnsettable()) {
+ if (!genFeature.isSuppressedIsSetVisibility()) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_39);
+ }
+ if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_41);
+ }
+ }
+ if (genFeature.isChangeable() && !genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genFeature.getRawImportedBoundType());
+ stringBuffer.append(TEXT_44);
+ }
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_47);
+ }
+ if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) {
+ GenFeature reverseGenFeature = genFeature.getReverse();
+ if (!reverseGenFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(reverseGenFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(reverseGenFeature.getGetAccessor());
+ }
+ }
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_52);
+ }
+ }
+ stringBuffer.append(TEXT_53);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureoverride.java
new file mode 100644
index 0000000..915d7a6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureoverride.java
@@ -0,0 +1,1021 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClassgetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgetGenFeatureoverride result = new ClassgetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "\t";
+ protected final String TEXT_6 = " ";
+ protected final String TEXT_7 = "();" + NL;
+ protected final String TEXT_8 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_9 = NL + "\tpublic ";
+ protected final String TEXT_10 = " ";
+ protected final String TEXT_11 = "_";
+ protected final String TEXT_12 = "()" + NL + "\t{";
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL + "\t\treturn ";
+ protected final String TEXT_15 = "(";
+ protected final String TEXT_16 = "(";
+ protected final String TEXT_17 = ")eDynamicGet(";
+ protected final String TEXT_18 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_19 = ", ";
+ protected final String TEXT_20 = ", true, ";
+ protected final String TEXT_21 = ")";
+ protected final String TEXT_22 = ").";
+ protected final String TEXT_23 = "()";
+ protected final String TEXT_24 = ";";
+ protected final String TEXT_25 = NL + "\t\t";
+ protected final String TEXT_26 = NL + "\t\treturn ";
+ protected final String TEXT_27 = "(";
+ protected final String TEXT_28 = "(";
+ protected final String TEXT_29 = ")eGet(";
+ protected final String TEXT_30 = ", true)";
+ protected final String TEXT_31 = ").";
+ protected final String TEXT_32 = "()";
+ protected final String TEXT_33 = ";";
+ protected final String TEXT_34 = NL + "\t\treturn ";
+ protected final String TEXT_35 = "(";
+ protected final String TEXT_36 = "(";
+ protected final String TEXT_37 = ")";
+ protected final String TEXT_38 = "__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false)";
+ protected final String TEXT_39 = ").";
+ protected final String TEXT_40 = "()";
+ protected final String TEXT_41 = ";";
+ protected final String TEXT_42 = NL + "\t\t";
+ protected final String TEXT_43 = " ";
+ protected final String TEXT_44 = " = (";
+ protected final String TEXT_45 = ")eVirtualGet(";
+ protected final String TEXT_46 = ");";
+ protected final String TEXT_47 = NL + "\t\tif (";
+ protected final String TEXT_48 = " == null)" + NL + "\t\t{";
+ protected final String TEXT_49 = NL + "\t\t\teVirtualSet(";
+ protected final String TEXT_50 = ", ";
+ protected final String TEXT_51 = " = new ";
+ protected final String TEXT_52 = ");";
+ protected final String TEXT_53 = NL + "\t\t\t";
+ protected final String TEXT_54 = " = new ";
+ protected final String TEXT_55 = ";";
+ protected final String TEXT_56 = NL + "\t\t}" + NL + "\t\treturn ";
+ protected final String TEXT_57 = ";";
+ protected final String TEXT_58 = NL + "\t\tif (eContainerFeatureID() != ";
+ protected final String TEXT_59 = ") return null;" + NL + "\t\treturn (";
+ protected final String TEXT_60 = ")";
+ protected final String TEXT_61 = "eContainer";
+ protected final String TEXT_62 = "eInternalContainer";
+ protected final String TEXT_63 = "();";
+ protected final String TEXT_64 = NL + "\t\t";
+ protected final String TEXT_65 = " ";
+ protected final String TEXT_66 = " = (";
+ protected final String TEXT_67 = ")eVirtualGet(";
+ protected final String TEXT_68 = ", ";
+ protected final String TEXT_69 = ");";
+ protected final String TEXT_70 = NL + "\t\tif (";
+ protected final String TEXT_71 = " != null && ";
+ protected final String TEXT_72 = ".eIsProxy())" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_73 = " old";
+ protected final String TEXT_74 = " = (";
+ protected final String TEXT_75 = ")";
+ protected final String TEXT_76 = ";" + NL + "\t\t\t";
+ protected final String TEXT_77 = " = ";
+ protected final String TEXT_78 = "eResolveProxy(old";
+ protected final String TEXT_79 = ");" + NL + "\t\t\tif (";
+ protected final String TEXT_80 = " != old";
+ protected final String TEXT_81 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_82 = NL + "\t\t\t\t";
+ protected final String TEXT_83 = " new";
+ protected final String TEXT_84 = " = (";
+ protected final String TEXT_85 = ")";
+ protected final String TEXT_86 = ";";
+ protected final String TEXT_87 = NL + "\t\t\t\t";
+ protected final String TEXT_88 = " msgs = old";
+ protected final String TEXT_89 = ".eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_90 = ", null, null);";
+ protected final String TEXT_91 = NL + "\t\t\t\t";
+ protected final String TEXT_92 = " msgs = old";
+ protected final String TEXT_93 = ".eInverseRemove(this, ";
+ protected final String TEXT_94 = ", ";
+ protected final String TEXT_95 = ".class, null);";
+ protected final String TEXT_96 = NL + "\t\t\t\tif (new";
+ protected final String TEXT_97 = ".eInternalContainer() == null)" + NL + "\t\t\t\t{";
+ protected final String TEXT_98 = NL + "\t\t\t\t\tmsgs = new";
+ protected final String TEXT_99 = ".eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_100 = ", null, msgs);";
+ protected final String TEXT_101 = NL + "\t\t\t\t\tmsgs = new";
+ protected final String TEXT_102 = ".eInverseAdd(this, ";
+ protected final String TEXT_103 = ", ";
+ protected final String TEXT_104 = ".class, msgs);";
+ protected final String TEXT_105 = NL + "\t\t\t\t}" + NL + "\t\t\t\tif (msgs != null) msgs.dispatch();";
+ protected final String TEXT_106 = NL + "\t\t\t\teVirtualSet(";
+ protected final String TEXT_107 = ", ";
+ protected final String TEXT_108 = ");";
+ protected final String TEXT_109 = NL + "\t\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\t\teNotify(new ";
+ protected final String TEXT_110 = "(this, ";
+ protected final String TEXT_111 = ".RESOLVE, ";
+ protected final String TEXT_112 = ", old";
+ protected final String TEXT_113 = ", ";
+ protected final String TEXT_114 = "));";
+ protected final String TEXT_115 = NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_116 = NL + "\t\treturn (";
+ protected final String TEXT_117 = ")eVirtualGet(";
+ protected final String TEXT_118 = ", ";
+ protected final String TEXT_119 = ");";
+ protected final String TEXT_120 = NL + "\t\treturn (";
+ protected final String TEXT_121 = " & ";
+ protected final String TEXT_122 = "_EFLAG) != 0;";
+ protected final String TEXT_123 = NL + "\t\treturn ";
+ protected final String TEXT_124 = "_EFLAG_VALUES[(";
+ protected final String TEXT_125 = " & ";
+ protected final String TEXT_126 = "_EFLAG) >>> ";
+ protected final String TEXT_127 = "_EFLAG_OFFSET];";
+ protected final String TEXT_128 = NL + "\t\treturn ";
+ protected final String TEXT_129 = ";";
+ protected final String TEXT_130 = NL + "\t\t";
+ protected final String TEXT_131 = " ";
+ protected final String TEXT_132 = " = basicGet";
+ protected final String TEXT_133 = "();" + NL + "\t\treturn ";
+ protected final String TEXT_134 = " != null && ";
+ protected final String TEXT_135 = ".eIsProxy() ? ";
+ protected final String TEXT_136 = "eResolveProxy((";
+ protected final String TEXT_137 = ")";
+ protected final String TEXT_138 = ") : ";
+ protected final String TEXT_139 = ";";
+ protected final String TEXT_140 = NL + "\t\treturn new ";
+ protected final String TEXT_141 = "((";
+ protected final String TEXT_142 = ".Internal)((";
+ protected final String TEXT_143 = ".Internal.Wrapper)get";
+ protected final String TEXT_144 = "()).featureMap().";
+ protected final String TEXT_145 = "list(";
+ protected final String TEXT_146 = "));";
+ protected final String TEXT_147 = NL + "\t\treturn (";
+ protected final String TEXT_148 = ")get";
+ protected final String TEXT_149 = "().";
+ protected final String TEXT_150 = "list(";
+ protected final String TEXT_151 = ");";
+ protected final String TEXT_152 = NL + "\t\treturn ((";
+ protected final String TEXT_153 = ".Internal.Wrapper)get";
+ protected final String TEXT_154 = "()).featureMap().list(";
+ protected final String TEXT_155 = ");";
+ protected final String TEXT_156 = NL + "\t\treturn get";
+ protected final String TEXT_157 = "().list(";
+ protected final String TEXT_158 = ");";
+ protected final String TEXT_159 = NL + "\t\treturn ";
+ protected final String TEXT_160 = "(";
+ protected final String TEXT_161 = "(";
+ protected final String TEXT_162 = ")";
+ protected final String TEXT_163 = "((";
+ protected final String TEXT_164 = ".Internal.Wrapper)get";
+ protected final String TEXT_165 = "()).featureMap().get(";
+ protected final String TEXT_166 = ", true)";
+ protected final String TEXT_167 = ").";
+ protected final String TEXT_168 = "()";
+ protected final String TEXT_169 = ";";
+ protected final String TEXT_170 = NL + "\t\treturn ";
+ protected final String TEXT_171 = "(";
+ protected final String TEXT_172 = "(";
+ protected final String TEXT_173 = ")";
+ protected final String TEXT_174 = "get";
+ protected final String TEXT_175 = "().get(";
+ protected final String TEXT_176 = ", true)";
+ protected final String TEXT_177 = ").";
+ protected final String TEXT_178 = "()";
+ protected final String TEXT_179 = ";";
+ protected final String TEXT_180 = NL + "\t\t";
+ protected final String TEXT_181 = NL + "\t\t";
+ protected final String TEXT_182 = NL;
+ protected final String TEXT_183 = NL + "\t}" + NL;
+ protected final String TEXT_184 = NL;
+ protected final String TEXT_185 = NL;
+ protected final String TEXT_186 = NL;
+
+ public ClassgetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(TEXT_186);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kroEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/getGenFeature.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_3);
+ if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUFGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_7);
+ } else {
+ if (genModel.useGenerics()
+ && ((genFeature.isContainer() || genFeature.isResolveProxies())
+ && !genFeature.isListType()
+ && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation())
+ && genFeature.isUncheckedCast(genClass)
+ || genFeature.isListType()
+ && !genFeature.isFeatureMapType()
+ && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel
+ .isDynamicDelegation()) || genFeature.isListDataType()
+ && genFeature.hasDelegateFeature() || genFeature.isListType()
+ && genFeature.hasSettingDelegate())) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getGetAccessor());
+ if (genClass.hasCollidingGetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lSFDGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_14);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_18);
+ }
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(!genFeature.isEffectiveSuppressEMFTypes());
+ stringBuffer.append(TEXT_21);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ } else if (genModel.isReflectiveDelegation()) {
+ if (genFeature.hasGetterBody()) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_26);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_30);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(TEXT_33);
+ }
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_34);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_38);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_40);
+ }
+ stringBuffer.append(TEXT_41);
+ } else if (!genFeature.isVolatile()) {
+ if (genFeature.isListType()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_46);
+ }
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_48);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genClass.getListConstructor(genFeature));
+ stringBuffer.append(TEXT_52);
+ } else {
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genClass.getListConstructor(genFeature));
+ stringBuffer.append(TEXT_55);
+ }
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()"
+ : "");
+ stringBuffer.append(TEXT_57);
+ } else if (genFeature.isContainer()) {
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_60);
+ if (genFeature.isResolveProxies()) {
+ stringBuffer.append(TEXT_61);
+ } else {
+ stringBuffer.append(TEXT_62);
+ }
+ stringBuffer.append(TEXT_63);
+ } else {
+ if (genFeature.isResolveProxies()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ if (genFeature.hasEDefault()) {
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genFeature.getEDefault());
+ }
+ stringBuffer.append(TEXT_69);
+ }
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getSafeNameAsEObject());
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genFeature.getNonEObjectInternalTypeCast(genClass));
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_81);
+ if (genFeature.isEffectiveContains()) {
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_86);
+ if (!genFeature.isBidirectional()) {
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_90);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_95);
+ }
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_97);
+ if (!genFeature.isBidirectional()) {
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_100);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_104);
+ }
+ stringBuffer.append(TEXT_105);
+ } else if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_108);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_114);
+ }
+ stringBuffer.append(TEXT_115);
+ }
+ if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation()
+ && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ if (genFeature.hasEDefault()) {
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genFeature.getEDefault());
+ }
+ stringBuffer.append(TEXT_119);
+ } else if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_122);
+ } else {
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_127);
+ }
+ } else {
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_129);
+ }
+ }
+ } else {//volatile
+ if (genFeature.isResolveProxies() && !genFeature.isListType()) {
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genFeature.getSafeNameAsEObject());
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(genFeature.getNonEObjectInternalTypeCast(genClass));
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_139);
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (genFeature.isFeatureMapType()) {
+ String featureMapEntryTemplateArgument = isJDK50 ? "<"
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_140);
+ stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperClass());
+ stringBuffer.append(TEXT_141);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(featureMapEntryTemplateArgument);
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_146);
+ } else {
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(featureMapEntryTemplateArgument);
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_151);
+ }
+ } else if (genFeature.isListType()) {
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_153);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_155);
+ } else {
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_157);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_158);
+ }
+ } else {
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_159);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_160);
+ }
+ if (genFeature.getTypeGenDataType() == null
+ || !genFeature.getTypeGenDataType().isObjectType()) {
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_162);
+ }
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_164);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_166);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_167);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_168);
+ }
+ stringBuffer.append(TEXT_169);
+ } else {
+ stringBuffer.append(TEXT_170);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_171);
+ }
+ if (genFeature.getTypeGenDataType() == null
+ || !genFeature.getTypeGenDataType().isObjectType()) {
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_173);
+ }
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_176);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_178);
+ }
+ stringBuffer.append(TEXT_179);
+ }
+ }
+ } else if (genClass.getGetAccessorOperation(genFeature) != null) {
+ stringBuffer.append(TEXT_180);
+ stringBuffer.append(genClass.getGetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
+ } else if (genFeature.hasGetterBody()) {
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_182);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lbPAWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/getGenFeature.todo.override.javajetinc
+ }
+ }
+ stringBuffer.append(TEXT_183);
+ }
+ stringBuffer.append(TEXT_184);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturepreinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturepreinsert.java
new file mode 100644
index 0000000..00e8d58
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturepreinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassgetGenFeaturepreinsert {
+ protected static String nl;
+
+ public static synchronized ClassgetGenFeaturepreinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassgetGenFeaturepreinsert result = new ClassgetGenFeaturepreinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassgetGenFeaturepreinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassimplementedGenOperationTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassimplementedGenOperationTODOoverride.java
new file mode 100644
index 0000000..45600bf
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassimplementedGenOperationTODOoverride.java
@@ -0,0 +1,281 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassimplementedGenOperationTODOoverride {
+ protected static String nl;
+
+ public static synchronized ClassimplementedGenOperationTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassimplementedGenOperationTODOoverride result = new ClassimplementedGenOperationTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public ClassimplementedGenOperationTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinsert.java
new file mode 100644
index 0000000..8772ed6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinsert.java
@@ -0,0 +1,263 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Classinsert {
+ protected static String nl;
+
+ public static synchronized Classinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ Classinsert result = new Classinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public Classinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinterfacejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinterfacejavadocoverride.java
new file mode 100644
index 0000000..e24c183
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinterfacejavadocoverride.java
@@ -0,0 +1,339 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Classinterfacejavadocoverride {
+ protected static String nl;
+
+ public static synchronized Classinterfacejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ Classinterfacejavadocoverride result = new Classinterfacejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A representation of the model object '<em><b>";
+ protected final String TEXT_2 = "</b></em>'." + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_3 = NL + " *" + NL + " * <!-- begin-model-doc -->" + NL + " * ";
+ protected final String TEXT_4 = NL + " * <!-- end-model-doc -->";
+ protected final String TEXT_5 = NL + " *";
+ protected final String TEXT_6 = NL + " * <p>" + NL + " * The following features are supported:" + NL + " * <ul>";
+ protected final String TEXT_7 = NL + " * <li>{@link ";
+ protected final String TEXT_8 = "#";
+ protected final String TEXT_9 = " <em>";
+ protected final String TEXT_10 = "</em>}</li>";
+ protected final String TEXT_11 = NL + " * </ul>" + NL + " * </p>";
+ protected final String TEXT_12 = NL + " *";
+ protected final String TEXT_13 = NL + " * @see ";
+ protected final String TEXT_14 = "#get";
+ protected final String TEXT_15 = "()";
+ protected final String TEXT_16 = NL + " * @model ";
+ protected final String TEXT_17 = NL + " * ";
+ protected final String TEXT_18 = NL + " * @model";
+ protected final String TEXT_19 = NL + " * @extends ";
+ protected final String TEXT_20 = NL + " * @generated" + NL + " */" + NL;
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL;
+
+ public Classinterfacejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(TEXT_22);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ if (genClass.hasDocumentation()) {
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genClass.getDocumentation(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(TEXT_4);
+ }
+ stringBuffer.append(TEXT_5);
+ if (!genClass.getGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_6);
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ if (!genFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_10);
+ }
+ }
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genClass.getClassifierAccessorName());
+ stringBuffer.append(TEXT_15);
+ }
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_18);
+ }
+ }
+ if (genClass.needsRootExtendsInterfaceExtendsTag()) {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName(genModel.getRootExtendsInterface()));
+ }
+ stringBuffer.append(TEXT_20);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..9c8465e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureTODOoverride.java
@@ -0,0 +1,287 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassisSetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized ClassisSetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassisSetGenFeatureTODOoverride result = new ClassisSetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return whether the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = " is set" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public ClassisSetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..5616a9a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassisSetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized ClassisSetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassisSetGenFeatureannotationsinsert result = new ClassisSetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassisSetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocinsert.java
new file mode 100644
index 0000000..0b18afc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassisSetGenFeaturejavadocinsert {
+ protected static String nl;
+
+ public static synchronized ClassisSetGenFeaturejavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassisSetGenFeaturejavadocinsert result = new ClassisSetGenFeaturejavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassisSetGenFeaturejavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocoverride.java
new file mode 100644
index 0000000..d431dc0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocoverride.java
@@ -0,0 +1,354 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassisSetGenFeaturejavadocoverride {
+ protected static String nl;
+
+ public static synchronized ClassisSetGenFeaturejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassisSetGenFeaturejavadocoverride result = new ClassisSetGenFeaturejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * Returns whether the value of the '{@link ";
+ protected final String TEXT_2 = "#";
+ protected final String TEXT_3 = " <em>";
+ protected final String TEXT_4 = "</em>}' ";
+ protected final String TEXT_5 = " is set.";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return whether the value of the '<em>";
+ protected final String TEXT_8 = "</em>' ";
+ protected final String TEXT_9 = " is set.";
+ protected final String TEXT_10 = NL + "\t * @see #unset";
+ protected final String TEXT_11 = "()";
+ protected final String TEXT_12 = NL + "\t * @see #";
+ protected final String TEXT_13 = "()";
+ protected final String TEXT_14 = NL + "\t * @see #set";
+ protected final String TEXT_15 = "(";
+ protected final String TEXT_16 = ")";
+ protected final String TEXT_17 = NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_18 = NL;
+ protected final String TEXT_19 = NL;
+
+ public ClassisSetGenFeaturejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(TEXT_19);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sb14GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_9);
+ if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_13);
+ if (!genFeature.isListType() && genFeature.isChangeable() && !genFeature.isSuppressedSetVisibility()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getRawImportedBoundType());
+ stringBuffer.append(TEXT_16);
+ }
+ stringBuffer.append(TEXT_17);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureoverride.java
new file mode 100644
index 0000000..a11112e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureoverride.java
@@ -0,0 +1,522 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassisSetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClassisSetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassisSetGenFeatureoverride result = new ClassisSetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "\tboolean isSet";
+ protected final String TEXT_6 = "();" + NL;
+ protected final String TEXT_7 = NL + "\tpublic boolean isSet";
+ protected final String TEXT_8 = "_";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL + "\t\treturn eDynamicIsSet(";
+ protected final String TEXT_11 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_12 = ", ";
+ protected final String TEXT_13 = ");";
+ protected final String TEXT_14 = NL + "\t\treturn eIsSet(";
+ protected final String TEXT_15 = ");";
+ protected final String TEXT_16 = NL + "\t\treturn ";
+ protected final String TEXT_17 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);";
+ protected final String TEXT_18 = NL + "\t\t";
+ protected final String TEXT_19 = " ";
+ protected final String TEXT_20 = " = (";
+ protected final String TEXT_21 = ")eVirtualGet(";
+ protected final String TEXT_22 = ");";
+ protected final String TEXT_23 = NL + "\t\treturn ";
+ protected final String TEXT_24 = " != null && ((";
+ protected final String TEXT_25 = ".Unsettable";
+ protected final String TEXT_26 = ")";
+ protected final String TEXT_27 = ").isSet();";
+ protected final String TEXT_28 = NL + "\t\treturn eVirtualIsSet(";
+ protected final String TEXT_29 = ");";
+ protected final String TEXT_30 = NL + "\t\treturn (";
+ protected final String TEXT_31 = " & ";
+ protected final String TEXT_32 = "_ESETFLAG) != 0;";
+ protected final String TEXT_33 = NL + "\t\treturn ";
+ protected final String TEXT_34 = "ESet;";
+ protected final String TEXT_35 = NL + "\t\treturn !((";
+ protected final String TEXT_36 = ".Internal)((";
+ protected final String TEXT_37 = ".Internal.Wrapper)get";
+ protected final String TEXT_38 = "()).featureMap()).isEmpty(";
+ protected final String TEXT_39 = ");";
+ protected final String TEXT_40 = NL + "\t\treturn !((";
+ protected final String TEXT_41 = ".Internal)get";
+ protected final String TEXT_42 = "()).isEmpty(";
+ protected final String TEXT_43 = ");";
+ protected final String TEXT_44 = NL + "\t\t";
+ protected final String TEXT_45 = NL;
+ protected final String TEXT_46 = NL + "\t}" + NL;
+ protected final String TEXT_47 = NL;
+ protected final String TEXT_48 = NL;
+ protected final String TEXT_49 = NL;
+
+ public ClassisSetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(TEXT_49);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sSE4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/isSetGenFeature.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_3);
+ if (isJDK50) { //Class/isSetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sk_0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingIsSetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_13);
+ } else if (genModel.isReflectiveDelegation()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_15);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_17);
+ } else if (!genFeature.isVolatile()) {
+ if (genFeature.isListType()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_22);
+ }
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_27);
+ } else {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_29);
+ } else if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_32);
+ } else {
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_34);
+ }
+ }
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_39);
+ } else {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_43);
+ }
+ } else if (genClass.getIsSetAccessorOperation(genFeature) != null) {
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getIsSetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_45);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0suw0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/isSetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_46);
+ }
+ stringBuffer.append(TEXT_47);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassreflectiveDelegationoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassreflectiveDelegationoverride.java
new file mode 100644
index 0000000..9ec6481
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassreflectiveDelegationoverride.java
@@ -0,0 +1,298 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassreflectiveDelegationoverride {
+ protected static String nl;
+
+ public static synchronized ClassreflectiveDelegationoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassreflectiveDelegationoverride result = new ClassreflectiveDelegationoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected static final int ESTATIC_FEATURE_COUNT = ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_5 = NL + "\t@Override";
+ protected final String TEXT_6 = NL + "\tprotected int eStaticFeatureCount()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_7 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_8 = NL;
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL;
+
+ public ClassreflectiveDelegationoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(TEXT_10);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isImplementation
+ && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel
+ .isDynamicDelegation())
+ && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel()
+ .getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass
+ .getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass()
+ .getAllGenFeatures().size());
+ stringBuffer.append(TEXT_3);
+ }
+ stringBuffer.append(TEXT_4);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genClass.getClassExtendsGenClass() == null ? "0"
+ : genClass.hasStaticFeatures() ? "ESTATIC_FEATURE_COUNT" : Integer.toString(genClass
+ .getClassExtendsGenClass().getAllGenFeatures().size()));
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..9d7edcd
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureTODOoverride.java
@@ -0,0 +1,299 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasssetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized ClasssetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasssetGenFeatureTODOoverride result = new ClasssetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to set the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public ClasssetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> setAccessorOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object setAccessorOperationParameter : setAccessorOperationList) {
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.setAccessorOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) setAccessorOperationParameter;
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("setAccessorOperation", this.setAccessorOperation);
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation setAccessorOperation = null;
+
+ public void set_setAccessorOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.setAccessorOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("setAccessorOperation", this.setAccessorOperation);
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..d29f52e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasssetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized ClasssetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasssetGenFeatureannotationsinsert result = new ClasssetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClasssetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocinsert.java
new file mode 100644
index 0000000..3f74e76
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasssetGenFeaturejavadocinsert {
+ protected static String nl;
+
+ public static synchronized ClasssetGenFeaturejavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasssetGenFeaturejavadocinsert result = new ClasssetGenFeaturejavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClasssetGenFeaturejavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocoverride.java
new file mode 100644
index 0000000..a396f3b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocoverride.java
@@ -0,0 +1,356 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasssetGenFeaturejavadocoverride {
+ protected static String nl;
+
+ public static synchronized ClasssetGenFeaturejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasssetGenFeaturejavadocoverride result = new ClasssetGenFeaturejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * Sets the value of the '{@link ";
+ protected final String TEXT_2 = "#";
+ protected final String TEXT_3 = " <em>";
+ protected final String TEXT_4 = "</em>}' ";
+ protected final String TEXT_5 = ".";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param value the new value of the '<em>";
+ protected final String TEXT_8 = "</em>' ";
+ protected final String TEXT_9 = ".";
+ protected final String TEXT_10 = NL + "\t * @see ";
+ protected final String TEXT_11 = NL + "\t * @see #isSet";
+ protected final String TEXT_12 = "()";
+ protected final String TEXT_13 = NL + "\t * @see #unset";
+ protected final String TEXT_14 = "()";
+ protected final String TEXT_15 = NL + "\t * @see #";
+ protected final String TEXT_16 = "()" + NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_17 = NL;
+ protected final String TEXT_18 = NL;
+
+ public ClasssetGenFeaturejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(TEXT_18);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ng5oGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_9);
+ if (genFeature.isEnumType()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getTypeGenEnum().getQualifiedName());
+ }
+ if (genFeature.isUnsettable()) {
+ if (!genFeature.isSuppressedIsSetVisibility()) {
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_12);
+ }
+ if (!genFeature.isSuppressedUnsetVisibility()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_14);
+ }
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_16);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureoverride.java
new file mode 100644
index 0000000..4423c34
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureoverride.java
@@ -0,0 +1,1243 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasssetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClasssetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasssetGenFeatureoverride result = new ClasssetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "\tvoid set";
+ protected final String TEXT_6 = "(";
+ protected final String TEXT_7 = " value);" + NL;
+ protected final String TEXT_8 = NL + "\tpublic void set";
+ protected final String TEXT_9 = "_";
+ protected final String TEXT_10 = "(";
+ protected final String TEXT_11 = " ";
+ protected final String TEXT_12 = ")" + NL + "\t{";
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL + "\t\teDynamicSet(";
+ protected final String TEXT_15 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_16 = ", ";
+ protected final String TEXT_17 = ", ";
+ protected final String TEXT_18 = "new ";
+ protected final String TEXT_19 = "(";
+ protected final String TEXT_20 = "new";
+ protected final String TEXT_21 = ")";
+ protected final String TEXT_22 = ");";
+ protected final String TEXT_23 = NL + "\t\teSet(";
+ protected final String TEXT_24 = ", ";
+ protected final String TEXT_25 = "new ";
+ protected final String TEXT_26 = "(";
+ protected final String TEXT_27 = "new";
+ protected final String TEXT_28 = ")";
+ protected final String TEXT_29 = ");";
+ protected final String TEXT_30 = NL + "\t\t";
+ protected final String TEXT_31 = "__ESETTING_DELEGATE.dynamicSet(this, null, 0, ";
+ protected final String TEXT_32 = "new ";
+ protected final String TEXT_33 = "(";
+ protected final String TEXT_34 = "new";
+ protected final String TEXT_35 = ")";
+ protected final String TEXT_36 = ");";
+ protected final String TEXT_37 = NL + "\t\tif (new";
+ protected final String TEXT_38 = " != eInternalContainer() || (eContainerFeatureID() != ";
+ protected final String TEXT_39 = " && new";
+ protected final String TEXT_40 = " != null))" + NL + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_41 = ".isAncestor(this, ";
+ protected final String TEXT_42 = "new";
+ protected final String TEXT_43 = "))" + NL + "\t\t\t\tthrow new ";
+ protected final String TEXT_44 = "(\"Recursive containment not allowed for \" + toString());";
+ protected final String TEXT_45 = NL + "\t\t\t";
+ protected final String TEXT_46 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL
+ + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new";
+ protected final String TEXT_47 = " != null)" + NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_48 = ")new";
+ protected final String TEXT_49 = ").eInverseAdd(this, ";
+ protected final String TEXT_50 = ", ";
+ protected final String TEXT_51 = ".class, msgs);" + NL + "\t\t\tmsgs = basicSet";
+ protected final String TEXT_52 = "(";
+ protected final String TEXT_53 = "new";
+ protected final String TEXT_54 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}";
+ protected final String TEXT_55 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_56 = "(this, ";
+ protected final String TEXT_57 = ".SET, ";
+ protected final String TEXT_58 = ", new";
+ protected final String TEXT_59 = ", new";
+ protected final String TEXT_60 = "));";
+ protected final String TEXT_61 = NL + "\t\t";
+ protected final String TEXT_62 = " ";
+ protected final String TEXT_63 = " = (";
+ protected final String TEXT_64 = ")eVirtualGet(";
+ protected final String TEXT_65 = ");";
+ protected final String TEXT_66 = NL + "\t\tif (new";
+ protected final String TEXT_67 = " != ";
+ protected final String TEXT_68 = ")" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_69 = " msgs = null;" + NL + "\t\t\tif (";
+ protected final String TEXT_70 = " != null)";
+ protected final String TEXT_71 = NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_72 = ")";
+ protected final String TEXT_73 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_74 = ", null, msgs);" + NL + "\t\t\tif (new";
+ protected final String TEXT_75 = " != null)" + NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_76 = ")new";
+ protected final String TEXT_77 = ").eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_78 = ", null, msgs);";
+ protected final String TEXT_79 = NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_80 = ")";
+ protected final String TEXT_81 = ").eInverseRemove(this, ";
+ protected final String TEXT_82 = ", ";
+ protected final String TEXT_83 = ".class, msgs);" + NL + "\t\t\tif (new";
+ protected final String TEXT_84 = " != null)" + NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_85 = ")new";
+ protected final String TEXT_86 = ").eInverseAdd(this, ";
+ protected final String TEXT_87 = ", ";
+ protected final String TEXT_88 = ".class, msgs);";
+ protected final String TEXT_89 = NL + "\t\t\tmsgs = basicSet";
+ protected final String TEXT_90 = "(";
+ protected final String TEXT_91 = "new";
+ protected final String TEXT_92 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}";
+ protected final String TEXT_93 = NL + "\t\telse" + NL + "\t\t{";
+ protected final String TEXT_94 = NL + "\t\t\tboolean old";
+ protected final String TEXT_95 = "ESet = eVirtualIsSet(";
+ protected final String TEXT_96 = ");";
+ protected final String TEXT_97 = NL + "\t\t\tboolean old";
+ protected final String TEXT_98 = "ESet = (";
+ protected final String TEXT_99 = " & ";
+ protected final String TEXT_100 = "_ESETFLAG) != 0;";
+ protected final String TEXT_101 = NL + "\t\t\t";
+ protected final String TEXT_102 = " |= ";
+ protected final String TEXT_103 = "_ESETFLAG;";
+ protected final String TEXT_104 = NL + "\t\t\tboolean old";
+ protected final String TEXT_105 = "ESet = ";
+ protected final String TEXT_106 = "ESet;";
+ protected final String TEXT_107 = NL + "\t\t\t";
+ protected final String TEXT_108 = "ESet = true;";
+ protected final String TEXT_109 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new ";
+ protected final String TEXT_110 = "(this, ";
+ protected final String TEXT_111 = ".SET, ";
+ protected final String TEXT_112 = ", new";
+ protected final String TEXT_113 = ", new";
+ protected final String TEXT_114 = ", !old";
+ protected final String TEXT_115 = "ESet));";
+ protected final String TEXT_116 = NL + "\t\t}";
+ protected final String TEXT_117 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_118 = "(this, ";
+ protected final String TEXT_119 = ".SET, ";
+ protected final String TEXT_120 = ", new";
+ protected final String TEXT_121 = ", new";
+ protected final String TEXT_122 = "));";
+ protected final String TEXT_123 = NL + "\t\t";
+ protected final String TEXT_124 = " old";
+ protected final String TEXT_125 = " = (";
+ protected final String TEXT_126 = " & ";
+ protected final String TEXT_127 = "_EFLAG) != 0;";
+ protected final String TEXT_128 = NL + "\t\t";
+ protected final String TEXT_129 = " old";
+ protected final String TEXT_130 = " = ";
+ protected final String TEXT_131 = "_EFLAG_VALUES[(";
+ protected final String TEXT_132 = " & ";
+ protected final String TEXT_133 = "_EFLAG) >>> ";
+ protected final String TEXT_134 = "_EFLAG_OFFSET];";
+ protected final String TEXT_135 = NL + "\t\tif (new";
+ protected final String TEXT_136 = ") ";
+ protected final String TEXT_137 = " |= ";
+ protected final String TEXT_138 = "_EFLAG; else ";
+ protected final String TEXT_139 = " &= ~";
+ protected final String TEXT_140 = "_EFLAG;";
+ protected final String TEXT_141 = NL + "\t\tif (new";
+ protected final String TEXT_142 = " == null) new";
+ protected final String TEXT_143 = " = ";
+ protected final String TEXT_144 = "_EDEFAULT;" + NL + "\t\t";
+ protected final String TEXT_145 = " = ";
+ protected final String TEXT_146 = " & ~";
+ protected final String TEXT_147 = "_EFLAG | ";
+ protected final String TEXT_148 = "new";
+ protected final String TEXT_149 = ".ordinal()";
+ protected final String TEXT_150 = ".VALUES.indexOf(new";
+ protected final String TEXT_151 = ")";
+ protected final String TEXT_152 = " << ";
+ protected final String TEXT_153 = "_EFLAG_OFFSET;";
+ protected final String TEXT_154 = NL + "\t\t";
+ protected final String TEXT_155 = " old";
+ protected final String TEXT_156 = " = ";
+ protected final String TEXT_157 = ";";
+ protected final String TEXT_158 = NL + "\t\t";
+ protected final String TEXT_159 = " ";
+ protected final String TEXT_160 = " = new";
+ protected final String TEXT_161 = " == null ? ";
+ protected final String TEXT_162 = " : new";
+ protected final String TEXT_163 = ";";
+ protected final String TEXT_164 = NL + "\t\t";
+ protected final String TEXT_165 = " = new";
+ protected final String TEXT_166 = " == null ? ";
+ protected final String TEXT_167 = " : new";
+ protected final String TEXT_168 = ";";
+ protected final String TEXT_169 = NL + "\t\t";
+ protected final String TEXT_170 = " ";
+ protected final String TEXT_171 = " = ";
+ protected final String TEXT_172 = "new";
+ protected final String TEXT_173 = ";";
+ protected final String TEXT_174 = NL + "\t\t";
+ protected final String TEXT_175 = " = ";
+ protected final String TEXT_176 = "new";
+ protected final String TEXT_177 = ";";
+ protected final String TEXT_178 = NL + "\t\tObject old";
+ protected final String TEXT_179 = " = eVirtualSet(";
+ protected final String TEXT_180 = ", ";
+ protected final String TEXT_181 = ");";
+ protected final String TEXT_182 = NL + "\t\tboolean isSetChange = old";
+ protected final String TEXT_183 = " == EVIRTUAL_NO_VALUE;";
+ protected final String TEXT_184 = NL + "\t\tboolean old";
+ protected final String TEXT_185 = "ESet = (";
+ protected final String TEXT_186 = " & ";
+ protected final String TEXT_187 = "_ESETFLAG) != 0;";
+ protected final String TEXT_188 = NL + "\t\t";
+ protected final String TEXT_189 = " |= ";
+ protected final String TEXT_190 = "_ESETFLAG;";
+ protected final String TEXT_191 = NL + "\t\tboolean old";
+ protected final String TEXT_192 = "ESet = ";
+ protected final String TEXT_193 = "ESet;";
+ protected final String TEXT_194 = NL + "\t\t";
+ protected final String TEXT_195 = "ESet = true;";
+ protected final String TEXT_196 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_197 = "(this, ";
+ protected final String TEXT_198 = ".SET, ";
+ protected final String TEXT_199 = ", ";
+ protected final String TEXT_200 = "isSetChange ? ";
+ protected final String TEXT_201 = " : old";
+ protected final String TEXT_202 = "old";
+ protected final String TEXT_203 = ", ";
+ protected final String TEXT_204 = "new";
+ protected final String TEXT_205 = ", ";
+ protected final String TEXT_206 = "isSetChange";
+ protected final String TEXT_207 = "!old";
+ protected final String TEXT_208 = "ESet";
+ protected final String TEXT_209 = "));";
+ protected final String TEXT_210 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_211 = "(this, ";
+ protected final String TEXT_212 = ".SET, ";
+ protected final String TEXT_213 = ", ";
+ protected final String TEXT_214 = "old";
+ protected final String TEXT_215 = " == EVIRTUAL_NO_VALUE ? ";
+ protected final String TEXT_216 = " : old";
+ protected final String TEXT_217 = "old";
+ protected final String TEXT_218 = ", ";
+ protected final String TEXT_219 = "new";
+ protected final String TEXT_220 = "));";
+ protected final String TEXT_221 = NL;
+ protected final String TEXT_222 = NL + "\t\t((";
+ protected final String TEXT_223 = ".Internal)((";
+ protected final String TEXT_224 = ".Internal.Wrapper)get";
+ protected final String TEXT_225 = "()).featureMap()).set(";
+ protected final String TEXT_226 = ", ";
+ protected final String TEXT_227 = "new ";
+ protected final String TEXT_228 = "(";
+ protected final String TEXT_229 = "new";
+ protected final String TEXT_230 = ")";
+ protected final String TEXT_231 = ");";
+ protected final String TEXT_232 = NL + "\t\t((";
+ protected final String TEXT_233 = ".Internal)get";
+ protected final String TEXT_234 = "()).set(";
+ protected final String TEXT_235 = ", ";
+ protected final String TEXT_236 = "new ";
+ protected final String TEXT_237 = "(";
+ protected final String TEXT_238 = "new";
+ protected final String TEXT_239 = ")";
+ protected final String TEXT_240 = ");";
+ protected final String TEXT_241 = NL + "\t\t";
+ protected final String TEXT_242 = NL;
+ protected final String TEXT_243 = NL + "\t}" + NL;
+ protected final String TEXT_244 = NL;
+ protected final String TEXT_245 = NL;
+ protected final String TEXT_246 = NL;
+
+ public ClasssetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_245);
+ stringBuffer.append(TEXT_246);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nXIoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/setGenFeature.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_3);
+ if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nqqoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_7);
+ } else {
+ GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingSetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation
+ .getGenParameters().get(0).getName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.pre.insert" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("setAccessorOperation", setAccessorOperation);
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nz0kGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_17);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ } else if (genModel.isReflectiveDelegation()) {
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_24);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_28);
+ }
+ stringBuffer.append(TEXT_29);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_31);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ } else if (!genFeature.isVolatile()) {
+ if (genFeature.isContainer()) {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil"));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getEObjectCast());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genModel.getImportedName("java.lang.IllegalArgumentException"));
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getInternalTypeCast());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_54);
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_60);
+ }
+ } else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_65);
+ }
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_70);
+ if (!genFeature.isBidirectional()) {
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_78);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_88);
+ }
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genFeature.getInternalTypeCast());
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_92);
+ if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_93);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_96);
+ } else if (genClass.isESetFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_100);
+ }
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_103);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_106);
+ }
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_108);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_115);
+ }
+ stringBuffer.append(TEXT_116);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_122);
+ }
+ }
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_127);
+ } else {
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_134);
+ }
+ }
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_140);
+ } else {
+ stringBuffer.append(TEXT_141);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_146);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_147);
+ if (isJDK50) {
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_149);
+ } else {
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_151);
+ }
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_153);
+ }
+ } else {
+ if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_157);
+ }
+ }
+ if (genFeature.isEnumType()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_162);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_163);
+ } else {
+ stringBuffer.append(TEXT_164);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_166);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_167);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_168);
+ }
+ } else {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_169);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_170);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_171);
+ stringBuffer.append(genFeature.getInternalTypeCast());
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_173);
+ } else {
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(genFeature.getInternalTypeCast());
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_177);
+ }
+ }
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_179);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_180);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_181);
+ }
+ }
+ if (genFeature.isUnsettable()) {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_182);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_183);
+ } else if (genClass.isESetFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_184);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_186);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_187);
+ }
+ stringBuffer.append(TEXT_188);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_189);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_190);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_193);
+ }
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_195);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_197);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_199);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_200);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_203);
+ if (genClass.isFlag(genFeature)) {
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(genFeature.getSafeName());
+ }
+ stringBuffer.append(TEXT_205);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_206);
+ } else {
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_208);
+ }
+ stringBuffer.append(TEXT_209);
+ }
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_210);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_212);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_213);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_214);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_216);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_218);
+ if (genClass.isFlag(genFeature)) {
+ stringBuffer.append(TEXT_219);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(genFeature.getSafeName());
+ }
+ stringBuffer.append(TEXT_220);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_221);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.post.insert" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("setAccessorOperation", setAccessorOperation);
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qMaMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_222);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_223);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_224);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_225);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_226);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_227);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_228);
+ }
+ stringBuffer.append(TEXT_229);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_230);
+ }
+ stringBuffer.append(TEXT_231);
+ } else {
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_233);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_235);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_236);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_237);
+ }
+ stringBuffer.append(TEXT_238);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_239);
+ }
+ stringBuffer.append(TEXT_240);
+ }
+ } else if (setAccessorOperation != null) {
+ stringBuffer.append(TEXT_241);
+ stringBuffer.append(setAccessorOperation.getBody(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_242);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.TODO.override" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("setAccessorOperation", setAccessorOperation);
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qMaRWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/setGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_243);
+ }
+ stringBuffer.append(TEXT_244);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepostinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepostinsert.java
new file mode 100644
index 0000000..169f556
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepostinsert.java
@@ -0,0 +1,290 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasssetGenFeaturepostinsert {
+ protected static String nl;
+
+ public static synchronized ClasssetGenFeaturepostinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasssetGenFeaturepostinsert result = new ClasssetGenFeaturepostinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClasssetGenFeaturepostinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> setAccessorOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object setAccessorOperationParameter : setAccessorOperationList) {
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.setAccessorOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) setAccessorOperationParameter;
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("setAccessorOperation", this.setAccessorOperation);
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation setAccessorOperation = null;
+
+ public void set_setAccessorOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.setAccessorOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("setAccessorOperation", this.setAccessorOperation);
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepreinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepreinsert.java
new file mode 100644
index 0000000..2c2f934
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepreinsert.java
@@ -0,0 +1,290 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClasssetGenFeaturepreinsert {
+ protected static String nl;
+
+ public static synchronized ClasssetGenFeaturepreinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClasssetGenFeaturepreinsert result = new ClasssetGenFeaturepreinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClasssetGenFeaturepreinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> setAccessorOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object setAccessorOperationParameter : setAccessorOperationList) {
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.setAccessorOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) setAccessorOperationParameter;
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("setAccessorOperation", this.setAccessorOperation);
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation setAccessorOperation = null;
+
+ public void set_setAccessorOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.setAccessorOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("setAccessorOperation", this.setAccessorOperation);
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..a1ef2e0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureTODOoverride.java
@@ -0,0 +1,286 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassunsetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized ClassunsetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassunsetGenFeatureTODOoverride result = new ClassunsetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to unset the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public ClassunsetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..b031268
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassunsetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized ClassunsetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassunsetGenFeatureannotationsinsert result = new ClassunsetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassunsetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocinsert.java
new file mode 100644
index 0000000..4606c62
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassunsetGenFeaturejavadocinsert {
+ protected static String nl;
+
+ public static synchronized ClassunsetGenFeaturejavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassunsetGenFeaturejavadocinsert result = new ClassunsetGenFeaturejavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ClassunsetGenFeaturejavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocoverride.java
new file mode 100644
index 0000000..3ff3519
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocoverride.java
@@ -0,0 +1,347 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassunsetGenFeaturejavadocoverride {
+ protected static String nl;
+
+ public static synchronized ClassunsetGenFeaturejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassunsetGenFeaturejavadocoverride result = new ClassunsetGenFeaturejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * Unsets the value of the '{@link ";
+ protected final String TEXT_2 = "#";
+ protected final String TEXT_3 = " <em>";
+ protected final String TEXT_4 = "</em>}' ";
+ protected final String TEXT_5 = ".";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_8 = NL + "\t * @see #isSet";
+ protected final String TEXT_9 = "()";
+ protected final String TEXT_10 = NL + "\t * @see #";
+ protected final String TEXT_11 = "()";
+ protected final String TEXT_12 = NL + "\t * @see #set";
+ protected final String TEXT_13 = "(";
+ protected final String TEXT_14 = ")";
+ protected final String TEXT_15 = NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_16 = NL;
+ protected final String TEXT_17 = NL;
+
+ public ClassunsetGenFeaturejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(TEXT_17);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rieAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_7);
+ if (!genFeature.isSuppressedIsSetVisibility()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_11);
+ if (!genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getRawImportedBoundType());
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureoverride.java
new file mode 100644
index 0000000..9536666
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureoverride.java
@@ -0,0 +1,901 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Class;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ClassunsetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized ClassunsetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ClassunsetGenFeatureoverride result = new ClassunsetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "\tvoid unset";
+ protected final String TEXT_6 = "();" + NL;
+ protected final String TEXT_7 = NL + "\tpublic void unset";
+ protected final String TEXT_8 = "_";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL + "\t\teDynamicUnset(";
+ protected final String TEXT_11 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_12 = ", ";
+ protected final String TEXT_13 = ");";
+ protected final String TEXT_14 = NL + "\t\teUnset(";
+ protected final String TEXT_15 = ");";
+ protected final String TEXT_16 = NL + "\t\t";
+ protected final String TEXT_17 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);";
+ protected final String TEXT_18 = NL + "\t\t";
+ protected final String TEXT_19 = " ";
+ protected final String TEXT_20 = " = (";
+ protected final String TEXT_21 = ")eVirtualGet(";
+ protected final String TEXT_22 = ");";
+ protected final String TEXT_23 = NL + "\t\tif (";
+ protected final String TEXT_24 = " != null) ((";
+ protected final String TEXT_25 = ".Unsettable";
+ protected final String TEXT_26 = ")";
+ protected final String TEXT_27 = ").unset();";
+ protected final String TEXT_28 = NL + "\t\t";
+ protected final String TEXT_29 = " ";
+ protected final String TEXT_30 = " = (";
+ protected final String TEXT_31 = ")eVirtualGet(";
+ protected final String TEXT_32 = ");";
+ protected final String TEXT_33 = NL + "\t\tif (";
+ protected final String TEXT_34 = " != null)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_35 = " msgs = null;";
+ protected final String TEXT_36 = NL + "\t\t\tmsgs = ((";
+ protected final String TEXT_37 = ")";
+ protected final String TEXT_38 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_39 = ", null, msgs);";
+ protected final String TEXT_40 = NL + "\t\t\tmsgs = ((";
+ protected final String TEXT_41 = ")";
+ protected final String TEXT_42 = ").eInverseRemove(this, ";
+ protected final String TEXT_43 = ", ";
+ protected final String TEXT_44 = ".class, msgs);";
+ protected final String TEXT_45 = NL + "\t\t\tmsgs = basicUnset";
+ protected final String TEXT_46 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL
+ + "\t\telse" + NL + "\t\t{";
+ protected final String TEXT_47 = NL + "\t\t\tboolean old";
+ protected final String TEXT_48 = "ESet = eVirtualIsSet(";
+ protected final String TEXT_49 = ");";
+ protected final String TEXT_50 = NL + "\t\t\tboolean old";
+ protected final String TEXT_51 = "ESet = (";
+ protected final String TEXT_52 = " & ";
+ protected final String TEXT_53 = "_ESETFLAG) != 0;";
+ protected final String TEXT_54 = NL + "\t\t\t";
+ protected final String TEXT_55 = " &= ~";
+ protected final String TEXT_56 = "_ESETFLAG;";
+ protected final String TEXT_57 = NL + "\t\t\tboolean old";
+ protected final String TEXT_58 = "ESet = ";
+ protected final String TEXT_59 = "ESet;";
+ protected final String TEXT_60 = NL + "\t\t\t";
+ protected final String TEXT_61 = "ESet = false;";
+ protected final String TEXT_62 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new ";
+ protected final String TEXT_63 = "(this, ";
+ protected final String TEXT_64 = ".UNSET, ";
+ protected final String TEXT_65 = ", null, null, old";
+ protected final String TEXT_66 = "ESet));";
+ protected final String TEXT_67 = NL + "\t\t}";
+ protected final String TEXT_68 = NL + "\t\t";
+ protected final String TEXT_69 = " old";
+ protected final String TEXT_70 = " = (";
+ protected final String TEXT_71 = " & ";
+ protected final String TEXT_72 = "_EFLAG) != 0;";
+ protected final String TEXT_73 = NL + "\t\t";
+ protected final String TEXT_74 = " old";
+ protected final String TEXT_75 = " = ";
+ protected final String TEXT_76 = "_EFLAG_VALUES[(";
+ protected final String TEXT_77 = " & ";
+ protected final String TEXT_78 = "_EFLAG) >>> ";
+ protected final String TEXT_79 = "_EFLAG_OFFSET];";
+ protected final String TEXT_80 = NL + "\t\tObject old";
+ protected final String TEXT_81 = " = eVirtualUnset(";
+ protected final String TEXT_82 = ");";
+ protected final String TEXT_83 = NL + "\t\t";
+ protected final String TEXT_84 = " old";
+ protected final String TEXT_85 = " = ";
+ protected final String TEXT_86 = ";";
+ protected final String TEXT_87 = NL + "\t\tboolean isSetChange = old";
+ protected final String TEXT_88 = " != EVIRTUAL_NO_VALUE;";
+ protected final String TEXT_89 = NL + "\t\tboolean old";
+ protected final String TEXT_90 = "ESet = (";
+ protected final String TEXT_91 = " & ";
+ protected final String TEXT_92 = "_ESETFLAG) != 0;";
+ protected final String TEXT_93 = NL + "\t\tboolean old";
+ protected final String TEXT_94 = "ESet = ";
+ protected final String TEXT_95 = "ESet;";
+ protected final String TEXT_96 = NL + "\t\t";
+ protected final String TEXT_97 = " = null;";
+ protected final String TEXT_98 = NL + "\t\t";
+ protected final String TEXT_99 = " &= ~";
+ protected final String TEXT_100 = "_ESETFLAG;";
+ protected final String TEXT_101 = NL + "\t\t";
+ protected final String TEXT_102 = "ESet = false;";
+ protected final String TEXT_103 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_104 = "(this, ";
+ protected final String TEXT_105 = ".UNSET, ";
+ protected final String TEXT_106 = ", ";
+ protected final String TEXT_107 = "isSetChange ? old";
+ protected final String TEXT_108 = " : null";
+ protected final String TEXT_109 = "old";
+ protected final String TEXT_110 = ", null, ";
+ protected final String TEXT_111 = "isSetChange";
+ protected final String TEXT_112 = "old";
+ protected final String TEXT_113 = "ESet";
+ protected final String TEXT_114 = "));";
+ protected final String TEXT_115 = NL + "\t\tif (";
+ protected final String TEXT_116 = ") ";
+ protected final String TEXT_117 = " |= ";
+ protected final String TEXT_118 = "_EFLAG; else ";
+ protected final String TEXT_119 = " &= ~";
+ protected final String TEXT_120 = "_EFLAG;";
+ protected final String TEXT_121 = NL + "\t\t";
+ protected final String TEXT_122 = " = ";
+ protected final String TEXT_123 = " & ~";
+ protected final String TEXT_124 = "_EFLAG | ";
+ protected final String TEXT_125 = "_EFLAG_DEFAULT;";
+ protected final String TEXT_126 = NL + "\t\t";
+ protected final String TEXT_127 = " = ";
+ protected final String TEXT_128 = ";";
+ protected final String TEXT_129 = NL + "\t\t";
+ protected final String TEXT_130 = " &= ~";
+ protected final String TEXT_131 = "_ESETFLAG;";
+ protected final String TEXT_132 = NL + "\t\t";
+ protected final String TEXT_133 = "ESet = false;";
+ protected final String TEXT_134 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_135 = "(this, ";
+ protected final String TEXT_136 = ".UNSET, ";
+ protected final String TEXT_137 = ", ";
+ protected final String TEXT_138 = "isSetChange ? old";
+ protected final String TEXT_139 = " : ";
+ protected final String TEXT_140 = "old";
+ protected final String TEXT_141 = ", ";
+ protected final String TEXT_142 = ", ";
+ protected final String TEXT_143 = "isSetChange";
+ protected final String TEXT_144 = "old";
+ protected final String TEXT_145 = "ESet";
+ protected final String TEXT_146 = "));";
+ protected final String TEXT_147 = NL + "\t\t((";
+ protected final String TEXT_148 = ".Internal)((";
+ protected final String TEXT_149 = ".Internal.Wrapper)get";
+ protected final String TEXT_150 = "()).featureMap()).clear(";
+ protected final String TEXT_151 = ");";
+ protected final String TEXT_152 = NL + "\t\t((";
+ protected final String TEXT_153 = ".Internal)get";
+ protected final String TEXT_154 = "()).clear(";
+ protected final String TEXT_155 = ");";
+ protected final String TEXT_156 = NL + "\t\t";
+ protected final String TEXT_157 = NL;
+ protected final String TEXT_158 = NL + "\t}" + NL;
+ protected final String TEXT_159 = NL;
+ protected final String TEXT_160 = NL;
+ protected final String TEXT_161 = NL;
+
+ public ClassunsetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(TEXT_161);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rPjEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/unsetGenFeature.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_3);
+ if (isJDK50) { //Class/unsetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rrn8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingUnsetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_13);
+ } else if (genModel.isReflectiveDelegation()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_15);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_17);
+ } else if (!genFeature.isVolatile()) {
+ if (genFeature.isListType()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_22);
+ }
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_27);
+ } else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_35);
+ if (!genFeature.isBidirectional()) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_39);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_46);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_49);
+ } else if (genClass.isESetFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_53);
+ }
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_56);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_59);
+ }
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_61);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_66);
+ }
+ stringBuffer.append(TEXT_67);
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_72);
+ } else {
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_79);
+ }
+ }
+ } else if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_82);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_86);
+ }
+ }
+ if (!genModel.isSuppressNotification()) {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_88);
+ } else if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_92);
+ } else {
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_95);
+ }
+ }
+ if (genFeature.isReferenceType()) {
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_97);
+ if (!genModel.isVirtualDelegation()) {
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_100);
+ } else {
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_102);
+ }
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_106);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_108);
+ } else {
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_110);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_111);
+ } else {
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_113);
+ }
+ stringBuffer.append(TEXT_114);
+ }
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_120);
+ } else {
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_125);
+ }
+ } else if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_127);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_128);
+ }
+ if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_131);
+ } else {
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_133);
+ }
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_137);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genFeature.getEDefault());
+ } else {
+ stringBuffer.append(TEXT_140);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_141);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_142);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_143);
+ } else {
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_145);
+ }
+ stringBuffer.append(TEXT_146);
+ }
+ }
+ }
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_151);
+ } else {
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_153);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_155);
+ }
+ } else if (genClass.getUnsetAccessorOperation(genFeature) != null) {
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genClass.getUnsetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_157);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0r_J8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/unsetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_158);
+ }
+ stringBuffer.append(TEXT_159);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..37c3c80
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureTODOoverride.java
@@ -0,0 +1,287 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicGetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized InterfacebasicGetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicGetGenFeatureTODOoverride result = new InterfacebasicGetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL + "\t\t// -> do not perform proxy resolution" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public InterfacebasicGetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..0bfe132
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicGetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized InterfacebasicGetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicGetGenFeatureannotationsinsert result = new InterfacebasicGetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacebasicGetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureoverride.java
new file mode 100644
index 0000000..f37ef3a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureoverride.java
@@ -0,0 +1,490 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicGetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfacebasicGetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicGetGenFeatureoverride result = new InterfacebasicGetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\tpublic ";
+ protected final String TEXT_4 = " basicGet";
+ protected final String TEXT_5 = "()" + NL + "\t{";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + "\t\treturn (";
+ protected final String TEXT_8 = ")eDynamicGet(";
+ protected final String TEXT_9 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_10 = ", ";
+ protected final String TEXT_11 = ", false, ";
+ protected final String TEXT_12 = ");";
+ protected final String TEXT_13 = NL + "\t\treturn ";
+ protected final String TEXT_14 = "(";
+ protected final String TEXT_15 = "(";
+ protected final String TEXT_16 = ")";
+ protected final String TEXT_17 = "__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false)";
+ protected final String TEXT_18 = ").";
+ protected final String TEXT_19 = "()";
+ protected final String TEXT_20 = ";";
+ protected final String TEXT_21 = NL + "\t\tif (eContainerFeatureID() != ";
+ protected final String TEXT_22 = ") return null;" + NL + "\t\treturn (";
+ protected final String TEXT_23 = ")eInternalContainer();";
+ protected final String TEXT_24 = NL + "\t\treturn (";
+ protected final String TEXT_25 = ")eVirtualGet(";
+ protected final String TEXT_26 = ");";
+ protected final String TEXT_27 = NL + "\t\treturn ";
+ protected final String TEXT_28 = ";";
+ protected final String TEXT_29 = NL + "\t\treturn (";
+ protected final String TEXT_30 = ")((";
+ protected final String TEXT_31 = ".Internal.Wrapper)get";
+ protected final String TEXT_32 = "()).featureMap().get(";
+ protected final String TEXT_33 = ", false);";
+ protected final String TEXT_34 = NL + "\t\treturn (";
+ protected final String TEXT_35 = ")get";
+ protected final String TEXT_36 = "().get(";
+ protected final String TEXT_37 = ", false);";
+ protected final String TEXT_38 = NL + "\t\t";
+ protected final String TEXT_39 = NL;
+ protected final String TEXT_40 = NL + "\t}" + NL + NL;
+ protected final String TEXT_41 = NL;
+ protected final String TEXT_42 = NL;
+
+ public InterfacebasicGetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(TEXT_42);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isJDK50) { //Class/basicGetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0w5fIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xDQIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(!genFeature.isEffectiveSuppressEMFTypes());
+ stringBuffer.append(TEXT_12);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_13);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_17);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ } else if (genFeature.isContainer()) {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_23);
+ } else if (!genFeature.isVolatile()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_26);
+ } else {
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_28);
+ }
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_33);
+ } else {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_37);
+ }
+ } else if (genFeature.hasGetterBody()) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_39);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xNBIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicGetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_40);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeaturepreinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeaturepreinsert.java
new file mode 100644
index 0000000..c786c4b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeaturepreinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicGetGenFeaturepreinsert {
+ protected static String nl;
+
+ public static synchronized InterfacebasicGetGenFeaturepreinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicGetGenFeaturepreinsert result = new InterfacebasicGetGenFeaturepreinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacebasicGetGenFeaturepreinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..5d78699
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureTODOoverride.java
@@ -0,0 +1,292 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicSetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized InterfacebasicSetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicSetGenFeatureTODOoverride result = new InterfacebasicSetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to set the contained '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL
+ + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch"
+ + NL
+ + "\t\t// -> do not modify other features"
+ + NL
+ + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)"
+ + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public InterfacebasicSetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..d75ebe8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicSetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized InterfacebasicSetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicSetGenFeatureannotationsinsert result = new InterfacebasicSetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacebasicSetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureoverride.java
new file mode 100644
index 0000000..74ad0ac
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureoverride.java
@@ -0,0 +1,777 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicSetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfacebasicSetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicSetGenFeatureoverride result = new InterfacebasicSetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\tpublic ";
+ protected final String TEXT_4 = " basicSet";
+ protected final String TEXT_5 = "(";
+ protected final String TEXT_6 = " new";
+ protected final String TEXT_7 = ", ";
+ protected final String TEXT_8 = " msgs)" + NL + "\t{";
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL + "\t\tmsgs = eBasicSetContainer((";
+ protected final String TEXT_11 = ")new";
+ protected final String TEXT_12 = ", ";
+ protected final String TEXT_13 = ", msgs);";
+ protected final String TEXT_14 = NL;
+ protected final String TEXT_15 = NL + "\t\treturn msgs;";
+ protected final String TEXT_16 = NL;
+ protected final String TEXT_17 = NL + "\t\tmsgs = eDynamicInverseAdd((";
+ protected final String TEXT_18 = ")new";
+ protected final String TEXT_19 = ", ";
+ protected final String TEXT_20 = ", msgs);";
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL + "\t\treturn msgs;";
+ protected final String TEXT_23 = NL;
+ protected final String TEXT_24 = NL + "\t\tObject old";
+ protected final String TEXT_25 = " = eVirtualSet(";
+ protected final String TEXT_26 = ", new";
+ protected final String TEXT_27 = ");";
+ protected final String TEXT_28 = NL + "\t\t";
+ protected final String TEXT_29 = " old";
+ protected final String TEXT_30 = " = ";
+ protected final String TEXT_31 = ";" + NL + "\t\t";
+ protected final String TEXT_32 = " = new";
+ protected final String TEXT_33 = ";";
+ protected final String TEXT_34 = NL + "\t\tboolean isSetChange = old";
+ protected final String TEXT_35 = " == EVIRTUAL_NO_VALUE;";
+ protected final String TEXT_36 = NL + "\t\tboolean old";
+ protected final String TEXT_37 = "ESet = (";
+ protected final String TEXT_38 = " & ";
+ protected final String TEXT_39 = "_ESETFLAG) != 0;";
+ protected final String TEXT_40 = NL + "\t\t";
+ protected final String TEXT_41 = " |= ";
+ protected final String TEXT_42 = "_ESETFLAG;";
+ protected final String TEXT_43 = NL + "\t\tboolean old";
+ protected final String TEXT_44 = "ESet = ";
+ protected final String TEXT_45 = "ESet;";
+ protected final String TEXT_46 = NL + "\t\t";
+ protected final String TEXT_47 = "ESet = true;";
+ protected final String TEXT_48 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{";
+ protected final String TEXT_49 = NL + "\t\t\t";
+ protected final String TEXT_50 = " notification = new ";
+ protected final String TEXT_51 = "(this, ";
+ protected final String TEXT_52 = ".SET, ";
+ protected final String TEXT_53 = ", ";
+ protected final String TEXT_54 = "isSetChange ? null : old";
+ protected final String TEXT_55 = "old";
+ protected final String TEXT_56 = ", new";
+ protected final String TEXT_57 = ", ";
+ protected final String TEXT_58 = "isSetChange";
+ protected final String TEXT_59 = "!old";
+ protected final String TEXT_60 = "ESet";
+ protected final String TEXT_61 = ");";
+ protected final String TEXT_62 = NL + "\t\t\t";
+ protected final String TEXT_63 = " notification = new ";
+ protected final String TEXT_64 = "(this, ";
+ protected final String TEXT_65 = ".SET, ";
+ protected final String TEXT_66 = ", ";
+ protected final String TEXT_67 = "old";
+ protected final String TEXT_68 = " == EVIRTUAL_NO_VALUE ? null : old";
+ protected final String TEXT_69 = "old";
+ protected final String TEXT_70 = ", new";
+ protected final String TEXT_71 = ");";
+ protected final String TEXT_72 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);"
+ + NL + "\t\t}";
+ protected final String TEXT_73 = NL;
+ protected final String TEXT_74 = NL + "\t\treturn msgs;";
+ protected final String TEXT_75 = NL + "\t\treturn ((";
+ protected final String TEXT_76 = ".Internal)((";
+ protected final String TEXT_77 = ".Internal.Wrapper)get";
+ protected final String TEXT_78 = "()).featureMap()).basicAdd(";
+ protected final String TEXT_79 = ", new";
+ protected final String TEXT_80 = ", msgs);";
+ protected final String TEXT_81 = NL + "\t\treturn ((";
+ protected final String TEXT_82 = ".Internal)get";
+ protected final String TEXT_83 = "()).basicAdd(";
+ protected final String TEXT_84 = ", new";
+ protected final String TEXT_85 = ", msgs);";
+ protected final String TEXT_86 = NL;
+ protected final String TEXT_87 = NL + "\t}" + NL + NL;
+ protected final String TEXT_88 = NL;
+ protected final String TEXT_89 = NL;
+
+ public InterfacebasicSetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(TEXT_89);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xpGAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getImportedInternalType(genClass));
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_8);
+ if (genFeature.isContainer()) {
+ stringBuffer.append(TEXT_9);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(TEXT_14);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_15);
+ } else if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_16);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(TEXT_21);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_22);
+ } else if (!genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_23);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_27);
+ } else {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_33);
+ }
+ if (genFeature.isUnsettable()) {
+ if (genModel.isVirtualDelegation()) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_35);
+ }
+ } else if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_39);
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_42);
+ }
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_45);
+ }
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_47);
+ }
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_48);
+ if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_53);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_57);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_58);
+ } else {
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ } else {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_66);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_71);
+ }
+ stringBuffer.append(TEXT_72);
+ }
+ stringBuffer.append(TEXT_73);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_74);
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_80);
+ } else {
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_85);
+ }
+ } else {
+ stringBuffer.append(TEXT_86);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oFGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicSetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_87);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepostinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepostinsert.java
new file mode 100644
index 0000000..c647c9d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepostinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicSetGenFeaturepostinsert {
+ protected static String nl;
+
+ public static synchronized InterfacebasicSetGenFeaturepostinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicSetGenFeaturepostinsert result = new InterfacebasicSetGenFeaturepostinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacebasicSetGenFeaturepostinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepreinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepreinsert.java
new file mode 100644
index 0000000..c60d7f6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepreinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicSetGenFeaturepreinsert {
+ protected static String nl;
+
+ public static synchronized InterfacebasicSetGenFeaturepreinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicSetGenFeaturepreinsert result = new InterfacebasicSetGenFeaturepreinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacebasicSetGenFeaturepreinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..e9e1abd
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureTODOoverride.java
@@ -0,0 +1,292 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicUnsetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized InterfacebasicUnsetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicUnsetGenFeatureTODOoverride result = new InterfacebasicUnsetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to unset the contained '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL
+ + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch"
+ + NL
+ + "\t\t// -> do not modify other features"
+ + NL
+ + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)"
+ + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public InterfacebasicUnsetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..131dacc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicUnsetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized InterfacebasicUnsetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicUnsetGenFeatureannotationsinsert result = new InterfacebasicUnsetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacebasicUnsetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureoverride.java
new file mode 100644
index 0000000..baff979
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureoverride.java
@@ -0,0 +1,503 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacebasicUnsetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfacebasicUnsetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacebasicUnsetGenFeatureoverride result = new InterfacebasicUnsetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\tpublic ";
+ protected final String TEXT_4 = " basicUnset";
+ protected final String TEXT_5 = "(";
+ protected final String TEXT_6 = " msgs)" + NL + "\t{";
+ protected final String TEXT_7 = NL + "\t\treturn eDynamicInverseRemove((";
+ protected final String TEXT_8 = ")";
+ protected final String TEXT_9 = "basicGet";
+ protected final String TEXT_10 = "(), ";
+ protected final String TEXT_11 = ", msgs);";
+ protected final String TEXT_12 = "Object old";
+ protected final String TEXT_13 = " = ";
+ protected final String TEXT_14 = "eVirtualUnset(";
+ protected final String TEXT_15 = ");";
+ protected final String TEXT_16 = NL + "\t\t";
+ protected final String TEXT_17 = " old";
+ protected final String TEXT_18 = " = ";
+ protected final String TEXT_19 = ";";
+ protected final String TEXT_20 = NL + "\t\t";
+ protected final String TEXT_21 = " = null;";
+ protected final String TEXT_22 = NL + "\t\tboolean isSetChange = old";
+ protected final String TEXT_23 = " != EVIRTUAL_NO_VALUE;";
+ protected final String TEXT_24 = NL + "\t\tboolean old";
+ protected final String TEXT_25 = "ESet = (";
+ protected final String TEXT_26 = " & ";
+ protected final String TEXT_27 = "_ESETFLAG) != 0;";
+ protected final String TEXT_28 = NL + "\t\t";
+ protected final String TEXT_29 = " &= ~";
+ protected final String TEXT_30 = "_ESETFLAG;";
+ protected final String TEXT_31 = NL + "\t\tboolean old";
+ protected final String TEXT_32 = "ESet = ";
+ protected final String TEXT_33 = "ESet;";
+ protected final String TEXT_34 = NL + "\t\t";
+ protected final String TEXT_35 = "ESet = false;";
+ protected final String TEXT_36 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_37 = " notification = new ";
+ protected final String TEXT_38 = "(this, ";
+ protected final String TEXT_39 = ".UNSET, ";
+ protected final String TEXT_40 = ", ";
+ protected final String TEXT_41 = "isSetChange ? old";
+ protected final String TEXT_42 = " : null";
+ protected final String TEXT_43 = "old";
+ protected final String TEXT_44 = ", null, ";
+ protected final String TEXT_45 = "isSetChange";
+ protected final String TEXT_46 = "old";
+ protected final String TEXT_47 = "ESet";
+ protected final String TEXT_48 = ");" + NL
+ + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL
+ + "\t\treturn msgs;";
+ protected final String TEXT_49 = NL;
+ protected final String TEXT_50 = NL + "\t}" + NL + NL;
+ protected final String TEXT_51 = NL;
+ protected final String TEXT_52 = NL;
+
+ public InterfacebasicUnsetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(TEXT_52);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isJDK50) { //Class/basicUnsetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zb1wGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_6);
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_8);
+ if (genFeature.isResolveProxies()) {
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getAccessorName());
+ } else {
+ stringBuffer.append(genFeature.getGetAccessor());
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_11);
+ } else if (!genFeature.isVolatile()) {
+ if (genModel.isVirtualDelegation()) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_13);
+ }
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_15);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_21);
+ }
+ if (genModel.isVirtualDelegation()) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_23);
+ }
+ } else if (genClass.isESetFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_30);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_35);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_40);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_42);
+ } else {
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_44);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_45);
+ } else {
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_47);
+ }
+ stringBuffer.append(TEXT_48);
+ }
+ } else {
+ stringBuffer.append(TEXT_49);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zlmwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicUnsetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_50);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureinsert.java
new file mode 100644
index 0000000..48fc2ae
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacedeclaredFieldGenFeatureinsert {
+ protected static String nl;
+
+ public static synchronized InterfacedeclaredFieldGenFeatureinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacedeclaredFieldGenFeatureinsert result = new InterfacedeclaredFieldGenFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacedeclaredFieldGenFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureoverride.java
new file mode 100644
index 0000000..526579e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureoverride.java
@@ -0,0 +1,708 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacedeclaredFieldGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfacedeclaredFieldGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacedeclaredFieldGenFeatureoverride result = new InterfacedeclaredFieldGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * The cached setting delegate for the '{@link #";
+ protected final String TEXT_3 = "() <em>";
+ protected final String TEXT_4 = "</em>}' ";
+ protected final String TEXT_5 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_7 = NL + "\t@";
+ protected final String TEXT_8 = NL + "\tprotected ";
+ protected final String TEXT_9 = ".Internal.SettingDelegate ";
+ protected final String TEXT_10 = "__ESETTING_DELEGATE = ((";
+ protected final String TEXT_11 = ".Internal)";
+ protected final String TEXT_12 = ").getSettingDelegate();" + NL;
+ protected final String TEXT_13 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
+ protected final String TEXT_14 = "() <em>";
+ protected final String TEXT_15 = "</em>}' ";
+ protected final String TEXT_16 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_17 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_18 = NL + "\t@";
+ protected final String TEXT_19 = NL + "\tprotected ";
+ protected final String TEXT_20 = " ";
+ protected final String TEXT_21 = ";" + NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The empty value for the '{@link #";
+ protected final String TEXT_23 = "() <em>";
+ protected final String TEXT_24 = "</em>}' array accessor." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_25 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_26 = NL + "\t@SuppressWarnings(\"rawtypes\")";
+ protected final String TEXT_27 = NL + "\tprotected static final ";
+ protected final String TEXT_28 = "[] ";
+ protected final String TEXT_29 = "_EEMPTY_ARRAY = new ";
+ protected final String TEXT_30 = " [0]";
+ protected final String TEXT_31 = ";" + NL;
+ protected final String TEXT_32 = NL + "\t/**" + NL + "\t * The default value of the '{@link #";
+ protected final String TEXT_33 = "() <em>";
+ protected final String TEXT_34 = "</em>}' ";
+ protected final String TEXT_35 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_36 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_37 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_38 = NL + "\tprotected static final ";
+ protected final String TEXT_39 = " ";
+ protected final String TEXT_40 = "; // TODO The default value literal \"";
+ protected final String TEXT_41 = "\" is not valid.";
+ protected final String TEXT_42 = " = ";
+ protected final String TEXT_43 = ";";
+ protected final String TEXT_44 = NL;
+ protected final String TEXT_45 = NL
+ + "\t/**"
+ + NL
+ + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_46 = NL + "\t@";
+ protected final String TEXT_47 = NL + "\tprotected int ";
+ protected final String TEXT_48 = " = 0;" + NL;
+ protected final String TEXT_49 = NL + "\t/**" + NL
+ + "\t * The offset of the flags representing the value of the '{@link #";
+ protected final String TEXT_50 = "() <em>";
+ protected final String TEXT_51 = "</em>}' ";
+ protected final String TEXT_52 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_53 = "_EFLAG_OFFSET = ";
+ protected final String TEXT_54 = ";" + NL + "" + NL + "\t/**" + NL
+ + "\t * The flags representing the default value of the '{@link #";
+ protected final String TEXT_55 = "() <em>";
+ protected final String TEXT_56 = "</em>}' ";
+ protected final String TEXT_57 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_58 = "_EFLAG_DEFAULT = ";
+ protected final String TEXT_59 = ".ordinal()";
+ protected final String TEXT_60 = ".VALUES.indexOf(";
+ protected final String TEXT_61 = ")";
+ protected final String TEXT_62 = " << ";
+ protected final String TEXT_63 = "_EFLAG_OFFSET;" + NL + "" + NL + "\t/**" + NL
+ + "\t * The array of enumeration values for '{@link ";
+ protected final String TEXT_64 = " ";
+ protected final String TEXT_65 = "}'" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprivate static final ";
+ protected final String TEXT_66 = "[] ";
+ protected final String TEXT_67 = "_EFLAG_VALUES = ";
+ protected final String TEXT_68 = ".values()";
+ protected final String TEXT_69 = "(";
+ protected final String TEXT_70 = "[])";
+ protected final String TEXT_71 = ".VALUES.toArray(new ";
+ protected final String TEXT_72 = "[";
+ protected final String TEXT_73 = ".VALUES.size()])";
+ protected final String TEXT_74 = ";" + NL;
+ protected final String TEXT_75 = NL + "\t/**" + NL + "\t * The flag";
+ protected final String TEXT_76 = " representing the value of the '{@link #";
+ protected final String TEXT_77 = "() <em>";
+ protected final String TEXT_78 = "</em>}' ";
+ protected final String TEXT_79 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_80 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final int ";
+ protected final String TEXT_81 = "_EFLAG = ";
+ protected final String TEXT_82 = " << ";
+ protected final String TEXT_83 = "_EFLAG_OFFSET";
+ protected final String TEXT_84 = ";" + NL;
+ protected final String TEXT_85 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
+ protected final String TEXT_86 = "() <em>";
+ protected final String TEXT_87 = "</em>}' ";
+ protected final String TEXT_88 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_89 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_90 = NL + "\t@";
+ protected final String TEXT_91 = NL + "\tprotected ";
+ protected final String TEXT_92 = " ";
+ protected final String TEXT_93 = " = ";
+ protected final String TEXT_94 = ";" + NL;
+ protected final String TEXT_95 = NL
+ + "\t/**"
+ + NL
+ + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_96 = NL + "\t@";
+ protected final String TEXT_97 = NL + "\tprotected int ";
+ protected final String TEXT_98 = " = 0;" + NL;
+ protected final String TEXT_99 = NL + "\t/**" + NL + "\t * The flag representing whether the ";
+ protected final String TEXT_100 = " ";
+ protected final String TEXT_101 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final int ";
+ protected final String TEXT_102 = "_ESETFLAG = 1 << ";
+ protected final String TEXT_103 = ";" + NL;
+ protected final String TEXT_104 = NL + "\t/**" + NL + "\t * This is true if the ";
+ protected final String TEXT_105 = " ";
+ protected final String TEXT_106 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_107 = NL + "\t@";
+ protected final String TEXT_108 = NL + "\tprotected boolean ";
+ protected final String TEXT_109 = "ESet;" + NL;
+ protected final String TEXT_110 = NL;
+ protected final String TEXT_111 = NL;
+ protected final String TEXT_112 = NL;
+ protected final String TEXT_113 = NL;
+
+ public InterfacedeclaredFieldGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(TEXT_113);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_6);
+ if (isGWT) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_12);
+ } else if (genFeature.isListType() || genFeature.isReferenceType()) {
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_17);
+ if (isGWT) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getImportedInternalType(genClass));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_21);
+ }
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ String rawListItemType = genFeature.getRawListItemType(genClass);
+ int index = rawListItemType.indexOf('[');
+ String head = rawListItemType;
+ String tail = "";
+ if (index != -1) {
+ head = rawListItemType.substring(0, index);
+ tail = rawListItemType.substring(index);
+ }
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_25);
+ if (genFeature.getQualifiedListItemType(genClass).contains("<")
+ || genFeature.getArrayItemType(genClass).contains("<")) {
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(rawListItemType);
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(head);
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(tail);
+ stringBuffer.append(TEXT_31);
+ }
+ } else {
+ if (genFeature.hasEDefault()
+ && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation()
+ && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) {
+ String staticDefaultValue = genFeature.getStaticDefaultValue();
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_36);
+ if (genModel.useGenerics() && genFeature.isListDataType() && genFeature.isSetDefaultValue()) {
+ stringBuffer.append(TEXT_37);
+ }
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getEDefault());
+ if ("".equals(staticDefaultValue)) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genFeature.getEcoreFeature().getDefaultValueLiteral());
+ stringBuffer.append(TEXT_41);
+ } else {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(staticDefaultValue);
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genModel.getNonNLS(staticDefaultValue));
+ }
+ stringBuffer.append(TEXT_44);
+ }
+ if (genClass.isField(genFeature)) {
+ if (genClass.isFlag(genFeature)) {
+ int flagIndex = genClass.getFlagIndex(genFeature);
+ if (flagIndex > 31 && flagIndex % 32 == 0) {
+ stringBuffer.append(TEXT_45);
+ if (isGWT) {
+ stringBuffer.append(TEXT_46);
+ stringBuffer
+ .append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_48);
+ }
+ if (genFeature.isEnumType()) {
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(flagIndex % 32);
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_58);
+ if (isJDK50) {
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_59);
+ } else {
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_61);
+ }
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genFeature.getTypeGenClassifier().getFormattedName());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_67);
+ if (isJDK50) {
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_68);
+ } else {
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_73);
+ }
+ stringBuffer.append(TEXT_74);
+ }
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genClass.getFlagSize(genFeature) > 1 ? "s" : "");
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genClass.getFlagMask(genFeature));
+ stringBuffer.append(TEXT_82);
+ if (genFeature.isEnumType()) {
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_83);
+ } else {
+ stringBuffer.append(flagIndex % 32);
+ }
+ stringBuffer.append(TEXT_84);
+ } else {
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_89);
+ if (isGWT) {
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genFeature.getSafeName());
+ if (genFeature.hasEDefault()) {
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genFeature.getEDefault());
+ }
+ stringBuffer.append(TEXT_94);
+ }
+ }
+ }
+ if (genClass.isESetField(genFeature)) {
+ if (genClass.isESetFlag(genFeature)) {
+ int flagIndex = genClass.getESetFlagIndex(genFeature);
+ if (flagIndex > 31 && flagIndex % 32 == 0) {
+ stringBuffer.append(TEXT_95);
+ if (isGWT) {
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_98);
+ }
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_100);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(flagIndex % 32);
+ stringBuffer.append(TEXT_103);
+ } else {
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_106);
+ if (isGWT) {
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ }
+ stringBuffer.append(TEXT_108);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_109);
+ }
+ }
+ stringBuffer.append(TEXT_110);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vHWcGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_111);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeIsSetoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeIsSetoverride.java
new file mode 100644
index 0000000..34ba02d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeIsSetoverride.java
@@ -0,0 +1,568 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceeIsSetoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceeIsSetoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceeIsSetoverride result = new InterfaceeIsSetoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_3 = NL + "\t@Override";
+ protected final String TEXT_4 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
+ protected final String TEXT_5 = ")" + NL + "\t\t{";
+ protected final String TEXT_6 = NL + "\t\t\tcase ";
+ protected final String TEXT_7 = ":";
+ protected final String TEXT_8 = NL + "\t\t\t\treturn isSet";
+ protected final String TEXT_9 = "();";
+ protected final String TEXT_10 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_11 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);";
+ protected final String TEXT_12 = NL + "\t\t\t\treturn !((";
+ protected final String TEXT_13 = ".Internal.Wrapper)";
+ protected final String TEXT_14 = "()).featureMap().isEmpty();";
+ protected final String TEXT_15 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_16 = " != null && !";
+ protected final String TEXT_17 = ".featureMap().isEmpty();";
+ protected final String TEXT_18 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_19 = " != null && !";
+ protected final String TEXT_20 = ".isEmpty();";
+ protected final String TEXT_21 = NL + "\t\t\t\t";
+ protected final String TEXT_22 = " ";
+ protected final String TEXT_23 = " = (";
+ protected final String TEXT_24 = ")eVirtualGet(";
+ protected final String TEXT_25 = ");" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_26 = " != null && !";
+ protected final String TEXT_27 = ".isEmpty();";
+ protected final String TEXT_28 = NL + "\t\t\t\treturn !";
+ protected final String TEXT_29 = "().isEmpty();";
+ protected final String TEXT_30 = NL + "\t\t\t\treturn isSet";
+ protected final String TEXT_31 = "();";
+ protected final String TEXT_32 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_33 = " != null;";
+ protected final String TEXT_34 = NL + "\t\t\t\treturn eVirtualGet(";
+ protected final String TEXT_35 = ") != null;";
+ protected final String TEXT_36 = NL + "\t\t\t\treturn basicGet";
+ protected final String TEXT_37 = "() != null;";
+ protected final String TEXT_38 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_39 = " != null;";
+ protected final String TEXT_40 = NL + "\t\t\t\treturn eVirtualGet(";
+ protected final String TEXT_41 = ") != null;";
+ protected final String TEXT_42 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_43 = "() != null;";
+ protected final String TEXT_44 = NL + "\t\t\t\treturn ((";
+ protected final String TEXT_45 = " & ";
+ protected final String TEXT_46 = "_EFLAG) != 0) != ";
+ protected final String TEXT_47 = ";";
+ protected final String TEXT_48 = NL + "\t\t\t\treturn (";
+ protected final String TEXT_49 = " & ";
+ protected final String TEXT_50 = "_EFLAG) != ";
+ protected final String TEXT_51 = "_EFLAG_DEFAULT;";
+ protected final String TEXT_52 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_53 = " != ";
+ protected final String TEXT_54 = ";";
+ protected final String TEXT_55 = NL + "\t\t\t\treturn eVirtualGet(";
+ protected final String TEXT_56 = ", ";
+ protected final String TEXT_57 = ") != ";
+ protected final String TEXT_58 = ";";
+ protected final String TEXT_59 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_60 = "() != ";
+ protected final String TEXT_61 = ";";
+ protected final String TEXT_62 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_63 = " == null ? ";
+ protected final String TEXT_64 = " != null : !";
+ protected final String TEXT_65 = ".equals(";
+ protected final String TEXT_66 = ");";
+ protected final String TEXT_67 = NL + "\t\t\t\t";
+ protected final String TEXT_68 = " ";
+ protected final String TEXT_69 = " = (";
+ protected final String TEXT_70 = ")eVirtualGet(";
+ protected final String TEXT_71 = ", ";
+ protected final String TEXT_72 = ");" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_73 = " == null ? ";
+ protected final String TEXT_74 = " != null : !";
+ protected final String TEXT_75 = ".equals(";
+ protected final String TEXT_76 = ");";
+ protected final String TEXT_77 = NL + "\t\t\t\treturn ";
+ protected final String TEXT_78 = " == null ? ";
+ protected final String TEXT_79 = "() != null : !";
+ protected final String TEXT_80 = ".equals(";
+ protected final String TEXT_81 = "());";
+ protected final String TEXT_82 = NL + "\t\t}";
+ protected final String TEXT_83 = NL + "\t\treturn super.eIsSet(featureID);";
+ protected final String TEXT_84 = NL + "\t\treturn eDynamicIsSet(featureID);";
+ protected final String TEXT_85 = NL + "\t}" + NL + NL;
+ protected final String TEXT_86 = NL;
+ protected final String TEXT_87 = NL;
+
+ public InterfaceeIsSetoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(TEXT_87);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.useGenerics()) {
+ for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {
+ if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType()
+ && !genClass.isField(genFeature) && genFeature.isField()
+ && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_2);
+ break;
+ }
+ }
+ }
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_3);
+ }
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_5);
+ for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {
+ String safeNameAccessor = genFeature.getSafeName();
+ if ("featureID".equals(safeNameAccessor)) {
+ safeNameAccessor = "this." + safeNameAccessor;
+ }
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_7);
+ if (genFeature.hasSettingDelegate()) {
+ if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_9);
+ } else {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_11);
+ }
+ } else if (genFeature.isListType() && !genFeature.isUnsettable()) {
+ if (genFeature.isWrappedFeatureMapType()) {
+ if (genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_14);
+ } else {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_17);
+ }
+ } else {
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_20);
+ } else {
+ if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_27);
+ } else {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_29);
+ }
+ }
+ }
+ } else if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_31);
+ } else if (genFeature.isResolveProxies()) {
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_33);
+ } else {
+ if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_35);
+ } else {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_37);
+ }
+ }
+ } else if (!genFeature.hasEDefault()) {
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_39);
+ } else {
+ if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_41);
+ } else {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_43);
+ }
+ }
+ } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) {
+ if (genClass.isField(genFeature)) {
+ if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_47);
+ } else {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_51);
+ }
+ } else {
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_54);
+ }
+ } else {
+ if (genFeature.isEnumType() && genFeature.isField()
+ && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_58);
+ } else {
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_61);
+ }
+ }
+ } else {//datatype
+ if (genClass.isField(genFeature)) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_66);
+ } else {
+ if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(safeNameAccessor);
+ stringBuffer.append(TEXT_76);
+ } else {
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_81);
+ }
+ }
+ }
+ }
+ stringBuffer.append(TEXT_82);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_83);
+ } else {
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeUnsetoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeUnsetoverride.java
new file mode 100644
index 0000000..f5fcbe3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeUnsetoverride.java
@@ -0,0 +1,344 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceeUnsetoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceeUnsetoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceeUnsetoverride result = new InterfaceeUnsetoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL + "\t@Override";
+ protected final String TEXT_3 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
+ protected final String TEXT_4 = ")" + NL + "\t\t{";
+ protected final String TEXT_5 = NL + "\t\t\tcase ";
+ protected final String TEXT_6 = ":";
+ protected final String TEXT_7 = NL + "\t\t\t\t((";
+ protected final String TEXT_8 = ".Internal.Wrapper)";
+ protected final String TEXT_9 = "()).featureMap().clear();";
+ protected final String TEXT_10 = NL + "\t\t\t\t";
+ protected final String TEXT_11 = "().clear();";
+ protected final String TEXT_12 = NL + "\t\t\t\tunset";
+ protected final String TEXT_13 = "();";
+ protected final String TEXT_14 = NL + "\t\t\t\tset";
+ protected final String TEXT_15 = "((";
+ protected final String TEXT_16 = ")null);";
+ protected final String TEXT_17 = NL + "\t\t\t\t";
+ protected final String TEXT_18 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);";
+ protected final String TEXT_19 = NL + "\t\t\t\tset";
+ protected final String TEXT_20 = "(";
+ protected final String TEXT_21 = ");";
+ protected final String TEXT_22 = NL + "\t\t\t\treturn;";
+ protected final String TEXT_23 = NL + "\t\t}";
+ protected final String TEXT_24 = NL + "\t\tsuper.eUnset(featureID);";
+ protected final String TEXT_25 = NL + "\t\teDynamicUnset(featureID);";
+ protected final String TEXT_26 = NL + "\t}" + NL + NL;
+ protected final String TEXT_27 = NL;
+ protected final String TEXT_28 = NL;
+
+ public InterfaceeUnsetoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(TEXT_28);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_2);
+ }
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_4);
+ for (GenFeature genFeature : genClass.getEUnsetGenFeatures()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(TEXT_6);
+ if (genFeature.isListType() && !genFeature.isUnsettable()) {
+ if (genFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_9);
+ } else {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_11);
+ }
+ } else if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_13);
+ } else if (!genFeature.hasEDefault()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_16);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_18);
+ } else {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ }
+ stringBuffer.append(TEXT_23);
+ if (genModel.isMinimalReflectiveMethods()) {
+ stringBuffer.append(TEXT_24);
+ } else {
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceegfCustomconstructoroverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceegfCustomconstructoroverride.java
new file mode 100644
index 0000000..2efc6f1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceegfCustomconstructoroverride.java
@@ -0,0 +1,265 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceegfCustomconstructoroverride {
+ protected static String nl;
+
+ public static synchronized InterfaceegfCustomconstructoroverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceegfCustomconstructoroverride result = new InterfaceegfCustomconstructoroverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\tsuper();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public InterfaceegfCustomconstructoroverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureReifiedoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureReifiedoverride.java
new file mode 100644
index 0000000..368a2e5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureReifiedoverride.java
@@ -0,0 +1,660 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegenFeatureReifiedoverride {
+ protected static String nl;
+
+ public static synchronized InterfacegenFeatureReifiedoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegenFeatureReifiedoverride result = new InterfacegenFeatureReifiedoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_4 = NL + "\t@Override";
+ protected final String TEXT_5 = NL + "\tpublic ";
+ protected final String TEXT_6 = "[] ";
+ protected final String TEXT_7 = "()" + NL + "\t{";
+ protected final String TEXT_8 = NL + "\t\t";
+ protected final String TEXT_9 = " list = (";
+ protected final String TEXT_10 = ")";
+ protected final String TEXT_11 = "();" + NL + "\t\tif (list.isEmpty()) return ";
+ protected final String TEXT_12 = "_EEMPTY_ARRAY;";
+ protected final String TEXT_13 = NL + "\t\tif (";
+ protected final String TEXT_14 = " == null || ";
+ protected final String TEXT_15 = ".isEmpty()) return ";
+ protected final String TEXT_16 = "_EEMPTY_ARRAY;" + NL + "\t\t";
+ protected final String TEXT_17 = " list = (";
+ protected final String TEXT_18 = ")";
+ protected final String TEXT_19 = ";";
+ protected final String TEXT_20 = NL + "\t\tlist.shrink();" + NL + "\t\treturn (";
+ protected final String TEXT_21 = "[])list.data();" + NL + "\t}" + NL;
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_23 = NL;
+ protected final String TEXT_24 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_25 = NL + "\t@Override";
+ protected final String TEXT_26 = NL + "\tpublic ";
+ protected final String TEXT_27 = " ";
+ protected final String TEXT_28 = "_";
+ protected final String TEXT_29 = "()" + NL + "\t{";
+ protected final String TEXT_30 = NL;
+ protected final String TEXT_31 = NL + "\t\t";
+ protected final String TEXT_32 = " ";
+ protected final String TEXT_33 = " = (";
+ protected final String TEXT_34 = ")eVirtualGet(";
+ protected final String TEXT_35 = ");";
+ protected final String TEXT_36 = NL + "\t\tif (";
+ protected final String TEXT_37 = " == null)" + NL + "\t\t{";
+ protected final String TEXT_38 = NL + "\t\t\teVirtualSet(";
+ protected final String TEXT_39 = ", ";
+ protected final String TEXT_40 = " = new ";
+ protected final String TEXT_41 = ");";
+ protected final String TEXT_42 = NL + "\t\t\t";
+ protected final String TEXT_43 = " = new ";
+ protected final String TEXT_44 = ";";
+ protected final String TEXT_45 = NL + "\t\t}" + NL + "\t\treturn ";
+ protected final String TEXT_46 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_47 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated"
+ + NL + "\t */";
+ protected final String TEXT_48 = NL;
+ protected final String TEXT_49 = NL + "\t@Override";
+ protected final String TEXT_50 = NL + "\tpublic ";
+ protected final String TEXT_51 = " basicSet";
+ protected final String TEXT_52 = "(";
+ protected final String TEXT_53 = " new";
+ protected final String TEXT_54 = ", ";
+ protected final String TEXT_55 = " msgs)" + NL + "\t{" + NL + "\t\treturn super.basicSet";
+ protected final String TEXT_56 = "(new";
+ protected final String TEXT_57 = ", msgs);" + NL + "\t}" + NL;
+ protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated"
+ + NL + "\t */";
+ protected final String TEXT_59 = NL;
+ protected final String TEXT_60 = NL + "\t@Override";
+ protected final String TEXT_61 = NL + "\tpublic void set";
+ protected final String TEXT_62 = "_";
+ protected final String TEXT_63 = "(";
+ protected final String TEXT_64 = " ";
+ protected final String TEXT_65 = ")" + NL + "\t{" + NL + "\t\tsuper.set";
+ protected final String TEXT_66 = "_";
+ protected final String TEXT_67 = "(";
+ protected final String TEXT_68 = ");" + NL + "\t}" + NL;
+ protected final String TEXT_69 = NL;
+ protected final String TEXT_70 = NL;
+ protected final String TEXT_71 = NL;
+
+ public InterfacegenFeatureReifiedoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> classExtendsGenClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> classExtendsAllGenFeaturesList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object classExtendsGenClassParameter : classExtendsGenClassList) {
+ for (Object classExtendsAllGenFeaturesParameter : classExtendsAllGenFeaturesList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.classExtendsGenClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) classExtendsGenClassParameter;
+ this.classExtendsAllGenFeatures = (java.util.List) classExtendsAllGenFeaturesParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(TEXT_71);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("classExtendsGenClass", this.classExtendsGenClass);
+ parameterValues.put("classExtendsAllGenFeatures", this.classExtendsAllGenFeatures);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass classExtendsGenClass = null;
+
+ public void set_classExtendsGenClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.classExtendsGenClass = object;
+ }
+
+ protected java.util.List classExtendsAllGenFeatures = null;
+
+ public void set_classExtendsAllGenFeatures(java.util.List object) {
+ this.classExtendsAllGenFeatures = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("classExtendsGenClass", this.classExtendsGenClass);
+ parameters.put("classExtendsAllGenFeatures", this.classExtendsAllGenFeatures);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ String arrayElementType = genFeature.getArrayItemType(genClass);
+ stringBuffer.append(TEXT_2);
+ if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {
+ stringBuffer.append(TEXT_3);
+ }
+ if (classExtendsAllGenFeatures.contains(genFeature)) {
+ stringBuffer.append(TEXT_4);
+ }
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_7);
+ if (genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_12);
+ } else {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_21);
+ }
+ if (genFeature.isGet() && genFeature.isListType()) {
+ stringBuffer.append(TEXT_22);
+ if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_23);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wTpQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ if (genFeature.isListType() && genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_24);
+ }
+ if (classExtendsAllGenFeatures.contains(genFeature)) {
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genFeature.getGetAccessor());
+ if (genClass.hasCollidingGetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_28);
+ }
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(TEXT_30);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wczMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_37);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genClass.getListConstructor(genFeature));
+ stringBuffer.append(TEXT_41);
+ } else {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genClass.getListConstructor(genFeature));
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : "");
+ stringBuffer.append(TEXT_46);
+ }
+ if (!genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {
+ stringBuffer.append(TEXT_47);
+ if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_48);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xpGAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ if (classExtendsAllGenFeatures.contains(genFeature)) {
+ stringBuffer.append(TEXT_49);
+ }
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getImportedInternalType(genClass));
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_57);
+ }
+ if (genFeature.isSet() && !(!genModel.isReflectiveDelegation() && genFeature.isBasicSet())) {
+ stringBuffer.append(TEXT_58);
+ if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_59);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ysO4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ {
+ GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);
+ if (classExtendsAllGenFeatures.contains(genFeature)) {
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingSetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_62);
+ }
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName()
+ : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingSetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_66);
+ }
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName()
+ : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(TEXT_68);
+ }
+ }
+ stringBuffer.append(TEXT_69);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureinsert.java
new file mode 100644
index 0000000..cd94d79
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegenFeatureinsert {
+ protected static String nl;
+
+ public static synchronized InterfacegenFeatureinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegenFeatureinsert result = new InterfacegenFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacegenFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureoverride.java
new file mode 100644
index 0000000..8d41ba9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureoverride.java
@@ -0,0 +1,750 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfacegenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegenFeatureoverride result = new InterfacegenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t";
+ protected final String TEXT_4 = "[] ";
+ protected final String TEXT_5 = "();" + NL;
+ protected final String TEXT_6 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_7 = NL + "\tpublic ";
+ protected final String TEXT_8 = "[] ";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL + "\t\t";
+ protected final String TEXT_11 = " list = (";
+ protected final String TEXT_12 = ")";
+ protected final String TEXT_13 = "();" + NL + "\t\tif (list.isEmpty()) return ";
+ protected final String TEXT_14 = "_EEMPTY_ARRAY;";
+ protected final String TEXT_15 = NL + "\t\tif (";
+ protected final String TEXT_16 = " == null || ";
+ protected final String TEXT_17 = ".isEmpty()) return ";
+ protected final String TEXT_18 = "_EEMPTY_ARRAY;" + NL + "\t\t";
+ protected final String TEXT_19 = " list = (";
+ protected final String TEXT_20 = ")";
+ protected final String TEXT_21 = ";";
+ protected final String TEXT_22 = NL + "\t\tlist.shrink();" + NL + "\t\treturn (";
+ protected final String TEXT_23 = "[])list.data();" + NL + "\t}" + NL;
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_25 = NL + "\t";
+ protected final String TEXT_26 = " get";
+ protected final String TEXT_27 = "(int index);" + NL;
+ protected final String TEXT_28 = NL + "\tpublic ";
+ protected final String TEXT_29 = " get";
+ protected final String TEXT_30 = "(int index)" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_31 = "(";
+ protected final String TEXT_32 = ")";
+ protected final String TEXT_33 = "().get(index);" + NL + "\t}" + NL;
+ protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_35 = NL + "\tint get";
+ protected final String TEXT_36 = "Length();" + NL;
+ protected final String TEXT_37 = NL + "\tpublic int get";
+ protected final String TEXT_38 = "Length()" + NL + "\t{";
+ protected final String TEXT_39 = NL + "\t\treturn ";
+ protected final String TEXT_40 = "().size();";
+ protected final String TEXT_41 = NL + "\t\treturn ";
+ protected final String TEXT_42 = " == null ? 0 : ";
+ protected final String TEXT_43 = ".size();";
+ protected final String TEXT_44 = NL + "\t}" + NL;
+ protected final String TEXT_45 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_46 = NL + "\tvoid set";
+ protected final String TEXT_47 = "(";
+ protected final String TEXT_48 = "[] new";
+ protected final String TEXT_49 = ");" + NL;
+ protected final String TEXT_50 = NL + "\tpublic void set";
+ protected final String TEXT_51 = "(";
+ protected final String TEXT_52 = "[] new";
+ protected final String TEXT_53 = ")" + NL + "\t{" + NL + "\t\t((";
+ protected final String TEXT_54 = ")";
+ protected final String TEXT_55 = "()).setData(new";
+ protected final String TEXT_56 = ".length, new";
+ protected final String TEXT_57 = ");" + NL + "\t}" + NL;
+ protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_59 = NL + "\tvoid set";
+ protected final String TEXT_60 = "(int index, ";
+ protected final String TEXT_61 = " element);" + NL;
+ protected final String TEXT_62 = NL + "\tpublic void set";
+ protected final String TEXT_63 = "(int index, ";
+ protected final String TEXT_64 = " element)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_65 = "().set(index, element);" + NL + "\t}" + NL;
+ protected final String TEXT_66 = NL;
+ protected final String TEXT_67 = NL;
+ protected final String TEXT_68 = NL;
+ protected final String TEXT_69 = NL;
+ protected final String TEXT_70 = NL;
+ protected final String TEXT_71 = NL;
+ protected final String TEXT_72 = NL;
+ protected final String TEXT_73 = NL;
+ protected final String TEXT_74 = NL;
+ protected final String TEXT_75 = NL;
+ protected final String TEXT_76 = NL;
+
+ public InterfacegenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(TEXT_76);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
+ String arrayElementType = genFeature.getArrayItemType(genClass);
+ stringBuffer.append(TEXT_2);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_5);
+ } else {
+ if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getGetArrayAccessor());
+ stringBuffer.append(TEXT_9);
+ if (genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_14);
+ } else {
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(arrayElementType);
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_27);
+ } else {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_30);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_36);
+ } else {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_38);
+ if (genFeature.isVolatile()) {
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_40);
+ } else {
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_43);
+ }
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_49);
+ } else {
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(genFeature.getListTemplateArguments(genClass));
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_57);
+ }
+ stringBuffer.append(TEXT_58);
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_61);
+ } else {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getListItemType(genClass));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_65);
+ }
+ }
+ if (genFeature.isGet() && (isImplementation || !genFeature.isSuppressedGetVisibility())) {
+ stringBuffer.append(TEXT_66);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vkCYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/getGenFeature.override.javajetinc
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicGet()) {
+ stringBuffer.append(TEXT_67);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wwVMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicGetGenFeature.override.javajetinc
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {
+ stringBuffer.append(TEXT_68);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xWLEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/basicSetGenFeature.override.javajetinc
+ }
+ if (genFeature.isSet() && (isImplementation || !genFeature.isSuppressedSetVisibility())) {
+ stringBuffer.append(TEXT_69);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yPi8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/setGenFeature.override.javajetinc
+ }
+ if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicUnset()) {
+ stringBuffer.append(TEXT_70);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zSEwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class.basicUnsetGenFeature.override.javajetinc
+ }
+ if (genFeature.isUnset() && (isImplementation || !genFeature.isSuppressedUnsetVisibility())) {
+ stringBuffer.append(TEXT_71);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0z4hsGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/unsetGenFeature.override.javajetinc
+ }
+ if (genFeature.isIsSet() && (isImplementation || !genFeature.isSuppressedIsSetVisibility())) {
+ stringBuffer.append(TEXT_72);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00oIkGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/isSetGenFeature.override.javajetinc
+ }
+ stringBuffer.append(TEXT_73);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_010bYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_74);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationannotationsinsert.java
new file mode 100644
index 0000000..6711f19
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegenOperationannotationsinsert {
+ protected static String nl;
+
+ public static synchronized InterfacegenOperationannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegenOperationannotationsinsert result = new InterfacegenOperationannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacegenOperationannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationinsert.java
new file mode 100644
index 0000000..462775b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegenOperationinsert {
+ protected static String nl;
+
+ public static synchronized InterfacegenOperationinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegenOperationinsert result = new InterfacegenOperationinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacegenOperationinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocinsert.java
new file mode 100644
index 0000000..0389443
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegenOperationjavadocinsert {
+ protected static String nl;
+
+ public static synchronized InterfacegenOperationjavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegenOperationjavadocinsert result = new InterfacegenOperationjavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacegenOperationjavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocoverride.java
new file mode 100644
index 0000000..7e3b0cf
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocoverride.java
@@ -0,0 +1,365 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegenOperationjavadocoverride {
+ protected static String nl;
+
+ public static synchronized InterfacegenOperationjavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegenOperationjavadocoverride result = new InterfacegenOperationjavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_4 = NL + "\t * <!-- begin-model-doc -->";
+ protected final String TEXT_5 = NL + "\t * ";
+ protected final String TEXT_6 = NL + "\t * @param ";
+ protected final String TEXT_7 = NL + "\t * ";
+ protected final String TEXT_8 = NL + "\t * @param ";
+ protected final String TEXT_9 = " ";
+ protected final String TEXT_10 = NL + "\t * <!-- end-model-doc -->";
+ protected final String TEXT_11 = NL + "\t * @model ";
+ protected final String TEXT_12 = NL + "\t * ";
+ protected final String TEXT_13 = NL + "\t * @model";
+ protected final String TEXT_14 = NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_15 = NL;
+ protected final String TEXT_16 = NL;
+
+ public InterfacegenOperationjavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(TEXT_16);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02kCQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ if (genOperation.hasDocumentation() || genOperation.hasParameterDocumentation()) {
+ stringBuffer.append(TEXT_4);
+ if (genOperation.hasDocumentation()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genOperation.getDocumentation(genModel.getIndentation(stringBuffer)));
+ }
+ for (GenParameter genParameter : genOperation.getGenParameters()) {
+ if (genParameter.hasDocumentation()) {
+ String documentation = genParameter.getDocumentation("");
+ if (documentation.contains("\n") || documentation.contains("\r")) {
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genParameter.getDocumentation(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genParameter.getName());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genParameter.getDocumentation(genModel.getIndentation(stringBuffer)));
+ }
+ }
+ }
+ stringBuffer.append(TEXT_10);
+ }
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_13);
+ }
+ }
+ stringBuffer.append(TEXT_14);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationoverride.java
new file mode 100644
index 0000000..9340ff0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationoverride.java
@@ -0,0 +1,699 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegenOperationoverride {
+ protected static String nl;
+
+ public static synchronized InterfacegenOperationoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegenOperationoverride result = new InterfacegenOperationoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * The cached validation expression for the '{@link #";
+ protected final String TEXT_3 = "(";
+ protected final String TEXT_4 = ") <em>";
+ protected final String TEXT_5 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_6 = "(";
+ protected final String TEXT_7 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final ";
+ protected final String TEXT_8 = " ";
+ protected final String TEXT_9 = "__EEXPRESSION = \"";
+ protected final String TEXT_10 = "\";";
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached invocation delegate for the '{@link #";
+ protected final String TEXT_13 = "(";
+ protected final String TEXT_14 = ") <em>";
+ protected final String TEXT_15 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_16 = "(";
+ protected final String TEXT_17 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final ";
+ protected final String TEXT_18 = ".Internal.InvocationDelegate ";
+ protected final String TEXT_19 = "__EINVOCATION_DELEGATE = ((";
+ protected final String TEXT_20 = ".Internal)";
+ protected final String TEXT_21 = ").getInvocationDelegate();" + NL;
+ protected final String TEXT_22 = NL;
+ protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_24 = NL;
+ protected final String TEXT_25 = NL + "\t";
+ protected final String TEXT_26 = " ";
+ protected final String TEXT_27 = "(";
+ protected final String TEXT_28 = ")";
+ protected final String TEXT_29 = ";" + NL;
+ protected final String TEXT_30 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_31 = NL + "\tpublic ";
+ protected final String TEXT_32 = " ";
+ protected final String TEXT_33 = "(";
+ protected final String TEXT_34 = ")";
+ protected final String TEXT_35 = NL + "\t{";
+ protected final String TEXT_36 = NL + "\t\t";
+ protected final String TEXT_37 = NL + "\t\treturn" + NL + "\t\t\t";
+ protected final String TEXT_38 = ".validate" + NL + "\t\t\t\t(";
+ protected final String TEXT_39 = "," + NL + "\t\t\t\t this," + NL + "\t\t\t\t ";
+ protected final String TEXT_40 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_41 = "," + NL + "\t\t\t\t \"";
+ protected final String TEXT_42 = "\",";
+ protected final String TEXT_43 = NL + "\t\t\t\t ";
+ protected final String TEXT_44 = "," + NL + "\t\t\t\t ";
+ protected final String TEXT_45 = "__EEXPRESSION," + NL + "\t\t\t\t ";
+ protected final String TEXT_46 = ".ERROR," + NL + "\t\t\t\t ";
+ protected final String TEXT_47 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t ";
+ protected final String TEXT_48 = ".";
+ protected final String TEXT_49 = ");";
+ protected final String TEXT_50 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// -> specify the condition that violates the invariant" + NL
+ + "\t\t// -> verify the details of the diagnostic, including severity and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_51 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_52 = ".add" + NL + "\t\t\t\t\t(new ";
+ protected final String TEXT_53 = NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_54 = ".ERROR," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_55 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_56 = ".";
+ protected final String TEXT_57 = "," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_58 = ".INSTANCE.getString(\"_UI_GenericInvariant_diagnostic\", new Object[] { \"";
+ protected final String TEXT_59 = "\", ";
+ protected final String TEXT_60 = ".getObjectLabel(this, ";
+ protected final String TEXT_61 = ") }),";
+ protected final String TEXT_62 = NL + "\t\t\t\t\t\t new Object [] { this }));" + NL + "\t\t\t}" + NL
+ + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
+ protected final String TEXT_63 = NL + "\t\ttry" + NL + "\t\t{";
+ protected final String TEXT_64 = NL + "\t\t\t";
+ protected final String TEXT_65 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, ";
+ protected final String TEXT_66 = "new ";
+ protected final String TEXT_67 = ".UnmodifiableEList<Object>(";
+ protected final String TEXT_68 = ", ";
+ protected final String TEXT_69 = ")";
+ protected final String TEXT_70 = "null";
+ protected final String TEXT_71 = ");";
+ protected final String TEXT_72 = NL + "\t\t\treturn ";
+ protected final String TEXT_73 = "(";
+ protected final String TEXT_74 = "(";
+ protected final String TEXT_75 = ")";
+ protected final String TEXT_76 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, ";
+ protected final String TEXT_77 = "new ";
+ protected final String TEXT_78 = ".UnmodifiableEList<Object>(";
+ protected final String TEXT_79 = ", ";
+ protected final String TEXT_80 = ")";
+ protected final String TEXT_81 = "null";
+ protected final String TEXT_82 = ")";
+ protected final String TEXT_83 = ").";
+ protected final String TEXT_84 = "()";
+ protected final String TEXT_85 = ";";
+ protected final String TEXT_86 = NL + "\t\t}" + NL + "\t\tcatch (";
+ protected final String TEXT_87 = " ite)" + NL + "\t\t{" + NL + "\t\t\tthrow new ";
+ protected final String TEXT_88 = "(ite);" + NL + "\t\t}";
+ protected final String TEXT_89 = NL;
+ protected final String TEXT_90 = NL + "\t}" + NL;
+ protected final String TEXT_91 = NL;
+ protected final String TEXT_92 = NL;
+ protected final String TEXT_93 = NL;
+ protected final String TEXT_94 = NL;
+
+ public InterfacegenOperationoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(TEXT_94);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isImplementation) {
+ if (genOperation.isInvariant() && genOperation.hasInvariantExpression()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genOperation.getInvariantExpression("\t\t"));
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_11);
+ } else if (genOperation.hasInvocationDelegate()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation"));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genOperation.getQualifiedOperationAccessor());
+ stringBuffer.append(TEXT_21);
+ }
+ }
+ if (isInterface) {
+ stringBuffer.append(TEXT_22);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02HWUGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/genOperation.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_23);
+ if (isJDK50) { //Class/genOperation.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_24);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.annotations.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02tzQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genOperation.getTypeParameters(genClass));
+ stringBuffer.append(genOperation.getImportedType(genClass));
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genOperation.getParameters(genClass));
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genOperation.getThrows(genClass));
+ stringBuffer.append(TEXT_29);
+ } else {
+ if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant()
+ && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genOperation.getTypeParameters(genClass));
+ stringBuffer.append(genOperation.getImportedType(genClass));
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genOperation.getParameters(isImplementation, genClass));
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genOperation.getThrows(genClass));
+ stringBuffer.append(TEXT_35);
+ if (genOperation.hasBody()) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genOperation.getBody(genModel.getIndentation(stringBuffer)));
+ } else if (genOperation.isInvariant()) {
+ GenClass opClass = genOperation.getGenClass();
+ String diagnostics = genOperation.getGenParameters().get(0).getName();
+ String context = genOperation.getGenParameters().get(1).getName();
+ if (genOperation.hasInvariantExpression()) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genOperation.getValidationDelegate());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genOperation.getQualifiedOperationAccessor());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(opClass.getOperationID(genOperation));
+ stringBuffer.append(TEXT_49);
+ } else {
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(diagnostics);
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(opClass.getOperationID(genOperation));
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator"));
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(context);
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(genModel.getNonNLS(2));
+ stringBuffer.append(TEXT_62);
+ }
+ } else if (genOperation.hasInvocationDelegate()) {
+ int size = genOperation.getGenParameters().size();
+ stringBuffer.append(TEXT_63);
+ if (genOperation.isVoid()) {
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
+ stringBuffer.append(TEXT_65);
+ if (size > 0) {
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(size);
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genOperation.getParametersArray(genClass));
+ stringBuffer.append(TEXT_69);
+ } else {
+ stringBuffer.append(TEXT_70);
+ }
+ stringBuffer.append(TEXT_71);
+ } else {
+ stringBuffer.append(TEXT_72);
+ if (!isJDK50 && genOperation.isPrimitiveType()) {
+ stringBuffer.append(TEXT_73);
+ }
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genOperation.getObjectType(genClass));
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
+ stringBuffer.append(TEXT_76);
+ if (size > 0) {
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList"));
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(size);
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genOperation.getParametersArray(genClass));
+ stringBuffer.append(TEXT_80);
+ } else {
+ stringBuffer.append(TEXT_81);
+ }
+ stringBuffer.append(TEXT_82);
+ if (!isJDK50 && genOperation.isPrimitiveType()) {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genOperation.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_84);
+ }
+ stringBuffer.append(TEXT_85);
+ }
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException"));
+ stringBuffer.append(TEXT_88);
+ } else {
+ stringBuffer.append(TEXT_89);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.implementedGenOperation.TODO.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0229MGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/implementedGenOperation.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_90);
+ }
+ stringBuffer.append(TEXT_91);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03AuMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_92);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..8b1a5e3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureTODOoverride.java
@@ -0,0 +1,305 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized InterfacegetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegetGenFeatureTODOoverride result = new InterfacegetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT";
+ protected final String TEXT_4 = NL
+ + "\t\t// The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting"
+ + NL + "\t\t// so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.";
+ protected final String TEXT_5 = "EcoreEMap";
+ protected final String TEXT_6 = "BasicFeatureMap";
+ protected final String TEXT_7 = "EcoreEList";
+ protected final String TEXT_8 = " should be used.";
+ protected final String TEXT_9 = NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL;
+
+ public InterfacegetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(TEXT_11);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ if (genFeature.isListType()) {
+ stringBuffer.append(TEXT_4);
+ if (genFeature.isMapType()) {
+ stringBuffer.append(TEXT_5);
+ } else if (genFeature.isFeatureMapType()) {
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..7eed5a8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized InterfacegetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegetGenFeatureannotationsinsert result = new InterfacegetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacegetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocinsert.java
new file mode 100644
index 0000000..0c1dfad
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegetGenFeaturejavadocinsert {
+ protected static String nl;
+
+ public static synchronized InterfacegetGenFeaturejavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegetGenFeaturejavadocinsert result = new InterfacegetGenFeaturejavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacegetGenFeaturejavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocoverride.java
new file mode 100644
index 0000000..99edfcc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocoverride.java
@@ -0,0 +1,510 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegetGenFeaturejavadocoverride {
+ protected static String nl;
+
+ public static synchronized InterfacegetGenFeaturejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegetGenFeaturejavadocoverride result = new InterfacegetGenFeaturejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * Returns the value of the '<em><b>";
+ protected final String TEXT_2 = "</b></em>' ";
+ protected final String TEXT_3 = ".";
+ protected final String TEXT_4 = NL + "\t * The key is of type ";
+ protected final String TEXT_5 = "list of {@link ";
+ protected final String TEXT_6 = "}";
+ protected final String TEXT_7 = "{@link ";
+ protected final String TEXT_8 = "}";
+ protected final String TEXT_9 = "," + NL + "\t * and the value is of type ";
+ protected final String TEXT_10 = "list of {@link ";
+ protected final String TEXT_11 = "}";
+ protected final String TEXT_12 = "{@link ";
+ protected final String TEXT_13 = "}";
+ protected final String TEXT_14 = ",";
+ protected final String TEXT_15 = NL + "\t * The list contents are of type {@link ";
+ protected final String TEXT_16 = "}";
+ protected final String TEXT_17 = ".";
+ protected final String TEXT_18 = NL + "\t * The default value is <code>";
+ protected final String TEXT_19 = "</code>.";
+ protected final String TEXT_20 = NL + "\t * The literals are from the enumeration {@link ";
+ protected final String TEXT_21 = "}.";
+ protected final String TEXT_22 = NL + "\t * It is bidirectional and its opposite is '{@link ";
+ protected final String TEXT_23 = "#";
+ protected final String TEXT_24 = " <em>";
+ protected final String TEXT_25 = "</em>}'.";
+ protected final String TEXT_26 = NL;
+ protected final String TEXT_27 = NL + "\t * <!-- begin-user-doc -->";
+ protected final String TEXT_28 = NL + "\t * <p>" + NL + "\t * If the meaning of the '<em>";
+ protected final String TEXT_29 = "</em>' ";
+ protected final String TEXT_30 = " isn't clear," + NL + "\t * there really should be more of a description here..."
+ + NL + "\t * </p>";
+ protected final String TEXT_31 = NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_32 = NL + "\t * <!-- begin-model-doc -->" + NL + "\t * ";
+ protected final String TEXT_33 = NL + "\t * <!-- end-model-doc -->";
+ protected final String TEXT_34 = NL + "\t * @return the value of the '<em>";
+ protected final String TEXT_35 = "</em>' ";
+ protected final String TEXT_36 = ".";
+ protected final String TEXT_37 = NL + "\t * @see ";
+ protected final String TEXT_38 = NL + "\t * @see #isSet";
+ protected final String TEXT_39 = "()";
+ protected final String TEXT_40 = NL + "\t * @see #unset";
+ protected final String TEXT_41 = "()";
+ protected final String TEXT_42 = NL + "\t * @see #set";
+ protected final String TEXT_43 = "(";
+ protected final String TEXT_44 = ")";
+ protected final String TEXT_45 = NL + "\t * @see ";
+ protected final String TEXT_46 = "#get";
+ protected final String TEXT_47 = "()";
+ protected final String TEXT_48 = NL + "\t * @see ";
+ protected final String TEXT_49 = "#";
+ protected final String TEXT_50 = NL + "\t * @model ";
+ protected final String TEXT_51 = NL + "\t * ";
+ protected final String TEXT_52 = NL + "\t * @model";
+ protected final String TEXT_53 = NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_54 = NL;
+ protected final String TEXT_55 = NL;
+
+ public InterfacegetGenFeaturejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(TEXT_55);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ if (genFeature.isListType() && genFeature.getEcoreFeature().getEGenericType().getETypeParameter() == null) {
+ if (genFeature.isMapType()) {
+ GenFeature keyFeature = genFeature.getMapEntryTypeGenClass().getMapEntryKeyFeature();
+ GenFeature valueFeature = genFeature.getMapEntryTypeGenClass().getMapEntryValueFeature();
+ stringBuffer.append(TEXT_4);
+ if (keyFeature.isListType()) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(keyFeature.getQualifiedListItemType(genClass));
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(keyFeature.getType(genClass));
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (valueFeature.isListType()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(valueFeature.getQualifiedListItemType(genClass));
+ stringBuffer.append(TEXT_11);
+ } else {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(valueFeature.getType(genClass));
+ stringBuffer.append(TEXT_13);
+ }
+ stringBuffer.append(TEXT_14);
+ } else if (!genFeature.isWrappedFeatureMapType()
+ && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature
+ .getQualifiedListItemType(genClass)))) {
+ String typeName = genFeature.getQualifiedListItemType(genClass);
+ String head = typeName;
+ String tail = "";
+ int index = typeName.indexOf('<');
+ if (index == -1) {
+ index = typeName.indexOf('[');
+ }
+ if (index != -1) {
+ head = typeName.substring(0, index);
+ tail = typeName.substring(index).replaceAll("<", "<");
+ }
+
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(head);
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(tail);
+ stringBuffer.append(TEXT_17);
+ }
+ } else if (genFeature.isSetDefaultValue()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getDefaultValue());
+ stringBuffer.append(TEXT_19);
+ }
+ if (genFeature.getTypeGenEnum() != null) {
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getTypeGenEnum().getQualifiedName());
+ stringBuffer.append(TEXT_21);
+ }
+ if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) {
+ GenFeature reverseGenFeature = genFeature.getReverse();
+ if (!reverseGenFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(reverseGenFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(reverseGenFeature.getGetAccessor());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(reverseGenFeature.getFormattedName());
+ stringBuffer.append(TEXT_25);
+ }
+ }
+ stringBuffer.append(TEXT_26);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wJ4QGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_27);
+ if (!genFeature.hasDocumentation()) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_30);
+ }
+ stringBuffer.append(TEXT_31);
+ if (genFeature.hasDocumentation()) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getDocumentation(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_36);
+ if (genFeature.getTypeGenEnum() != null) {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getTypeGenEnum().getQualifiedName());
+ }
+ if (genFeature.isUnsettable()) {
+ if (!genFeature.isSuppressedIsSetVisibility()) {
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_39);
+ }
+ if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_41);
+ }
+ }
+ if (genFeature.isChangeable() && !genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genFeature.getRawImportedBoundType());
+ stringBuffer.append(TEXT_44);
+ }
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getFeatureAccessorName());
+ stringBuffer.append(TEXT_47);
+ }
+ if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) {
+ GenFeature reverseGenFeature = genFeature.getReverse();
+ if (!reverseGenFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(reverseGenFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(reverseGenFeature.getGetAccessor());
+ }
+ }
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_52);
+ }
+ }
+ stringBuffer.append(TEXT_53);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureoverride.java
new file mode 100644
index 0000000..125922c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureoverride.java
@@ -0,0 +1,1021 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfacegetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegetGenFeatureoverride result = new InterfacegetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "\t";
+ protected final String TEXT_6 = " ";
+ protected final String TEXT_7 = "();" + NL;
+ protected final String TEXT_8 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_9 = NL + "\tpublic ";
+ protected final String TEXT_10 = " ";
+ protected final String TEXT_11 = "_";
+ protected final String TEXT_12 = "()" + NL + "\t{";
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL + "\t\treturn ";
+ protected final String TEXT_15 = "(";
+ protected final String TEXT_16 = "(";
+ protected final String TEXT_17 = ")eDynamicGet(";
+ protected final String TEXT_18 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_19 = ", ";
+ protected final String TEXT_20 = ", true, ";
+ protected final String TEXT_21 = ")";
+ protected final String TEXT_22 = ").";
+ protected final String TEXT_23 = "()";
+ protected final String TEXT_24 = ";";
+ protected final String TEXT_25 = NL + "\t\t";
+ protected final String TEXT_26 = NL + "\t\treturn ";
+ protected final String TEXT_27 = "(";
+ protected final String TEXT_28 = "(";
+ protected final String TEXT_29 = ")eGet(";
+ protected final String TEXT_30 = ", true)";
+ protected final String TEXT_31 = ").";
+ protected final String TEXT_32 = "()";
+ protected final String TEXT_33 = ";";
+ protected final String TEXT_34 = NL + "\t\treturn ";
+ protected final String TEXT_35 = "(";
+ protected final String TEXT_36 = "(";
+ protected final String TEXT_37 = ")";
+ protected final String TEXT_38 = "__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false)";
+ protected final String TEXT_39 = ").";
+ protected final String TEXT_40 = "()";
+ protected final String TEXT_41 = ";";
+ protected final String TEXT_42 = NL + "\t\t";
+ protected final String TEXT_43 = " ";
+ protected final String TEXT_44 = " = (";
+ protected final String TEXT_45 = ")eVirtualGet(";
+ protected final String TEXT_46 = ");";
+ protected final String TEXT_47 = NL + "\t\tif (";
+ protected final String TEXT_48 = " == null)" + NL + "\t\t{";
+ protected final String TEXT_49 = NL + "\t\t\teVirtualSet(";
+ protected final String TEXT_50 = ", ";
+ protected final String TEXT_51 = " = new ";
+ protected final String TEXT_52 = ");";
+ protected final String TEXT_53 = NL + "\t\t\t";
+ protected final String TEXT_54 = " = new ";
+ protected final String TEXT_55 = ";";
+ protected final String TEXT_56 = NL + "\t\t}" + NL + "\t\treturn ";
+ protected final String TEXT_57 = ";";
+ protected final String TEXT_58 = NL + "\t\tif (eContainerFeatureID() != ";
+ protected final String TEXT_59 = ") return null;" + NL + "\t\treturn (";
+ protected final String TEXT_60 = ")";
+ protected final String TEXT_61 = "eContainer";
+ protected final String TEXT_62 = "eInternalContainer";
+ protected final String TEXT_63 = "();";
+ protected final String TEXT_64 = NL + "\t\t";
+ protected final String TEXT_65 = " ";
+ protected final String TEXT_66 = " = (";
+ protected final String TEXT_67 = ")eVirtualGet(";
+ protected final String TEXT_68 = ", ";
+ protected final String TEXT_69 = ");";
+ protected final String TEXT_70 = NL + "\t\tif (";
+ protected final String TEXT_71 = " != null && ";
+ protected final String TEXT_72 = ".eIsProxy())" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_73 = " old";
+ protected final String TEXT_74 = " = (";
+ protected final String TEXT_75 = ")";
+ protected final String TEXT_76 = ";" + NL + "\t\t\t";
+ protected final String TEXT_77 = " = ";
+ protected final String TEXT_78 = "eResolveProxy(old";
+ protected final String TEXT_79 = ");" + NL + "\t\t\tif (";
+ protected final String TEXT_80 = " != old";
+ protected final String TEXT_81 = ")" + NL + "\t\t\t{";
+ protected final String TEXT_82 = NL + "\t\t\t\t";
+ protected final String TEXT_83 = " new";
+ protected final String TEXT_84 = " = (";
+ protected final String TEXT_85 = ")";
+ protected final String TEXT_86 = ";";
+ protected final String TEXT_87 = NL + "\t\t\t\t";
+ protected final String TEXT_88 = " msgs = old";
+ protected final String TEXT_89 = ".eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_90 = ", null, null);";
+ protected final String TEXT_91 = NL + "\t\t\t\t";
+ protected final String TEXT_92 = " msgs = old";
+ protected final String TEXT_93 = ".eInverseRemove(this, ";
+ protected final String TEXT_94 = ", ";
+ protected final String TEXT_95 = ".class, null);";
+ protected final String TEXT_96 = NL + "\t\t\t\tif (new";
+ protected final String TEXT_97 = ".eInternalContainer() == null)" + NL + "\t\t\t\t{";
+ protected final String TEXT_98 = NL + "\t\t\t\t\tmsgs = new";
+ protected final String TEXT_99 = ".eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_100 = ", null, msgs);";
+ protected final String TEXT_101 = NL + "\t\t\t\t\tmsgs = new";
+ protected final String TEXT_102 = ".eInverseAdd(this, ";
+ protected final String TEXT_103 = ", ";
+ protected final String TEXT_104 = ".class, msgs);";
+ protected final String TEXT_105 = NL + "\t\t\t\t}" + NL + "\t\t\t\tif (msgs != null) msgs.dispatch();";
+ protected final String TEXT_106 = NL + "\t\t\t\teVirtualSet(";
+ protected final String TEXT_107 = ", ";
+ protected final String TEXT_108 = ");";
+ protected final String TEXT_109 = NL + "\t\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\t\teNotify(new ";
+ protected final String TEXT_110 = "(this, ";
+ protected final String TEXT_111 = ".RESOLVE, ";
+ protected final String TEXT_112 = ", old";
+ protected final String TEXT_113 = ", ";
+ protected final String TEXT_114 = "));";
+ protected final String TEXT_115 = NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_116 = NL + "\t\treturn (";
+ protected final String TEXT_117 = ")eVirtualGet(";
+ protected final String TEXT_118 = ", ";
+ protected final String TEXT_119 = ");";
+ protected final String TEXT_120 = NL + "\t\treturn (";
+ protected final String TEXT_121 = " & ";
+ protected final String TEXT_122 = "_EFLAG) != 0;";
+ protected final String TEXT_123 = NL + "\t\treturn ";
+ protected final String TEXT_124 = "_EFLAG_VALUES[(";
+ protected final String TEXT_125 = " & ";
+ protected final String TEXT_126 = "_EFLAG) >>> ";
+ protected final String TEXT_127 = "_EFLAG_OFFSET];";
+ protected final String TEXT_128 = NL + "\t\treturn ";
+ protected final String TEXT_129 = ";";
+ protected final String TEXT_130 = NL + "\t\t";
+ protected final String TEXT_131 = " ";
+ protected final String TEXT_132 = " = basicGet";
+ protected final String TEXT_133 = "();" + NL + "\t\treturn ";
+ protected final String TEXT_134 = " != null && ";
+ protected final String TEXT_135 = ".eIsProxy() ? ";
+ protected final String TEXT_136 = "eResolveProxy((";
+ protected final String TEXT_137 = ")";
+ protected final String TEXT_138 = ") : ";
+ protected final String TEXT_139 = ";";
+ protected final String TEXT_140 = NL + "\t\treturn new ";
+ protected final String TEXT_141 = "((";
+ protected final String TEXT_142 = ".Internal)((";
+ protected final String TEXT_143 = ".Internal.Wrapper)get";
+ protected final String TEXT_144 = "()).featureMap().";
+ protected final String TEXT_145 = "list(";
+ protected final String TEXT_146 = "));";
+ protected final String TEXT_147 = NL + "\t\treturn (";
+ protected final String TEXT_148 = ")get";
+ protected final String TEXT_149 = "().";
+ protected final String TEXT_150 = "list(";
+ protected final String TEXT_151 = ");";
+ protected final String TEXT_152 = NL + "\t\treturn ((";
+ protected final String TEXT_153 = ".Internal.Wrapper)get";
+ protected final String TEXT_154 = "()).featureMap().list(";
+ protected final String TEXT_155 = ");";
+ protected final String TEXT_156 = NL + "\t\treturn get";
+ protected final String TEXT_157 = "().list(";
+ protected final String TEXT_158 = ");";
+ protected final String TEXT_159 = NL + "\t\treturn ";
+ protected final String TEXT_160 = "(";
+ protected final String TEXT_161 = "(";
+ protected final String TEXT_162 = ")";
+ protected final String TEXT_163 = "((";
+ protected final String TEXT_164 = ".Internal.Wrapper)get";
+ protected final String TEXT_165 = "()).featureMap().get(";
+ protected final String TEXT_166 = ", true)";
+ protected final String TEXT_167 = ").";
+ protected final String TEXT_168 = "()";
+ protected final String TEXT_169 = ";";
+ protected final String TEXT_170 = NL + "\t\treturn ";
+ protected final String TEXT_171 = "(";
+ protected final String TEXT_172 = "(";
+ protected final String TEXT_173 = ")";
+ protected final String TEXT_174 = "get";
+ protected final String TEXT_175 = "().get(";
+ protected final String TEXT_176 = ", true)";
+ protected final String TEXT_177 = ").";
+ protected final String TEXT_178 = "()";
+ protected final String TEXT_179 = ";";
+ protected final String TEXT_180 = NL + "\t\t";
+ protected final String TEXT_181 = NL + "\t\t";
+ protected final String TEXT_182 = NL;
+ protected final String TEXT_183 = NL + "\t}" + NL;
+ protected final String TEXT_184 = NL;
+ protected final String TEXT_185 = NL;
+ protected final String TEXT_186 = NL;
+
+ public InterfacegetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(TEXT_186);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vtMUGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/getGenFeature.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_3);
+ if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wTpQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_7);
+ } else {
+ if (genModel.useGenerics()
+ && ((genFeature.isContainer() || genFeature.isResolveProxies())
+ && !genFeature.isListType()
+ && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation())
+ && genFeature.isUncheckedCast(genClass)
+ || genFeature.isListType()
+ && !genFeature.isFeatureMapType()
+ && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel
+ .isDynamicDelegation()) || genFeature.isListDataType()
+ && genFeature.hasDelegateFeature() || genFeature.isListType()
+ && genFeature.hasSettingDelegate())) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getGetAccessor());
+ if (genClass.hasCollidingGetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wczMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_14);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_18);
+ }
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(!genFeature.isEffectiveSuppressEMFTypes());
+ stringBuffer.append(TEXT_21);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_23);
+ }
+ stringBuffer.append(TEXT_24);
+ } else if (genModel.isReflectiveDelegation()) {
+ if (genFeature.hasGetterBody()) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_26);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_27);
+ }
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_30);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(TEXT_33);
+ }
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_34);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_38);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_40);
+ }
+ stringBuffer.append(TEXT_41);
+ } else if (!genFeature.isVolatile()) {
+ if (genFeature.isListType()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_46);
+ }
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_48);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genClass.getListConstructor(genFeature));
+ stringBuffer.append(TEXT_52);
+ } else {
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genClass.getListConstructor(genFeature));
+ stringBuffer.append(TEXT_55);
+ }
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()"
+ : "");
+ stringBuffer.append(TEXT_57);
+ } else if (genFeature.isContainer()) {
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_60);
+ if (genFeature.isResolveProxies()) {
+ stringBuffer.append(TEXT_61);
+ } else {
+ stringBuffer.append(TEXT_62);
+ }
+ stringBuffer.append(TEXT_63);
+ } else {
+ if (genFeature.isResolveProxies()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ if (genFeature.hasEDefault()) {
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genFeature.getEDefault());
+ }
+ stringBuffer.append(TEXT_69);
+ }
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getSafeNameAsEObject());
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genFeature.getNonEObjectInternalTypeCast(genClass));
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_81);
+ if (genFeature.isEffectiveContains()) {
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_86);
+ if (!genFeature.isBidirectional()) {
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_90);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_95);
+ }
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_97);
+ if (!genFeature.isBidirectional()) {
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_100);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_104);
+ }
+ stringBuffer.append(TEXT_105);
+ } else if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_106);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_108);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_114);
+ }
+ stringBuffer.append(TEXT_115);
+ }
+ if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation()
+ && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ if (genFeature.hasEDefault()) {
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genFeature.getEDefault());
+ }
+ stringBuffer.append(TEXT_119);
+ } else if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_122);
+ } else {
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_127);
+ }
+ } else {
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_129);
+ }
+ }
+ } else {//volatile
+ if (genFeature.isResolveProxies() && !genFeature.isListType()) {
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genFeature.getSafeNameAsEObject());
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(genFeature.getNonEObjectInternalTypeCast(genClass));
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_139);
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (genFeature.isFeatureMapType()) {
+ String featureMapEntryTemplateArgument = isJDK50 ? "<"
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_140);
+ stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperClass());
+ stringBuffer.append(TEXT_141);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(featureMapEntryTemplateArgument);
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_146);
+ } else {
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(featureMapEntryTemplateArgument);
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_151);
+ }
+ } else if (genFeature.isListType()) {
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_153);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_155);
+ } else {
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_157);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_158);
+ }
+ } else {
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_159);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_160);
+ }
+ if (genFeature.getTypeGenDataType() == null
+ || !genFeature.getTypeGenDataType().isObjectType()) {
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_162);
+ }
+ stringBuffer.append(TEXT_163);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_164);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_166);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_167);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_168);
+ }
+ stringBuffer.append(TEXT_169);
+ } else {
+ stringBuffer.append(TEXT_170);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_171);
+ }
+ if (genFeature.getTypeGenDataType() == null
+ || !genFeature.getTypeGenDataType().isObjectType()) {
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_173);
+ }
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_176);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_177);
+ stringBuffer.append(genFeature.getPrimitiveValueFunction());
+ stringBuffer.append(TEXT_178);
+ }
+ stringBuffer.append(TEXT_179);
+ }
+ }
+ } else if (genClass.getGetAccessorOperation(genFeature) != null) {
+ stringBuffer.append(TEXT_180);
+ stringBuffer.append(genClass.getGetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
+ } else if (genFeature.hasGetterBody()) {
+ stringBuffer.append(TEXT_181);
+ stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_182);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wmkMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/getGenFeature.todo.override.javajetinc
+ }
+ }
+ stringBuffer.append(TEXT_183);
+ }
+ stringBuffer.append(TEXT_184);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturepreinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturepreinsert.java
new file mode 100644
index 0000000..2606182
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturepreinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacegetGenFeaturepreinsert {
+ protected static String nl;
+
+ public static synchronized InterfacegetGenFeaturepreinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacegetGenFeaturepreinsert result = new InterfacegetGenFeaturepreinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacegetGenFeaturepreinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceimplementedGenOperationTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceimplementedGenOperationTODOoverride.java
new file mode 100644
index 0000000..2872217
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceimplementedGenOperationTODOoverride.java
@@ -0,0 +1,281 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceimplementedGenOperationTODOoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceimplementedGenOperationTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceimplementedGenOperationTODOoverride result = new InterfaceimplementedGenOperationTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public InterfaceimplementedGenOperationTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinsert.java
new file mode 100644
index 0000000..2ec1f87
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinsert.java
@@ -0,0 +1,263 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Interfaceinsert {
+ protected static String nl;
+
+ public static synchronized Interfaceinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ Interfaceinsert result = new Interfaceinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public Interfaceinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinterfacejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinterfacejavadocoverride.java
new file mode 100644
index 0000000..f1ca765
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinterfacejavadocoverride.java
@@ -0,0 +1,339 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class Interfaceinterfacejavadocoverride {
+ protected static String nl;
+
+ public static synchronized Interfaceinterfacejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ Interfaceinterfacejavadocoverride result = new Interfaceinterfacejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A representation of the model object '<em><b>";
+ protected final String TEXT_2 = "</b></em>'." + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_3 = NL + " *" + NL + " * <!-- begin-model-doc -->" + NL + " * ";
+ protected final String TEXT_4 = NL + " * <!-- end-model-doc -->";
+ protected final String TEXT_5 = NL + " *";
+ protected final String TEXT_6 = NL + " * <p>" + NL + " * The following features are supported:" + NL + " * <ul>";
+ protected final String TEXT_7 = NL + " * <li>{@link ";
+ protected final String TEXT_8 = "#";
+ protected final String TEXT_9 = " <em>";
+ protected final String TEXT_10 = "</em>}</li>";
+ protected final String TEXT_11 = NL + " * </ul>" + NL + " * </p>";
+ protected final String TEXT_12 = NL + " *";
+ protected final String TEXT_13 = NL + " * @see ";
+ protected final String TEXT_14 = "#get";
+ protected final String TEXT_15 = "()";
+ protected final String TEXT_16 = NL + " * @model ";
+ protected final String TEXT_17 = NL + " * ";
+ protected final String TEXT_18 = NL + " * @model";
+ protected final String TEXT_19 = NL + " * @extends ";
+ protected final String TEXT_20 = NL + " * @generated" + NL + " */" + NL;
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL;
+
+ public Interfaceinterfacejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(TEXT_22);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ if (genClass.hasDocumentation()) {
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genClass.getDocumentation(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(TEXT_4);
+ }
+ stringBuffer.append(TEXT_5);
+ if (!genClass.getGenFeatures().isEmpty()) {
+ stringBuffer.append(TEXT_6);
+ for (GenFeature genFeature : genClass.getGenFeatures()) {
+ if (!genFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_10);
+ }
+ }
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ if (!genModel.isSuppressEMFMetaData()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genClass.getClassifierAccessorName());
+ stringBuffer.append(TEXT_15);
+ }
+ if (!genModel.isSuppressEMFModelTags()) {
+ boolean first = true;
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
+ String modelInfo = stringTokenizer.nextToken();
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(modelInfo);
+ } else {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(modelInfo);
+ }
+ }
+ if (first) {
+ stringBuffer.append(TEXT_18);
+ }
+ }
+ if (genClass.needsRootExtendsInterfaceExtendsTag()) {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName(genModel.getRootExtendsInterface()));
+ }
+ stringBuffer.append(TEXT_20);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..c5a518d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureTODOoverride.java
@@ -0,0 +1,287 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceisSetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceisSetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceisSetGenFeatureTODOoverride result = new InterfaceisSetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return whether the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = " is set" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public InterfaceisSetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..2e37a7c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceisSetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized InterfaceisSetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceisSetGenFeatureannotationsinsert result = new InterfaceisSetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfaceisSetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocinsert.java
new file mode 100644
index 0000000..cc2cab6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceisSetGenFeaturejavadocinsert {
+ protected static String nl;
+
+ public static synchronized InterfaceisSetGenFeaturejavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceisSetGenFeaturejavadocinsert result = new InterfaceisSetGenFeaturejavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfaceisSetGenFeaturejavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocoverride.java
new file mode 100644
index 0000000..77b1201
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocoverride.java
@@ -0,0 +1,354 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceisSetGenFeaturejavadocoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceisSetGenFeaturejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceisSetGenFeaturejavadocoverride result = new InterfaceisSetGenFeaturejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * Returns whether the value of the '{@link ";
+ protected final String TEXT_2 = "#";
+ protected final String TEXT_3 = " <em>";
+ protected final String TEXT_4 = "</em>}' ";
+ protected final String TEXT_5 = " is set.";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return whether the value of the '<em>";
+ protected final String TEXT_8 = "</em>' ";
+ protected final String TEXT_9 = " is set.";
+ protected final String TEXT_10 = NL + "\t * @see #unset";
+ protected final String TEXT_11 = "()";
+ protected final String TEXT_12 = NL + "\t * @see #";
+ protected final String TEXT_13 = "()";
+ protected final String TEXT_14 = NL + "\t * @see #set";
+ protected final String TEXT_15 = "(";
+ protected final String TEXT_16 = ")";
+ protected final String TEXT_17 = NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_18 = NL;
+ protected final String TEXT_19 = NL;
+
+ public InterfaceisSetGenFeaturejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(TEXT_19);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01N-cGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_9);
+ if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_13);
+ if (!genFeature.isListType() && genFeature.isChangeable() && !genFeature.isSuppressedSetVisibility()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getRawImportedBoundType());
+ stringBuffer.append(TEXT_16);
+ }
+ stringBuffer.append(TEXT_17);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureoverride.java
new file mode 100644
index 0000000..ffbce6f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureoverride.java
@@ -0,0 +1,522 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceisSetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceisSetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceisSetGenFeatureoverride result = new InterfaceisSetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "\tboolean isSet";
+ protected final String TEXT_6 = "();" + NL;
+ protected final String TEXT_7 = NL + "\tpublic boolean isSet";
+ protected final String TEXT_8 = "_";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL + "\t\treturn eDynamicIsSet(";
+ protected final String TEXT_11 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_12 = ", ";
+ protected final String TEXT_13 = ");";
+ protected final String TEXT_14 = NL + "\t\treturn eIsSet(";
+ protected final String TEXT_15 = ");";
+ protected final String TEXT_16 = NL + "\t\treturn ";
+ protected final String TEXT_17 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);";
+ protected final String TEXT_18 = NL + "\t\t";
+ protected final String TEXT_19 = " ";
+ protected final String TEXT_20 = " = (";
+ protected final String TEXT_21 = ")eVirtualGet(";
+ protected final String TEXT_22 = ");";
+ protected final String TEXT_23 = NL + "\t\treturn ";
+ protected final String TEXT_24 = " != null && ((";
+ protected final String TEXT_25 = ".Unsettable";
+ protected final String TEXT_26 = ")";
+ protected final String TEXT_27 = ").isSet();";
+ protected final String TEXT_28 = NL + "\t\treturn eVirtualIsSet(";
+ protected final String TEXT_29 = ");";
+ protected final String TEXT_30 = NL + "\t\treturn (";
+ protected final String TEXT_31 = " & ";
+ protected final String TEXT_32 = "_ESETFLAG) != 0;";
+ protected final String TEXT_33 = NL + "\t\treturn ";
+ protected final String TEXT_34 = "ESet;";
+ protected final String TEXT_35 = NL + "\t\treturn !((";
+ protected final String TEXT_36 = ".Internal)((";
+ protected final String TEXT_37 = ".Internal.Wrapper)get";
+ protected final String TEXT_38 = "()).featureMap()).isEmpty(";
+ protected final String TEXT_39 = ");";
+ protected final String TEXT_40 = NL + "\t\treturn !((";
+ protected final String TEXT_41 = ".Internal)get";
+ protected final String TEXT_42 = "()).isEmpty(";
+ protected final String TEXT_43 = ");";
+ protected final String TEXT_44 = NL + "\t\t";
+ protected final String TEXT_45 = NL;
+ protected final String TEXT_46 = NL + "\t}" + NL;
+ protected final String TEXT_47 = NL;
+ protected final String TEXT_48 = NL;
+ protected final String TEXT_49 = NL;
+
+ public InterfaceisSetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(TEXT_49);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00x5kGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/isSetGenFeature.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_3);
+ if (isJDK50) { //Class/isSetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01hgcGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingIsSetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_13);
+ } else if (genModel.isReflectiveDelegation()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_15);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_17);
+ } else if (!genFeature.isVolatile()) {
+ if (genFeature.isListType()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_22);
+ }
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_27);
+ } else {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_29);
+ } else if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_32);
+ } else {
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_34);
+ }
+ }
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_39);
+ } else {
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_43);
+ }
+ } else if (genClass.getIsSetAccessorOperation(genFeature) != null) {
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genClass.getIsSetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_45);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01qqYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/isSetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_46);
+ }
+ stringBuffer.append(TEXT_47);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacereflectiveDelegationoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacereflectiveDelegationoverride.java
new file mode 100644
index 0000000..f80897e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacereflectiveDelegationoverride.java
@@ -0,0 +1,298 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacereflectiveDelegationoverride {
+ protected static String nl;
+
+ public static synchronized InterfacereflectiveDelegationoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacereflectiveDelegationoverride result = new InterfacereflectiveDelegationoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected static final int ESTATIC_FEATURE_COUNT = ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_5 = NL + "\t@Override";
+ protected final String TEXT_6 = NL + "\tprotected int eStaticFeatureCount()" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_7 = ";" + NL + "\t}" + NL;
+ protected final String TEXT_8 = NL;
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL;
+
+ public InterfacereflectiveDelegationoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(TEXT_10);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isImplementation
+ && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel
+ .isDynamicDelegation())
+ && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel()
+ .getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass
+ .getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass()
+ .getAllGenFeatures().size());
+ stringBuffer.append(TEXT_3);
+ }
+ stringBuffer.append(TEXT_4);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genClass.getClassExtendsGenClass() == null ? "0"
+ : genClass.hasStaticFeatures() ? "ESTATIC_FEATURE_COUNT" : Integer.toString(genClass
+ .getClassExtendsGenClass().getAllGenFeatures().size()));
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..7ff4654
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureTODOoverride.java
@@ -0,0 +1,299 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacesetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized InterfacesetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacesetGenFeatureTODOoverride result = new InterfacesetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to set the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public InterfacesetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> setAccessorOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object setAccessorOperationParameter : setAccessorOperationList) {
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.setAccessorOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) setAccessorOperationParameter;
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("setAccessorOperation", this.setAccessorOperation);
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation setAccessorOperation = null;
+
+ public void set_setAccessorOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.setAccessorOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("setAccessorOperation", this.setAccessorOperation);
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..eb3b83c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacesetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized InterfacesetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacesetGenFeatureannotationsinsert result = new InterfacesetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacesetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocinsert.java
new file mode 100644
index 0000000..5cfede0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacesetGenFeaturejavadocinsert {
+ protected static String nl;
+
+ public static synchronized InterfacesetGenFeaturejavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacesetGenFeaturejavadocinsert result = new InterfacesetGenFeaturejavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacesetGenFeaturejavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocoverride.java
new file mode 100644
index 0000000..2e66f1c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocoverride.java
@@ -0,0 +1,356 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacesetGenFeaturejavadocoverride {
+ protected static String nl;
+
+ public static synchronized InterfacesetGenFeaturejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacesetGenFeaturejavadocoverride result = new InterfacesetGenFeaturejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * Sets the value of the '{@link ";
+ protected final String TEXT_2 = "#";
+ protected final String TEXT_3 = " <em>";
+ protected final String TEXT_4 = "</em>}' ";
+ protected final String TEXT_5 = ".";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param value the new value of the '<em>";
+ protected final String TEXT_8 = "</em>' ";
+ protected final String TEXT_9 = ".";
+ protected final String TEXT_10 = NL + "\t * @see ";
+ protected final String TEXT_11 = NL + "\t * @see #isSet";
+ protected final String TEXT_12 = "()";
+ protected final String TEXT_13 = NL + "\t * @see #unset";
+ protected final String TEXT_14 = "()";
+ protected final String TEXT_15 = NL + "\t * @see #";
+ protected final String TEXT_16 = "()" + NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_17 = NL;
+ protected final String TEXT_18 = NL;
+
+ public InterfacesetGenFeaturejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(TEXT_18);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yid4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_9);
+ if (genFeature.isEnumType()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getTypeGenEnum().getQualifiedName());
+ }
+ if (genFeature.isUnsettable()) {
+ if (!genFeature.isSuppressedIsSetVisibility()) {
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_12);
+ }
+ if (!genFeature.isSuppressedUnsetVisibility()) {
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_14);
+ }
+ }
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_16);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureoverride.java
new file mode 100644
index 0000000..1280c5b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureoverride.java
@@ -0,0 +1,1243 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacesetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfacesetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacesetGenFeatureoverride result = new InterfacesetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "\tvoid set";
+ protected final String TEXT_6 = "(";
+ protected final String TEXT_7 = " value);" + NL;
+ protected final String TEXT_8 = NL + "\tpublic void set";
+ protected final String TEXT_9 = "_";
+ protected final String TEXT_10 = "(";
+ protected final String TEXT_11 = " ";
+ protected final String TEXT_12 = ")" + NL + "\t{";
+ protected final String TEXT_13 = NL;
+ protected final String TEXT_14 = NL + "\t\teDynamicSet(";
+ protected final String TEXT_15 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_16 = ", ";
+ protected final String TEXT_17 = ", ";
+ protected final String TEXT_18 = "new ";
+ protected final String TEXT_19 = "(";
+ protected final String TEXT_20 = "new";
+ protected final String TEXT_21 = ")";
+ protected final String TEXT_22 = ");";
+ protected final String TEXT_23 = NL + "\t\teSet(";
+ protected final String TEXT_24 = ", ";
+ protected final String TEXT_25 = "new ";
+ protected final String TEXT_26 = "(";
+ protected final String TEXT_27 = "new";
+ protected final String TEXT_28 = ")";
+ protected final String TEXT_29 = ");";
+ protected final String TEXT_30 = NL + "\t\t";
+ protected final String TEXT_31 = "__ESETTING_DELEGATE.dynamicSet(this, null, 0, ";
+ protected final String TEXT_32 = "new ";
+ protected final String TEXT_33 = "(";
+ protected final String TEXT_34 = "new";
+ protected final String TEXT_35 = ")";
+ protected final String TEXT_36 = ");";
+ protected final String TEXT_37 = NL + "\t\tif (new";
+ protected final String TEXT_38 = " != eInternalContainer() || (eContainerFeatureID() != ";
+ protected final String TEXT_39 = " && new";
+ protected final String TEXT_40 = " != null))" + NL + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_41 = ".isAncestor(this, ";
+ protected final String TEXT_42 = "new";
+ protected final String TEXT_43 = "))" + NL + "\t\t\t\tthrow new ";
+ protected final String TEXT_44 = "(\"Recursive containment not allowed for \" + toString());";
+ protected final String TEXT_45 = NL + "\t\t\t";
+ protected final String TEXT_46 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL
+ + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new";
+ protected final String TEXT_47 = " != null)" + NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_48 = ")new";
+ protected final String TEXT_49 = ").eInverseAdd(this, ";
+ protected final String TEXT_50 = ", ";
+ protected final String TEXT_51 = ".class, msgs);" + NL + "\t\t\tmsgs = basicSet";
+ protected final String TEXT_52 = "(";
+ protected final String TEXT_53 = "new";
+ protected final String TEXT_54 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}";
+ protected final String TEXT_55 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_56 = "(this, ";
+ protected final String TEXT_57 = ".SET, ";
+ protected final String TEXT_58 = ", new";
+ protected final String TEXT_59 = ", new";
+ protected final String TEXT_60 = "));";
+ protected final String TEXT_61 = NL + "\t\t";
+ protected final String TEXT_62 = " ";
+ protected final String TEXT_63 = " = (";
+ protected final String TEXT_64 = ")eVirtualGet(";
+ protected final String TEXT_65 = ");";
+ protected final String TEXT_66 = NL + "\t\tif (new";
+ protected final String TEXT_67 = " != ";
+ protected final String TEXT_68 = ")" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_69 = " msgs = null;" + NL + "\t\t\tif (";
+ protected final String TEXT_70 = " != null)";
+ protected final String TEXT_71 = NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_72 = ")";
+ protected final String TEXT_73 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_74 = ", null, msgs);" + NL + "\t\t\tif (new";
+ protected final String TEXT_75 = " != null)" + NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_76 = ")new";
+ protected final String TEXT_77 = ").eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_78 = ", null, msgs);";
+ protected final String TEXT_79 = NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_80 = ")";
+ protected final String TEXT_81 = ").eInverseRemove(this, ";
+ protected final String TEXT_82 = ", ";
+ protected final String TEXT_83 = ".class, msgs);" + NL + "\t\t\tif (new";
+ protected final String TEXT_84 = " != null)" + NL + "\t\t\t\tmsgs = ((";
+ protected final String TEXT_85 = ")new";
+ protected final String TEXT_86 = ").eInverseAdd(this, ";
+ protected final String TEXT_87 = ", ";
+ protected final String TEXT_88 = ".class, msgs);";
+ protected final String TEXT_89 = NL + "\t\t\tmsgs = basicSet";
+ protected final String TEXT_90 = "(";
+ protected final String TEXT_91 = "new";
+ protected final String TEXT_92 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}";
+ protected final String TEXT_93 = NL + "\t\telse" + NL + "\t\t{";
+ protected final String TEXT_94 = NL + "\t\t\tboolean old";
+ protected final String TEXT_95 = "ESet = eVirtualIsSet(";
+ protected final String TEXT_96 = ");";
+ protected final String TEXT_97 = NL + "\t\t\tboolean old";
+ protected final String TEXT_98 = "ESet = (";
+ protected final String TEXT_99 = " & ";
+ protected final String TEXT_100 = "_ESETFLAG) != 0;";
+ protected final String TEXT_101 = NL + "\t\t\t";
+ protected final String TEXT_102 = " |= ";
+ protected final String TEXT_103 = "_ESETFLAG;";
+ protected final String TEXT_104 = NL + "\t\t\tboolean old";
+ protected final String TEXT_105 = "ESet = ";
+ protected final String TEXT_106 = "ESet;";
+ protected final String TEXT_107 = NL + "\t\t\t";
+ protected final String TEXT_108 = "ESet = true;";
+ protected final String TEXT_109 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new ";
+ protected final String TEXT_110 = "(this, ";
+ protected final String TEXT_111 = ".SET, ";
+ protected final String TEXT_112 = ", new";
+ protected final String TEXT_113 = ", new";
+ protected final String TEXT_114 = ", !old";
+ protected final String TEXT_115 = "ESet));";
+ protected final String TEXT_116 = NL + "\t\t}";
+ protected final String TEXT_117 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_118 = "(this, ";
+ protected final String TEXT_119 = ".SET, ";
+ protected final String TEXT_120 = ", new";
+ protected final String TEXT_121 = ", new";
+ protected final String TEXT_122 = "));";
+ protected final String TEXT_123 = NL + "\t\t";
+ protected final String TEXT_124 = " old";
+ protected final String TEXT_125 = " = (";
+ protected final String TEXT_126 = " & ";
+ protected final String TEXT_127 = "_EFLAG) != 0;";
+ protected final String TEXT_128 = NL + "\t\t";
+ protected final String TEXT_129 = " old";
+ protected final String TEXT_130 = " = ";
+ protected final String TEXT_131 = "_EFLAG_VALUES[(";
+ protected final String TEXT_132 = " & ";
+ protected final String TEXT_133 = "_EFLAG) >>> ";
+ protected final String TEXT_134 = "_EFLAG_OFFSET];";
+ protected final String TEXT_135 = NL + "\t\tif (new";
+ protected final String TEXT_136 = ") ";
+ protected final String TEXT_137 = " |= ";
+ protected final String TEXT_138 = "_EFLAG; else ";
+ protected final String TEXT_139 = " &= ~";
+ protected final String TEXT_140 = "_EFLAG;";
+ protected final String TEXT_141 = NL + "\t\tif (new";
+ protected final String TEXT_142 = " == null) new";
+ protected final String TEXT_143 = " = ";
+ protected final String TEXT_144 = "_EDEFAULT;" + NL + "\t\t";
+ protected final String TEXT_145 = " = ";
+ protected final String TEXT_146 = " & ~";
+ protected final String TEXT_147 = "_EFLAG | ";
+ protected final String TEXT_148 = "new";
+ protected final String TEXT_149 = ".ordinal()";
+ protected final String TEXT_150 = ".VALUES.indexOf(new";
+ protected final String TEXT_151 = ")";
+ protected final String TEXT_152 = " << ";
+ protected final String TEXT_153 = "_EFLAG_OFFSET;";
+ protected final String TEXT_154 = NL + "\t\t";
+ protected final String TEXT_155 = " old";
+ protected final String TEXT_156 = " = ";
+ protected final String TEXT_157 = ";";
+ protected final String TEXT_158 = NL + "\t\t";
+ protected final String TEXT_159 = " ";
+ protected final String TEXT_160 = " = new";
+ protected final String TEXT_161 = " == null ? ";
+ protected final String TEXT_162 = " : new";
+ protected final String TEXT_163 = ";";
+ protected final String TEXT_164 = NL + "\t\t";
+ protected final String TEXT_165 = " = new";
+ protected final String TEXT_166 = " == null ? ";
+ protected final String TEXT_167 = " : new";
+ protected final String TEXT_168 = ";";
+ protected final String TEXT_169 = NL + "\t\t";
+ protected final String TEXT_170 = " ";
+ protected final String TEXT_171 = " = ";
+ protected final String TEXT_172 = "new";
+ protected final String TEXT_173 = ";";
+ protected final String TEXT_174 = NL + "\t\t";
+ protected final String TEXT_175 = " = ";
+ protected final String TEXT_176 = "new";
+ protected final String TEXT_177 = ";";
+ protected final String TEXT_178 = NL + "\t\tObject old";
+ protected final String TEXT_179 = " = eVirtualSet(";
+ protected final String TEXT_180 = ", ";
+ protected final String TEXT_181 = ");";
+ protected final String TEXT_182 = NL + "\t\tboolean isSetChange = old";
+ protected final String TEXT_183 = " == EVIRTUAL_NO_VALUE;";
+ protected final String TEXT_184 = NL + "\t\tboolean old";
+ protected final String TEXT_185 = "ESet = (";
+ protected final String TEXT_186 = " & ";
+ protected final String TEXT_187 = "_ESETFLAG) != 0;";
+ protected final String TEXT_188 = NL + "\t\t";
+ protected final String TEXT_189 = " |= ";
+ protected final String TEXT_190 = "_ESETFLAG;";
+ protected final String TEXT_191 = NL + "\t\tboolean old";
+ protected final String TEXT_192 = "ESet = ";
+ protected final String TEXT_193 = "ESet;";
+ protected final String TEXT_194 = NL + "\t\t";
+ protected final String TEXT_195 = "ESet = true;";
+ protected final String TEXT_196 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_197 = "(this, ";
+ protected final String TEXT_198 = ".SET, ";
+ protected final String TEXT_199 = ", ";
+ protected final String TEXT_200 = "isSetChange ? ";
+ protected final String TEXT_201 = " : old";
+ protected final String TEXT_202 = "old";
+ protected final String TEXT_203 = ", ";
+ protected final String TEXT_204 = "new";
+ protected final String TEXT_205 = ", ";
+ protected final String TEXT_206 = "isSetChange";
+ protected final String TEXT_207 = "!old";
+ protected final String TEXT_208 = "ESet";
+ protected final String TEXT_209 = "));";
+ protected final String TEXT_210 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_211 = "(this, ";
+ protected final String TEXT_212 = ".SET, ";
+ protected final String TEXT_213 = ", ";
+ protected final String TEXT_214 = "old";
+ protected final String TEXT_215 = " == EVIRTUAL_NO_VALUE ? ";
+ protected final String TEXT_216 = " : old";
+ protected final String TEXT_217 = "old";
+ protected final String TEXT_218 = ", ";
+ protected final String TEXT_219 = "new";
+ protected final String TEXT_220 = "));";
+ protected final String TEXT_221 = NL;
+ protected final String TEXT_222 = NL + "\t\t((";
+ protected final String TEXT_223 = ".Internal)((";
+ protected final String TEXT_224 = ".Internal.Wrapper)get";
+ protected final String TEXT_225 = "()).featureMap()).set(";
+ protected final String TEXT_226 = ", ";
+ protected final String TEXT_227 = "new ";
+ protected final String TEXT_228 = "(";
+ protected final String TEXT_229 = "new";
+ protected final String TEXT_230 = ")";
+ protected final String TEXT_231 = ");";
+ protected final String TEXT_232 = NL + "\t\t((";
+ protected final String TEXT_233 = ".Internal)get";
+ protected final String TEXT_234 = "()).set(";
+ protected final String TEXT_235 = ", ";
+ protected final String TEXT_236 = "new ";
+ protected final String TEXT_237 = "(";
+ protected final String TEXT_238 = "new";
+ protected final String TEXT_239 = ")";
+ protected final String TEXT_240 = ");";
+ protected final String TEXT_241 = NL + "\t\t";
+ protected final String TEXT_242 = NL;
+ protected final String TEXT_243 = NL + "\t}" + NL;
+ protected final String TEXT_244 = NL;
+ protected final String TEXT_245 = NL;
+ protected final String TEXT_246 = NL;
+
+ public InterfacesetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_245);
+ stringBuffer.append(TEXT_246);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yZT8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/setGenFeature.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_3);
+ if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ysO4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_7);
+ } else {
+ GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingSetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation
+ .getGenParameters().get(0).getName());
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.pre.insert" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("setAccessorOperation", setAccessorOperation);
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y1Y0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_17);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_19);
+ }
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ } else if (genModel.isReflectiveDelegation()) {
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_24);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_26);
+ }
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_28);
+ }
+ stringBuffer.append(TEXT_29);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_31);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_33);
+ }
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ } else if (!genFeature.isVolatile()) {
+ if (genFeature.isContainer()) {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil"));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getEObjectCast());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(genModel.getImportedName("java.lang.IllegalArgumentException"));
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_49);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getInternalTypeCast());
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_54);
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_60);
+ }
+ } else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_65);
+ }
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_70);
+ if (!genFeature.isBidirectional()) {
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_78);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_79);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_88);
+ }
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genFeature.getInternalTypeCast());
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_92);
+ if (genFeature.isUnsettable()) {
+ stringBuffer.append(TEXT_93);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_95);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_96);
+ } else if (genClass.isESetFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_97);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_100);
+ }
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_102);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_103);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_106);
+ }
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_108);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_110);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_111);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_113);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_114);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_115);
+ }
+ stringBuffer.append(TEXT_116);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_120);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_122);
+ }
+ }
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_125);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_127);
+ } else {
+ stringBuffer.append(TEXT_128);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_131);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_133);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_134);
+ }
+ }
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_137);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_140);
+ } else {
+ stringBuffer.append(TEXT_141);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_142);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_143);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_145);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_146);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_147);
+ if (isJDK50) {
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_149);
+ } else {
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_151);
+ }
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_153);
+ }
+ } else {
+ if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_155);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_157);
+ }
+ }
+ if (genFeature.isEnumType()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_158);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_159);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_161);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_162);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_163);
+ } else {
+ stringBuffer.append(TEXT_164);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_165);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_166);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_167);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_168);
+ }
+ } else {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_169);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_170);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_171);
+ stringBuffer.append(genFeature.getInternalTypeCast());
+ stringBuffer.append(TEXT_172);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_173);
+ } else {
+ stringBuffer.append(TEXT_174);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_175);
+ stringBuffer.append(genFeature.getInternalTypeCast());
+ stringBuffer.append(TEXT_176);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_177);
+ }
+ }
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_178);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_179);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_180);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_181);
+ }
+ }
+ if (genFeature.isUnsettable()) {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_182);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_183);
+ } else if (genClass.isESetFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_184);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_185);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_186);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_187);
+ }
+ stringBuffer.append(TEXT_188);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_189);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_190);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_191);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_192);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_193);
+ }
+ stringBuffer.append(TEXT_194);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_195);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_196);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_197);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_198);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_199);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_200);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_201);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(TEXT_202);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_203);
+ if (genClass.isFlag(genFeature)) {
+ stringBuffer.append(TEXT_204);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(genFeature.getSafeName());
+ }
+ stringBuffer.append(TEXT_205);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_206);
+ } else {
+ stringBuffer.append(TEXT_207);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_208);
+ }
+ stringBuffer.append(TEXT_209);
+ }
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_210);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_211);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_212);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_213);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_214);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_215);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_216);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(TEXT_217);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_218);
+ if (genClass.isFlag(genFeature)) {
+ stringBuffer.append(TEXT_219);
+ stringBuffer.append(genFeature.getCapName());
+ } else {
+ stringBuffer.append(genFeature.getSafeName());
+ }
+ stringBuffer.append(TEXT_220);
+ }
+ }
+ }
+ stringBuffer.append(TEXT_221);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.post.insert" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("setAccessorOperation", setAccessorOperation);
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y_J0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_222);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_223);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_224);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_225);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_226);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_227);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_228);
+ }
+ stringBuffer.append(TEXT_229);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_230);
+ }
+ stringBuffer.append(TEXT_231);
+ } else {
+ stringBuffer.append(TEXT_232);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_233);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_234);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_235);
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_236);
+ stringBuffer.append(genFeature.getObjectType(genClass));
+ stringBuffer.append(TEXT_237);
+ }
+ stringBuffer.append(TEXT_238);
+ stringBuffer.append(genFeature.getCapName());
+ if (!isJDK50 && genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_239);
+ }
+ stringBuffer.append(TEXT_240);
+ }
+ } else if (setAccessorOperation != null) {
+ stringBuffer.append(TEXT_241);
+ stringBuffer.append(setAccessorOperation.getBody(genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_242);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.TODO.override" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("setAccessorOperation", setAccessorOperation);
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y_J5WJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/setGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_243);
+ }
+ stringBuffer.append(TEXT_244);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepostinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepostinsert.java
new file mode 100644
index 0000000..e92edf5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepostinsert.java
@@ -0,0 +1,290 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacesetGenFeaturepostinsert {
+ protected static String nl;
+
+ public static synchronized InterfacesetGenFeaturepostinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacesetGenFeaturepostinsert result = new InterfacesetGenFeaturepostinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacesetGenFeaturepostinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> setAccessorOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object setAccessorOperationParameter : setAccessorOperationList) {
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.setAccessorOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) setAccessorOperationParameter;
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("setAccessorOperation", this.setAccessorOperation);
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation setAccessorOperation = null;
+
+ public void set_setAccessorOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.setAccessorOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("setAccessorOperation", this.setAccessorOperation);
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepreinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepreinsert.java
new file mode 100644
index 0000000..17c6cf1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepreinsert.java
@@ -0,0 +1,290 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfacesetGenFeaturepreinsert {
+ protected static String nl;
+
+ public static synchronized InterfacesetGenFeaturepreinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfacesetGenFeaturepreinsert result = new InterfacesetGenFeaturepreinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfacesetGenFeaturepreinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> setAccessorOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object setAccessorOperationParameter : setAccessorOperationList) {
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.setAccessorOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) setAccessorOperationParameter;
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("setAccessorOperation", this.setAccessorOperation);
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation setAccessorOperation = null;
+
+ public void set_setAccessorOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.setAccessorOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("setAccessorOperation", this.setAccessorOperation);
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..cafea02
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureTODOoverride.java
@@ -0,0 +1,286 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceunsetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceunsetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceunsetGenFeatureTODOoverride result = new InterfaceunsetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to unset the '";
+ protected final String TEXT_2 = "' ";
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public InterfaceunsetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..9655a31
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureannotationsinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceunsetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized InterfaceunsetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceunsetGenFeatureannotationsinsert result = new InterfaceunsetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfaceunsetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocinsert.java
new file mode 100644
index 0000000..c10797e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocinsert.java
@@ -0,0 +1,277 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceunsetGenFeaturejavadocinsert {
+ protected static String nl;
+
+ public static synchronized InterfaceunsetGenFeaturejavadocinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceunsetGenFeaturejavadocinsert result = new InterfaceunsetGenFeaturejavadocinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public InterfaceunsetGenFeaturejavadocinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocoverride.java
new file mode 100644
index 0000000..0f81f37
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocoverride.java
@@ -0,0 +1,347 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceunsetGenFeaturejavadocoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceunsetGenFeaturejavadocoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceunsetGenFeaturejavadocoverride result = new InterfaceunsetGenFeaturejavadocoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * Unsets the value of the '{@link ";
+ protected final String TEXT_2 = "#";
+ protected final String TEXT_3 = " <em>";
+ protected final String TEXT_4 = "</em>}' ";
+ protected final String TEXT_5 = ".";
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_8 = NL + "\t * @see #isSet";
+ protected final String TEXT_9 = "()";
+ protected final String TEXT_10 = NL + "\t * @see #";
+ protected final String TEXT_11 = "()";
+ protected final String TEXT_12 = NL + "\t * @see #set";
+ protected final String TEXT_13 = "(";
+ protected final String TEXT_14 = ")";
+ protected final String TEXT_15 = NL + "\t * @generated" + NL + "\t */" + NL;
+ protected final String TEXT_16 = NL;
+ protected final String TEXT_17 = NL;
+
+ public InterfaceunsetGenFeaturejavadocoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(TEXT_17);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genClass.getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFeatureKind());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00LcoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_7);
+ if (!genFeature.isSuppressedIsSetVisibility()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_11);
+ if (!genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genFeature.getRawImportedBoundType());
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureoverride.java
new file mode 100644
index 0000000..d480e5e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureoverride.java
@@ -0,0 +1,901 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.Interface;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class InterfaceunsetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized InterfaceunsetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ InterfaceunsetGenFeatureoverride result = new InterfaceunsetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL + "\tvoid unset";
+ protected final String TEXT_6 = "();" + NL;
+ protected final String TEXT_7 = NL + "\tpublic void unset";
+ protected final String TEXT_8 = "_";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL + "\t\teDynamicUnset(";
+ protected final String TEXT_11 = " - ESTATIC_FEATURE_COUNT";
+ protected final String TEXT_12 = ", ";
+ protected final String TEXT_13 = ");";
+ protected final String TEXT_14 = NL + "\t\teUnset(";
+ protected final String TEXT_15 = ");";
+ protected final String TEXT_16 = NL + "\t\t";
+ protected final String TEXT_17 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);";
+ protected final String TEXT_18 = NL + "\t\t";
+ protected final String TEXT_19 = " ";
+ protected final String TEXT_20 = " = (";
+ protected final String TEXT_21 = ")eVirtualGet(";
+ protected final String TEXT_22 = ");";
+ protected final String TEXT_23 = NL + "\t\tif (";
+ protected final String TEXT_24 = " != null) ((";
+ protected final String TEXT_25 = ".Unsettable";
+ protected final String TEXT_26 = ")";
+ protected final String TEXT_27 = ").unset();";
+ protected final String TEXT_28 = NL + "\t\t";
+ protected final String TEXT_29 = " ";
+ protected final String TEXT_30 = " = (";
+ protected final String TEXT_31 = ")eVirtualGet(";
+ protected final String TEXT_32 = ");";
+ protected final String TEXT_33 = NL + "\t\tif (";
+ protected final String TEXT_34 = " != null)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_35 = " msgs = null;";
+ protected final String TEXT_36 = NL + "\t\t\tmsgs = ((";
+ protected final String TEXT_37 = ")";
+ protected final String TEXT_38 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
+ protected final String TEXT_39 = ", null, msgs);";
+ protected final String TEXT_40 = NL + "\t\t\tmsgs = ((";
+ protected final String TEXT_41 = ")";
+ protected final String TEXT_42 = ").eInverseRemove(this, ";
+ protected final String TEXT_43 = ", ";
+ protected final String TEXT_44 = ".class, msgs);";
+ protected final String TEXT_45 = NL + "\t\t\tmsgs = basicUnset";
+ protected final String TEXT_46 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL
+ + "\t\telse" + NL + "\t\t{";
+ protected final String TEXT_47 = NL + "\t\t\tboolean old";
+ protected final String TEXT_48 = "ESet = eVirtualIsSet(";
+ protected final String TEXT_49 = ");";
+ protected final String TEXT_50 = NL + "\t\t\tboolean old";
+ protected final String TEXT_51 = "ESet = (";
+ protected final String TEXT_52 = " & ";
+ protected final String TEXT_53 = "_ESETFLAG) != 0;";
+ protected final String TEXT_54 = NL + "\t\t\t";
+ protected final String TEXT_55 = " &= ~";
+ protected final String TEXT_56 = "_ESETFLAG;";
+ protected final String TEXT_57 = NL + "\t\t\tboolean old";
+ protected final String TEXT_58 = "ESet = ";
+ protected final String TEXT_59 = "ESet;";
+ protected final String TEXT_60 = NL + "\t\t\t";
+ protected final String TEXT_61 = "ESet = false;";
+ protected final String TEXT_62 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new ";
+ protected final String TEXT_63 = "(this, ";
+ protected final String TEXT_64 = ".UNSET, ";
+ protected final String TEXT_65 = ", null, null, old";
+ protected final String TEXT_66 = "ESet));";
+ protected final String TEXT_67 = NL + "\t\t}";
+ protected final String TEXT_68 = NL + "\t\t";
+ protected final String TEXT_69 = " old";
+ protected final String TEXT_70 = " = (";
+ protected final String TEXT_71 = " & ";
+ protected final String TEXT_72 = "_EFLAG) != 0;";
+ protected final String TEXT_73 = NL + "\t\t";
+ protected final String TEXT_74 = " old";
+ protected final String TEXT_75 = " = ";
+ protected final String TEXT_76 = "_EFLAG_VALUES[(";
+ protected final String TEXT_77 = " & ";
+ protected final String TEXT_78 = "_EFLAG) >>> ";
+ protected final String TEXT_79 = "_EFLAG_OFFSET];";
+ protected final String TEXT_80 = NL + "\t\tObject old";
+ protected final String TEXT_81 = " = eVirtualUnset(";
+ protected final String TEXT_82 = ");";
+ protected final String TEXT_83 = NL + "\t\t";
+ protected final String TEXT_84 = " old";
+ protected final String TEXT_85 = " = ";
+ protected final String TEXT_86 = ";";
+ protected final String TEXT_87 = NL + "\t\tboolean isSetChange = old";
+ protected final String TEXT_88 = " != EVIRTUAL_NO_VALUE;";
+ protected final String TEXT_89 = NL + "\t\tboolean old";
+ protected final String TEXT_90 = "ESet = (";
+ protected final String TEXT_91 = " & ";
+ protected final String TEXT_92 = "_ESETFLAG) != 0;";
+ protected final String TEXT_93 = NL + "\t\tboolean old";
+ protected final String TEXT_94 = "ESet = ";
+ protected final String TEXT_95 = "ESet;";
+ protected final String TEXT_96 = NL + "\t\t";
+ protected final String TEXT_97 = " = null;";
+ protected final String TEXT_98 = NL + "\t\t";
+ protected final String TEXT_99 = " &= ~";
+ protected final String TEXT_100 = "_ESETFLAG;";
+ protected final String TEXT_101 = NL + "\t\t";
+ protected final String TEXT_102 = "ESet = false;";
+ protected final String TEXT_103 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_104 = "(this, ";
+ protected final String TEXT_105 = ".UNSET, ";
+ protected final String TEXT_106 = ", ";
+ protected final String TEXT_107 = "isSetChange ? old";
+ protected final String TEXT_108 = " : null";
+ protected final String TEXT_109 = "old";
+ protected final String TEXT_110 = ", null, ";
+ protected final String TEXT_111 = "isSetChange";
+ protected final String TEXT_112 = "old";
+ protected final String TEXT_113 = "ESet";
+ protected final String TEXT_114 = "));";
+ protected final String TEXT_115 = NL + "\t\tif (";
+ protected final String TEXT_116 = ") ";
+ protected final String TEXT_117 = " |= ";
+ protected final String TEXT_118 = "_EFLAG; else ";
+ protected final String TEXT_119 = " &= ~";
+ protected final String TEXT_120 = "_EFLAG;";
+ protected final String TEXT_121 = NL + "\t\t";
+ protected final String TEXT_122 = " = ";
+ protected final String TEXT_123 = " & ~";
+ protected final String TEXT_124 = "_EFLAG | ";
+ protected final String TEXT_125 = "_EFLAG_DEFAULT;";
+ protected final String TEXT_126 = NL + "\t\t";
+ protected final String TEXT_127 = " = ";
+ protected final String TEXT_128 = ";";
+ protected final String TEXT_129 = NL + "\t\t";
+ protected final String TEXT_130 = " &= ~";
+ protected final String TEXT_131 = "_ESETFLAG;";
+ protected final String TEXT_132 = NL + "\t\t";
+ protected final String TEXT_133 = "ESet = false;";
+ protected final String TEXT_134 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
+ protected final String TEXT_135 = "(this, ";
+ protected final String TEXT_136 = ".UNSET, ";
+ protected final String TEXT_137 = ", ";
+ protected final String TEXT_138 = "isSetChange ? old";
+ protected final String TEXT_139 = " : ";
+ protected final String TEXT_140 = "old";
+ protected final String TEXT_141 = ", ";
+ protected final String TEXT_142 = ", ";
+ protected final String TEXT_143 = "isSetChange";
+ protected final String TEXT_144 = "old";
+ protected final String TEXT_145 = "ESet";
+ protected final String TEXT_146 = "));";
+ protected final String TEXT_147 = NL + "\t\t((";
+ protected final String TEXT_148 = ".Internal)((";
+ protected final String TEXT_149 = ".Internal.Wrapper)get";
+ protected final String TEXT_150 = "()).featureMap()).clear(";
+ protected final String TEXT_151 = ");";
+ protected final String TEXT_152 = NL + "\t\t((";
+ protected final String TEXT_153 = ".Internal)get";
+ protected final String TEXT_154 = "()).clear(";
+ protected final String TEXT_155 = ");";
+ protected final String TEXT_156 = NL + "\t\t";
+ protected final String TEXT_157 = NL;
+ protected final String TEXT_158 = NL + "\t}" + NL;
+ protected final String TEXT_159 = NL;
+ protected final String TEXT_160 = NL;
+ protected final String TEXT_161 = NL;
+
+ public InterfaceunsetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isJDK50List = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isInterfaceList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isImplementationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> isGWTList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> publicStaticFinalFlagList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> negativeOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> positiveOperationOffsetCorrectionList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object isJDK50Parameter : isJDK50List) {
+ for (Object isInterfaceParameter : isInterfaceList) {
+ for (Object isImplementationParameter : isImplementationList) {
+ for (Object isGWTParameter : isGWTList) {
+ for (Object publicStaticFinalFlagParameter : publicStaticFinalFlagList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object negativeOffsetCorrectionParameter : negativeOffsetCorrectionList) {
+ for (Object positiveOffsetCorrectionParameter : positiveOffsetCorrectionList) {
+ for (Object negativeOperationOffsetCorrectionParameter : negativeOperationOffsetCorrectionList) {
+ for (Object positiveOperationOffsetCorrectionParameter : positiveOperationOffsetCorrectionList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.isJDK50 = (java.lang.Boolean) isJDK50Parameter;
+ this.isInterface = (java.lang.Boolean) isInterfaceParameter;
+ this.isImplementation = (java.lang.Boolean) isImplementationParameter;
+ this.isGWT = (java.lang.Boolean) isGWTParameter;
+ this.publicStaticFinalFlag = (java.lang.String) publicStaticFinalFlagParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this.negativeOffsetCorrection = (java.lang.String) negativeOffsetCorrectionParameter;
+ this.positiveOffsetCorrection = (java.lang.String) positiveOffsetCorrectionParameter;
+ this.negativeOperationOffsetCorrection = (java.lang.String) negativeOperationOffsetCorrectionParameter;
+ this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_160);
+ stringBuffer.append(TEXT_161);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("isJDK50", this.isJDK50);
+ parameterValues.put("isInterface", this.isInterface);
+ parameterValues.put("isImplementation", this.isImplementation);
+ parameterValues.put("isGWT", this.isGWT);
+ parameterValues.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameterValues.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameterValues.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameterValues.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.Boolean isJDK50 = null;
+
+ public void set_isJDK50(java.lang.Boolean object) {
+ this.isJDK50 = object;
+ }
+
+ protected java.lang.Boolean isInterface = null;
+
+ public void set_isInterface(java.lang.Boolean object) {
+ this.isInterface = object;
+ }
+
+ protected java.lang.Boolean isImplementation = null;
+
+ public void set_isImplementation(java.lang.Boolean object) {
+ this.isImplementation = object;
+ }
+
+ protected java.lang.Boolean isGWT = null;
+
+ public void set_isGWT(java.lang.Boolean object) {
+ this.isGWT = object;
+ }
+
+ protected java.lang.String publicStaticFinalFlag = null;
+
+ public void set_publicStaticFinalFlag(java.lang.String object) {
+ this.publicStaticFinalFlag = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String negativeOffsetCorrection = null;
+
+ public void set_negativeOffsetCorrection(java.lang.String object) {
+ this.negativeOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOffsetCorrection = null;
+
+ public void set_positiveOffsetCorrection(java.lang.String object) {
+ this.positiveOffsetCorrection = object;
+ }
+
+ protected java.lang.String negativeOperationOffsetCorrection = null;
+
+ public void set_negativeOperationOffsetCorrection(java.lang.String object) {
+ this.negativeOperationOffsetCorrection = object;
+ }
+
+ protected java.lang.String positiveOperationOffsetCorrection = null;
+
+ public void set_positiveOperationOffsetCorrection(java.lang.String object) {
+ this.positiveOperationOffsetCorrection = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("isJDK50", this.isJDK50);
+ parameters.put("isInterface", this.isInterface);
+ parameters.put("isImplementation", this.isImplementation);
+ parameters.put("isGWT", this.isGWT);
+ parameters.put("publicStaticFinalFlag", this.publicStaticFinalFlag);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("negativeOffsetCorrection", this.negativeOffsetCorrection);
+ parameters.put("positiveOffsetCorrection", this.positiveOffsetCorrection);
+ parameters.put("negativeOperationOffsetCorrection", this.negativeOperationOffsetCorrection);
+ parameters.put("positiveOperationOffsetCorrection", this.positiveOperationOffsetCorrection);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (isInterface) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00BroGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/unsetGenFeature.javadoc.override.javajetinc
+ } else {
+ stringBuffer.append(TEXT_3);
+ if (isJDK50) { //Class/unsetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00VNoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ }
+ if (!isImplementation) {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getAccessorName());
+ if (genClass.hasCollidingUnsetAccessorOperation(genFeature)) {
+ stringBuffer.append(TEXT_8);
+ }
+ stringBuffer.append(TEXT_9);
+ if (genModel.isDynamicDelegation()) {
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ if (genClass.hasStaticFeatures()) {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_13);
+ } else if (genModel.isReflectiveDelegation()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_15);
+ } else if (genFeature.hasSettingDelegate()) {
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_17);
+ } else if (!genFeature.isVolatile()) {
+ if (genFeature.isListType()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_22);
+ }
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(singleWildcard);
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_27);
+ } else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_32);
+ }
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(TEXT_35);
+ if (!genFeature.isBidirectional()) {
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(negativeOffsetCorrection);
+ stringBuffer.append(TEXT_39);
+ } else {
+ GenFeature reverseFeature = genFeature.getReverse();
+ GenClass targetClass = reverseFeature.getGenClass();
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
+ stringBuffer.append(reverseOffsetCorrection);
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(targetClass.getRawImportedInterfaceName());
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_46);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_47);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_49);
+ } else if (genClass.isESetFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_50);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_52);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_53);
+ }
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_56);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_57);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_59);
+ }
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_61);
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_64);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_66);
+ }
+ stringBuffer.append(TEXT_67);
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (!genModel.isSuppressNotification()) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_71);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_72);
+ } else {
+ stringBuffer.append(TEXT_73);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_75);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_76);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_79);
+ }
+ }
+ } else if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_82);
+ } else {
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(genFeature.getImportedType(genClass));
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_85);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_86);
+ }
+ }
+ if (!genModel.isSuppressNotification()) {
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_87);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_88);
+ } else if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_89);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_91);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_92);
+ } else {
+ stringBuffer.append(TEXT_93);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_94);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_95);
+ }
+ }
+ if (genFeature.isReferenceType()) {
+ stringBuffer.append(TEXT_96);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_97);
+ if (!genModel.isVirtualDelegation()) {
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_98);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_99);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_100);
+ } else {
+ stringBuffer.append(TEXT_101);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_102);
+ }
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_103);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_104);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_105);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_106);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_107);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_108);
+ } else {
+ stringBuffer.append(TEXT_109);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_110);
+ if (genModel.isVirtualDelegation()) {
+ stringBuffer.append(TEXT_111);
+ } else {
+ stringBuffer.append(TEXT_112);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_113);
+ }
+ stringBuffer.append(TEXT_114);
+ }
+ } else {
+ if (genClass.isFlag(genFeature)) {
+ if (genFeature.isBooleanType()) {
+ stringBuffer.append(TEXT_115);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_116);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_117);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_118);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_119);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_120);
+ } else {
+ stringBuffer.append(TEXT_121);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_122);
+ stringBuffer.append(genClass.getFlagsField(genFeature));
+ stringBuffer.append(TEXT_123);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_124);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_125);
+ }
+ } else if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_126);
+ stringBuffer.append(genFeature.getSafeName());
+ stringBuffer.append(TEXT_127);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_128);
+ }
+ if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {
+ if (genClass.isESetFlag(genFeature)) {
+ stringBuffer.append(TEXT_129);
+ stringBuffer.append(genClass.getESetFlagsField(genFeature));
+ stringBuffer.append(TEXT_130);
+ stringBuffer.append(genFeature.getUpperName());
+ stringBuffer.append(TEXT_131);
+ } else {
+ stringBuffer.append(TEXT_132);
+ stringBuffer.append(genFeature.getUncapName());
+ stringBuffer.append(TEXT_133);
+ }
+ }
+ if (!genModel.isSuppressNotification()) {
+ stringBuffer.append(TEXT_134);
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(TEXT_135);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
+ stringBuffer.append(TEXT_136);
+ stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
+ stringBuffer.append(positiveOffsetCorrection);
+ stringBuffer.append(TEXT_137);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_138);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_139);
+ stringBuffer.append(genFeature.getEDefault());
+ } else {
+ stringBuffer.append(TEXT_140);
+ stringBuffer.append(genFeature.getCapName());
+ }
+ stringBuffer.append(TEXT_141);
+ stringBuffer.append(genFeature.getEDefault());
+ stringBuffer.append(TEXT_142);
+ if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ stringBuffer.append(TEXT_143);
+ } else {
+ stringBuffer.append(TEXT_144);
+ stringBuffer.append(genFeature.getCapName());
+ stringBuffer.append(TEXT_145);
+ }
+ stringBuffer.append(TEXT_146);
+ }
+ }
+ }
+ } else if (genFeature.hasDelegateFeature()) {
+ GenFeature delegateFeature = genFeature.getDelegateFeature();
+ if (delegateFeature.isWrappedFeatureMapType()) {
+ stringBuffer.append(TEXT_147);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_148);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_149);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_150);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_151);
+ } else {
+ stringBuffer.append(TEXT_152);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
+ stringBuffer.append(TEXT_153);
+ stringBuffer.append(delegateFeature.getAccessorName());
+ stringBuffer.append(TEXT_154);
+ stringBuffer.append(genFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_155);
+ }
+ } else if (genClass.getUnsetAccessorOperation(genFeature) != null) {
+ stringBuffer.append(TEXT_156);
+ stringBuffer.append(genClass.getUnsetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
+ } else {
+ stringBuffer.append(TEXT_157);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ callParameters.put("isJDK50", isJDK50);
+ callParameters.put("isInterface", isInterface);
+ callParameters.put("isImplementation", isImplementation);
+ callParameters.put("isGWT", isGWT);
+ callParameters.put("publicStaticFinalFlag", publicStaticFinalFlag);
+ callParameters.put("singleWildcard", singleWildcard);
+ callParameters.put("negativeOffsetCorrection", negativeOffsetCorrection);
+ callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
+ callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
+ callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00eXkGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //Class/unsetGenFeature.todo.override.javajetinc
+ }
+ stringBuffer.append(TEXT_158);
+ }
+ stringBuffer.append(TEXT_159);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ResourceFactoryClass/ResourceFactoryClasscreateResourceoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ResourceFactoryClass/ResourceFactoryClasscreateResourceoverride.java
new file mode 100644
index 0000000..f6e6c60
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ResourceFactoryClass/ResourceFactoryClasscreateResourceoverride.java
@@ -0,0 +1,201 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ResourceFactoryClasscreateResourceoverride {
+ protected static String nl;
+
+ public static synchronized ResourceFactoryClasscreateResourceoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ ResourceFactoryClasscreateResourceoverride result = new ResourceFactoryClasscreateResourceoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "\t\t";
+ protected final String TEXT_3 = " result = new ";
+ protected final String TEXT_4 = "(uri);" + NL + "\t\tresult.getDefaultSaveOptions().put(";
+ protected final String TEXT_5 = ".OPTION_EXTENDED_META_DATA, ";
+ protected final String TEXT_6 = "Boolean.TRUE";
+ protected final String TEXT_7 = "extendedMetaData";
+ protected final String TEXT_8 = ");" + NL + "\t\tresult.getDefaultLoadOptions().put(";
+ protected final String TEXT_9 = ".OPTION_EXTENDED_META_DATA, ";
+ protected final String TEXT_10 = "Boolean.TRUE";
+ protected final String TEXT_11 = "extendedMetaData";
+ protected final String TEXT_12 = ");" + NL + "" + NL + "\t\tresult.getDefaultSaveOptions().put(";
+ protected final String TEXT_13 = ".OPTION_SCHEMA_LOCATION, Boolean.TRUE);" + NL + "" + NL
+ + "\t\tresult.getDefaultLoadOptions().put(";
+ protected final String TEXT_14 = ".OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);" + NL
+ + "\t\tresult.getDefaultSaveOptions().put(";
+ protected final String TEXT_15 = ".OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);" + NL + "" + NL
+ + "\t\tresult.getDefaultLoadOptions().put(";
+ protected final String TEXT_16 = ".OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);";
+ protected final String TEXT_17 = NL + "\t\tresult.getDefaultLoadOptions().put(";
+ protected final String TEXT_18 = ".OPTION_USE_DATA_CONVERTER, Boolean.TRUE);";
+ protected final String TEXT_19 = NL + "\t\t";
+ protected final String TEXT_20 = " result = new ";
+ protected final String TEXT_21 = "(uri);" + NL + "\t\tresult.getDefaultSaveOptions().put(";
+ protected final String TEXT_22 = ".OPTION_XML_MAP, xmlMap);" + NL + "\t\tresult.getDefaultLoadOptions().put(";
+ protected final String TEXT_23 = ".OPTION_XML_MAP, xmlMap);";
+ protected final String TEXT_24 = NL + "\t\tResource result = new ";
+ protected final String TEXT_25 = "(uri);";
+ protected final String TEXT_26 = NL + "\t\treturn result;" + NL;
+ protected final String TEXT_27 = NL;
+ protected final String TEXT_28 = NL;
+
+ public ResourceFactoryClasscreateResourceoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(TEXT_28);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genPackage.hasExtendedMetaData()) {
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genPackage.getResourceClassName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_5);
+ if (genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_6);
+ } else {
+ stringBuffer.append(TEXT_7);
+ }
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_9);
+ if (genPackage.hasTargetNamespace()) {
+ stringBuffer.append(TEXT_10);
+ } else {
+ stringBuffer.append(TEXT_11);
+ }
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_16);
+ if (genPackage.isDataTypeConverters() && genPackage.hasDocumentRoot()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genPackage.getResourceClassName());
+ stringBuffer.append(TEXT_18);
+ }
+ } else if (genPackage.hasXMLMap()) {
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getResourceClassName());
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource"));
+ stringBuffer.append(TEXT_23);
+ } else {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genPackage.getResourceClassName());
+ stringBuffer.append(TEXT_25);
+ }
+ stringBuffer.append(TEXT_26);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ValidatorClass/ValidatorClassinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ValidatorClass/ValidatorClassinsert.java
new file mode 100644
index 0000000..1857993
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ValidatorClass/ValidatorClassinsert.java
@@ -0,0 +1,172 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.model.call.ValidatorClass;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ValidatorClassinsert {
+ protected static String nl;
+
+ public static synchronized ValidatorClassinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ ValidatorClassinsert result = new ValidatorClassinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public ValidatorClassinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> singleWildcardList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> _MapList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> objectArgumentList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> countList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+ for (Object singleWildcardParameter : singleWildcardList) {
+ for (Object _MapParameter : _MapList) {
+ for (Object objectArgumentParameter : objectArgumentList) {
+ for (Object countParameter : countList) {
+
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+ this.singleWildcard = (java.lang.String) singleWildcardParameter;
+ this._Map = (java.lang.String) _MapParameter;
+ this.objectArgument = (java.lang.String) objectArgumentParameter;
+ this.count = (java.lang.Integer) countParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ parameterValues.put("singleWildcard", this.singleWildcard);
+ parameterValues.put("_Map", this._Map);
+ parameterValues.put("objectArgument", this.objectArgument);
+ parameterValues.put("count", this.count);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ protected java.lang.String singleWildcard = null;
+
+ public void set_singleWildcard(java.lang.String object) {
+ this.singleWildcard = object;
+ }
+
+ protected java.lang.String _Map = null;
+
+ public void set__Map(java.lang.String object) {
+ this._Map = object;
+ }
+
+ protected java.lang.String objectArgument = null;
+
+ public void set_objectArgument(java.lang.String object) {
+ this.objectArgument = object;
+ }
+
+ protected java.lang.Integer count = null;
+
+ public void set_count(java.lang.Integer object) {
+ this.count = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ parameters.put("singleWildcard", this.singleWildcard);
+ parameters.put("_Map", this._Map);
+ parameters.put("objectArgument", this.objectArgument);
+ parameters.put("count", this.count);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/BuildProperties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/BuildProperties.java
new file mode 100644
index 0000000..f35ef55
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/BuildProperties.java
@@ -0,0 +1,218 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class BuildProperties extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized BuildProperties create(String lineSeparator) {
+ nl = lineSeparator;
+ BuildProperties result = new BuildProperties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + NL + "bin.includes = ";
+ protected final String TEXT_3 = ",\\";
+ protected final String TEXT_4 = NL + " META-INF/,\\";
+ protected final String TEXT_5 = NL + " plugin.xml,\\";
+ protected final String TEXT_6 = NL + " plugin.properties" + NL + "jars.compile.order = ";
+ protected final String TEXT_7 = NL + "source.";
+ protected final String TEXT_8 = " = ";
+ protected final String TEXT_9 = NL + "output.";
+ protected final String TEXT_10 = " = bin/" + NL;
+ protected final String TEXT_11 = NL;
+ protected final String TEXT_12 = NL;
+
+ public BuildProperties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(TEXT_12);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getTestsProjectDirectory() + "/build.properties";
+ overwrite = false;
+ encoding = "ISO-8859-1";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005-2008 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getTestsPluginID() + ".jar" : ".";
+ List<String> sourceFolders = genModel.getTestsSourceFolders();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_3);
+ if (genModel.isBundleManifest()) {
+ stringBuffer.append(TEXT_4);
+ } else {
+ stringBuffer.append(TEXT_5);
+ }
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(pluginClassesLocation);
+ boolean first = true;
+ for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) {
+ String sourceFolder = i.next();
+ if (i.hasNext()) {
+ sourceFolder += ",\\";
+ }
+ if (first) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(sourceFolder);
+ first = false;
+ } else {
+ stringBuffer.append(sourceFolder);
+ }
+ }
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(pluginClassesLocation);
+ stringBuffer.append(TEXT_10);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && (!genModel.sameModelTestsProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ManifestMF.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ManifestMF.java
new file mode 100644
index 0000000..af7f7e4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ManifestMF.java
@@ -0,0 +1,236 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ManifestMF extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized ManifestMF create(String lineSeparator) {
+ nl = lineSeparator;
+ ManifestMF result = new ManifestMF();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL
+ + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
+ protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL
+ + "Bundle-ClassPath: ";
+ protected final String TEXT_3 = ".jar";
+ protected final String TEXT_4 = ".";
+ protected final String TEXT_5 = NL + "Bundle-Vendor: %providerName" + NL + "Bundle-Localization: plugin";
+ protected final String TEXT_6 = NL + "Bundle-RequiredExecutionEnvironment: J2SE-1.5";
+ protected final String TEXT_7 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.6";
+ protected final String TEXT_8 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.7";
+ protected final String TEXT_9 = NL + "Bundle-RequiredExecutionEnvironment: JavaSE-1.8";
+ protected final String TEXT_10 = NL + "Export-Package: ";
+ protected final String TEXT_11 = ",";
+ protected final String TEXT_12 = NL + " ";
+ protected final String TEXT_13 = NL + "Require-Bundle: ";
+ protected final String TEXT_14 = ";visibility:=reexport";
+ protected final String TEXT_15 = ",";
+ protected final String TEXT_16 = NL + " ";
+ protected final String TEXT_17 = ";visibility:=reexport";
+ protected final String TEXT_18 = NL + "Eclipse-LazyStart: true";
+ protected final String TEXT_19 = NL + "Bundle-ActivationPolicy: lazy" + NL;
+ protected final String TEXT_20 = NL;
+ protected final String TEXT_21 = NL;
+
+ public ManifestMF() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(TEXT_21);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getTestsProjectDirectory() + "/META-INF/MANIFEST.MF";
+ overwrite = genModel.isUpdateClasspath();
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genModel.getTestsPluginID());
+ stringBuffer.append(TEXT_2);
+ if (genModel.isRuntimeJar()) {
+ stringBuffer.append(genModel.getTestsPluginID());
+ stringBuffer.append(TEXT_3);
+ } else {
+ stringBuffer.append(TEXT_4);
+ }
+ stringBuffer.append(TEXT_5);
+ if (genModel.getComplianceLevel() == GenJDKLevel.JDK50_LITERAL) {
+ stringBuffer.append(TEXT_6);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK60_LITERAL) {
+ stringBuffer.append(TEXT_7);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK70_LITERAL) {
+ stringBuffer.append(TEXT_8);
+ } else if (genModel.getComplianceLevel() == GenJDKLevel.JDK80_LITERAL) {
+ stringBuffer.append(TEXT_9);
+ }
+ Iterator<String> packagesIterator = genModel.getTestsQualifiedPackageNames().iterator();
+ if (packagesIterator.hasNext()) {
+ String pack = packagesIterator.next();
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(pack);
+ while (packagesIterator.hasNext()) {
+ pack = packagesIterator.next();
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(pack);
+ }
+ }
+ Iterator<String> requiredPluginIterator = genModel.getTestsRequiredPlugins().iterator();
+ if (requiredPluginIterator.hasNext()) {
+ String pluginID = requiredPluginIterator.next();
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(pluginID);
+ if (!pluginID.startsWith("org.eclipse.core.runtime")) {
+ stringBuffer.append(TEXT_14);
+ }
+ while (requiredPluginIterator.hasNext()) {
+ pluginID = requiredPluginIterator.next();
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(pluginID);
+ if (!pluginID.startsWith("org.eclipse.core.runtime") && !pluginID.equals("org.eclipse.xtext.xbase.lib")
+ && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {
+ stringBuffer.append(TEXT_17);
+ }
+ }
+ }
+ if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22
+ || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
+ stringBuffer.append(TEXT_18);
+ }
+ stringBuffer.append(TEXT_19);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && (genModel.isBundleManifest()) && (!genModel.sameModelTestsProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ModelTestSuite.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ModelTestSuite.java
new file mode 100644
index 0000000..bc288d2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ModelTestSuite.java
@@ -0,0 +1,253 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class ModelTestSuite extends org.eclipse.egf.emf.pattern.base.GenModelJava {
+ protected static String nl;
+
+ public static synchronized ModelTestSuite create(String lineSeparator) {
+ nl = lineSeparator;
+ ModelTestSuite result = new ModelTestSuite();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A test suite for the '<em><b>";
+ protected final String TEXT_5 = "</b></em>' model." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL
+ + " */" + NL + "public class ";
+ protected final String TEXT_6 = " extends ";
+ protected final String TEXT_7 = NL + "{";
+ protected final String TEXT_8 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_9 = " copyright = ";
+ protected final String TEXT_10 = ";";
+ protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_12 = ".run(suite());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_13 = " suite()" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_14 = " suite = new ";
+ protected final String TEXT_15 = "(\"";
+ protected final String TEXT_16 = " Tests\");";
+ protected final String TEXT_17 = NL + "\t\tsuite.addTest(";
+ protected final String TEXT_18 = ".suite());";
+ protected final String TEXT_19 = NL + "\t\treturn suite;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_20 = "(String name)" + NL + "\t{" + NL + "\t\tsuper(name);" + NL + "\t}" + NL + "" + NL
+ + "} //";
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL;
+ protected final String TEXT_23 = NL;
+
+ public ModelTestSuite() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(TEXT_23);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPath = genModel.getTestsDirectory();
+ packageName = genModel.getTestSuitePackageName();
+ className = genModel.getTestSuiteClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getTestSuitePackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getTestSuiteClassName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel.getImportedName("junit.framework.TestSuite"));
+ stringBuffer.append(TEXT_7);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getImportedName("junit.textui.TestRunner"));
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getImportedName("junit.framework.Test"));
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getImportedName("junit.framework.TestSuite"));
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genModel.getTestSuiteClassName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getNonNLS());
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {
+ if (genPackage.hasTests()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genModel.getImportedName(genPackage.getImportedTestSuiteClassName()));
+ stringBuffer.append(TEXT_18);
+ }
+ }
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genModel.getTestSuiteClassName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genModel.getTestSuiteClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_21);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && (genModel.hasTestSuiteClass());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageExample.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageExample.java
new file mode 100644
index 0000000..679266a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageExample.java
@@ -0,0 +1,517 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PackageExample extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized PackageExample create(String lineSeparator) {
+ nl = lineSeparator;
+ PackageExample result = new PackageExample();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A sample utility for the '<em><b>";
+ protected final String TEXT_5 = "</b></em>' package." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL
+ + " */" + NL + "public class ";
+ protected final String TEXT_6 = NL + "{";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = " copyright = ";
+ protected final String TEXT_9 = ";";
+ protected final String TEXT_10 = NL + "\t";
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * Load all the argument file paths or URIs as instances of the model." + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param args the file paths or URIs." + NL + "\t * @generated"
+ + NL + "\t */" + NL + "\tpublic static void main(String[] args)" + NL + "\t{" + NL
+ + "\t\t// Create a resource set to hold the resources." + NL + "\t\t//" + NL + "\t\t";
+ protected final String TEXT_12 = " resourceSet = new ";
+ protected final String TEXT_13 = "();" + NL + "\t\t";
+ protected final String TEXT_14 = NL
+ + "\t\t// Register the appropriate resource factory to handle the content type." + NL + "\t\t//" + NL
+ + "\t\tresourceSet.getResourceFactoryRegistry().getContentTypeToFactoryMap().put" + NL + "\t\t\t(";
+ protected final String TEXT_15 = ".eCONTENT_TYPE," + NL + "\t\t\t new ";
+ protected final String TEXT_16 = "());"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t// Register the appropriate content handler for all file extensions and any element from the package's namespace."
+ + NL + "\t\t//" + NL + "\t\tresourceSet.getURIConverter().getContentHandlers().add" + NL + "\t\t\t(new ";
+ protected final String TEXT_17 = "(";
+ protected final String TEXT_18 = ".eCONTENT_TYPE, null, null, ";
+ protected final String TEXT_19 = ".eNS_URI";
+ protected final String TEXT_20 = "(";
+ protected final String TEXT_21 = ")null";
+ protected final String TEXT_22 = ", null));";
+ protected final String TEXT_23 = NL
+ + "\t\t// Register the appropriate resource factory to handle all file extensions." + NL + "\t\t//" + NL
+ + "\t\tresourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put" + NL
+ + "\t\t\t(Resource.Factory.Registry.DEFAULT_EXTENSION, " + NL + "\t\t\t new ";
+ protected final String TEXT_24 = "());";
+ protected final String TEXT_25 = NL + NL + "\t\t// Register the package to ensure it is available during loading."
+ + NL + "\t\t//" + NL + "\t\tresourceSet.getPackageRegistry().put" + NL + "\t\t\t(";
+ protected final String TEXT_26 = ".eNS_URI, " + NL + "\t\t\t ";
+ protected final String TEXT_27 = ".eINSTANCE);" + NL + " " + NL
+ + "\t\t// If there are no arguments, emit an appropriate usage message." + NL + "\t\t//" + NL
+ + "\t\tif (args.length == 0)" + NL + "\t\t{";
+ protected final String TEXT_28 = NL
+ + "\t\t\tSystem.out.println(\"Enter a list of file paths or URIs that have content like this:\");";
+ protected final String TEXT_29 = NL + "\t\t\ttry" + NL + "\t\t\t{";
+ protected final String TEXT_30 = NL + "\t\t\t\t";
+ protected final String TEXT_31 = " resource = resourceSet.createResource(";
+ protected final String TEXT_32 = ".createURI(\"http:///My.";
+ protected final String TEXT_33 = "\"), ";
+ protected final String TEXT_34 = ".eCONTENT_TYPE);";
+ protected final String TEXT_35 = NL + "\t\t\t\t";
+ protected final String TEXT_36 = " resource = resourceSet.createResource(";
+ protected final String TEXT_37 = ".createURI(\"http:///My.";
+ protected final String TEXT_38 = "\"));";
+ protected final String TEXT_39 = NL + "\t\t\t\t";
+ protected final String TEXT_40 = " documentRoot = ";
+ protected final String TEXT_41 = ".create";
+ protected final String TEXT_42 = "();" + NL + "\t\t\t\t";
+ protected final String TEXT_43 = " root = ";
+ protected final String TEXT_44 = ".create";
+ protected final String TEXT_45 = "();";
+ protected final String TEXT_46 = NL + "\t\t\t\tdocumentRoot.eSet(";
+ protected final String TEXT_47 = ", root);";
+ protected final String TEXT_48 = NL + "\t\t\t\tdocumentRoot.set";
+ protected final String TEXT_49 = "(root);";
+ protected final String TEXT_50 = NL + "\t\t\t\tresource.getContents().add(";
+ protected final String TEXT_51 = "(";
+ protected final String TEXT_52 = ")";
+ protected final String TEXT_53 = "documentRoot);";
+ protected final String TEXT_54 = NL + "\t\t\t\t";
+ protected final String TEXT_55 = " root = ";
+ protected final String TEXT_56 = ".create";
+ protected final String TEXT_57 = "();" + NL + "\t\t\t\tresource.getContents().add(";
+ protected final String TEXT_58 = "(";
+ protected final String TEXT_59 = ")";
+ protected final String TEXT_60 = "root);";
+ protected final String TEXT_61 = NL + "\t\t\t\tresource.save(";
+ protected final String TEXT_62 = ".out, null);" + NL + "\t\t\t}" + NL + "\t\t\tcatch (";
+ protected final String TEXT_63 = " exception) " + NL + "\t\t\t{" + NL + "\t\t\t\texception.printStackTrace();" + NL
+ + "\t\t\t}";
+ protected final String TEXT_64 = NL + "\t\t\tSystem.out.println(\"Enter a list of file paths or URIs\");";
+ protected final String TEXT_65 = NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL
+ + "\t\t\t// Iterate over all the arguments." + NL + "\t\t\t//" + NL
+ + "\t\t\tfor (int i = 0; i < args.length; ++i)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Construct the URI for the instance file." + NL
+ + "\t\t\t\t// The argument is treated as a file path only if it denotes an existing file." + NL
+ + "\t\t\t\t// Otherwise, it's directly treated as a URL." + NL + "\t\t\t\t//" + NL + "\t\t\t\t";
+ protected final String TEXT_66 = " file = new ";
+ protected final String TEXT_67 = "(args[i]);" + NL + "\t\t\t\t";
+ protected final String TEXT_68 = " uri = file.isFile() ? ";
+ protected final String TEXT_69 = ".createFileURI(file.getAbsolutePath()): URI.createURI(args[i]);" + NL + "" + NL
+ + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t// Demand load resource for this file." + NL
+ + "\t\t\t\t\t//" + NL + "\t\t\t\t\t";
+ protected final String TEXT_70 = " resource = resourceSet.getResource(uri, true);" + NL
+ + "\t\t\t\t\tSystem.out.println(\"Loaded \" + uri);";
+ protected final String TEXT_71 = NL + NL + "\t\t\t\t\t// Validate the contents of the loaded resource." + NL
+ + "\t\t\t\t\t//";
+ protected final String TEXT_72 = NL + "\t\t\t\t\tfor (";
+ protected final String TEXT_73 = " eObject : resource.getContents())";
+ protected final String TEXT_74 = NL + "\t\t\t\t\tfor (";
+ protected final String TEXT_75 = " j = resource.getContents().iterator(); j.hasNext(); )";
+ protected final String TEXT_76 = NL + "\t\t\t\t\t{";
+ protected final String TEXT_77 = NL + "\t\t\t\t\t\t";
+ protected final String TEXT_78 = " eObject = (";
+ protected final String TEXT_79 = ")j.next();";
+ protected final String TEXT_80 = NL + "\t\t\t\t\t\t";
+ protected final String TEXT_81 = " diagnostic = ";
+ protected final String TEXT_82 = ".INSTANCE.validate(eObject);" + NL
+ + "\t\t\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tprintDiagnostic(diagnostic, \"\");";
+ protected final String TEXT_83 = NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tcatch (";
+ protected final String TEXT_84 = " exception) " + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tSystem.out.println(\"Problem loading \" + uri);";
+ protected final String TEXT_85 = NL + "\t\t\t\t\texception.printStackTrace();" + NL + "\t\t\t\t}" + NL + "\t\t\t}"
+ + NL + "\t\t}" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * Prints diagnostics with indentation." + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param diagnostic the diagnostic to print." + NL
+ + "\t * @param indent the indentation for printing." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected static void printDiagnostic(Diagnostic diagnostic, String indent)" + NL + "\t{" + NL
+ + "\t\tSystem.out.print(indent);" + NL + "\t\tSystem.out.println(diagnostic.getMessage());";
+ protected final String TEXT_86 = NL + "\t\tfor (Diagnostic child : diagnostic.getChildren())" + NL + "\t\t{" + NL
+ + "\t\t\tprintDiagnostic(child, indent + \" \");";
+ protected final String TEXT_87 = NL + "\t\t}";
+ protected final String TEXT_88 = NL + "\t\tfor (Iterator i = diagnostic.getChildren().iterator(); i.hasNext(); )"
+ + NL + "\t\t{" + NL + "\t\t\tprintDiagnostic((Diagnostic)i.next(), indent + \" \");";
+ protected final String TEXT_89 = NL + "\t\t}";
+ protected final String TEXT_90 = NL + "\t}" + NL + "" + NL + "} //";
+ protected final String TEXT_91 = NL;
+ protected final String TEXT_92 = NL;
+ protected final String TEXT_93 = NL;
+
+ public PackageExample() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_92);
+ stringBuffer.append(TEXT_93);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getTestsDirectory();
+ packageName = genPackage.getTestsPackageName();
+ className = genPackage.getExampleClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel();
+
+ String _System = genModel.getImportedName("java.lang.System");
+ String _String = genModel.getImportedName("java.lang.String");
+ String _RuntimeException = genModel.getImportedName("java.lang.RuntimeException");
+ String _File = genModel.getImportedName("java.io.File");
+ String _Iterator = null;
+ if (!genModel.useGenerics()) {
+ _Iterator = genModel.getImportedName("java.util.Iterator");
+ }
+ String _Diagnostic = genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic");
+ String _URI = genModel.getImportedName("org.eclipse.emf.common.util.URI");
+ String _EObject = genModel.getImportedName("org.eclipse.emf.ecore.EObject");
+ String _Diagnostician = genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician");
+ String _Resource = genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource");
+ String _ResourceSet = genModel.getImportedName("org.eclipse.emf.ecore.resource.ResourceSet");
+ String _ResourceSetImpl = genModel.getImportedName("org.eclipse.emf.ecore.resource.impl.ResourceSetImpl");
+
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getTestsPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getPackageName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getExampleClassName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(_String);
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(_ResourceSet);
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(_ResourceSetImpl);
+ stringBuffer.append(TEXT_13);
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genModel.getImportedName(genPackage.getQualifiedEffectiveResourceFactoryClassName()));
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl"));
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_18);
+ if (genPackage.hasTargetNamespace()) {
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_19);
+ } else {
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(_String);
+ stringBuffer.append(TEXT_21);
+ }
+ stringBuffer.append(TEXT_22);
+ } else {
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(genModel.getImportedName(genPackage.getQualifiedEffectiveResourceFactoryClassName()));
+ stringBuffer.append(TEXT_24);
+ }
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_27);
+ if (genPackage.getRootClass() != null) {
+ GenClass rootClass = genPackage.getRootClass();
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_29);
+ if (genPackage.isContentType()) {
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(_Resource);
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(_URI);
+ stringBuffer.append(TEXT_32);
+ stringBuffer.append(genPackage.getFileExtension());
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genModel.getNonNLS());
+ } else {
+ stringBuffer.append(TEXT_35);
+ stringBuffer.append(_Resource);
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(_URI);
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genPackage.getFileExtension());
+ stringBuffer.append(TEXT_38);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genPackage.getRootFeature() != null) {
+ GenFeature rootFeature = genPackage.getRootFeature();
+ GenClass documentRoot = rootFeature.getGenClass();
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(documentRoot.getImportedInterfaceName());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genPackage.getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_41);
+ stringBuffer.append(documentRoot.getName());
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(rootClass.getImportedInterfaceName());
+ stringBuffer.append(TEXT_43);
+ stringBuffer.append(rootClass.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_44);
+ stringBuffer.append(rootClass.getName());
+ stringBuffer.append(TEXT_45);
+ if (documentRoot.isDynamic()) {
+ stringBuffer.append(TEXT_46);
+ stringBuffer.append(rootFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(TEXT_47);
+ } else {
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(rootFeature.getCapName());
+ stringBuffer.append(TEXT_49);
+ }
+ stringBuffer.append(TEXT_50);
+ if (!documentRoot.isEObjectExtension()) {
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(_EObject);
+ stringBuffer.append(TEXT_52);
+ }
+ stringBuffer.append(TEXT_53);
+ } else {
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(rootClass.getImportedInterfaceName());
+ stringBuffer.append(rootClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_55);
+ stringBuffer.append(rootClass.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_56);
+ stringBuffer.append(rootClass.getName());
+ stringBuffer.append(TEXT_57);
+ if (!rootClass.isEObjectExtension()) {
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(_EObject);
+ stringBuffer.append(TEXT_59);
+ }
+ stringBuffer.append(TEXT_60);
+ }
+ stringBuffer.append(TEXT_61);
+ stringBuffer.append(_System);
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genModel.getImportedName("java.io.IOException"));
+ stringBuffer.append(TEXT_63);
+ } else {
+ stringBuffer.append(TEXT_64);
+ }
+ stringBuffer.append(TEXT_65);
+ stringBuffer.append(_File);
+ stringBuffer.append(TEXT_66);
+ stringBuffer.append(_File);
+ stringBuffer.append(TEXT_67);
+ stringBuffer.append(_URI);
+ stringBuffer.append(TEXT_68);
+ stringBuffer.append(_URI);
+ stringBuffer.append(TEXT_69);
+ stringBuffer.append(_Resource);
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_71);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(_EObject);
+ stringBuffer.append(TEXT_73);
+ } else {
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(_Iterator);
+ stringBuffer.append(TEXT_75);
+ }
+ stringBuffer.append(TEXT_76);
+ if (!genModel.useGenerics()) {
+ stringBuffer.append(TEXT_77);
+ stringBuffer.append(_EObject);
+ stringBuffer.append(TEXT_78);
+ stringBuffer.append(_EObject);
+ stringBuffer.append(TEXT_79);
+ }
+ stringBuffer.append(TEXT_80);
+ stringBuffer.append(_Diagnostic);
+ stringBuffer.append(TEXT_81);
+ stringBuffer.append(_Diagnostician);
+ stringBuffer.append(TEXT_82);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_83);
+ stringBuffer.append(_RuntimeException);
+ stringBuffer.append(TEXT_84);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_85);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_86);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_87);
+ } else {
+ stringBuffer.append(TEXT_88);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_89);
+ }
+ stringBuffer.append(TEXT_90);
+ stringBuffer.append(genPackage.getExampleClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_91);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.isGenerateExampleClass());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageTestSuite.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageTestSuite.java
new file mode 100644
index 0000000..53610fb
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageTestSuite.java
@@ -0,0 +1,254 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PackageTestSuite extends org.eclipse.egf.emf.pattern.base.GenPackageJava {
+ protected static String nl;
+
+ public static synchronized PackageTestSuite create(String lineSeparator) {
+ nl = lineSeparator;
+ PackageTestSuite result = new PackageTestSuite();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A test suite for the '<em><b>";
+ protected final String TEXT_5 = "</b></em>' package." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL
+ + " */" + NL + "public class ";
+ protected final String TEXT_6 = " extends ";
+ protected final String TEXT_7 = NL + "{";
+ protected final String TEXT_8 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_9 = " copyright = ";
+ protected final String TEXT_10 = ";";
+ protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_12 = ".run(suite());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_13 = " suite()" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_14 = " suite = new ";
+ protected final String TEXT_15 = "(\"";
+ protected final String TEXT_16 = " Tests\");";
+ protected final String TEXT_17 = NL + "\t\tsuite.addTestSuite(";
+ protected final String TEXT_18 = ".class);";
+ protected final String TEXT_19 = NL + "\t\treturn suite;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_20 = "(String name)" + NL + "\t{" + NL + "\t\tsuper(name);" + NL + "\t}" + NL + "" + NL
+ + "} //";
+ protected final String TEXT_21 = NL;
+ protected final String TEXT_22 = NL;
+ protected final String TEXT_23 = NL;
+
+ public PackageTestSuite() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(TEXT_23);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenPackage genPackage = parameter;
+ targetPath = genPackage.getGenModel().getTestsDirectory();
+ packageName = genPackage.getTestsPackageName();
+ className = genPackage.getTestSuiteClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenPackage genPackage = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenPackage genPackage = (GenPackage) argument;
+ GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getTestsPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genPackage.getPackageName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genPackage.getTestSuiteClassName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genModel.getImportedName("junit.framework.TestSuite"));
+ stringBuffer.append(TEXT_7);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(genModel.getImportedName("junit.textui.TestRunner"));
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getImportedName("junit.framework.Test"));
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genModel.getImportedName("junit.framework.TestSuite"));
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genPackage.getTestSuiteClassName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genPackage.getPackageName());
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genModel.getNonNLS());
+ for (GenClass genClass : genPackage.getGenClasses()) {
+ if (!genClass.isExternalInterface() && !genClass.isAbstract() && genClass.hasTests()) {
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(genClass.getImportedTestCaseClassName());
+ stringBuffer.append(TEXT_18);
+ }
+ }
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(genPackage.getTestSuiteClassName());
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(genPackage.getTestSuiteClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_21);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenPackage genPackage = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && (genPackage.hasClassifiers());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginProperties.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginProperties.java
new file mode 100644
index 0000000..7f845f5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginProperties.java
@@ -0,0 +1,181 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PluginProperties extends org.eclipse.egf.emf.pattern.base.GenModelProperties {
+ protected static String nl;
+
+ public static synchronized PluginProperties create(String lineSeparator) {
+ nl = lineSeparator;
+ PluginProperties result = new PluginProperties();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + NL + "pluginName = ";
+ protected final String TEXT_3 = " Tests" + NL + "providerName = www.example.org" + NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+
+ public PluginProperties() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(TEXT_5);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getTestsProjectDirectory() + "/plugin.properties";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument;
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genModel.getModelName());
+ stringBuffer.append(TEXT_3);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && (!genModel.sameModelTestsProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginXML.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginXML.java
new file mode 100644
index 0000000..d81ceec
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginXML.java
@@ -0,0 +1,226 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class PluginXML extends org.eclipse.egf.emf.pattern.base.GenModelText {
+ protected static String nl;
+
+ public static synchronized PluginXML create(String lineSeparator) {
+ nl = lineSeparator;
+ PluginXML result = new PluginXML();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>"
+ + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+ protected final String TEXT_4 = NL + "<plugin>";
+ protected final String TEXT_5 = NL + "<plugin" + NL + " name=\"%pluginName\"" + NL + " id=\"";
+ protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL
+ + " provider-name=\"%providerName\">" + NL + "" + NL + " <requires>";
+ protected final String TEXT_7 = NL + " <import plugin=\"";
+ protected final String TEXT_8 = "\"";
+ protected final String TEXT_9 = " export=\"true\"";
+ protected final String TEXT_10 = "/>";
+ protected final String TEXT_11 = NL + " </requires>" + NL + "" + NL + " <runtime>";
+ protected final String TEXT_12 = NL + " <library name=\"";
+ protected final String TEXT_13 = ".jar\">";
+ protected final String TEXT_14 = NL + " <library name=\".\">";
+ protected final String TEXT_15 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL
+ + " </runtime>" + NL;
+ protected final String TEXT_16 = NL + "</plugin>" + NL;
+ protected final String TEXT_17 = NL;
+ protected final String TEXT_18 = NL;
+
+ public PluginXML() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(TEXT_18);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenModel genModel = parameter;
+ targetPathName = genModel.getTestsProjectDirectory() + "/plugin.xml";
+ overwrite = true;
+ encoding = "UTF-8";
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenModel genModel = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenModel genModel = (GenModel) argument; /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_3);
+ if (genModel.isBundleManifest()) {
+ stringBuffer.append(TEXT_4);
+ } else {
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genModel.getTestsPluginID());
+ stringBuffer.append(TEXT_6);
+ for (String pluginID : genModel.getTestsRequiredPlugins()) {
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(pluginID);
+ stringBuffer.append(TEXT_8);
+ if (!pluginID.startsWith("org.eclipse.core.runtime")) {
+ stringBuffer.append(TEXT_9);
+ }
+ stringBuffer.append(TEXT_10);
+ }
+ stringBuffer.append(TEXT_11);
+ if (genModel.isRuntimeJar()) {
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(genModel.getTestsPluginID());
+ stringBuffer.append(TEXT_13);
+ } else {
+ stringBuffer.append(TEXT_14);
+ }
+ stringBuffer.append(TEXT_15);
+ }
+ stringBuffer.append(TEXT_16);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenModel genModel = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT)
+ && (!(genModel.isBundleManifest())) && (!genModel.sameModelTestsProject());
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/TestCase.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/TestCase.java
new file mode 100644
index 0000000..27d7113
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/TestCase.java
@@ -0,0 +1,494 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCase extends org.eclipse.egf.emf.pattern.base.GenClassJava {
+ protected static String nl;
+
+ public static synchronized TestCase create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCase result = new TestCase();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL + "package ";
+ protected final String TEXT_3 = ";" + NL;
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A test case for the model object '<em><b>";
+ protected final String TEXT_5 = "</b></em>'." + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_6 = NL + " * <p>" + NL + " * The following features are tested:" + NL + " * <ul>";
+ protected final String TEXT_7 = NL + " * <li>{@link ";
+ protected final String TEXT_8 = "#";
+ protected final String TEXT_9 = "() <em>";
+ protected final String TEXT_10 = "</em>}</li>";
+ protected final String TEXT_11 = NL + " * </ul>" + NL + " * </p>";
+ protected final String TEXT_12 = NL + " * <p>" + NL + " * The following operations are tested:" + NL + " * <ul>";
+ protected final String TEXT_13 = NL + " * <li>{@link ";
+ protected final String TEXT_14 = "#";
+ protected final String TEXT_15 = "(";
+ protected final String TEXT_16 = ") <em>";
+ protected final String TEXT_17 = "</em>}</li>";
+ protected final String TEXT_18 = NL + " * </ul>" + NL + " * </p>";
+ protected final String TEXT_19 = NL + " * @generated" + NL + " */" + NL + "public";
+ protected final String TEXT_20 = " abstract";
+ protected final String TEXT_21 = " class ";
+ protected final String TEXT_22 = " extends ";
+ protected final String TEXT_23 = NL + "{";
+ protected final String TEXT_24 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_25 = " copyright = ";
+ protected final String TEXT_26 = ";";
+ protected final String TEXT_27 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_28 = " mofDriverNumber = \"";
+ protected final String TEXT_29 = "\";";
+ protected final String TEXT_30 = NL + NL + "\t/**" + NL + "\t * The fixture for this ";
+ protected final String TEXT_31 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_32 = " fixture = null;";
+ protected final String TEXT_33 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_34 = ".run(";
+ protected final String TEXT_35 = ".class);" + NL + "\t}";
+ protected final String TEXT_36 = NL + NL + "\t/**" + NL + "\t * Constructs a new ";
+ protected final String TEXT_37 = " test case with the given name." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_38 = "(String name)" + NL + "\t{" + NL + "\t\tsuper(name);" + NL + "\t}";
+ protected final String TEXT_39 = NL + NL + "\t/**" + NL + "\t * Sets the fixture for this ";
+ protected final String TEXT_40 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected void setFixture(";
+ protected final String TEXT_41 = " fixture)" + NL + "\t{" + NL + "\t\tthis.fixture = fixture;" + NL + "\t}";
+ protected final String TEXT_42 = NL + NL + "\t/**" + NL + "\t * Returns the fixture for this ";
+ protected final String TEXT_43 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_44 = NL + "\t@Override";
+ protected final String TEXT_45 = NL + "\t";
+ protected final String TEXT_46 = "protected";
+ protected final String TEXT_47 = "private";
+ protected final String TEXT_48 = " ";
+ protected final String TEXT_49 = " getFixture()" + NL + "\t{";
+ protected final String TEXT_50 = NL + "\t\treturn fixture;";
+ protected final String TEXT_51 = NL + "\t\treturn (";
+ protected final String TEXT_52 = ")fixture;";
+ protected final String TEXT_53 = NL + "\t}";
+ protected final String TEXT_54 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see junit.framework.TestCase#setUp()" + NL + "\t * @generated"
+ + NL + "\t */";
+ protected final String TEXT_55 = NL + "\t@Override";
+ protected final String TEXT_56 = NL + "\t@SuppressWarnings(\"unchecked\")";
+ protected final String TEXT_57 = NL + "\tprotected void setUp() throws Exception" + NL + "\t{";
+ protected final String TEXT_58 = NL + "\t\tsetFixture((";
+ protected final String TEXT_59 = ")";
+ protected final String TEXT_60 = ".create(";
+ protected final String TEXT_61 = "));";
+ protected final String TEXT_62 = NL + "\t\tsetFixture(";
+ protected final String TEXT_63 = ".create";
+ protected final String TEXT_64 = "());";
+ protected final String TEXT_65 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see junit.framework.TestCase#tearDown()" + NL
+ + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_66 = NL + "\t@Override";
+ protected final String TEXT_67 = NL + "\tprotected void tearDown() throws Exception" + NL + "\t{" + NL
+ + "\t\tsetFixture(null);" + NL + "\t}";
+ protected final String TEXT_68 = NL;
+ protected final String TEXT_69 = NL;
+ protected final String TEXT_70 = NL;
+ protected final String TEXT_71 = NL;
+ protected final String TEXT_72 = NL + "} //";
+ protected final String TEXT_73 = NL;
+ protected final String TEXT_74 = NL;
+ protected final String TEXT_75 = NL;
+
+ public TestCase() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> parameterList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object parameterParameter : parameterList) {
+
+ this.parameter = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) parameterParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_74);
+ stringBuffer.append(TEXT_75);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ super.orchestration(new SuperOrchestrationContext(ictx));
+
+ method_preGenerate(new StringBuffer(), ictx);
+
+ method_doGenerate(new StringBuffer(), ictx);
+ {
+ final Map<String, Object> parameters = getParameters();
+ CallbackContext ctx_callback = new CallbackContext(ictx);
+ CallHelper.callBack(ctx_callback, parameters);
+ }
+
+ method_postGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("parameter", this.parameter);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("parameter", this.parameter);
+ return parameters;
+ }
+
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ GenClass genClass = parameter;
+ targetPath = genClass.getGenModel().getTestsDirectory();
+ packageName = genClass.getGenPackage().getTestsPackageName();
+ className = genClass.getTestCaseClassName();
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setReporterVariables", stringBuffer.toString());
+ }
+
+ protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ GenClass genClass = parameter;
+ argument = parameter;
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
+ }
+
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
+
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ /**
+ * Copyright (c) 2005, 2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+
+ GenClass genClass = (GenClass) argument;
+ GenPackage genPackage = genClass.getGenPackage();
+ GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */
+ Iterator.class.getName();
+ stringBuffer.append(TEXT_1);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("argument", parameter);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genPackage.getTestsPackageName());
+ stringBuffer.append(TEXT_3);
+ genModel.markImportLocation(stringBuffer);
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_5);
+ if (!genClass.getImplementedGenFeatures().isEmpty()) {
+ boolean first = true;
+ for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {
+ if (genFeature.isTested() && !genFeature.isSuppressedGetVisibility()) {
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_6);
+ }
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_10);
+ }
+ }
+ if (!first) {
+ stringBuffer.append(TEXT_11);
+ }
+ }
+ if (!genClass.getImplementedGenOperations().isEmpty()) {
+ boolean first = true;
+ for (GenOperation genOperation : genClass.getImplementedGenOperations()) {
+ if (first) {
+ first = false;
+ stringBuffer.append(TEXT_12);
+ }
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(genOperation.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_17);
+ }
+ if (!first) {
+ stringBuffer.append(TEXT_18);
+ }
+ }
+ stringBuffer.append(TEXT_19);
+ if (genClass.isAbstract()) {
+ stringBuffer.append(TEXT_20);
+ }
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(genClass.getTestCaseClassName());
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(genClass.isModelRoot() ? genModel.getImportedName("junit.framework.TestCase") : genClass
+ .getClassExtendsGenClass().getImportedTestCaseClassName());
+ stringBuffer.append(TEXT_23);
+ if (genModel.hasCopyrightField()) {
+ stringBuffer.append(TEXT_24);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_25);
+ stringBuffer.append(genModel.getCopyrightFieldLiteral());
+ stringBuffer.append(TEXT_26);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genModel.getDriverNumber() != null) {
+ stringBuffer.append(TEXT_27);
+ stringBuffer.append(genModel.getImportedName("java.lang.String"));
+ stringBuffer.append(TEXT_28);
+ stringBuffer.append(genModel.getDriverNumber());
+ stringBuffer.append(TEXT_29);
+ stringBuffer.append(genModel.getNonNLS());
+ }
+ if (genClass.isModelRoot()) {
+ stringBuffer.append(TEXT_30);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_31);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_32);
+ }
+ if (!genClass.isAbstract()) {
+ stringBuffer.append(TEXT_33);
+ stringBuffer.append(genModel.getImportedName("junit.textui.TestRunner"));
+ stringBuffer.append(TEXT_34);
+ stringBuffer.append(genClass.getTestCaseClassName());
+ stringBuffer.append(TEXT_35);
+ }
+ stringBuffer.append(TEXT_36);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genClass.getTestCaseClassName());
+ stringBuffer.append(TEXT_38);
+ if (genClass.isModelRoot()) {
+ stringBuffer.append(TEXT_39);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_40);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_41);
+ }
+ stringBuffer.append(TEXT_42);
+ stringBuffer.append(genClass.getFormattedName());
+ stringBuffer.append(TEXT_43);
+ if (!genClass.isModelRoot() && genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_44);
+ }
+ stringBuffer.append(TEXT_45);
+ if (genModel.useGenerics()) {
+ stringBuffer.append(TEXT_46);
+ } else {
+ stringBuffer.append(TEXT_47);
+ }
+ stringBuffer.append(TEXT_48);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_49);
+ if (genClass.isModelRoot()) {
+ stringBuffer.append(TEXT_50);
+ } else {
+ stringBuffer.append(TEXT_51);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_52);
+ }
+ stringBuffer.append(TEXT_53);
+ if (!genClass.isAbstract()) {
+ stringBuffer.append(TEXT_54);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_55);
+ }
+ if (genModel.useGenerics() && genClass.isMapEntry()) {
+ stringBuffer.append(TEXT_56);
+ }
+ stringBuffer.append(TEXT_57);
+ if (genClass.isMapEntry()) {
+ stringBuffer.append(TEXT_58);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(TEXT_59);
+ stringBuffer.append(genPackage.getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_60);
+ stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+ stringBuffer.append(TEXT_61);
+ } else {
+ stringBuffer.append(TEXT_62);
+ stringBuffer.append(genPackage.getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(TEXT_63);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_64);
+ }
+ stringBuffer.append(TEXT_65);
+ if (genModel.useClassOverrideAnnotation()) {
+ stringBuffer.append(TEXT_66);
+ }
+ stringBuffer.append(TEXT_67);
+ }
+ for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {
+ stringBuffer.append(TEXT_68);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_09kCIWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/implementedGenFeature.override.javajetinc
+ }
+ for (GenOperation genOperation : genClass.getImplementedGenOperations()) {
+ stringBuffer.append(TEXT_69);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1Cx5UGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/implementedGenOperation.override.javajetinc
+ }
+ stringBuffer.append(TEXT_70);
+ stringBuffer.append(TEXT_71);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.insert" args="genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DYWQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_72);
+ stringBuffer.append(genClass.getTestCaseClassName());
+ genModel.emitSortedImports();
+ stringBuffer.append(TEXT_73);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ GenClass genClass = parameter;
+ genModel = parameter.getGenModel();
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && true;
+ return canGenerate;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegenOperationannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegenOperationannotationsinsert.java
new file mode 100644
index 0000000..addea36
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegenOperationannotationsinsert.java
@@ -0,0 +1,146 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCasegenOperationannotationsinsert {
+ protected static String nl;
+
+ public static synchronized TestCasegenOperationannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCasegenOperationannotationsinsert result = new TestCasegenOperationannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public TestCasegenOperationannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..892e3da
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureTODOoverride.java
@@ -0,0 +1,149 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCasegetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized TestCasegetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCasegetGenFeatureTODOoverride result = new TestCasegetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this feature getter test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public TestCasegetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..4ff0f3d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureannotationsinsert.java
@@ -0,0 +1,146 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCasegetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized TestCasegetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCasegetGenFeatureannotationsinsert result = new TestCasegetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public TestCasegetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureoverride.java
new file mode 100644
index 0000000..1409127
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureoverride.java
@@ -0,0 +1,214 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCasegetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized TestCasegetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCasegetGenFeatureoverride result = new TestCasegetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t/**" + NL + "\t * Tests the '{@link ";
+ protected final String TEXT_2 = "#";
+ protected final String TEXT_3 = "() <em>";
+ protected final String TEXT_4 = "</em>}' feature getter." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_5 = "#";
+ protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL + "\tpublic void test";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL + "\t}" + NL;
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL;
+
+ public TestCasegetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getGetAccessor());
+ stringBuffer.append(TEXT_6);
+ if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/getGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_7);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-KfEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genModel.capName(genFeature.getGetAccessor()));
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(TEXT_10);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-UQEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/getGenFeature.todo.override.javajetinc
+ stringBuffer.append(TEXT_11);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureinsert.java
new file mode 100644
index 0000000..7f7cddc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureinsert.java
@@ -0,0 +1,146 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseimplementedGenFeatureinsert {
+ protected static String nl;
+
+ public static synchronized TestCaseimplementedGenFeatureinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseimplementedGenFeatureinsert result = new TestCaseimplementedGenFeatureinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public TestCaseimplementedGenFeatureinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureoverride.java
new file mode 100644
index 0000000..db8052b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureoverride.java
@@ -0,0 +1,268 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseimplementedGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized TestCaseimplementedGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseimplementedGenFeatureoverride result = new TestCaseimplementedGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+ protected final String TEXT_4 = NL;
+ protected final String TEXT_5 = NL;
+ protected final String TEXT_6 = NL;
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL;
+ protected final String TEXT_9 = NL;
+
+ public TestCaseimplementedGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(TEXT_9);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ if (genFeature.isTested()) {
+ if (genFeature.isGet() && !genFeature.isSuppressedGetVisibility()) {
+ stringBuffer.append(TEXT_2);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_093kIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/getGenFeature.override.javajetinc
+ }
+ if (genFeature.isSet() && !genFeature.isSuppressedSetVisibility()) {
+ stringBuffer.append(TEXT_3);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-daAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/setGenFeature.override.javajetinc
+ }
+ if (genFeature.isUnset() && !genFeature.isSuppressedUnsetVisibility()) {
+ stringBuffer.append(TEXT_4);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0_NA4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/unsetGenFeature.override.javajetinc
+ }
+ if (genFeature.isIsSet() && !genFeature.isSuppressedIsSetVisibility()) {
+ stringBuffer.append(TEXT_5);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BvXgGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/isSetGenFeature.override.javajetinc
+ }
+ }
+ stringBuffer.append(TEXT_6);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1CovYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_7);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationTODOoverride.java
new file mode 100644
index 0000000..9d46200
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationTODOoverride.java
@@ -0,0 +1,149 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseimplementedGenOperationTODOoverride {
+ protected static String nl;
+
+ public static synchronized TestCaseimplementedGenOperationTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseimplementedGenOperationTODOoverride result = new TestCaseimplementedGenOperationTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this operation test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public TestCaseimplementedGenOperationTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationinsert.java
new file mode 100644
index 0000000..8d1a944
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationinsert.java
@@ -0,0 +1,146 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseimplementedGenOperationinsert {
+ protected static String nl;
+
+ public static synchronized TestCaseimplementedGenOperationinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseimplementedGenOperationinsert result = new TestCaseimplementedGenOperationinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public TestCaseimplementedGenOperationinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationoverride.java
new file mode 100644
index 0000000..428fa4d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationoverride.java
@@ -0,0 +1,242 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseimplementedGenOperationoverride {
+ protected static String nl;
+
+ public static synchronized TestCaseimplementedGenOperationoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseimplementedGenOperationoverride result = new TestCaseimplementedGenOperationoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t/**" + NL + "\t * Tests the '{@link ";
+ protected final String TEXT_2 = "#";
+ protected final String TEXT_3 = "(";
+ protected final String TEXT_4 = ") <em>";
+ protected final String TEXT_5 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_6 = "#";
+ protected final String TEXT_7 = "(";
+ protected final String TEXT_8 = ")" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL + "\tpublic void test";
+ protected final String TEXT_11 = "()" + NL + "\t{";
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL + "\t}";
+ protected final String TEXT_14 = NL;
+ protected final String TEXT_15 = NL;
+ protected final String TEXT_16 = NL;
+ protected final String TEXT_17 = NL;
+
+ public TestCaseimplementedGenOperationoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genOperationList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genOperationParameter : genOperationList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genOperation = (org.eclipse.emf.codegen.ecore.genmodel.GenOperation) genOperationParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_16);
+ stringBuffer.append(TEXT_17);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genOperation", this.genOperation);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenOperation genOperation = null;
+
+ public void set_genOperation(org.eclipse.emf.codegen.ecore.genmodel.GenOperation object) {
+ this.genOperation = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genOperation", this.genOperation);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genOperation.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genOperation.getFormattedName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genOperation.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genOperation.getName());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genOperation.getParameterTypes(", "));
+ stringBuffer.append(TEXT_8);
+ if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/genOperation.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_9);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.genOperation.annotations.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1C7qUGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genClass.getUniqueName(genOperation));
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(TEXT_12);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.TODO.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DFbUGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/implementedGenOperation.todo.override.javajetinc
+ stringBuffer.append(TEXT_13);
+ stringBuffer.append(TEXT_14);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genOperation", genOperation);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DOlQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ stringBuffer.append(TEXT_15);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseinsert.java
new file mode 100644
index 0000000..7a73cf5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseinsert.java
@@ -0,0 +1,133 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseinsert {
+ protected static String nl;
+
+ public static synchronized TestCaseinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseinsert result = new TestCaseinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public TestCaseinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..b187f94
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureTODOoverride.java
@@ -0,0 +1,149 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseisSetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized TestCaseisSetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseisSetGenFeatureTODOoverride result = new TestCaseisSetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public TestCaseisSetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..8757b21
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureannotationsinsert.java
@@ -0,0 +1,146 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseisSetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized TestCaseisSetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseisSetGenFeatureannotationsinsert result = new TestCaseisSetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public TestCaseisSetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureoverride.java
new file mode 100644
index 0000000..ba3033b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureoverride.java
@@ -0,0 +1,214 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseisSetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized TestCaseisSetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseisSetGenFeatureoverride result = new TestCaseisSetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t/**" + NL + "\t * Tests the '{@link ";
+ protected final String TEXT_2 = "#isSet";
+ protected final String TEXT_3 = "() <em>isSet";
+ protected final String TEXT_4 = "()</em>}' method." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_5 = "#isSet";
+ protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL + "\tpublic void testIsSet";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL + "\t}" + NL;
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL;
+
+ public TestCaseisSetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/isSetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_7);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1CMDcGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(TEXT_10);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1Ce-YGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/isSetGenFeature.todo.override.javajetinc
+ stringBuffer.append(TEXT_11);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..5d137a4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureTODOoverride.java
@@ -0,0 +1,149 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCasesetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized TestCasesetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCasesetGenFeatureTODOoverride result = new TestCasesetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this feature setter test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public TestCasesetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..5ed753c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureannotationsinsert.java
@@ -0,0 +1,146 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCasesetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized TestCasesetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCasesetGenFeatureannotationsinsert result = new TestCasesetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public TestCasesetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureoverride.java
new file mode 100644
index 0000000..3dd8c7c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureoverride.java
@@ -0,0 +1,220 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCasesetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized TestCasesetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCasesetGenFeatureoverride result = new TestCasesetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t/**" + NL + "\t * Tests the '{@link ";
+ protected final String TEXT_2 = "#set";
+ protected final String TEXT_3 = "(";
+ protected final String TEXT_4 = ") <em>";
+ protected final String TEXT_5 = "</em>}' feature setter." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_6 = "#set";
+ protected final String TEXT_7 = "(";
+ protected final String TEXT_8 = ")" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_9 = NL;
+ protected final String TEXT_10 = NL + "\tpublic void testSet";
+ protected final String TEXT_11 = "()" + NL + "\t{";
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL + "\t}" + NL;
+ protected final String TEXT_14 = NL;
+ protected final String TEXT_15 = NL;
+
+ public TestCasesetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(TEXT_15);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getRawBoundType());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getFormattedName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(genFeature.getRawBoundType());
+ stringBuffer.append(TEXT_8);
+ if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/setGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_9);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-wU8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(TEXT_12);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-6F8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/setGenFeature.todo.override.javajetinc
+ stringBuffer.append(TEXT_13);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureTODOoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureTODOoverride.java
new file mode 100644
index 0000000..c047c1f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureTODOoverride.java
@@ -0,0 +1,149 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseunsetGenFeatureTODOoverride {
+ protected static String nl;
+
+ public static synchronized TestCaseunsetGenFeatureTODOoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseunsetGenFeatureTODOoverride result = new TestCaseunsetGenFeatureTODOoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_2 = NL;
+ protected final String TEXT_3 = NL;
+
+ public TestCaseunsetGenFeatureTODOoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(TEXT_3);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureannotationsinsert.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureannotationsinsert.java
new file mode 100644
index 0000000..7f17939
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureannotationsinsert.java
@@ -0,0 +1,146 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseunsetGenFeatureannotationsinsert {
+ protected static String nl;
+
+ public static synchronized TestCaseunsetGenFeatureannotationsinsert create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseunsetGenFeatureannotationsinsert result = new TestCaseunsetGenFeatureannotationsinsert();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = "";
+ protected final String TEXT_2 = NL;
+
+ public TestCaseunsetGenFeatureannotationsinsert() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(TEXT_2);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureoverride.java b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureoverride.java
new file mode 100644
index 0000000..09c87f8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureoverride.java
@@ -0,0 +1,214 @@
+//Generated with EGF 1.2.0.qualifier
+package org.eclipse.egf.emf.pattern.tests.call.TestCase;
+
+import org.eclipse.egf.emf.pattern.base.*;
+import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.*;
+import org.eclipse.emf.codegen.ecore.genmodel.generator.*;
+import org.eclipse.emf.codegen.util.*;
+import org.eclipse.emf.ecore.util.*;
+import org.eclipse.emf.common.util.*;
+import org.eclipse.egf.common.helper.*;
+import java.util.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.egf.model.pattern.*;
+import org.eclipse.egf.pattern.execution.*;
+import org.eclipse.egf.pattern.query.*;
+
+public class TestCaseunsetGenFeatureoverride {
+ protected static String nl;
+
+ public static synchronized TestCaseunsetGenFeatureoverride create(String lineSeparator) {
+ nl = lineSeparator;
+ TestCaseunsetGenFeatureoverride result = new TestCaseunsetGenFeatureoverride();
+ nl = null;
+ return result;
+ }
+
+ public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = NL + NL + "\t/**" + NL + "\t * Tests the '{@link ";
+ protected final String TEXT_2 = "#unset";
+ protected final String TEXT_3 = "() <em>unset";
+ protected final String TEXT_4 = "()</em>}' method." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_5 = "#unset";
+ protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_7 = NL;
+ protected final String TEXT_8 = NL + "\tpublic void testUnset";
+ protected final String TEXT_9 = "()" + NL + "\t{";
+ protected final String TEXT_10 = NL;
+ protected final String TEXT_11 = NL + "\t}" + NL;
+ protected final String TEXT_12 = NL;
+ protected final String TEXT_13 = NL;
+
+ public TestCaseunsetGenFeatureoverride() {
+ //Here is the constructor
+ StringBuffer stringBuffer = new StringBuffer();
+
+ // add initialisation of the pattern variables (declaration has been already done).
+
+ }
+
+ public String generate(Object argument) throws Exception {
+ final StringBuffer stringBuffer = new StringBuffer();
+
+ InternalPatternContext ctx = (InternalPatternContext) argument;
+ Map<String, String> queryCtx = null;
+ IQuery.ParameterDescription paramDesc = null;
+ Node.Container currentNode = ctx.getNode();
+
+ List<Object> genFeatureList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genClassList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genPackageList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+ List<Object> genModelList = null;
+ //this pattern can only be called by another (i.e. it's not an entry point in execution)
+
+ for (Object genFeatureParameter : genFeatureList) {
+ for (Object genClassParameter : genClassList) {
+ for (Object genPackageParameter : genPackageList) {
+ for (Object genModelParameter : genModelList) {
+
+ this.genFeature = (org.eclipse.emf.codegen.ecore.genmodel.GenFeature) genFeatureParameter;
+ this.genClass = (org.eclipse.emf.codegen.ecore.genmodel.GenClass) genClassParameter;
+ this.genPackage = (org.eclipse.emf.codegen.ecore.genmodel.GenPackage) genPackageParameter;
+ this.genModel = (org.eclipse.emf.codegen.ecore.genmodel.GenModel) genModelParameter;
+
+ if (preCondition(ctx)) {
+ ctx.setNode(new Node.Container(currentNode, getClass()));
+ orchestration(ctx);
+ }
+
+ }
+ }
+ }
+ }
+ ctx.setNode(currentNode);
+ if (ctx.useReporter()) {
+ ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
+ }
+
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(TEXT_13);
+ return stringBuffer.toString();
+ }
+
+ public String orchestration(PatternContext ctx) throws Exception {
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+
+ method_doGenerate(new StringBuffer(), ictx);
+
+ if (ictx.useReporter()) {
+ Map<String, Object> parameterValues = new HashMap<String, Object>();
+ parameterValues.put("genFeature", this.genFeature);
+ parameterValues.put("genClass", this.genClass);
+ parameterValues.put("genPackage", this.genPackage);
+ parameterValues.put("genModel", this.genModel);
+ String outputWithCallBack = OutputManager.computeLoopOutput(ictx);
+ String loop = OutputManager.computeLoopOutputWithoutCallback(ictx);
+ ictx.getReporter().loopFinished(loop, outputWithCallBack, ictx, parameterValues);
+ }
+ return null;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenFeature genFeature = null;
+
+ public void set_genFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature object) {
+ this.genFeature = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenClass genClass = null;
+
+ public void set_genClass(org.eclipse.emf.codegen.ecore.genmodel.GenClass object) {
+ this.genClass = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage = null;
+
+ public void set_genPackage(org.eclipse.emf.codegen.ecore.genmodel.GenPackage object) {
+ this.genPackage = object;
+ }
+
+ protected org.eclipse.emf.codegen.ecore.genmodel.GenModel genModel = null;
+
+ public void set_genModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel object) {
+ this.genModel = object;
+ }
+
+ public Map<String, Object> getParameters() {
+ final Map<String, Object> parameters = new HashMap<String, Object>();
+ parameters.put("genFeature", this.genFeature);
+ parameters.put("genClass", this.genClass);
+ parameters.put("genPackage", this.genPackage);
+ parameters.put("genModel", this.genModel);
+ return parameters;
+ }
+
+ protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+
+ stringBuffer.append(TEXT_1);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(genFeature.getGenClass().getQualifiedInterfaceName());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_6);
+ if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/unsetGenFeature.annotations.insert.javajetinc
+ stringBuffer.append(TEXT_7);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BcckGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ }
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(genFeature.getAccessorName());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(TEXT_10);
+ {
+ //<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), null, stringBuffer.toString());
+ stringBuffer.setLength(0);
+
+ final Map<String, Object> callParameters = new HashMap<String, Object>();
+ callParameters.put("genFeature", genFeature);
+ callParameters.put("genClass", genClass);
+ callParameters.put("genPackage", genPackage);
+ callParameters.put("genModel", genModel);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BlmgGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ stringBuffer.setLength(0);
+ }
+
+ //TestCase/unsetGenFeature.todo.override.javajetinc
+ stringBuffer.append(TEXT_11);
+ InternalPatternContext ictx = (InternalPatternContext) ctx;
+ new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
+ }
+
+ public boolean preCondition(PatternContext ctx) throws Exception {
+ return true;
+ }
+}
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/org.eclipse.emf.codegen.ecore.patch b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/org.eclipse.emf.codegen.ecore.patch
new file mode 100644
index 0000000..0a9efab
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/org.eclipse.emf.codegen.ecore.patch
@@ -0,0 +1,18 @@
+Index: templates/model/Class.javajet
+===================================================================
+RCS file: /cvsroot/modeling/org.eclipse.emf/org.eclipse.emf/plugins/org.eclipse.emf.codegen.ecore/templates/model/Class.javajet,v
+retrieving revision 1.92
+diff -u -r1.92 Class.javajet
+--- templates/model/Class.javajet 7 Apr 2011 19:53:34 -0000 1.92
++++ templates/model/Class.javajet 10 May 2011 13:58:42 -0000
+@@ -393,7 +393,10 @@
+ */
+ <%if (genModel.isPublicConstructors()) {%>public<%} else {%>protected<%}%> <%=genClass.getClassName()%>()
+ {
++<%@ include file="Class/egfCustom.constructor.override.javajetinc" fail="alternative" %>
++<%@ start %>
+ super();
++<%@ end %>
+ <%for (GenFeature genFeature : genClass.getFlagGenFeaturesWithDefault()) {%>
+ <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG<%if (!genFeature.isBooleanType()) {%>_DEFAULT<%}%>;
+ <%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/plugin.properties b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/plugin.properties
new file mode 100644
index 0000000..3747c7c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/plugin.properties
@@ -0,0 +1,13 @@
+##
+# Copyright (c) 2009-2010 Thales Corporate Services S.A.S.
+# 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:
+# Thales Corporate Services S.A.S - initial API and implementation
+##
+
+pluginName=EGF EMF Pattern
+providerName=Eclipse Modeling Project
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/plugin.xml b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/plugin.xml
new file mode 100644
index 0000000..9468fb4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/plugin.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<!--
+ Copyright (c) 2009-2010 Thales Corporate Services S.A.S.
+ 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:
+ Thales Corporate Services S.A.S - initial API and implementation
+ -->
+
+<plugin>
+ <extension
+ point="org.eclipse.egf.core.fcore">
+ <fcore
+ id="egf/EMF_Pattern.fcore">
+ </fcore>
+ </extension>
+
+
+</plugin>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F-2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F-2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..de5a4ae
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F-2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this feature setter test method
+ // Ensure that you remove @generated or mark it @generated NOT
+ fail();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F82J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F82J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F82J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F9WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F9WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F9WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._CStaNHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._CStaNHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._CStaNHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfEmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfFWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfFWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfFWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfG2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfG2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfG2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._CLQuZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._CLQuZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._CLQuZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQEmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQFWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQFWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQFWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQG2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQG2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..42821b4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQG2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this feature getter test method
+ // Ensure that you remove @generated or mark it @generated NOT
+ fail();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._CMmyNHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._CMmyNHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._CMmyNHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daA2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daA2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daA2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daBWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daBWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daBWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daC2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daC2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..292915b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daC2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,17 @@
+
+
+
+ /**
+ * Tests the '{@link <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawBoundType()%>) <em><%=genFeature.getFormattedName()%></em>}' feature setter.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawBoundType()%>)
+ * @generated
+ */
+ <%if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/setGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+ <%}%>
+ public void testSet<%=genFeature.getAccessorName()%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/setGenFeature.todo.override.javajetinc%>
+ }
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._CPu-tHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._CPu-tHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._CPu-tHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU-2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU-2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU-2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU82J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU82J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU82J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU9WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU9WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU9WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._CRq4ZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._CRq4ZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._CRq4ZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00Bro2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00Bro2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00Bro2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BromJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BromJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BromJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrpWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrpWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrpWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..72a6e1c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrsmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,16 @@
+
+
+ /**
+ * Unsets the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ <%if (!genFeature.isSuppressedIsSetVisibility()) {%>
+ * @see #isSet<%=genFeature.getAccessorName()%>()
+ <%}%>
+ * @see #<%=genFeature.getGetAccessor()%>()
+ <%if (!genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {%>
+ * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>)
+ <%}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._BW9jpHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._BW9jpHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._BW9jpHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00Lco2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00Lco2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00Lco2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcomJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcpWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcpWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcpWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcsmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._BX27hHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._BX27hHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._BX27hHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNo2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNo2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNo2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNomJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNpWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNpWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNpWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNsmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._BY5dVHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._BY5dVHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._BY5dVHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXk2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXk2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXk2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXkmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXkmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXkmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXlWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXlWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXlWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..bebddb5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXomJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this method to unset the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._BZy1NHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._BZy1NHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._BZy1NHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIk2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIk2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIk2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIkmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIkmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIkmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIlWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIlWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIlWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..2b298ec
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIomJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,55 @@
+
+
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/isSetGenFeature.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/isSetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) {%>
+ boolean isSet<%=genFeature.getAccessorName()%>();
+
+<%} else {%>
+ public boolean isSet<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingIsSetAccessorOperation(genFeature)) {%>_<%}%>()
+ {
+ <%if (genModel.isDynamicDelegation()) {%>
+ return eDynamicIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else if (genModel.isReflectiveDelegation()) {%>
+ return eIsSet(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ return <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genFeature.isListType()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ return <%=genFeature.getSafeName()%> != null && ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%>.Unsettable<%=singleWildcard%>)<%=genFeature.getSafeName()%>).isSet();
+ <%} else {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ return eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ return (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%} else {%>
+ return <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%}%>
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).isEmpty(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else {%>
+ return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).isEmpty(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%}%>
+ <%} else if (genClass.getIsSetAccessorOperation(genFeature) != null) {%>
+ <%=genClass.getIsSetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/isSetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._BaPhJHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._BaPhJHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._BaPhJHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5k2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5k2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5k2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5kmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5kmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5kmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5lWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5lWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5lWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5omJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5omJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..13637a5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5omJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,17 @@
+
+
+ /**
+ * Returns whether the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%> is set.
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%> is set.
+ <%if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {%>
+ * @see #unset<%=genFeature.getAccessorName()%>()
+ <%}%>
+ * @see #<%=genFeature.getGetAccessor()%>()
+ <%if (!genFeature.isListType() && genFeature.isChangeable() && !genFeature.isSuppressedSetVisibility()) {%>
+ * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>)
+ <%}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._BbSC9HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._BbSC9HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._BbSC9HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MY2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MY2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MY2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MZWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MZWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MZWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-McmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-McmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..4b98da9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-McmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,105 @@
+
+
+ <%if (isImplementation) {%>
+ <%if (genOperation.isInvariant() && genOperation.hasInvariantExpression()) {%>
+ /**
+ * The cached validation expression for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' invariant operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
+ * @generated
+ * @ordered
+ */
+ protected static final <%=genModel.getImportedName("java.lang.String")%> <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EEXPRESSION = "<%=genOperation.getInvariantExpression("\t\t")%>";<%=genModel.getNonNLS()%>
+
+ <%} else if (genOperation.hasInvocationDelegate()) {%>
+ /**
+ * The cached invocation delegate for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
+ * @generated
+ * @ordered
+ */
+ protected static final <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%>.Internal.InvocationDelegate <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%>.Internal)<%=genOperation.getQualifiedOperationAccessor()%>).getInvocationDelegate();
+
+ <%}%>
+ <%}%>
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/genOperation.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/genOperation.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.annotations.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) {%>
+ <%=genOperation.getTypeParameters(genClass)%><%=genOperation.getImportedType(genClass)%> <%=genOperation.getName()%>(<%=genOperation.getParameters(genClass)%>)<%=genOperation.getThrows(genClass)%>;
+
+<%} else {%>
+ <%if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant() && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=genOperation.getTypeParameters(genClass)%><%=genOperation.getImportedType(genClass)%> <%=genOperation.getName()%>(<%=genOperation.getParameters(isImplementation, genClass)%>)<%=genOperation.getThrows(genClass)%>
+ {
+ <%if (genOperation.hasBody()) {%>
+ <%=genOperation.getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else if (genOperation.isInvariant()) {GenClass opClass = genOperation.getGenClass(); String diagnostics = genOperation.getGenParameters().get(0).getName(); String context = genOperation.getGenParameters().get(1).getName();%>
+ <%if (genOperation.hasInvariantExpression()) {%>
+ return
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.validate
+ (<%=genClass.getQualifiedClassifierAccessor()%>,
+ this,
+ <%=diagnostics%>,
+ <%=context%>,
+ "<%=genOperation.getValidationDelegate()%>",<%=genModel.getNonNLS()%>
+ <%=genOperation.getQualifiedOperationAccessor()%>,
+ <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EEXPRESSION,
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.DIAGNOSTIC_SOURCE,
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.<%=opClass.getOperationID(genOperation)%>);
+ <%} else {%>
+ // TODO: implement this method
+ // -> specify the condition that violates the invariant
+ // -> verify the details of the diagnostic, including severity and message
+ // Ensure that you remove @generated or mark it @generated NOT
+ if (false)
+ {
+ if (<%=diagnostics%> != null)
+ {
+ <%=diagnostics%>.add
+ (new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")%>
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.DIAGNOSTIC_SOURCE,
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.<%=opClass.getOperationID(genOperation)%>,
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "<%=genOperation.getName()%>", <%=genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator")%>.getObjectLabel(this, <%=context%>) }),<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ new Object [] { this }));
+ }
+ return false;
+ }
+ return true;
+ <%}%>
+ <%} else if (genOperation.hasInvocationDelegate()) { int size = genOperation.getGenParameters().size();%>
+ try
+ {
+ <%if (genOperation.isVoid()) {%>
+ <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE.dynamicInvoke(this, <%if (size > 0) {%>new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%>.UnmodifiableEList<Object>(<%=size%>, <%=genOperation.getParametersArray(genClass)%>)<%} else {%>null<%}%>);
+ <%} else {%>
+ return <%if (!isJDK50 && genOperation.isPrimitiveType()) {%>(<%}%>(<%=genOperation.getObjectType(genClass)%>)<%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE.dynamicInvoke(this, <%if (size > 0) {%>new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%>.UnmodifiableEList<Object>(<%=size%>, <%=genOperation.getParametersArray(genClass)%>)<%} else {%>null<%}%>)<%if (!isJDK50 && genOperation.isPrimitiveType()) {%>).<%=genOperation.getPrimitiveValueFunction()%>()<%}%>;
+ <%}%>
+ }
+ catch (<%=genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")%> ite)
+ {
+ throw new <%=genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")%>(ite);
+ }
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.implementedGenOperation.TODO.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/implementedGenOperation.todo.override.javajetinc%>
+ <%}%>
+ }
+
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._BiI45HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._BiI45HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._BiI45HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bY2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bY2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bY2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bZWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bZWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bZWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bcmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bcmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bcmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._BgWJJHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._BgWJJHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._BgWJJHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-c2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-c2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-c2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-cmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-cmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-cmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-dWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-dWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-dWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-gmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-gmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-gmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._BcoGxHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._BcoGxHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._BcoGxHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgc2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgc2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgc2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgcmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgcmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgcmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgdWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgdWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgdWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hggmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hggmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hggmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._Bd9jhHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._Bd9jhHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._Bd9jhHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqY2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqY2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqY2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqZWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqZWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqZWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqcmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqcmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..b837f39
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqcmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this method to return whether the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> is set
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._BfAsZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._BfAsZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._BfAsZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229M2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229M2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229M2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229MmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229MmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229MmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229NWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229NWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229NWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229QmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229QmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..fc18b0e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229QmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._Bn8l9HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._Bn8l9HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._Bn8l9HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWU2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWU2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWU2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWUmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWUmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWUmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWVWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWVWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWVWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..8a45b6b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,32 @@
+
+
+ /**
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ <%if (genOperation.hasDocumentation() || genOperation.hasParameterDocumentation()) {%>
+ * <!-- begin-model-doc -->
+ <%if (genOperation.hasDocumentation()) {%>
+ * <%=genOperation.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ <%}%>
+ <%for (GenParameter genParameter : genOperation.getGenParameters()) {%>
+ <%if (genParameter.hasDocumentation()) { String documentation = genParameter.getDocumentation("");%>
+ <%if (documentation.contains("\n") || documentation.contains("\r")) {%>
+ * @param <%=genParameter.getName()%>
+ * <%=genParameter.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+ * @param <%=genParameter.getName()%> <%=genParameter.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ <%}%>
+ <%}%>
+ <%}%>
+ * <!-- end-model-doc -->
+ <%}%>
+ <%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._Bjx3pHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._Bjx3pHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._Bjx3pHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQ2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQ2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQ2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCRWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCRWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCRWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCUmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCUmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCUmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._BlkAVHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._BlkAVHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._BlkAVHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQ2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQ2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQ2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzRWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzRWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzRWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzUmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzUmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzUmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._BnDOFHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._BnDOFHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._BnDOFHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GEmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GFWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GFWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GFWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GIGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GIGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..f9cbec5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GIGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,14 @@
+
+
+
+ newChildDescriptors.add
+ (createChildParameter
+ (<%=createFeature.getQualifiedFeatureAccessor()%>,
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMapUtil")%>.createEntry
+ (<%=delegatedFeature.getQualifiedFeatureAccessor()%>,
+ <%if (createClass.isMapEntry()) { %>
+ <%=createClass.getGenPackage().getQualifiedEFactoryInstanceAccessor()%>.create(<%=createClass.getQualifiedClassifierAccessor()%>))));
+ <%} else {%>
+ <%=createClass.getGenPackage().getQualifiedFactoryInstanceAccessor()%>.create<%=createClass.getName()%>())));
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.insert" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._Bx7oZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._Bx7oZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._Bx7oZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuQmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._BpSpxHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._BpSpxHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._BpSpxHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfQWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfQWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..91d7a2b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfQWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,41 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void eUnset(int featureID)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+ <%for (GenFeature genFeature : genClass.getEUnsetGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isListType() && !genFeature.isUnsettable()) {%>
+ <%if (genFeature.isWrappedFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap().clear();
+ <%} else {%>
+ <%=genFeature.getGetAccessor()%>().clear();
+ <%}%>
+ <%} else if (genFeature.isUnsettable()) {%>
+ unset<%=genFeature.getAccessorName()%>();
+ <%} else if (!genFeature.hasEDefault()) {%>
+ set<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)null);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicUnset(this, null, 0);
+ <%} else {%>
+ set<%=genFeature.getAccessorName()%>(<%=genFeature.getEDefault()%>);
+ <%}%>
+ return;
+ <%}%>
+ }
+ <%if (genModel.isMinimalReflectiveMethods()) {%>
+ super.eUnset(featureID);
+ <%} else {%>
+ eDynamicUnset(featureID);
+ <%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._BqoGhHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._BqoGhHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._BqoGhHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpJWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpJWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpJWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpMWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpMWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..ffb22a5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpMWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,109 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics()) {%>
+ <%for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {%>
+ <%if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType() && !genClass.isField(genFeature) && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ @SuppressWarnings("unchecked")
+ <%break; }%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { String safeNameAccessor = genFeature.getSafeName(); if ("featureID".equals(safeNameAccessor)) { safeNameAccessor = "this." + safeNameAccessor; }%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.hasSettingDelegate()) {%>
+ <%if (genFeature.isUnsettable()) {%>
+ return isSet<%=genFeature.getAccessorName()%>();
+ <%} else {%>
+ return <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);
+ <%}%>
+ <%} else if (genFeature.isListType() && !genFeature.isUnsettable()) {%>
+ <%if (genFeature.isWrappedFeatureMapType()) {%>
+ <%if (genFeature.isVolatile()) {%>
+ return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap().isEmpty();
+ <%} else {%>
+ return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.featureMap().isEmpty();
+ <%}%>
+ <%} else {%>
+ <%if (genClass.isField(genFeature)) {%>
+ return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.isEmpty();
+ <%} else {%>
+ <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=safeNameAccessor%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.isEmpty();
+ <%} else {%>
+ return !<%=genFeature.getGetAccessor()%>().isEmpty();
+ <%}%>
+ <%}%>
+ <%}%>
+ <%} else if (genFeature.isUnsettable()) {%>
+ return isSet<%=genFeature.getAccessorName()%>();
+ <%} else if (genFeature.isResolveProxies()) {%>
+ <%if (genClass.isField(genFeature)) {%>
+ return <%=safeNameAccessor%> != null;
+ <%} else {%>
+ <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) != null;
+ <%} else {%>
+ return basicGet<%=genFeature.getAccessorName()%>() != null;
+ <%}%>
+ <%}%>
+ <%} else if (!genFeature.hasEDefault()) {%>
+ <%if (genClass.isField(genFeature)) {%>
+ return <%=safeNameAccessor%> != null;
+ <%} else {%>
+ <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) != null;
+ <%} else {%>
+ return <%=genFeature.getGetAccessor()%>() != null;
+ <%}%>
+ <%}%>
+ <%} else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) {%>
+ <%if (genClass.isField(genFeature)) {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ return ((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0) != <%=genFeature.getEDefault()%>;
+ <%} else {%>
+ return (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != <%=genFeature.getUpperName()%>_EFLAG_DEFAULT;
+ <%}%>
+ <%} else {%>
+ return <%=safeNameAccessor%> != <%=genFeature.getEDefault()%>;
+ <%}%>
+ <%} else {%>
+ <%if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getEDefault()%>) != <%=genFeature.getEDefault()%>;
+ <%} else {%>
+ return <%=genFeature.getGetAccessor()%>() != <%=genFeature.getEDefault()%>;
+ <%}%>
+ <%}%>
+ <%} else {//datatype%>
+ <%if (genClass.isField(genFeature)) {%>
+ return <%=genFeature.getEDefault()%> == null ? <%=safeNameAccessor%> != null : !<%=genFeature.getEDefault()%>.equals(<%=safeNameAccessor%>);
+ <%} else {%>
+ <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=safeNameAccessor%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getEDefault()%>);
+ return <%=genFeature.getEDefault()%> == null ? <%=safeNameAccessor%> != null : !<%=genFeature.getEDefault()%>.equals(<%=safeNameAccessor%>);
+ <%} else {%>
+ return <%=genFeature.getEDefault()%> == null ? <%=genFeature.getGetAccessor()%>() != null : !<%=genFeature.getEDefault()%>.equals(<%=genFeature.getGetAccessor()%>());
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eIsSet(featureID);
+<%} else {%>
+ return eDynamicIsSet(featureID);
+<%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._BsH7VHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._BsH7VHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._BsH7VHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daJWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daJWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daJWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daMWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daMWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daMWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._BtAsJHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._BtAsJHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._BtAsJHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkHWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkHWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..9ffe19d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkHWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,37 @@
+
+
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((<%=genModel.getImportedName("org.eclipse.emf.edit.provider.ComposeableAdapterFactory")%>)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_feature"),<%=genModel.getNonNLS()%>
+ <%if (genFeature.getPropertyDescription() == null || genFeature.getPropertyDescription().length() == 0) {%>
+ getString("_UI_PropertyDescriptor_description", "_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_feature", "_UI_<%=genFeature.getGenClass().getName()%>_type"),<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%><%=genModel.getNonNLS(3)%>
+ <%} else {%>
+ getString("_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_description"),<%=genModel.getNonNLS()%>
+ <%}%>
+ <%=genFeature.getQualifiedFeatureAccessor()%>,
+ <%=genFeature.getProperty() == GenPropertyKind.EDITABLE_LITERAL ? "true" : "false"%>,
+ <%=genFeature.isPropertyMultiLine() ? "true" : "false"%>,
+ <%=genFeature.isPropertySortChoices() ? "true" : "false"%>,
+ <%if (genFeature.isReferenceType()) {%>
+ null,
+ <%} else {%>
+ <%=genModel.getImportedName("org.eclipse.emf.edit.provider.ItemPropertyDescriptor")%>.<%=genFeature.getPropertyImageName()%>,
+ <%}%>
+ <%if (genFeature.getPropertyCategory() == null || genFeature.getPropertyCategory().length() == 0) {%>
+ null,
+ <%} else {%>
+ getString("<%=genModel.getPropertyCategoryKey(genFeature.getPropertyCategory())%>"),<%=genModel.getNonNLS()%>
+ <%}%>
+ <%if (genFeature.getPropertyFilterFlags().isEmpty()) {%>
+ null));
+ <%} else {%>
+ new String[] {
+ <%for (Iterator<String> j = genFeature.getPropertyFilterFlags().iterator(); j.hasNext();) { String filterFlag = j.next();%>
+ <%if (filterFlag != null && filterFlag.length() > 0) {%>
+ "<%=filterFlag%>"<%if (j.hasNext()) {%>,<%}%><%=genModel.getNonNLS()%>
+ <%}%>
+ <%}%>
+ }));
+ <%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._BuWv9XLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._BuWv9XLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._BuWv9XLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVEmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVFWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVFWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVFWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVG2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVG2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1b4a935
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVG2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,49 @@
+
+
+<%if (genModel.isStyleProviders()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%>)getStyledText(object)).getString();
+<%} else {%>
+<%if (genClass.isMapEntry()) {%>
+ <%=genClass.getImportedInterfaceName()%><%if (genModel.useGenerics()) {%><?, ?><%}%> <%=genClass.getSafeUncapName()%> = (<%=genClass.getImportedInterfaceName()%><%if (genModel.useGenerics()) {%><?, ?><%}%>)object;
+ <%if (!genClass.getMapEntryKeyFeature().isPropertyMultiLine() && !genClass.getMapEntryValueFeature().isPropertyMultiLine()) {%>
+ return "" + <%=genClass.getSafeUncapName()%>.getKey() + " -> " + <%=genClass.getSafeUncapName()%>.getValue();<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ <%} else {%>
+ <%if (genClass.getMapEntryKeyFeature().isPropertyMultiLine()) {%>
+ String key = crop("" + <%=genClass.getSafeUncapName()%>.getKey());<%=genModel.getNonNLS()%>
+ <%} else {%>
+ String key = "" + <%=genClass.getSafeUncapName()%>.getKey();<%=genModel.getNonNLS()%>
+ <%}%>
+ <%if (genClass.getMapEntryValueFeature().isPropertyMultiLine()) {%>
+ String value = crop("" + <%=genClass.getSafeUncapName()%>.getValue());<%=genModel.getNonNLS()%>
+ <%} else {%>
+ String value = "" + <%=genClass.getSafeUncapName()%>.getValue();<%=genModel.getNonNLS()%>
+ <%}%>
+ return key + " -> " + value;<%=genModel.getNonNLS()%>
+ <%}%>
+<%} else if (genClass.getLabelFeature() != null) { GenFeature labelFeature = genClass.getLabelFeature();%>
+ <%if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {%>
+ <%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%> <%=genClass.getSafeUncapName()%> = (<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object;
+ return getString("_UI_<%=genClass.getName()%>_type") + " " + <%=genClass.getSafeUncapName()%>.<%=genClass.getLabelFeature().getGetAccessor()%>();<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ <%} else {%>
+ <%if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {%>
+ <%if (labelFeature.isPropertyMultiLine()) {%>
+ String label = crop(((<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object).<%=labelFeature.getGetAccessor()%>());
+ <%} else {%>
+ String label = ((<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object).<%=labelFeature.getGetAccessor()%>();
+ <%}%>
+ <%} else {%>
+ <%if (labelFeature.isSuppressedGetVisibility() || labelFeature.getGenClass().isDynamic()) {%>
+ <%=genModel.getImportedName("java.lang.Object")%> labelValue = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%>)object).eGet(<%=labelFeature.getQualifiedFeatureAccessor()%>);
+ <%} else {%>
+ <%=labelFeature.getRawImportedType()%> labelValue = ((<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object).<%=labelFeature.getGetAccessor()%>();
+ <%}%>
+ String label = labelValue == null ? null : labelValue.toString();
+ <%}%>
+ return label == null || label.length() == 0 ?
+ getString("_UI_<%=genClass.getName()%>_type") :<%=genModel.getNonNLS()%>
+ getString("_UI_<%=genClass.getName()%>_type") + " " + label;<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ <%}%>
+<%} else {%>
+ return getString("_UI_<%=genClass.getName()%>_type");<%=genModel.getNonNLS()%>
+<%}%>
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._BvZRxHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._BvZRxHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._BvZRxHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n42J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n5WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n5WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n5WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n8GJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n8GJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..fb6034f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n8GJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,14 @@
+
+
+
+ newChildDescriptors.add
+ (createChildParameter
+ (<%=createFeature.getQualifiedFeatureAccessor()%>,
+ <%if (createFeature.isEnumBasedType()) {%>
+ <%=createFeature.getTypeGenEnum().getStaticValue(createFeature.getEcoreFeature().getDefaultValueLiteral())%>));
+ <%} else if (createFeature.isStringBasedType()) {%>
+ <%=createFeature.getCreateChildValueLiteral()%>));<%=genModel.getNonNLS()%>
+ <%} else { String literal = createFeature.getCreateChildValueLiteral();%>
+ <%=createDataType.getGenPackage().getQualifiedEFactoryInstanceAccessor()%>.createFromString(<%=createDataType.getQualifiedClassifierAccessor()%>, <%=literal%>)));<%if (literal != null) {%><%=genModel.getNonNLS()%><%} else {%> // TODO: ensure this is a valid literal value<%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.insert" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._B_otNHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._B_otNHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._B_otNHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBA2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBA2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBA2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBBWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBBWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBBWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBEGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBEGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBEGJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._B2Z4tHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._B2Z4tHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._B2Z4tHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyA2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyA2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyA2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyBWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyBWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyBWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyEGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyEGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e572c8c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyEGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,16 @@
+
+
+
+ newChildDescriptors.add
+ (createChildParameter
+ (<%=createFeature.getQualifiedFeatureAccessor()%>,
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMapUtil")%>.createEntry
+ (<%=delegatedFeature.getQualifiedFeatureAccessor()%>,
+ <%if (delegatedFeature.isEnumBasedType()) {%>
+ <%=delegatedFeature.getTypeGenEnum().getStaticValue(delegatedFeature.getEcoreFeature().getDefaultValueLiteral())%>)));
+ <%} else if (delegatedFeature.isStringBasedType()) {%>
+ <%=delegatedFeature.getCreateChildValueLiteral()%>)));<%=genModel.getNonNLS()%>
+ <%} else { String literal = delegatedFeature.getCreateChildValueLiteral();%>
+ <%=createDataType.getGenPackage().getQualifiedEFactoryInstanceAccessor()%>.createFromString(<%=createDataType.getQualifiedClassifierAccessor()%>, <%=literal%>))));<%if (literal != null) {%><%=genModel.getNonNLS()%><%} else {%> // TODO: ensure this is a valid literal value<%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.insert" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._B3vVdHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._B3vVdHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._B3vVdHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f782J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f782J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f782J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f78mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f78mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f78mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f79WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f79WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f79WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f8AGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f8AGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f8AGJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._B4yeVHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._B4yeVHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._B4yeVHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps82J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps82J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps82J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps9WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps9WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps9WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ptAGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ptAGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..5978002
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ptAGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,12 @@
+
+
+
+ newChildDescriptors.add
+ (createChildParameter
+ (<%=createFeature.getQualifiedFeatureAccessor()%>,
+ <%if (createClass.isMapEntry()) { %>
+ <%=createClass.getGenPackage().getQualifiedEFactoryInstanceAccessor()%>.create(<%=createClass.getQualifiedClassifierAccessor()%>)));
+ <%} else {%>
+ <%=createClass.getGenPackage().getQualifiedFactoryInstanceAccessor()%>.create<%=createClass.getName()%>()));
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.insert" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._B63h9HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._B63h9HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._B63h9HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y242J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y242J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y242J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y24mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y24mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y24mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y25WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y25WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y25WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y28GJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y28GJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y28GJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._B-caZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._B-caZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._B-caZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_w2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_w2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_w2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_wmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_wmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_wmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_xWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_xWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_xWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_y2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_y2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_y2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._CCU01HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._CCU01HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._CCU01HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT02J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT02J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT02J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT1WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT1WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT1WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT4GJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT4GJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT4GJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._CBIiBHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._CBIiBHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._CBIiBHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MQ2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MQ2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MQ2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MXGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MXGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..184e58a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MXGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,13 @@
+
+
+<%for (GenPackage aGenPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+ <%if (!aGenPackage.getGenClasses().isEmpty() && aGenPackage.getGenModel().hasEditSupport()) {%>
+ adapterFactory.addAdapterFactory(new <%=aGenPackage.getImportedItemProviderAdapterFactoryClassName()%>());
+ <%}%>
+<%}%>
+<%for (GenPackage aGenPackage : genModel.getAllUsedGenPackagesWithClassifiers()) {%>
+ <%if (!aGenPackage.getGenClasses().isEmpty() && aGenPackage.getGenModel().hasEditSupport()) {%>
+ adapterFactory.addAdapterFactory(new <%=aGenPackage.getImportedItemProviderAdapterFactoryClassName()%>());
+ <%}%>
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.insert" args="genPackage:genPackage,genModel:genModel,importedOperationClassName:importedOperationClassName,operationMethodName:operationMethodName,_ArrayListOfObject:_ArrayListOfObject,_ArrayListOfSelectionChangedListener:_ArrayListOfSelectionChangedListener,_CollectionOfSelectionChangedListener:_CollectionOfSelectionChangedListener,_ArrayListOfResource:_ArrayListOfResource,_CollectionOfResource:_CollectionOfResource,_MapOfResourceToDiagnostic:_MapOfResourceToDiagnostic,_HashMapOfResourceToBoolean:_HashMapOfResourceToBoolean,_MapOfObjectToObject:_MapOfObjectToObject,_HashMapOfObjectToObject:_HashMapOfObjectToObject,_LinkedHashMapOfResourceToDiagnostic:_LinkedHashMapOfResourceToDiagnostic,_CollectionOfAnything:_CollectionOfAnything,_ListOfAnything:_ListOfAnything,useExtendedLabelProvider:useExtendedLabelProvider,useStyledLabelProvider:useStyledLabelProvider,_AdapterFactoryLabelProvider:_AdapterFactoryLabelProvider,_DelegatingAdapterFactoryLabelProvider:_DelegatingAdapterFactoryLabelProvider,_DecoratingColumLabelProvider:_DecoratingColumLabelProvider,_DiagnosticDecorator:_DiagnosticDecorator,_ArrayListOfString:_ArrayListOfString,_ListOfString:_ListOfString,_ListOfPropertySheetPage:_ListOfPropertySheetPage,_ArrayListOfPropertySheetPage:_ArrayListOfPropertySheetPage"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._CC6qtXLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._CC6qtXLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._CC6qtXLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kJWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kJWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kJWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kK2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kK2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1e46c26
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kK2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,17 @@
+
+
+
+ /**
+ * Tests the '{@link <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' feature getter.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%>()
+ * @generated
+ */
+ <%if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/getGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+ <%}%>
+ public void test<%=genModel.capName(genFeature.getGetAccessor())%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/getGenFeature.todo.override.javajetinc%>
+ }
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._CKEblHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._CKEblHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._CKEblHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHS2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHS2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHS2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._CHY7BHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._CHY7BHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._CHY7BHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCLGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCLGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..f1cb5f2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCLGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,17 @@
+
+
+ <%if (genFeature.isTested()) {%>
+ <%if (genFeature.isGet() && !genFeature.isSuppressedGetVisibility()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/getGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isSet() && !genFeature.isSuppressedSetVisibility()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/setGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isUnset() && !genFeature.isSuppressedUnsetVisibility()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/unsetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isIsSet() && !genFeature.isSuppressedIsSetVisibility()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/isSetGenFeature.override.javajetinc%>
+ <%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._CIbc1XLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._CIbc1XLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._CIbc1XLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA42J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA5WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA5WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA5WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA62J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA62J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..ea38f30
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA62J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,17 @@
+
+
+
+ /**
+ * Tests the '{@link <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#unset<%=genFeature.getAccessorName()%>() <em>unset<%=genFeature.getAccessorName()%>()</em>}' method.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#unset<%=genFeature.getAccessorName()%>()
+ * @generated
+ */
+ <%if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/unsetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+ <%}%>
+ public void testUnset<%=genFeature.getAccessorName()%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/unsetGenFeature.todo.override.javajetinc%>
+ }
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._CUDeBHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._CUDeBHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._CUDeBHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGU2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGU2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGU2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGYGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGYGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..26eb70f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGYGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,176 @@
+
+
+ <%if (genFeature.hasSettingDelegate()) {%>
+ /**
+ * The cached setting delegate for the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Internal.SettingDelegate <%=genFeature.getUpperName()%>__ESETTING_DELEGATE = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Internal)<%=genFeature.getQualifiedFeatureAccessor()%>).getSettingDelegate();
+
+ <%} else if (genFeature.isListType() || genFeature.isReferenceType()) {%>
+ <%if (genClass.isField(genFeature)) {%>
+ /**
+ * The cached value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected <%=genFeature.getImportedInternalType(genClass)%> <%=genFeature.getSafeName()%>;
+
+ <%}%>
+ <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String rawListItemType = genFeature.getRawListItemType(genClass); int index = rawListItemType.indexOf('['); String head = rawListItemType; String tail = ""; if (index != -1) { head = rawListItemType.substring(0, index); tail = rawListItemType.substring(index); } %>
+ /**
+ * The empty value for the '{@link #<%=genFeature.getGetArrayAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' array accessor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetArrayAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (genFeature.getQualifiedListItemType(genClass).contains("<") || genFeature.getArrayItemType(genClass).contains("<")) {%>
+ @SuppressWarnings("rawtypes")
+ <%}%>
+ protected static final <%=rawListItemType%>[] <%=genFeature.getUpperName()%>_EEMPTY_ARRAY = new <%=head%> [0]<%=tail%>;
+
+ <%}%>
+ <%} else {%>
+ <%if (genFeature.hasEDefault() && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation() && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) { String staticDefaultValue = genFeature.getStaticDefaultValue();%>
+ /**
+ * The default value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (genModel.useGenerics() && genFeature.isListDataType() && genFeature.isSetDefaultValue()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ protected static final <%=genFeature.getImportedType(genClass)%> <%=genFeature.getEDefault()%><%if ("".equals(staticDefaultValue)) {%>; // TODO The default value literal "<%=genFeature.getEcoreFeature().getDefaultValueLiteral()%>" is not valid.<%} else {%> = <%=staticDefaultValue%>;<%=genModel.getNonNLS(staticDefaultValue)%><%}%>
+
+ <%}%>
+ <%if (genClass.isField(genFeature)) {%>
+ <%if (genClass.isFlag(genFeature)) { int flagIndex = genClass.getFlagIndex(genFeature);%>
+ <%if (flagIndex > 31 && flagIndex % 32 == 0) {%>
+ /**
+ * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int <%=genClass.getFlagsField(genFeature)%> = 0;
+
+ <%}%>
+ <%if (genFeature.isEnumType()) {%>
+ /**
+ * The offset of the flags representing the value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected static final int <%=genFeature.getUpperName()%>_EFLAG_OFFSET = <%=flagIndex % 32%>;
+
+ /**
+ * The flags representing the default value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected static final int <%=genFeature.getUpperName()%>_EFLAG_DEFAULT = <%if (isJDK50) {%><%=genFeature.getEDefault()%>.ordinal()<%} else {%><%=genFeature.getImportedType(genClass)%>.VALUES.indexOf(<%=genFeature.getEDefault()%>)<%}%> << <%=genFeature.getUpperName()%>_EFLAG_OFFSET;
+
+ /**
+ * The array of enumeration values for '{@link <%=genFeature.getImportedType(genClass)%> <%=genFeature.getTypeGenClassifier().getFormattedName()%>}'
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ private static final <%=genFeature.getImportedType(genClass)%>[] <%=genFeature.getUpperName()%>_EFLAG_VALUES = <%if (isJDK50) {%><%=genFeature.getImportedType(genClass)%>.values()<%} else {%>(<%=genFeature.getImportedType(genClass)%>[])<%=genFeature.getImportedType(genClass)%>.VALUES.toArray(new <%=genFeature.getImportedType(genClass)%>[<%=genFeature.getImportedType(genClass)%>.VALUES.size()])<%}%>;
+
+ <%}%>
+ /**
+ * The flag<%=genClass.getFlagSize(genFeature) > 1 ? "s" : ""%> representing the value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ protected static final int <%=genFeature.getUpperName()%>_EFLAG = <%=genClass.getFlagMask(genFeature)%> << <%if (genFeature.isEnumType()) {%><%=genFeature.getUpperName()%>_EFLAG_OFFSET<%} else {%><%=flagIndex % 32%><%}%>;
+
+ <%} else {%>
+ /**
+ * The cached value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%><%if (genFeature.hasEDefault()) {%> = <%=genFeature.getEDefault()%><%}%>;
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (genClass.isESetField(genFeature)) {%>
+ <%if (genClass.isESetFlag(genFeature)) { int flagIndex = genClass.getESetFlagIndex(genFeature);%>
+ <%if (flagIndex > 31 && flagIndex % 32 == 0) {%>
+ /**
+ * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int <%=genClass.getESetFlagsField(genFeature)%> = 0;
+
+ <%}%>
+ /**
+ * The flag representing whether the <%=genFeature.getFormattedName()%> <%=genFeature.getFeatureKind()%> has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected static final int <%=genFeature.getUpperName()%>_ESETFLAG = 1 << <%=flagIndex % 32 %>;
+
+ <%} else {%>
+ /**
+ * This is true if the <%=genFeature.getFormattedName()%> <%=genFeature.getFeatureKind()%> has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected boolean <%=genFeature.getUncapName()%>ESet;
+
+ <%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method.__Dly1XLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method.__Dly1XLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method.__Dly1XLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQQmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method.__Fq2dHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method.__Fq2dHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method.__Fq2dHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyQWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyQWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d5092be
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyQWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,26 @@
+
+
+<%if (isImplementation && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel.isDynamicDelegation()) && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel().getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass.getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {%>
+ <%if (genClass.hasStaticFeatures()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final int ESTATIC_FEATURE_COUNT = <%=genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass().getAllGenFeatures().size()%>;
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected int eStaticFeatureCount()
+ {
+ return <%=genClass.getClassExtendsGenClass() == null ? "0" : genClass.hasStaticFeatures() ? "ESTATIC_FEATURE_COUNT" : Integer.toString(genClass.getClassExtendsGenClass().getAllGenFeatures().size())%>;
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method.__IDcFHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method.__IDcFHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method.__IDcFHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8I2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8I2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8I2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8ImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8ImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8ImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8JWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8JWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8JWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8MmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8MmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..ad484bc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8MmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,116 @@
+
+
+ <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String arrayElementType = genFeature.getArrayItemType(genClass);%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ <%=arrayElementType%>[] <%=genFeature.getGetArrayAccessor()%>();
+
+ <%} else {%>
+ <%if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=arrayElementType%>[] <%=genFeature.getGetArrayAccessor()%>()
+ {
+ <%if (genFeature.isVolatile()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>();
+ if (list.isEmpty()) return <%=genFeature.getUpperName()%>_EEMPTY_ARRAY;
+ <%} else {%>
+ if (<%=genFeature.getSafeName()%> == null || <%=genFeature.getSafeName()%>.isEmpty()) return <%=genFeature.getUpperName()%>_EEMPTY_ARRAY;
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getSafeName()%>;
+ <%}%>
+ list.shrink();
+ return (<%=arrayElementType%>[])list.data();
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ <%=genFeature.getListItemType(genClass)%> get<%=genFeature.getAccessorName()%>(int index);
+
+ <%} else {%>
+ public <%=genFeature.getListItemType(genClass)%> get<%=genFeature.getAccessorName()%>(int index)
+ {
+ return <%if (!genModel.useGenerics()) {%>(<%=genFeature.getListItemType(genClass)%>)<%}%><%=genFeature.getGetAccessor()%>().get(index);
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ int get<%=genFeature.getAccessorName()%>Length();
+
+ <%} else {%>
+ public int get<%=genFeature.getAccessorName()%>Length()
+ {
+ <%if (genFeature.isVolatile()) {%>
+ return <%=genFeature.getGetAccessor()%>().size();
+ <%} else {%>
+ return <%=genFeature.getSafeName()%> == null ? 0 : <%=genFeature.getSafeName()%>.size();
+ <%}%>
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ void set<%=genFeature.getAccessorName()%>(<%=genFeature.getListItemType(genClass)%>[] new<%=genFeature.getCapName()%>);
+
+ <%} else {%>
+ public void set<%=genFeature.getAccessorName()%>(<%=genFeature.getListItemType(genClass)%>[] new<%=genFeature.getCapName()%>)
+ {
+ ((<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).setData(new<%=genFeature.getCapName()%>.length, new<%=genFeature.getCapName()%>);
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ void set<%=genFeature.getAccessorName()%>(int index, <%=genFeature.getListItemType(genClass)%> element);
+
+ <%} else {%>
+ public void set<%=genFeature.getAccessorName()%>(int index, <%=genFeature.getListItemType(genClass)%> element)
+ {
+ <%=genFeature.getGetAccessor()%>().set(index, element);
+ }
+
+ <%}%>
+ <%}%>
+ <%if (genFeature.isGet() && (isImplementation || !genFeature.isSuppressedGetVisibility())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/getGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicGet()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicGetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicSetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isSet() && (isImplementation || !genFeature.isSuppressedSetVisibility())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/setGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicUnset()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class.basicUnsetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isUnset() && (isImplementation || !genFeature.isSuppressedUnsetVisibility())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/unsetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isIsSet() && (isImplementation || !genFeature.isSuppressedIsSetVisibility())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/isSetGenFeature.override.javajetinc%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method.__LCepHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method.__LCepHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method.__LCepHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3E2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3E2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3E2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3EmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3EmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3EmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3FWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3FWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3FWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3ImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3ImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..0773c2c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3ImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,136 @@
+
+
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/getGenFeature.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%>();
+
+<%} else {%>
+ <%if (genModel.useGenerics() && ((genFeature.isContainer() || genFeature.isResolveProxies()) && !genFeature.isListType() && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation()) && genFeature.isUncheckedCast(genClass) || genFeature.isListType() && !genFeature.isFeatureMapType() && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel.isDynamicDelegation()) || genFeature.isListDataType() && genFeature.hasDelegateFeature() || genFeature.isListType() && genFeature.hasSettingDelegate())) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%><%if (genClass.hasCollidingGetAccessorOperation(genFeature)) {%>_<%}%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isDynamicDelegation()) {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>, true, <%=!genFeature.isEffectiveSuppressEMFTypes()%>)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%} else if (genModel.isReflectiveDelegation()) {%>
+ <%if (genFeature.hasGetterBody()) {%>
+ <%=genFeature.getGetterBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eGet(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%}%>
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genFeature.isListType()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> == null)
+ {
+ <%if (genModel.isVirtualDelegation()) {%>
+ eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>);
+ <%} else {%>
+ <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>;
+ <%}%>
+ }
+ return <%=genFeature.getSafeName()%><%=genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : ""%>;
+ <%} else if (genFeature.isContainer()) {%>
+ if (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) return null;
+ return (<%=genFeature.getImportedType(genClass)%>)<%if (genFeature.isResolveProxies()) {%>eContainer<%} else {%>eInternalContainer<%}%>();
+ <%} else {%>
+ <%if (genFeature.isResolveProxies()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (genFeature.hasEDefault()) {%>, <%=genFeature.getEDefault()%><%}%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> != null && <%=genFeature.getSafeNameAsEObject()%>.eIsProxy())
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> old<%=genFeature.getCapName()%> = (<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>;
+ <%=genFeature.getSafeName()%> = <%=genFeature.getNonEObjectInternalTypeCast(genClass)%>eResolveProxy(old<%=genFeature.getCapName()%>);
+ if (<%=genFeature.getSafeName()%> != old<%=genFeature.getCapName()%>)
+ {
+ <%if (genFeature.isEffectiveContains()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> new<%=genFeature.getCapName()%> = (<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>;
+ <%if (!genFeature.isBidirectional()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = old<%=genFeature.getCapName()%>.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, null);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = old<%=genFeature.getCapName()%>.eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, null);
+ <%}%>
+ if (new<%=genFeature.getCapName()%>.eInternalContainer() == null)
+ {
+ <%if (!genFeature.isBidirectional()) {%>
+ msgs = new<%=genFeature.getCapName()%>.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ msgs = new<%=genFeature.getCapName()%>.eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ <%}%>
+ }
+ if (msgs != null) msgs.dispatch();
+ <%} else if (genModel.isVirtualDelegation()) {%>
+ eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%>);
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.RESOLVE, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, old<%=genFeature.getCapName()%>, <%=genFeature.getSafeName()%>));
+ <%}%>
+ }
+ }
+ <%}%>
+ <%if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ return (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (genFeature.hasEDefault()) {%>, <%=genFeature.getEDefault()%><%}%>);
+ <%} else if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ return (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0;
+ <%} else {%>
+ return <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET];
+ <%}%>
+ <%} else {%>
+ return <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%}%>
+ <%} else {//volatile%>
+ <%if (genFeature.isResolveProxies() && !genFeature.isListType()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = basicGet<%=genFeature.getAccessorName()%>();
+ return <%=genFeature.getSafeName()%> != null && <%=genFeature.getSafeNameAsEObject()%>.eIsProxy() ? <%=genFeature.getNonEObjectInternalTypeCast(genClass)%>eResolveProxy((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>) : <%=genFeature.getSafeName()%>;
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (genFeature.isFeatureMapType()) {%>
+ <%String featureMapEntryTemplateArgument = isJDK50 ? "<" + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return new <%=genFeature.getImportedEffectiveFeatureMapWrapperClass()%>((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().<%=featureMapEntryTemplateArgument%>list(<%=genFeature.getQualifiedFeatureAccessor()%>));
+ <%} else {%>
+ return (<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>)get<%=delegateFeature.getAccessorName()%>().<%=featureMapEntryTemplateArgument%>list(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%}%>
+ <%} else if (genFeature.isListType()) {%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().list(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else {%>
+ return get<%=delegateFeature.getAccessorName()%>().list(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%}%>
+ <%} else {%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%><%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().get(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%} else {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%><%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>get<%=delegateFeature.getAccessorName()%>().get(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%}%>
+ <%}%>
+ <%} else if (genClass.getGetAccessorOperation(genFeature) != null) {%>
+ <%=genClass.getGetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else if (genFeature.hasGetterBody()) {%>
+ <%=genFeature.getGetterBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/getGenFeature.todo.override.javajetinc%>
+ <%}%>
+ <%}%>
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method.__MrdZHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method.__MrdZHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method.__MrdZHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroEmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroFWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroFWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroFWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..6d41522
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,71 @@
+
+
+ /**
+ * Returns the value of the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>.
+ <%if (genFeature.isListType() && genFeature.getEcoreFeature().getEGenericType().getETypeParameter() == null) {%>
+ <%if (genFeature.isMapType()) { GenFeature keyFeature = genFeature.getMapEntryTypeGenClass().getMapEntryKeyFeature(); GenFeature valueFeature = genFeature.getMapEntryTypeGenClass().getMapEntryValueFeature(); %>
+ * The key is of type <%if (keyFeature.isListType()) {%>list of {@link <%=keyFeature.getQualifiedListItemType(genClass)%>}<%} else {%>{@link <%=keyFeature.getType(genClass)%>}<%}%>,
+ * and the value is of type <%if (valueFeature.isListType()) {%>list of {@link <%=valueFeature.getQualifiedListItemType(genClass)%>}<%} else {%>{@link <%=valueFeature.getType(genClass)%>}<%}%>,
+ <%} else if (!genFeature.isWrappedFeatureMapType() && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature.getQualifiedListItemType(genClass)))) {
+String typeName = genFeature.getQualifiedListItemType(genClass); String head = typeName; String tail = ""; int index = typeName.indexOf('<'); if (index == -1) { index = typeName.indexOf('['); }
+if (index != -1) { head = typeName.substring(0, index); tail = typeName.substring(index).replaceAll("<", "<"); }
+%>
+ * The list contents are of type {@link <%=head%>}<%=tail%>.
+ <%}%>
+ <%} else if (genFeature.isSetDefaultValue()) {%>
+ * The default value is <code><%=genFeature.getDefaultValue()%></code>.
+ <%}%>
+ <%if (genFeature.getTypeGenEnum() != null) {%>
+ * The literals are from the enumeration {@link <%=genFeature.getTypeGenEnum().getQualifiedName()%>}.
+ <%}%>
+ <%if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) { GenFeature reverseGenFeature = genFeature.getReverse(); %>
+ <%if (!reverseGenFeature.isSuppressedGetVisibility()) {%>
+ * It is bidirectional and its opposite is '{@link <%=reverseGenFeature.getGenClass().getQualifiedInterfaceName()%>#<%=reverseGenFeature.getGetAccessor()%> <em><%=reverseGenFeature.getFormattedName()%></em>}'.
+ <%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ <%if (!genFeature.hasDocumentation()) {%>
+ * <p>
+ * If the meaning of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%> isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ <%}%>
+ * <!-- end-user-doc -->
+ <%if (genFeature.hasDocumentation()) {%>
+ * <!-- begin-model-doc -->
+ * <%=genFeature.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ * <!-- end-model-doc -->
+ <%}%>
+ * @return the value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%>.
+ <%if (genFeature.getTypeGenEnum() != null) {%>
+ * @see <%=genFeature.getTypeGenEnum().getQualifiedName()%>
+ <%}%>
+ <%if (genFeature.isUnsettable()) {%>
+ <%if (!genFeature.isSuppressedIsSetVisibility()) {%>
+ * @see #isSet<%=genFeature.getAccessorName()%>()
+ <%}%>
+ <%if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {%>
+ * @see #unset<%=genFeature.getAccessorName()%>()
+ <%}%>
+ <%}%>
+ <%if (genFeature.isChangeable() && !genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {%>
+ * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>)
+ <%}%>
+ <%if (!genModel.isSuppressEMFMetaData()) {%>
+ * @see <%=genPackage.getQualifiedPackageInterfaceName()%>#get<%=genFeature.getFeatureAccessorName()%>()
+ <%}%>
+ <%if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) { GenFeature reverseGenFeature = genFeature.getReverse(); %>
+ <%if (!reverseGenFeature.isSuppressedGetVisibility()) {%>
+ * @see <%=reverseGenFeature.getGenClass().getQualifiedInterfaceName()%>#<%=reverseGenFeature.getGetAccessor()%>
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method.__Nt_NHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method.__Nt_NHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method.__Nt_NHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l3642J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l3642J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l3642J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l364mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l364mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l364mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l365WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l365WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l365WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l368mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l368mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l368mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method.__XjQpHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method.__XjQpHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method.__XjQpHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUA2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUA2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUA2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUBWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUBWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUBWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUEmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method.__O6SBHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method.__O6SBHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method.__O6SBHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUF2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUF2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUF2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUFmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUFmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUFmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUGWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUGWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUGWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lSFCmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lSFCmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lSFCmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method.__P9a5HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method.__P9a5HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method.__P9a5HLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lSFDmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lSFDmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lSFDmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8GJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8GJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8GJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO_2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO_2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO_2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method.__RvjlHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method.__RvjlHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method.__RvjlHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPA2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPA2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPA2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..fa0522b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,9 @@
+
+
+ // TODO: implement this method to return the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // Ensure that you remove @generated or mark it @generated NOT
+ <%if (genFeature.isListType()) {%>
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.<%if (genFeature.isMapType()) {%>EcoreEMap<%} else if (genFeature.isFeatureMapType()) {%>BasicFeatureMap<%} else {%>EcoreEList<%}%> should be used.
+ <%}%>
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method.__TiTVHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method.__TiTVHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method.__TiTVHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_82J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_82J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_82J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_9WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_9WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_9WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0llAAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0llAAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..2f78ba3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0llAAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,39 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/basicGetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ public <%=genFeature.getImportedType(genClass)%> basicGet<%=genFeature.getAccessorName()%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isDynamicDelegation()) {%>
+ return (<%=genFeature.getImportedType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>, false, <%=!genFeature.isEffectiveSuppressEMFTypes()%>);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%} else if (genFeature.isContainer()) {%>
+ if (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) return null;
+ return (<%=genFeature.getImportedType(genClass)%>)eInternalContainer();
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ return (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else {%>
+ return <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return (<%=genFeature.getImportedType(genClass)%>)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().get(<%=genFeature.getQualifiedFeatureAccessor()%>, false);
+ <%} else {%>
+ return (<%=genFeature.getImportedType(genClass)%>)get<%=delegateFeature.getAccessorName()%>().get(<%=genFeature.getQualifiedFeatureAccessor()%>, false);
+ <%}%>
+ <%} else if (genFeature.hasGetterBody()) {%>
+ <%=genFeature.getGetterBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicGetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method.__VBhFHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method.__VBhFHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method.__VBhFHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6c0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6c0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..96f1ac1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6c0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,8 @@
+
+
+ // TODO: implement this method to set the contained '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // -> this method is automatically invoked to keep the containment relationship in synch
+ // -> do not modify other features
+ // -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cw2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cw2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cw2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cwmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cwmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cwmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cxWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cxWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cxWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method.__hsEFHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method.__hsEFHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method.__hsEFHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr42J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr5WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr5WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr5WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr8mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method.__ZDFdHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method.__ZDFdHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method.__ZDFdHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK102J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK102J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK102J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK10mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK10mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK10mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK11WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK11WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK11WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK14mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK14mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..b72a863
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK14mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,6 @@
+
+
+ // TODO: implement this method to return the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // -> do not perform proxy resolution
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method.__a1OJHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method.__a1OJHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method.__a1OJHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm02J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm02J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm02J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm1WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm1WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm1WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..a24db94
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,71 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getImportedInternalType(genClass)%> new<%=genFeature.getCapName()%>, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ <%if (genFeature.isContainer()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ msgs = eBasicSetContainer((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ return msgs;
+ <%} else if (genModel.isDynamicDelegation()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ msgs = eDynamicInverseAdd((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ return msgs;
+ <%} else if (!genFeature.isVolatile()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ Object old<%=genFeature.getCapName()%> = eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>);
+ <%} else {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>;
+ <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%>;
+ <%}%>
+ <%if (genFeature.isUnsettable()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean isSetChange = old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE;
+ <%}%>
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG;
+ <%}%>
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = true;
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ {
+ <%if (genFeature.isUnsettable()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? null : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, new<%=genFeature.getCapName()%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>!old<%=genFeature.getCapName()%>ESet<%}%>);
+ <%} else {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE ? null : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, new<%=genFeature.getCapName()%>);
+ <%}%>
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ return msgs;
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).basicAdd(<%=genFeature.getQualifiedFeatureAccessor()%>, new<%=genFeature.getCapName()%>, msgs);
+ <%} else {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).basicAdd(<%=genFeature.getQualifiedFeatureAccessor()%>, new<%=genFeature.getCapName()%>, msgs);
+ <%}%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicSetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method.__d9apHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method.__d9apHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method.__d9apHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnh0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnh0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnh0mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhw2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhw2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhw2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhwmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhwmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhwmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhxWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhxWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhxWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method.__fJtdHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method.__fJtdHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method.__fJtdHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6csWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6csWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6csWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6cvmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6cvmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6cvmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS12J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS12J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS12J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS1mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS1mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS1mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method.__gysNHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method.__gysNHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method.__gysNHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxS0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxS0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxS0mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSw2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSw2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSw2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSwmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSwmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSwmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSxWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSxWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSxWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method.__gDFVHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method.__gDFVHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method.__gDFVHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-s2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-s2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-s2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-smJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-smJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-smJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-tWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-tWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-tWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-wmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-wmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..ead54ca
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-wmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,170 @@
+
+
+<%if (isInterface) { %>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/setGenFeature.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) { %>
+ void set<%=genFeature.getAccessorName()%>(<%=genFeature.getImportedType(genClass)%> value);
+
+<%} else { GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);%>
+ public void set<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingSetAccessorOperation(genFeature)) {%>_<%}%>(<%=genFeature.getImportedType(genClass)%> <%=setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()%>)
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.pre.insert" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isDynamicDelegation()) {%>
+ eDynamicSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%} else if (genModel.isReflectiveDelegation()) {%>
+ eSet(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicSet(this, null, 0, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genFeature.isContainer()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ if (new<%=genFeature.getCapName()%> != eInternalContainer() || (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%> && new<%=genFeature.getCapName()%> != null))
+ {
+ if (<%=genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")%>.isAncestor(this, <%=genFeature.getEObjectCast()%>new<%=genFeature.getCapName()%>))
+ throw new <%=genModel.getImportedName("java.lang.IllegalArgumentException")%>("Recursive containment not allowed for " + toString());<%=genModel.getNonNLS()%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null;
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ if (new<%=genFeature.getCapName()%> != null)
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ msgs = basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ <%if (!genModel.isSuppressNotification()) {%>
+ else if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>));
+ <%}%>
+ <%} else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (new<%=genFeature.getCapName()%> != <%=genFeature.getSafeName()%>)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null;
+ if (<%=genFeature.getSafeName()%> != null)
+ <%if (!genFeature.isBidirectional()) {%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ if (new<%=genFeature.getCapName()%> != null)
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ if (new<%=genFeature.getCapName()%> != null)
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ <%}%>
+ msgs = basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ <%if (genFeature.isUnsettable()) {%>
+ else
+ {
+ <%if (genModel.isVirtualDelegation()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%}%>
+ <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = true;
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>, !old<%=genFeature.getCapName()%>ESet));
+ <%}%>
+ }
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ else if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>));
+ <%}%>
+ <%}%>
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0;
+ <%} else {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET];
+ <%}%>
+ <%}%>
+ <%if (genFeature.isBooleanType()) {%>
+ if (new<%=genFeature.getCapName()%>) <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG; else <%=genClass.getFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_EFLAG;
+ <%} else {%>
+ if (new<%=genFeature.getCapName()%> == null) new<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EDEFAULT;
+ <%=genClass.getFlagsField(genFeature)%> = <%=genClass.getFlagsField(genFeature)%> & ~<%=genFeature.getUpperName()%>_EFLAG | <%if (isJDK50) {%>new<%=genFeature.getCapName()%>.ordinal()<%} else {%><%=genFeature.getImportedType(genClass)%>.VALUES.indexOf(new<%=genFeature.getCapName()%>)<%}%> << <%=genFeature.getUpperName()%>_EFLAG_OFFSET;
+ <%}%>
+ <%} else {%>
+ <%if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%}%>
+ <%if (genFeature.isEnumType()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%> == null ? <%=genFeature.getEDefault()%> : new<%=genFeature.getCapName()%>;
+ <%} else {%>
+ <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%> == null ? <%=genFeature.getEDefault()%> : new<%=genFeature.getCapName()%>;
+ <%}%>
+ <%} else {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = <%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>;
+ <%} else {%>
+ <%=genFeature.getSafeName()%> = <%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>;
+ <%}%>
+ <%}%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ Object old<%=genFeature.getCapName()%> = eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%>);
+ <%}%>
+ <%}%>
+ <%if (genFeature.isUnsettable()) {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ boolean isSetChange = old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE;
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%}%>
+ <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = true;
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange ? <%=genFeature.getEDefault()%> : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%if (genClass.isFlag(genFeature)) {%>new<%=genFeature.getCapName()%><%} else {%><%=genFeature.getSafeName()%><%}%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange<%} else {%>!old<%=genFeature.getCapName()%>ESet<%}%>));
+ <%}%>
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE ? <%=genFeature.getEDefault()%> : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%if (genClass.isFlag(genFeature)) {%>new<%=genFeature.getCapName()%><%} else {%><%=genFeature.getSafeName()%><%}%>));
+ <%}%>
+ <%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.post.insert" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).set(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%} else {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).set(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%}%>
+ <%} else if (setAccessorOperation != null) {%>
+ <%=setAccessorOperation.getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.TODO.override" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/setGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method.__jLR1HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method.__jLR1HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method.__jLR1HLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIo2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIo2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIo2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIomJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIpWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIpWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIpWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..8d0b40e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIsmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,22 @@
+
+
+ /**
+ * Sets the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%>.
+ <%if (genFeature.isEnumType()) {%>
+ * @see <%=genFeature.getTypeGenEnum().getQualifiedName()%>
+ <%}%>
+ <%if (genFeature.isUnsettable()) {%>
+ <%if (!genFeature.isSuppressedIsSetVisibility()) {%>
+ * @see #isSet<%=genFeature.getAccessorName()%>()
+ <%}%>
+ <%if (!genFeature.isSuppressedUnsetVisibility()) {%>
+ * @see #unset<%=genFeature.getAccessorName()%>()
+ <%}%>
+ <%}%>
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method.__m57RHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method.__m57RHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method.__m57RHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5o2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5o2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5o2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5omJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5omJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5omJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5pWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5pWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5pWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5smJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5smJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5smJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method.__oi6BHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method.__oi6BHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method.__oi6BHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqo2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqo2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqo2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqomJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqpWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqpWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqpWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqsmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method.__pvM1HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method.__pvM1HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method.__pvM1HLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0k2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0k2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0k2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0kmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0kmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0kmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0lWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0lWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0lWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0o2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0o2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0o2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method.__rEplHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method.__rEplHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method.__rEplHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BEmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BFWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BFWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BFWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..7cc0f62
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,142 @@
+
+
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/unsetGenFeature.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/unsetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) {%>
+ void unset<%=genFeature.getAccessorName()%>();
+
+<%} else {%>
+ public void unset<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingUnsetAccessorOperation(genFeature)) {%>_<%}%>()
+ {
+ <%if (genModel.isDynamicDelegation()) {%>
+ eDynamicUnset(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else if (genModel.isReflectiveDelegation()) {%>
+ eUnset(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicUnset(this, null, 0);
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genFeature.isListType()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> != null) ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%>.Unsettable<%=singleWildcard%>)<%=genFeature.getSafeName()%>).unset();
+ <%} else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> != null)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null;
+ <%if (!genFeature.isBidirectional()) {%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ <%}%>
+ msgs = basicUnset<%=genFeature.getAccessorName()%>(msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else
+ {
+ <%if (genModel.isVirtualDelegation()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%}%>
+ <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = false;
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, null, null, old<%=genFeature.getCapName()%>ESet));
+ <%}%>
+ }
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0;
+ <%} else {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET];
+ <%}%>
+ <%}%>
+ <%} else if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ Object old<%=genFeature.getCapName()%> = eVirtualUnset(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ boolean isSetChange = old<%=genFeature.getCapName()%> != EVIRTUAL_NO_VALUE;
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%} else {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%}%>
+ <%if (genFeature.isReferenceType()) {%>
+ <%=genFeature.getSafeName()%> = null;
+ <%if (!genModel.isVirtualDelegation()) {%>
+ <%if (genClass.isESetFlag(genFeature)) {%>
+ <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%=genFeature.getUncapName()%>ESet = false;
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? old<%=genFeature.getCapName()%> : null<%} else {%>old<%=genFeature.getCapName()%><%}%>, null, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>));
+ <%}%>
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ if (<%=genFeature.getEDefault()%>) <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG; else <%=genClass.getFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_EFLAG;
+ <%} else {%>
+ <%=genClass.getFlagsField(genFeature)%> = <%=genClass.getFlagsField(genFeature)%> & ~<%=genFeature.getUpperName()%>_EFLAG | <%=genFeature.getUpperName()%>_EFLAG_DEFAULT;
+ <%}%>
+ <%} else if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%>
+ <%=genFeature.getSafeName()%> = <%=genFeature.getEDefault()%>;
+ <%}%>
+ <%if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%>
+ <%if (genClass.isESetFlag(genFeature)) {%>
+ <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%=genFeature.getUncapName()%>ESet = false;
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange ? old<%=genFeature.getCapName()%> : <%=genFeature.getEDefault()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%=genFeature.getEDefault()%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>));
+ <%}%>
+ <%}%>
+ <%}%>
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).clear(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).clear(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%}%>
+ <%} else if (genClass.getUnsetAccessorOperation(genFeature) != null) {%>
+ <%=genClass.getUnsetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/unsetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method.__0BKNHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method.__0BKNHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method.__0BKNHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaQ2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaQ2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaQ2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method.__sQ8ZHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method.__sQ8ZHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method.__sQ8ZHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaR2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaR2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaR2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaSGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaSGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaSGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLMWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLMWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLMWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLP2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLP2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..2524a90
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLP2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this method to set the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method.__tAjRHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method.__tAjRHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method.__tAjRHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVJWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVJWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVJWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..924f980
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,51 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/basicUnsetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> basicUnset<%=genFeature.getAccessorName()%>(<%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ <%if (genModel.isDynamicDelegation()) {%>
+ return eDynamicInverseRemove((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%if (genFeature.isResolveProxies()) {%>basicGet<%=genFeature.getAccessorName()%><%} else {%><%=genFeature.getGetAccessor()%><%}%>(), <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%if (!genModel.isSuppressNotification()) {%>Object old<%=genFeature.getCapName()%> = <%}%>eVirtualUnset(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%=genFeature.getSafeName()%> = null;
+ <%}%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean isSetChange = old<%=genFeature.getCapName()%> != EVIRTUAL_NO_VALUE;
+ <%}%>
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%}%>
+ <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = false;
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? old<%=genFeature.getCapName()%> : null<%} else {%>old<%=genFeature.getCapName()%><%}%>, null, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ <%}%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicUnsetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method.__v101HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method.__v101HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method.__v101HLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGJWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGJWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGJWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGMmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method.__xezlHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method.__xezlHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method.__xezlHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3I2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3I2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3I2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3ImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3ImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3ImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3JWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3JWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3JWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3MmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3MmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..89c17da
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3MmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,8 @@
+
+
+ // TODO: implement this method to unset the contained '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // -> this method is automatically invoked to keep the containment relationship in synch
+ // -> do not modify other features
+ // -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method.__yrGZHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method.__yrGZHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method.__yrGZHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjEmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjFWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjFWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjFWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..189f2d2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,16 @@
+
+
+ /**
+ * Unsets the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ <%if (!genFeature.isSuppressedIsSetVisibility()) {%>
+ * @see #isSet<%=genFeature.getAccessorName()%>()
+ <%}%>
+ * @see #<%=genFeature.getGetAccessor()%>()
+ <%if (!genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {%>
+ * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>)
+ <%}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method.__1gX9HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method.__1gX9HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method.__1gX9HLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J82J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J82J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J82J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J9WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J9WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J9WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_KAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_KAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..bebddb5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_KAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this method to unset the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method.__6keJHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method.__6keJHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method.__6keJHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieA2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieA2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieA2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieBWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieBWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieBWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieEmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method.__349lHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method.__349lHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method.__349lHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn82J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn82J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn82J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn9WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn9WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn9WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rroAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rroAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rroAmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method.__5rtVHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method.__5rtVHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method.__5rtVHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s360mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s360mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s360mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36w2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36w2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36w2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36wmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36wmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36wmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36xWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36xWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36xWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._ADOD1HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._ADOD1HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._ADOD1HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT42J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT5WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT5WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT5WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..405fb82
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,55 @@
+
+
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/isSetGenFeature.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/isSetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) {%>
+ boolean isSet<%=genFeature.getAccessorName()%>();
+
+<%} else {%>
+ public boolean isSet<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingIsSetAccessorOperation(genFeature)) {%>_<%}%>()
+ {
+ <%if (genModel.isDynamicDelegation()) {%>
+ return eDynamicIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else if (genModel.isReflectiveDelegation()) {%>
+ return eIsSet(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ return <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genFeature.isListType()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ return <%=genFeature.getSafeName()%> != null && ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%>.Unsettable<%=singleWildcard%>)<%=genFeature.getSafeName()%>).isSet();
+ <%} else {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ return eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ return (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%} else {%>
+ return <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%}%>
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).isEmpty(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else {%>
+ return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).isEmpty(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%}%>
+ <%} else if (genClass.getIsSetAccessorOperation(genFeature) != null) {%>
+ <%=genClass.getIsSetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/isSetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method.__8ES9HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method.__8ES9HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method.__8ES9HLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE42J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE5WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE5WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE5WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..f8a0683
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,17 @@
+
+
+ /**
+ * Returns whether the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%> is set.
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%> is set.
+ <%if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {%>
+ * @see #unset<%=genFeature.getAccessorName()%>()
+ <%}%>
+ * @see #<%=genFeature.getGetAccessor()%>()
+ <%if (!genFeature.isListType() && genFeature.isChangeable() && !genFeature.isSuppressedSetVisibility()) {%>
+ * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>)
+ <%}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method.__9sqpHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method.__9sqpHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method.__9sqpHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb142J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb142J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb142J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb14mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb14mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb14mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb15WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb15WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb15WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb18mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb18mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb18mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method.__-mChHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method.__-mChHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method.__-mChHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_02J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_02J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_02J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_1WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_1WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_1WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_4mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method.___faZHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method.___faZHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method.___faZHLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw02J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw02J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw02J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw1WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw1WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw1WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..b837f39
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this method to return whether the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%> is set
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._AAYyRHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._AAYyRHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._AAYyRHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7Do2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7Do2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7Do2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DomJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DpWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DpWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DpWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..fc18b0e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DsmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._AKODtHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._AKODtHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._AKODtHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLc0GJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLc0GJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..dc87189
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLc0GJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,105 @@
+
+
+ <%if (isImplementation) {%>
+ <%if (genOperation.isInvariant() && genOperation.hasInvariantExpression()) {%>
+ /**
+ * The cached validation expression for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' invariant operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
+ * @generated
+ * @ordered
+ */
+ protected static final <%=genModel.getImportedName("java.lang.String")%> <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EEXPRESSION = "<%=genOperation.getInvariantExpression("\t\t")%>";<%=genModel.getNonNLS()%>
+
+ <%} else if (genOperation.hasInvocationDelegate()) {%>
+ /**
+ * The cached invocation delegate for the '{@link #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
+ * @generated
+ * @ordered
+ */
+ protected static final <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%>.Internal.InvocationDelegate <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%>.Internal)<%=genOperation.getQualifiedOperationAccessor()%>).getInvocationDelegate();
+
+ <%}%>
+ <%}%>
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/genOperation.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/genOperation.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.annotations.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) {%>
+ <%=genOperation.getTypeParameters(genClass)%><%=genOperation.getImportedType(genClass)%> <%=genOperation.getName()%>(<%=genOperation.getParameters(genClass)%>)<%=genOperation.getThrows(genClass)%>;
+
+<%} else {%>
+ <%if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant() && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=genOperation.getTypeParameters(genClass)%><%=genOperation.getImportedType(genClass)%> <%=genOperation.getName()%>(<%=genOperation.getParameters(isImplementation, genClass)%>)<%=genOperation.getThrows(genClass)%>
+ {
+ <%if (genOperation.hasBody()) {%>
+ <%=genOperation.getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else if (genOperation.isInvariant()) {GenClass opClass = genOperation.getGenClass(); String diagnostics = genOperation.getGenParameters().get(0).getName(); String context = genOperation.getGenParameters().get(1).getName();%>
+ <%if (genOperation.hasInvariantExpression()) {%>
+ return
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.validate
+ (<%=genClass.getQualifiedClassifierAccessor()%>,
+ this,
+ <%=diagnostics%>,
+ <%=context%>,
+ "<%=genOperation.getValidationDelegate()%>",<%=genModel.getNonNLS()%>
+ <%=genOperation.getQualifiedOperationAccessor()%>,
+ <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EEXPRESSION,
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.DIAGNOSTIC_SOURCE,
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.<%=opClass.getOperationID(genOperation)%>);
+ <%} else {%>
+ // TODO: implement this method
+ // -> specify the condition that violates the invariant
+ // -> verify the details of the diagnostic, including severity and message
+ // Ensure that you remove @generated or mark it @generated NOT
+ if (false)
+ {
+ if (<%=diagnostics%> != null)
+ {
+ <%=diagnostics%>.add
+ (new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")%>
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.DIAGNOSTIC_SOURCE,
+ <%=opClass.getGenPackage().getImportedValidatorClassName()%>.<%=opClass.getOperationID(genOperation)%>,
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "<%=genOperation.getName()%>", <%=genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator")%>.getObjectLabel(this, <%=context%>) }),<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ new Object [] { this }));
+ }
+ return false;
+ }
+ return true;
+ <%}%>
+ <%} else if (genOperation.hasInvocationDelegate()) { int size = genOperation.getGenParameters().size();%>
+ try
+ {
+ <%if (genOperation.isVoid()) {%>
+ <%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE.dynamicInvoke(this, <%if (size > 0) {%>new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%>.UnmodifiableEList<Object>(<%=size%>, <%=genOperation.getParametersArray(genClass)%>)<%} else {%>null<%}%>);
+ <%} else {%>
+ return <%if (!isJDK50 && genOperation.isPrimitiveType()) {%>(<%}%>(<%=genOperation.getObjectType(genClass)%>)<%=CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())%>__EINVOCATION_DELEGATE.dynamicInvoke(this, <%if (size > 0) {%>new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%>.UnmodifiableEList<Object>(<%=size%>, <%=genOperation.getParametersArray(genClass)%>)<%} else {%>null<%}%>)<%if (!isJDK50 && genOperation.isPrimitiveType()) {%>).<%=genOperation.getPrimitiveValueFunction()%>()<%}%>;
+ <%}%>
+ }
+ catch (<%=genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")%> ite)
+ {
+ throw new <%=genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")%>(ite);
+ }
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.implementedGenOperation.TODO.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/implementedGenOperation.todo.override.javajetinc%>
+ <%}%>
+ }
+
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcw2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcw2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcw2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._AD9qtHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._AD9qtHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._AD9qtHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUms2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUms2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUms2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmsmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmtWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmtWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmtWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmwmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmwmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..cc3760f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmwmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,32 @@
+
+
+ /**
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ <%if (genOperation.hasDocumentation() || genOperation.hasParameterDocumentation()) {%>
+ * <!-- begin-model-doc -->
+ <%if (genOperation.hasDocumentation()) {%>
+ * <%=genOperation.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ <%}%>
+ <%for (GenParameter genParameter : genOperation.getGenParameters()) {%>
+ <%if (genParameter.hasDocumentation()) { String documentation = genParameter.getDocumentation("");%>
+ <%if (documentation.contains("\n") || documentation.contains("\r")) {%>
+ * @param <%=genParameter.getName()%>
+ * <%=genParameter.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+ * @param <%=genParameter.getName()%> <%=genParameter.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ <%}%>
+ <%}%>
+ <%}%>
+ * <!-- end-model-doc -->
+ <%}%>
+ <%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._AFJ9hHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._AFJ9hHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._AFJ9hHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIs2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIs2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIs2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIsmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toItWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toItWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toItWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIwmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIwmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIwmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._AG8GNHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._AG8GNHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._AG8GNHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSo2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSo2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSo2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSomJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSpWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSpWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSpWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSsmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._AIbT9HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._AIbT9HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._AIbT9HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bg2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bg2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bg2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bk2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bk2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..29ed12e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bk2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,176 @@
+
+
+ <%if (genFeature.hasSettingDelegate()) {%>
+ /**
+ * The cached setting delegate for the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Internal.SettingDelegate <%=genFeature.getUpperName()%>__ESETTING_DELEGATE = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Internal)<%=genFeature.getQualifiedFeatureAccessor()%>).getSettingDelegate();
+
+ <%} else if (genFeature.isListType() || genFeature.isReferenceType()) {%>
+ <%if (genClass.isField(genFeature)) {%>
+ /**
+ * The cached value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected <%=genFeature.getImportedInternalType(genClass)%> <%=genFeature.getSafeName()%>;
+
+ <%}%>
+ <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String rawListItemType = genFeature.getRawListItemType(genClass); int index = rawListItemType.indexOf('['); String head = rawListItemType; String tail = ""; if (index != -1) { head = rawListItemType.substring(0, index); tail = rawListItemType.substring(index); } %>
+ /**
+ * The empty value for the '{@link #<%=genFeature.getGetArrayAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' array accessor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetArrayAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (genFeature.getQualifiedListItemType(genClass).contains("<") || genFeature.getArrayItemType(genClass).contains("<")) {%>
+ @SuppressWarnings("rawtypes")
+ <%}%>
+ protected static final <%=rawListItemType%>[] <%=genFeature.getUpperName()%>_EEMPTY_ARRAY = new <%=head%> [0]<%=tail%>;
+
+ <%}%>
+ <%} else {%>
+ <%if (genFeature.hasEDefault() && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation() && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) { String staticDefaultValue = genFeature.getStaticDefaultValue();%>
+ /**
+ * The default value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (genModel.useGenerics() && genFeature.isListDataType() && genFeature.isSetDefaultValue()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ protected static final <%=genFeature.getImportedType(genClass)%> <%=genFeature.getEDefault()%><%if ("".equals(staticDefaultValue)) {%>; // TODO The default value literal "<%=genFeature.getEcoreFeature().getDefaultValueLiteral()%>" is not valid.<%} else {%> = <%=staticDefaultValue%>;<%=genModel.getNonNLS(staticDefaultValue)%><%}%>
+
+ <%}%>
+ <%if (genClass.isField(genFeature)) {%>
+ <%if (genClass.isFlag(genFeature)) { int flagIndex = genClass.getFlagIndex(genFeature);%>
+ <%if (flagIndex > 31 && flagIndex % 32 == 0) {%>
+ /**
+ * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int <%=genClass.getFlagsField(genFeature)%> = 0;
+
+ <%}%>
+ <%if (genFeature.isEnumType()) {%>
+ /**
+ * The offset of the flags representing the value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected static final int <%=genFeature.getUpperName()%>_EFLAG_OFFSET = <%=flagIndex % 32%>;
+
+ /**
+ * The flags representing the default value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected static final int <%=genFeature.getUpperName()%>_EFLAG_DEFAULT = <%if (isJDK50) {%><%=genFeature.getEDefault()%>.ordinal()<%} else {%><%=genFeature.getImportedType(genClass)%>.VALUES.indexOf(<%=genFeature.getEDefault()%>)<%}%> << <%=genFeature.getUpperName()%>_EFLAG_OFFSET;
+
+ /**
+ * The array of enumeration values for '{@link <%=genFeature.getImportedType(genClass)%> <%=genFeature.getTypeGenClassifier().getFormattedName()%>}'
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ private static final <%=genFeature.getImportedType(genClass)%>[] <%=genFeature.getUpperName()%>_EFLAG_VALUES = <%if (isJDK50) {%><%=genFeature.getImportedType(genClass)%>.values()<%} else {%>(<%=genFeature.getImportedType(genClass)%>[])<%=genFeature.getImportedType(genClass)%>.VALUES.toArray(new <%=genFeature.getImportedType(genClass)%>[<%=genFeature.getImportedType(genClass)%>.VALUES.size()])<%}%>;
+
+ <%}%>
+ /**
+ * The flag<%=genClass.getFlagSize(genFeature) > 1 ? "s" : ""%> representing the value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ protected static final int <%=genFeature.getUpperName()%>_EFLAG = <%=genClass.getFlagMask(genFeature)%> << <%if (genFeature.isEnumType()) {%><%=genFeature.getUpperName()%>_EFLAG_OFFSET<%} else {%><%=flagIndex % 32%><%}%>;
+
+ <%} else {%>
+ /**
+ * The cached value of the '{@link #<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%><%if (genFeature.hasEDefault()) {%> = <%=genFeature.getEDefault()%><%}%>;
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (genClass.isESetField(genFeature)) {%>
+ <%if (genClass.isESetFlag(genFeature)) { int flagIndex = genClass.getESetFlagIndex(genFeature);%>
+ <%if (flagIndex > 31 && flagIndex % 32 == 0) {%>
+ /**
+ * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int <%=genClass.getESetFlagsField(genFeature)%> = 0;
+
+ <%}%>
+ /**
+ * The flag representing whether the <%=genFeature.getFormattedName()%> <%=genFeature.getFeatureKind()%> has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected static final int <%=genFeature.getUpperName()%>_ESETFLAG = 1 << <%=flagIndex % 32 %>;
+
+ <%} else {%>
+ /**
+ * This is true if the <%=genFeature.getFormattedName()%> <%=genFeature.getFeatureKind()%> has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected boolean <%=genFeature.getUncapName()%>ESet;
+
+ <%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._AQBwxXLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._AQBwxXLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._AQBwxXLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENk2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENk2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENk2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENkmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENkmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENkmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENlWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENlWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENlWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENomJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENomJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENomJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._ALaWhHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._ALaWhHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._ALaWhHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-k2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-k2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-k2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-kmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-kmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-kmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-lWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-lWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-lWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-oWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-oWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..91d7a2b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-oWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,41 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void eUnset(int featureID)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+ <%for (GenFeature genFeature : genClass.getEUnsetGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isListType() && !genFeature.isUnsettable()) {%>
+ <%if (genFeature.isWrappedFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap().clear();
+ <%} else {%>
+ <%=genFeature.getGetAccessor()%>().clear();
+ <%}%>
+ <%} else if (genFeature.isUnsettable()) {%>
+ unset<%=genFeature.getAccessorName()%>();
+ <%} else if (!genFeature.hasEDefault()) {%>
+ set<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)null);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicUnset(this, null, 0);
+ <%} else {%>
+ set<%=genFeature.getAccessorName()%>(<%=genFeature.getEDefault()%>);
+ <%}%>
+ return;
+ <%}%>
+ }
+ <%if (genModel.isMinimalReflectiveMethods()) {%>
+ super.eUnset(featureID);
+ <%} else {%>
+ eDynamicUnset(featureID);
+ <%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._AMmpVHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._AMmpVHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._AMmpVHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvk2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvk2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvk2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvkmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvkmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvkmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvlWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvlWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvlWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvoWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvoWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..ffb22a5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvoWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,109 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics()) {%>
+ <%for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {%>
+ <%if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType() && !genClass.isField(genFeature) && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ @SuppressWarnings("unchecked")
+ <%break; }%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { String safeNameAccessor = genFeature.getSafeName(); if ("featureID".equals(safeNameAccessor)) { safeNameAccessor = "this." + safeNameAccessor; }%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.hasSettingDelegate()) {%>
+ <%if (genFeature.isUnsettable()) {%>
+ return isSet<%=genFeature.getAccessorName()%>();
+ <%} else {%>
+ return <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);
+ <%}%>
+ <%} else if (genFeature.isListType() && !genFeature.isUnsettable()) {%>
+ <%if (genFeature.isWrappedFeatureMapType()) {%>
+ <%if (genFeature.isVolatile()) {%>
+ return !((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap().isEmpty();
+ <%} else {%>
+ return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.featureMap().isEmpty();
+ <%}%>
+ <%} else {%>
+ <%if (genClass.isField(genFeature)) {%>
+ return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.isEmpty();
+ <%} else {%>
+ <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=safeNameAccessor%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ return <%=safeNameAccessor%> != null && !<%=safeNameAccessor%>.isEmpty();
+ <%} else {%>
+ return !<%=genFeature.getGetAccessor()%>().isEmpty();
+ <%}%>
+ <%}%>
+ <%}%>
+ <%} else if (genFeature.isUnsettable()) {%>
+ return isSet<%=genFeature.getAccessorName()%>();
+ <%} else if (genFeature.isResolveProxies()) {%>
+ <%if (genClass.isField(genFeature)) {%>
+ return <%=safeNameAccessor%> != null;
+ <%} else {%>
+ <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) != null;
+ <%} else {%>
+ return basicGet<%=genFeature.getAccessorName()%>() != null;
+ <%}%>
+ <%}%>
+ <%} else if (!genFeature.hasEDefault()) {%>
+ <%if (genClass.isField(genFeature)) {%>
+ return <%=safeNameAccessor%> != null;
+ <%} else {%>
+ <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) != null;
+ <%} else {%>
+ return <%=genFeature.getGetAccessor()%>() != null;
+ <%}%>
+ <%}%>
+ <%} else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) {%>
+ <%if (genClass.isField(genFeature)) {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ return ((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0) != <%=genFeature.getEDefault()%>;
+ <%} else {%>
+ return (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != <%=genFeature.getUpperName()%>_EFLAG_DEFAULT;
+ <%}%>
+ <%} else {%>
+ return <%=safeNameAccessor%> != <%=genFeature.getEDefault()%>;
+ <%}%>
+ <%} else {%>
+ <%if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ return eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getEDefault()%>) != <%=genFeature.getEDefault()%>;
+ <%} else {%>
+ return <%=genFeature.getGetAccessor()%>() != <%=genFeature.getEDefault()%>;
+ <%}%>
+ <%}%>
+ <%} else {//datatype%>
+ <%if (genClass.isField(genFeature)) {%>
+ return <%=genFeature.getEDefault()%> == null ? <%=safeNameAccessor%> != null : !<%=genFeature.getEDefault()%>.equals(<%=safeNameAccessor%>);
+ <%} else {%>
+ <%if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=safeNameAccessor%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getEDefault()%>);
+ return <%=genFeature.getEDefault()%> == null ? <%=safeNameAccessor%> != null : !<%=genFeature.getEDefault()%>.equals(<%=safeNameAccessor%>);
+ <%} else {%>
+ return <%=genFeature.getEDefault()%> == null ? <%=genFeature.getGetAccessor()%>() != null : !<%=genFeature.getEDefault()%>.equals(<%=genFeature.getGetAccessor()%>());
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eIsSet(featureID);
+<%} else {%>
+ return eDynamicIsSet(featureID);
+<%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._AN8tJHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._AN8tJHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._AN8tJHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5g2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5g2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5g2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5gmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5gmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5gmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5hWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5hWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5hWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5kWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5kWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5kWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._AO_O9HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._AO_O9HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._AO_O9HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._--X7pXLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._--X7pXLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._--X7pXLYEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqg2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqg2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqg2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhGJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhGJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhGJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqimJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqimJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d41619d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqimJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,24 @@
+
+
+<%if (genPackage.hasExtendedMetaData()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%> result = new <%=genPackage.getResourceClassName()%>(uri);
+ result.getDefaultSaveOptions().put(<%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%>.OPTION_EXTENDED_META_DATA, <%if (genPackage.hasTargetNamespace()){%>Boolean.TRUE<%}else{%>extendedMetaData<%}%>);
+ result.getDefaultLoadOptions().put(<%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%>.OPTION_EXTENDED_META_DATA, <%if (genPackage.hasTargetNamespace()){%>Boolean.TRUE<%}else{%>extendedMetaData<%}%>);
+
+ result.getDefaultSaveOptions().put(<%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%>.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(<%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%>.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(<%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%>.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(<%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%>.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+<%if (genPackage.isDataTypeConverters() && genPackage.hasDocumentRoot()) {%>
+ result.getDefaultLoadOptions().put(<%=genPackage.getResourceClassName()%>.OPTION_USE_DATA_CONVERTER, Boolean.TRUE);
+<%}%>
+<%} else if (genPackage.hasXMLMap()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%> result = new <%=genPackage.getResourceClassName()%>(uri);
+ result.getDefaultSaveOptions().put(<%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%>.OPTION_XML_MAP, xmlMap);
+ result.getDefaultLoadOptions().put(<%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource")%>.OPTION_XML_MAP, xmlMap);
+<%} else {%>
+ Resource result = new <%=genPackage.getResourceClassName()%>(uri);
+<%}%>
+ return result;
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWc2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWc2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWc2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWcmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWcmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWcmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWdWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWdWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWdWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWgmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWgmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWgmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._ARX0lHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._ARX0lHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._ARX0lHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgY2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgY2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgY2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgZWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgZWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgZWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgcWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgcWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d5092be
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgcWJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,26 @@
+
+
+<%if (isImplementation && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel.isDynamicDelegation()) && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel().getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass.getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {%>
+ <%if (genClass.hasStaticFeatures()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final int ESTATIC_FEATURE_COUNT = <%=genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass().getAllGenFeatures().size()%>;
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected int eStaticFeatureCount()
+ {
+ return <%=genClass.getClassExtendsGenClass() == null ? "0" : genClass.hasStaticFeatures() ? "ESTATIC_FEATURE_COUNT" : Integer.toString(genClass.getClassExtendsGenClass().getAllGenFeatures().size())%>;
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._ASkHZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._ASkHZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._ASkHZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRY2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRY2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRY2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRZWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRZWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRZWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRcmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRcmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..49cd8b5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRcmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,116 @@
+
+
+ <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String arrayElementType = genFeature.getArrayItemType(genClass);%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ <%=arrayElementType%>[] <%=genFeature.getGetArrayAccessor()%>();
+
+ <%} else {%>
+ <%if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=arrayElementType%>[] <%=genFeature.getGetArrayAccessor()%>()
+ {
+ <%if (genFeature.isVolatile()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>();
+ if (list.isEmpty()) return <%=genFeature.getUpperName()%>_EEMPTY_ARRAY;
+ <%} else {%>
+ if (<%=genFeature.getSafeName()%> == null || <%=genFeature.getSafeName()%>.isEmpty()) return <%=genFeature.getUpperName()%>_EEMPTY_ARRAY;
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getSafeName()%>;
+ <%}%>
+ list.shrink();
+ return (<%=arrayElementType%>[])list.data();
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ <%=genFeature.getListItemType(genClass)%> get<%=genFeature.getAccessorName()%>(int index);
+
+ <%} else {%>
+ public <%=genFeature.getListItemType(genClass)%> get<%=genFeature.getAccessorName()%>(int index)
+ {
+ return <%if (!genModel.useGenerics()) {%>(<%=genFeature.getListItemType(genClass)%>)<%}%><%=genFeature.getGetAccessor()%>().get(index);
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ int get<%=genFeature.getAccessorName()%>Length();
+
+ <%} else {%>
+ public int get<%=genFeature.getAccessorName()%>Length()
+ {
+ <%if (genFeature.isVolatile()) {%>
+ return <%=genFeature.getGetAccessor()%>().size();
+ <%} else {%>
+ return <%=genFeature.getSafeName()%> == null ? 0 : <%=genFeature.getSafeName()%>.size();
+ <%}%>
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ void set<%=genFeature.getAccessorName()%>(<%=genFeature.getListItemType(genClass)%>[] new<%=genFeature.getCapName()%>);
+
+ <%} else {%>
+ public void set<%=genFeature.getAccessorName()%>(<%=genFeature.getListItemType(genClass)%>[] new<%=genFeature.getCapName()%>)
+ {
+ ((<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).setData(new<%=genFeature.getCapName()%>.length, new<%=genFeature.getCapName()%>);
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!isImplementation) {%>
+ void set<%=genFeature.getAccessorName()%>(int index, <%=genFeature.getListItemType(genClass)%> element);
+
+ <%} else {%>
+ public void set<%=genFeature.getAccessorName()%>(int index, <%=genFeature.getListItemType(genClass)%> element)
+ {
+ <%=genFeature.getGetAccessor()%>().set(index, element);
+ }
+
+ <%}%>
+ <%}%>
+ <%if (genFeature.isGet() && (isImplementation || !genFeature.isSuppressedGetVisibility())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/getGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicGet()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicGetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicSetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isSet() && (isImplementation || !genFeature.isSuppressedSetVisibility())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/setGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicUnset()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class.basicUnsetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isUnset() && (isImplementation || !genFeature.isSuppressedUnsetVisibility())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/unsetGenFeature.override.javajetinc%>
+ <%}%>
+ <%if (genFeature.isIsSet() && (isImplementation || !genFeature.isSuppressedIsSetVisibility())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/isSetGenFeature.override.javajetinc%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._AUpyFHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._AUpyFHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._AUpyFHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCY2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCY2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCY2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCZWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCZWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCZWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCcmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCcmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..b4dda0b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCcmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,136 @@
+
+
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/getGenFeature.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%>();
+
+<%} else {%>
+ <%if (genModel.useGenerics() && ((genFeature.isContainer() || genFeature.isResolveProxies()) && !genFeature.isListType() && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation()) && genFeature.isUncheckedCast(genClass) || genFeature.isListType() && !genFeature.isFeatureMapType() && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel.isDynamicDelegation()) || genFeature.isListDataType() && genFeature.hasDelegateFeature() || genFeature.isListType() && genFeature.hasSettingDelegate())) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%><%if (genClass.hasCollidingGetAccessorOperation(genFeature)) {%>_<%}%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isDynamicDelegation()) {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>, true, <%=!genFeature.isEffectiveSuppressEMFTypes()%>)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%} else if (genModel.isReflectiveDelegation()) {%>
+ <%if (genFeature.hasGetterBody()) {%>
+ <%=genFeature.getGetterBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)eGet(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%}%>
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genFeature.isListType()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> == null)
+ {
+ <%if (genModel.isVirtualDelegation()) {%>
+ eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>);
+ <%} else {%>
+ <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>;
+ <%}%>
+ }
+ return <%=genFeature.getSafeName()%><%=genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : ""%>;
+ <%} else if (genFeature.isContainer()) {%>
+ if (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) return null;
+ return (<%=genFeature.getImportedType(genClass)%>)<%if (genFeature.isResolveProxies()) {%>eContainer<%} else {%>eInternalContainer<%}%>();
+ <%} else {%>
+ <%if (genFeature.isResolveProxies()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (genFeature.hasEDefault()) {%>, <%=genFeature.getEDefault()%><%}%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> != null && <%=genFeature.getSafeNameAsEObject()%>.eIsProxy())
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> old<%=genFeature.getCapName()%> = (<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>;
+ <%=genFeature.getSafeName()%> = <%=genFeature.getNonEObjectInternalTypeCast(genClass)%>eResolveProxy(old<%=genFeature.getCapName()%>);
+ if (<%=genFeature.getSafeName()%> != old<%=genFeature.getCapName()%>)
+ {
+ <%if (genFeature.isEffectiveContains()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> new<%=genFeature.getCapName()%> = (<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>;
+ <%if (!genFeature.isBidirectional()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = old<%=genFeature.getCapName()%>.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, null);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = old<%=genFeature.getCapName()%>.eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, null);
+ <%}%>
+ if (new<%=genFeature.getCapName()%>.eInternalContainer() == null)
+ {
+ <%if (!genFeature.isBidirectional()) {%>
+ msgs = new<%=genFeature.getCapName()%>.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ msgs = new<%=genFeature.getCapName()%>.eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ <%}%>
+ }
+ if (msgs != null) msgs.dispatch();
+ <%} else if (genModel.isVirtualDelegation()) {%>
+ eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%>);
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.RESOLVE, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, old<%=genFeature.getCapName()%>, <%=genFeature.getSafeName()%>));
+ <%}%>
+ }
+ }
+ <%}%>
+ <%if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ return (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (genFeature.hasEDefault()) {%>, <%=genFeature.getEDefault()%><%}%>);
+ <%} else if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ return (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0;
+ <%} else {%>
+ return <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET];
+ <%}%>
+ <%} else {%>
+ return <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%}%>
+ <%} else {//volatile%>
+ <%if (genFeature.isResolveProxies() && !genFeature.isListType()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = basicGet<%=genFeature.getAccessorName()%>();
+ return <%=genFeature.getSafeName()%> != null && <%=genFeature.getSafeNameAsEObject()%>.eIsProxy() ? <%=genFeature.getNonEObjectInternalTypeCast(genClass)%>eResolveProxy((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>) : <%=genFeature.getSafeName()%>;
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (genFeature.isFeatureMapType()) {%>
+ <%String featureMapEntryTemplateArgument = isJDK50 ? "<" + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return new <%=genFeature.getImportedEffectiveFeatureMapWrapperClass()%>((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().<%=featureMapEntryTemplateArgument%>list(<%=genFeature.getQualifiedFeatureAccessor()%>));
+ <%} else {%>
+ return (<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>)get<%=delegateFeature.getAccessorName()%>().<%=featureMapEntryTemplateArgument%>list(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%}%>
+ <%} else if (genFeature.isListType()) {%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().list(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else {%>
+ return get<%=delegateFeature.getAccessorName()%>().list(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%}%>
+ <%} else {%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%><%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().get(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%} else {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%><%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>get<%=delegateFeature.getAccessorName()%>().get(<%=genFeature.getQualifiedFeatureAccessor()%>, true)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%}%>
+ <%}%>
+ <%} else if (genClass.getGetAccessorOperation(genFeature) != null) {%>
+ <%=genClass.getGetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else if (genFeature.hasGetterBody()) {%>
+ <%=genFeature.getGetterBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/getGenFeature.todo.override.javajetinc%>
+ <%}%>
+ <%}%>
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._AWlrxHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._AWlrxHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._AWlrxHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMU2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMU2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMU2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMUmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMUmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMUmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMVWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMVWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMVWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..2c9f603
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,71 @@
+
+
+ /**
+ * Returns the value of the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>.
+ <%if (genFeature.isListType() && genFeature.getEcoreFeature().getEGenericType().getETypeParameter() == null) {%>
+ <%if (genFeature.isMapType()) { GenFeature keyFeature = genFeature.getMapEntryTypeGenClass().getMapEntryKeyFeature(); GenFeature valueFeature = genFeature.getMapEntryTypeGenClass().getMapEntryValueFeature(); %>
+ * The key is of type <%if (keyFeature.isListType()) {%>list of {@link <%=keyFeature.getQualifiedListItemType(genClass)%>}<%} else {%>{@link <%=keyFeature.getType(genClass)%>}<%}%>,
+ * and the value is of type <%if (valueFeature.isListType()) {%>list of {@link <%=valueFeature.getQualifiedListItemType(genClass)%>}<%} else {%>{@link <%=valueFeature.getType(genClass)%>}<%}%>,
+ <%} else if (!genFeature.isWrappedFeatureMapType() && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature.getQualifiedListItemType(genClass)))) {
+String typeName = genFeature.getQualifiedListItemType(genClass); String head = typeName; String tail = ""; int index = typeName.indexOf('<'); if (index == -1) { index = typeName.indexOf('['); }
+if (index != -1) { head = typeName.substring(0, index); tail = typeName.substring(index).replaceAll("<", "<"); }
+%>
+ * The list contents are of type {@link <%=head%>}<%=tail%>.
+ <%}%>
+ <%} else if (genFeature.isSetDefaultValue()) {%>
+ * The default value is <code><%=genFeature.getDefaultValue()%></code>.
+ <%}%>
+ <%if (genFeature.getTypeGenEnum() != null) {%>
+ * The literals are from the enumeration {@link <%=genFeature.getTypeGenEnum().getQualifiedName()%>}.
+ <%}%>
+ <%if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) { GenFeature reverseGenFeature = genFeature.getReverse(); %>
+ <%if (!reverseGenFeature.isSuppressedGetVisibility()) {%>
+ * It is bidirectional and its opposite is '{@link <%=reverseGenFeature.getGenClass().getQualifiedInterfaceName()%>#<%=reverseGenFeature.getGetAccessor()%> <em><%=reverseGenFeature.getFormattedName()%></em>}'.
+ <%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ <%if (!genFeature.hasDocumentation()) {%>
+ * <p>
+ * If the meaning of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%> isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ <%}%>
+ * <!-- end-user-doc -->
+ <%if (genFeature.hasDocumentation()) {%>
+ * <!-- begin-model-doc -->
+ * <%=genFeature.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ * <!-- end-model-doc -->
+ <%}%>
+ * @return the value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%>.
+ <%if (genFeature.getTypeGenEnum() != null) {%>
+ * @see <%=genFeature.getTypeGenEnum().getQualifiedName()%>
+ <%}%>
+ <%if (genFeature.isUnsettable()) {%>
+ <%if (!genFeature.isSuppressedIsSetVisibility()) {%>
+ * @see #isSet<%=genFeature.getAccessorName()%>()
+ <%}%>
+ <%if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) {%>
+ * @see #unset<%=genFeature.getAccessorName()%>()
+ <%}%>
+ <%}%>
+ <%if (genFeature.isChangeable() && !genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) {%>
+ * @see #set<%=genFeature.getAccessorName()%>(<%=genFeature.getRawImportedBoundType()%>)
+ <%}%>
+ <%if (!genModel.isSuppressEMFMetaData()) {%>
+ * @see <%=genPackage.getQualifiedPackageInterfaceName()%>#get<%=genFeature.getFeatureAccessorName()%>()
+ <%}%>
+ <%if (genFeature.isBidirectional() && !genFeature.getReverse().getGenClass().isMapEntry()) { GenFeature reverseGenFeature = genFeature.getReverse(); %>
+ <%if (!reverseGenFeature.isSuppressedGetVisibility()) {%>
+ * @see <%=reverseGenFeature.getGenClass().getQualifiedInterfaceName()%>#<%=reverseGenFeature.getGetAccessor()%>
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._AXx-lHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._AXx-lHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._AXx-lHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fJWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fJWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fJWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fMmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._Ag3pJHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._Ag3pJHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._Ag3pJHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4Q2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4Q2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4Q2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4QmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4QmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4QmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4RWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4RWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4RWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4UmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4UmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4UmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._AZkHRHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._AZkHRHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._AZkHRHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQ2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQ2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQ2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpRWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpRWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpRWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpUmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpUmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpUmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._AawaFHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._AawaFHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._AawaFHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczQmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._Ab8s5HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._Ab8s5HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._Ab8s5HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..fa0522b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkQmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,9 @@
+
+
+ // TODO: implement this method to return the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // Ensure that you remove @generated or mark it @generated NOT
+ <%if (genFeature.isListType()) {%>
+ // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
+ // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.<%if (genFeature.isMapType()) {%>EcoreEMap<%} else if (genFeature.isFeatureMapType()) {%>BasicFeatureMap<%} else {%>EcoreEList<%}%> should be used.
+ <%}%>
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._AdvcpHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._AdvcpHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._AdvcpHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVM2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVM2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVM2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVNWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVNWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVNWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..25a701c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVQmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,39 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/basicGetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ public <%=genFeature.getImportedType(genClass)%> basicGet<%=genFeature.getAccessorName()%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isDynamicDelegation()) {%>
+ return (<%=genFeature.getImportedType(genClass)%>)eDynamicGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>, false, <%=!genFeature.isEffectiveSuppressEMFTypes()%>);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ return <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>(<%}%>(<%=genFeature.getObjectType(genClass)%>)<%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false)<%if (!isJDK50 && genFeature.isPrimitiveType()) {%>).<%=genFeature.getPrimitiveValueFunction()%>()<%}%>;
+ <%} else if (genFeature.isContainer()) {%>
+ if (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>) return null;
+ return (<%=genFeature.getImportedType(genClass)%>)eInternalContainer();
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ return (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else {%>
+ return <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return (<%=genFeature.getImportedType(genClass)%>)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap().get(<%=genFeature.getQualifiedFeatureAccessor()%>, false);
+ <%} else {%>
+ return (<%=genFeature.getImportedType(genClass)%>)get<%=delegateFeature.getAccessorName()%>().get(<%=genFeature.getQualifiedFeatureAccessor()%>, false);
+ <%}%>
+ <%} else if (genFeature.hasGetterBody()) {%>
+ <%=genFeature.getGetterBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicGetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._AfhlVHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._AfhlVHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._AfhlVHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oA2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oA2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oA2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oBWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oBWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oBWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oEmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._AtPRNHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._AtPRNHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._AtPRNHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oF2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oF2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oF2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oFmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oFmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oFmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oGWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oGWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oGWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0yFx-2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0yFx-2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..96f1ac1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0yFx-2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,8 @@
+
+
+ // TODO: implement this method to set the contained '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // -> this method is automatically invoked to keep the containment relationship in synch
+ // -> do not modify other features
+ // -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._Aukt9HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._Aukt9HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._Aukt9HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQJWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQJWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQJWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQMmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._Ah6K9HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._Ah6K9HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._Ah6K9HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBI2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBI2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBI2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBJWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBJWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBJWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBMmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBMmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..b72a863
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBMmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,6 @@
+
+
+ // TODO: implement this method to return the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // -> do not perform proxy resolution
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._Aizi1HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._Aizi1HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._Aizi1HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLE2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLE2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLE2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLEmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLFWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLFWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLFWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLImJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLImJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..02669a1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLImJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,71 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getImportedInternalType(genClass)%> new<%=genFeature.getCapName()%>, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ <%if (genFeature.isContainer()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ msgs = eBasicSetContainer((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ return msgs;
+ <%} else if (genModel.isDynamicDelegation()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ msgs = eDynamicInverseAdd((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ return msgs;
+ <%} else if (!genFeature.isVolatile()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ Object old<%=genFeature.getCapName()%> = eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>);
+ <%} else {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>;
+ <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%>;
+ <%}%>
+ <%if (genFeature.isUnsettable()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean isSetChange = old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE;
+ <%}%>
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG;
+ <%}%>
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = true;
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ {
+ <%if (genFeature.isUnsettable()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? null : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, new<%=genFeature.getCapName()%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>!old<%=genFeature.getCapName()%>ESet<%}%>);
+ <%} else {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE ? null : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, new<%=genFeature.getCapName()%>);
+ <%}%>
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ return msgs;
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).basicAdd(<%=genFeature.getQualifiedFeatureAccessor()%>, new<%=genFeature.getCapName()%>, msgs);
+ <%} else {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).basicAdd(<%=genFeature.getQualifiedFeatureAccessor()%>, new<%=genFeature.getCapName()%>, msgs);
+ <%}%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicSetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._Aj_1pHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._Aj_1pHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._Aj_1pHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGA2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGA2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGA2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGBWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGBWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGBWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGEmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGEmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGEmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._AmYbRHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._AmYbRHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._AmYbRHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3A2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3A2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3A2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3AmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3AmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3AmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3BWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3BWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3BWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3EmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3EmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3EmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._AsC-ZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._AsC-ZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._AsC-ZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y02J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y02J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y02J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y1WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y1WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y1WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y42J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._BI881HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._BI881HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._BI881HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi82J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi82J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi82J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi9WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi9WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi9WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPjAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPjAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..6703371
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPjAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,170 @@
+
+
+<%if (isInterface) { %>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/setGenFeature.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) { %>
+ void set<%=genFeature.getAccessorName()%>(<%=genFeature.getImportedType(genClass)%> value);
+
+<%} else { GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);%>
+ public void set<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingSetAccessorOperation(genFeature)) {%>_<%}%>(<%=genFeature.getImportedType(genClass)%> <%=setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()%>)
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.pre.insert" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isDynamicDelegation()) {%>
+ eDynamicSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%} else if (genModel.isReflectiveDelegation()) {%>
+ eSet(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicSet(this, null, 0, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genFeature.isContainer()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ if (new<%=genFeature.getCapName()%> != eInternalContainer() || (eContainerFeatureID() != <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%> && new<%=genFeature.getCapName()%> != null))
+ {
+ if (<%=genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")%>.isAncestor(this, <%=genFeature.getEObjectCast()%>new<%=genFeature.getCapName()%>))
+ throw new <%=genModel.getImportedName("java.lang.IllegalArgumentException")%>("Recursive containment not allowed for " + toString());<%=genModel.getNonNLS()%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null;
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ if (new<%=genFeature.getCapName()%> != null)
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ msgs = basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ <%if (!genModel.isSuppressNotification()) {%>
+ else if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>));
+ <%}%>
+ <%} else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (new<%=genFeature.getCapName()%> != <%=genFeature.getSafeName()%>)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null;
+ if (<%=genFeature.getSafeName()%> != null)
+ <%if (!genFeature.isBidirectional()) {%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ if (new<%=genFeature.getCapName()%> != null)
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ if (new<%=genFeature.getCapName()%> != null)
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)new<%=genFeature.getCapName()%>).eInverseAdd(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ <%}%>
+ msgs = basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ <%if (genFeature.isUnsettable()) {%>
+ else
+ {
+ <%if (genModel.isVirtualDelegation()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%}%>
+ <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = true;
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>, !old<%=genFeature.getCapName()%>ESet));
+ <%}%>
+ }
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ else if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, new<%=genFeature.getCapName()%>, new<%=genFeature.getCapName()%>));
+ <%}%>
+ <%}%>
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0;
+ <%} else {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET];
+ <%}%>
+ <%}%>
+ <%if (genFeature.isBooleanType()) {%>
+ if (new<%=genFeature.getCapName()%>) <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG; else <%=genClass.getFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_EFLAG;
+ <%} else {%>
+ if (new<%=genFeature.getCapName()%> == null) new<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EDEFAULT;
+ <%=genClass.getFlagsField(genFeature)%> = <%=genClass.getFlagsField(genFeature)%> & ~<%=genFeature.getUpperName()%>_EFLAG | <%if (isJDK50) {%>new<%=genFeature.getCapName()%>.ordinal()<%} else {%><%=genFeature.getImportedType(genClass)%>.VALUES.indexOf(new<%=genFeature.getCapName()%>)<%}%> << <%=genFeature.getUpperName()%>_EFLAG_OFFSET;
+ <%}%>
+ <%} else {%>
+ <%if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%}%>
+ <%if (genFeature.isEnumType()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%> == null ? <%=genFeature.getEDefault()%> : new<%=genFeature.getCapName()%>;
+ <%} else {%>
+ <%=genFeature.getSafeName()%> = new<%=genFeature.getCapName()%> == null ? <%=genFeature.getEDefault()%> : new<%=genFeature.getCapName()%>;
+ <%}%>
+ <%} else {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = <%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>;
+ <%} else {%>
+ <%=genFeature.getSafeName()%> = <%=genFeature.getInternalTypeCast()%>new<%=genFeature.getCapName()%>;
+ <%}%>
+ <%}%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ Object old<%=genFeature.getCapName()%> = eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%>);
+ <%}%>
+ <%}%>
+ <%if (genFeature.isUnsettable()) {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ boolean isSetChange = old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE;
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%}%>
+ <%=genClass.getESetFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = true;
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange ? <%=genFeature.getEDefault()%> : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%if (genClass.isFlag(genFeature)) {%>new<%=genFeature.getCapName()%><%} else {%><%=genFeature.getSafeName()%><%}%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange<%} else {%>!old<%=genFeature.getCapName()%>ESet<%}%>));
+ <%}%>
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.SET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>old<%=genFeature.getCapName()%> == EVIRTUAL_NO_VALUE ? <%=genFeature.getEDefault()%> : old<%=genFeature.getCapName()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%if (genClass.isFlag(genFeature)) {%>new<%=genFeature.getCapName()%><%} else {%><%=genFeature.getSafeName()%><%}%>));
+ <%}%>
+ <%}%>
+ <%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.post.insert" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).set(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%} else {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).set(<%=genFeature.getQualifiedFeatureAccessor()%>, <%if (!isJDK50 && genFeature.isPrimitiveType()) {%>new <%=genFeature.getObjectType(genClass)%>(<%}%>new<%=genFeature.getCapName()%><%if (!isJDK50 && genFeature.isPrimitiveType()) {%>)<%}%>);
+ <%}%>
+ <%} else if (setAccessorOperation != null) {%>
+ <%=setAccessorOperation.getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.TODO.override" args="setAccessorOperation:setAccessorOperation,genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/setGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._AvxAxHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._AvxAxHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._AvxAxHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT82J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT82J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT82J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT8mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT9WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT9WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT9WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZUAmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZUAmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..32e43f3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZUAmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,22 @@
+
+
+ /**
+ * Sets the value of the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}' <%=genFeature.getFeatureKind()%>.
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em><%=genFeature.getFormattedName()%></em>' <%=genFeature.getFeatureKind()%>.
+ <%if (genFeature.isEnumType()) {%>
+ * @see <%=genFeature.getTypeGenEnum().getQualifiedName()%>
+ <%}%>
+ <%if (genFeature.isUnsettable()) {%>
+ <%if (!genFeature.isSuppressedIsSetVisibility()) {%>
+ * @see #isSet<%=genFeature.getAccessorName()%>()
+ <%}%>
+ <%if (!genFeature.isSuppressedUnsetVisibility()) {%>
+ * @see #unset<%=genFeature.getAccessorName()%>()
+ <%}%>
+ <%}%>
+ * @see #<%=genFeature.getGetAccessor()%>()
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._BAT-NHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._BAT-NHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._BAT-NHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J02J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J02J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J02J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J1WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J1WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J1WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J42J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._BKJPpHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._BKJPpHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._BKJPpHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J52J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J52J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J52J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J6GJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J6GJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J6GJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI60GJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI60GJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI60GJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI63mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI63mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..2524a90
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI63mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this method to set the '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._BQGttHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._BQGttHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._BQGttHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid42J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid5WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid5WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid5WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid8mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._BGamNHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._BGamNHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._BGamNHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO42J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO42J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO42J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO4mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO4mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO4mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO5WJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO5WJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO5WJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO8mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO8mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO8mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._BH6bBHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._BH6bBHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._BH6bBHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hs2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hs2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hs2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hsmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hsmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hsmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4htWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4htWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4htWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hwmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hwmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..05a4d62
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hwmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,142 @@
+
+
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/unsetGenFeature.javadoc.override.javajetinc%>
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/unsetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%}%>
+<%if (!isImplementation) {%>
+ void unset<%=genFeature.getAccessorName()%>();
+
+<%} else {%>
+ public void unset<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingUnsetAccessorOperation(genFeature)) {%>_<%}%>()
+ {
+ <%if (genModel.isDynamicDelegation()) {%>
+ eDynamicUnset(<%=genClass.getQualifiedFeatureID(genFeature)%><%if (genClass.hasStaticFeatures()){%> - ESTATIC_FEATURE_COUNT<%}%>, <%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else if (genModel.isReflectiveDelegation()) {%>
+ eUnset(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else if (genFeature.hasSettingDelegate()) {%>
+ <%=genFeature.getUpperName()%>__ESETTING_DELEGATE.dynamicUnset(this, null, 0);
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genFeature.isListType()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> != null) ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%>.Unsettable<%=singleWildcard%>)<%=genFeature.getSafeName()%>).unset();
+ <%} else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> != null)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs = null;
+ <%if (!genFeature.isBidirectional()) {%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ <%}%>
+ msgs = basicUnset<%=genFeature.getAccessorName()%>(msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else
+ {
+ <%if (genModel.isVirtualDelegation()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%}%>
+ <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = false;
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, null, null, old<%=genFeature.getCapName()%>ESet));
+ <%}%>
+ }
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = (<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0;
+ <%} else {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET];
+ <%}%>
+ <%}%>
+ <%} else if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ Object old<%=genFeature.getCapName()%> = eVirtualUnset(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ boolean isSetChange = old<%=genFeature.getCapName()%> != EVIRTUAL_NO_VALUE;
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%} else {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%}%>
+ <%if (genFeature.isReferenceType()) {%>
+ <%=genFeature.getSafeName()%> = null;
+ <%if (!genModel.isVirtualDelegation()) {%>
+ <%if (genClass.isESetFlag(genFeature)) {%>
+ <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%=genFeature.getUncapName()%>ESet = false;
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? old<%=genFeature.getCapName()%> : null<%} else {%>old<%=genFeature.getCapName()%><%}%>, null, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>));
+ <%}%>
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ if (<%=genFeature.getEDefault()%>) <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG; else <%=genClass.getFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_EFLAG;
+ <%} else {%>
+ <%=genClass.getFlagsField(genFeature)%> = <%=genClass.getFlagsField(genFeature)%> & ~<%=genFeature.getUpperName()%>_EFLAG | <%=genFeature.getUpperName()%>_EFLAG_DEFAULT;
+ <%}%>
+ <%} else if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%>
+ <%=genFeature.getSafeName()%> = <%=genFeature.getEDefault()%>;
+ <%}%>
+ <%if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) {%>
+ <%if (genClass.isESetFlag(genFeature)) {%>
+ <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%=genFeature.getUncapName()%>ESet = false;
+ <%}%>
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ eNotify(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange ? old<%=genFeature.getCapName()%> : <%=genFeature.getEDefault()%><%} else {%>old<%=genFeature.getCapName()%><%}%>, <%=genFeature.getEDefault()%>, <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>));
+ <%}%>
+ <%}%>
+ <%}%>
+ <%} else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();%>
+ <%if (delegateFeature.isWrappedFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)get<%=delegateFeature.getAccessorName()%>()).featureMap()).clear(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%} else {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)get<%=delegateFeature.getAccessorName()%>()).clear(<%=genFeature.getQualifiedFeatureAccessor()%>);
+ <%}%>
+ <%} else if (genClass.getUnsetAccessorOperation(genFeature) != null) {%>
+ <%=genClass.getUnsetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/unsetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._BVnf1HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._BVnf1HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._BVnf1HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSE0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSE0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..2e17ec6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSE0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,51 @@
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (isJDK50) { //Class/basicUnsetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> basicUnset<%=genFeature.getAccessorName()%>(<%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ <%if (genModel.isDynamicDelegation()) {%>
+ return eDynamicInverseRemove((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%if (genFeature.isResolveProxies()) {%>basicGet<%=genFeature.getAccessorName()%><%} else {%><%=genFeature.getGetAccessor()%><%}%>(), <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+ <%} else if (!genFeature.isVolatile()) {%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%if (!genModel.isSuppressNotification()) {%>Object old<%=genFeature.getCapName()%> = <%}%>eVirtualUnset(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ <%=genFeature.getImportedType(genClass)%> old<%=genFeature.getCapName()%> = <%=genFeature.getSafeName()%>;
+ <%}%>
+ <%=genFeature.getSafeName()%> = null;
+ <%}%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean isSetChange = old<%=genFeature.getCapName()%> != EVIRTUAL_NO_VALUE;
+ <%}%>
+ <%} else if (genClass.isESetFlag(genFeature)) {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = (<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0;
+ <%}%>
+ <%=genClass.getESetFlagsField(genFeature)%> &= ~<%=genFeature.getUpperName()%>_ESETFLAG;
+ <%} else {%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ boolean old<%=genFeature.getCapName()%>ESet = <%=genFeature.getUncapName()%>ESet;
+ <%}%>
+ <%=genFeature.getUncapName()%>ESet = false;
+ <%}%>
+ <%if (!genModel.isSuppressNotification()) {%>
+ if (eNotificationRequired())
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%> notification = new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")%>(this, <%=genModel.getImportedName("org.eclipse.emf.common.notify.Notification")%>.UNSET, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%if (genModel.isVirtualDelegation()) {%>isSetChange ? old<%=genFeature.getCapName()%> : null<%} else {%>old<%=genFeature.getCapName()%><%}%>, null, <%if (genModel.isVirtualDelegation()) {%>isSetChange<%} else {%>old<%=genFeature.getCapName()%>ESet<%}%>);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ <%}%>
+ <%} else {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/basicUnsetGenFeature.todo.override.javajetinc%>
+ <%}%>
+ }
+
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEw2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEw2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEw2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEwmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEwmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEwmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSExWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSExWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSExWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._BR5ddHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._BR5ddHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._BR5ddHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb10mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb10mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb10mJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1w2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1w2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1w2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1wmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1wmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1wmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1xWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1xWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1xWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._BS7_RHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._BS7_RHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._BS7_RHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlm0mJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlm0mJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..89c17da
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlm0mJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,8 @@
+
+
+ // TODO: implement this method to unset the contained '<%=genFeature.getFormattedName()%>' <%=genFeature.getFeatureKind()%>
+ // -> this method is automatically invoked to keep the containment relationship in synch
+ // -> do not modify other features
+ // -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmw2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmw2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmw2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmwmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmwmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmwmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmxWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmxWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmxWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._BUISFHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._BUISFHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._BUISFHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bcck2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bcck2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bcck2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcckmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcckmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcckmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcclWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcclWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcclWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bccm2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bccm2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bccm2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._CVZh1HLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._CVZh1HLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._CVZh1HLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmg2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmg2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmg2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmgmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmgmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmgmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmhWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmhWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmhWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmi2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmi2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..19002e7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmi2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this test method
+ // Ensure that you remove @generated or mark it @generated NOT
+ fail();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._CWSSpHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._CWSSpHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._CWSSpHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXg2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXg2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXg2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXgmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXgmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXgmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXhWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXhWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXhWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXi2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXi2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d0cfe1e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXi2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,17 @@
+
+
+
+ /**
+ * Tests the '{@link <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#isSet<%=genFeature.getAccessorName()%>() <em>isSet<%=genFeature.getAccessorName()%>()</em>}' method.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#isSet<%=genFeature.getAccessorName()%>()
+ * @generated
+ */
+ <%if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/isSetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+ <%}%>
+ public void testIsSet<%=genFeature.getAccessorName()%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.TODO.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/isSetGenFeature.todo.override.javajetinc%>
+ }
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._CY-aRHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._CY-aRHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._CY-aRHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qU2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qU2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qU2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qUmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qUmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qUmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qVWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qVWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qVWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qW2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qW2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qW2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._CgILJHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._CgILJHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._CgILJHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDc2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDc2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDc2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDcmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDcmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDcmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDdWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDdWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDdWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDe2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDe2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDe2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._CanZBHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._CanZBHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._CanZBHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-Y2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-Y2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-Y2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-YmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-YmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-YmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-ZWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-ZWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-ZWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-a2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-a2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..19002e7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-a2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this test method
+ // Ensure that you remove @generated or mark it @generated NOT
+ fail();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._CcGmxHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._CcGmxHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._CcGmxHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovY2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovY2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovY2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovYmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovYmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovYmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovZWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovZWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovZWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1Cova2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1Cova2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1Cova2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._CdcDhHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._CdcDhHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._CdcDhHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5U2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5U2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5U2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5UmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5UmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5UmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5VWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5VWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5VWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5W2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5W2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..8b7f987
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5W2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,18 @@
+
+
+
+ /**
+ * Tests the '{@link <%=genOperation.getGenClass().getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genOperation.getGenClass().getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
+ * @generated
+ */
+ <%if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) { //TestCase/genOperation.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.genOperation.annotations.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+ <%}%>
+ public void test<%=genClass.getUniqueName(genOperation)%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.TODO.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/implementedGenOperation.todo.override.javajetinc%>
+ }
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.insert" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel"%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._CeVbZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._CeVbZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._CeVbZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbU2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbU2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbU2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbUmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbUmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbUmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbVWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbVWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbVWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbW2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbW2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..595c9ce
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbW2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1,5 @@
+
+
+ // TODO: implement this operation test method
+ // Ensure that you remove @generated or mark it @generated NOT
+ fail();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._CjtDlHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._CjtDlHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._CjtDlHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQ2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQ2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQ2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlRWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlRWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlRWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlS2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlS2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlS2J-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._Ckl0ZHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._Ckl0ZHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._Ckl0ZHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQ2J-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQ2J-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQ2J-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQmJ-Ed-FqczH3ESmRw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWRWJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWRWJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWRWJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWSmJ-Ed-FqczH3ESmRw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWSmJ-Ed-FqczH3ESmRw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWSmJ-Ed-FqczH3ESmRw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._ClCgVHLZEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._ClCgVHLZEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._ClCgVHLZEd-09ds9dfYpFw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsLUk-XDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsLUk-XDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsLUk-XDEeCxnsoQRwU99Q.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFk-XDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFk-XDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFk-XDEeCxnsoQRwU99Q.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkOXDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkOXDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkOXDEeCxnsoQRwU99Q.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkeXDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkeXDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkeXDEeCxnsoQRwU99Q.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..633a849
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt
@@ -0,0 +1,41 @@
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b><%=genClass.getFormattedName()%></b></em>'.
+ * <!-- end-user-doc -->
+<%if (genClass.hasDocumentation()) {%>
+ *
+ * <!-- begin-model-doc -->
+ * <%=genClass.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ * <!-- end-model-doc -->
+<%}%>
+ *
+<%if (!genClass.getGenFeatures().isEmpty()) {%>
+ * <p>
+ * The following features are supported:
+ * <ul>
+<%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ <%if (!genFeature.isSuppressedGetVisibility()) {%>
+ * <li>{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}</li>
+ <%}%>
+<%}%>
+ * </ul>
+ * </p>
+<%}%>
+ *
+<%if (!genModel.isSuppressEMFMetaData()) {%>
+ * @see <%=genPackage.getQualifiedPackageInterfaceName()%>#get<%=genClass.getClassifierAccessorName()%>()
+<%}%>
+<%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+<%} else {%>
+ * <%=modelInfo%>
+<%}} if (first) {%>
+ * @model
+<%}}%>
+<%if (genClass.needsRootExtendsInterfaceExtendsTag()) {%>
+ * @extends <%=genModel.getImportedName(genModel.getRootExtendsInterface())%>
+<%}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO4-XDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO4-XDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO4-XDEeCxnsoQRwU99Q.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5-XDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5-XDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5-XDEeCxnsoQRwU99Q.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5OXDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5OXDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5OXDEeCxnsoQRwU99Q.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5eXDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5eXDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5eXDEeCxnsoQRwU99Q.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt
new file mode 100644
index 0000000..633a849
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt
@@ -0,0 +1,41 @@
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b><%=genClass.getFormattedName()%></b></em>'.
+ * <!-- end-user-doc -->
+<%if (genClass.hasDocumentation()) {%>
+ *
+ * <!-- begin-model-doc -->
+ * <%=genClass.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ * <!-- end-model-doc -->
+<%}%>
+ *
+<%if (!genClass.getGenFeatures().isEmpty()) {%>
+ * <p>
+ * The following features are supported:
+ * <ul>
+<%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ <%if (!genFeature.isSuppressedGetVisibility()) {%>
+ * <li>{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}</li>
+ <%}%>
+<%}%>
+ * </ul>
+ * </p>
+<%}%>
+ *
+<%if (!genModel.isSuppressEMFMetaData()) {%>
+ * @see <%=genPackage.getQualifiedPackageInterfaceName()%>#get<%=genClass.getClassifierAccessorName()%>()
+<%}%>
+<%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+<%} else {%>
+ * <%=modelInfo%>
+<%}} if (first) {%>
+ * @model
+<%}}%>
+<%if (genClass.needsRootExtendsInterfaceExtendsTag()) {%>
+ * @extends <%=genModel.getImportedName(genModel.getRootExtendsInterface())%>
+<%}%>
+ * @generated
+ */
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM03roEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM03roEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM03roEeC0XN9kbwkPYQ.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM0nroEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM0nroEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM0nroEeC0XN9kbwkPYQ.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1HroEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1HroEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1HroEeC0XN9kbwkPYQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1nroEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1nroEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1nroEeC0XN9kbwkPYQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM4XroEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM4XroEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..8e4ecfb
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM4XroEeC0XN9kbwkPYQ.pt
@@ -0,0 +1,3 @@
+
+
+ super();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da03roEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da03roEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da03roEeC0XN9kbwkPYQ.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da0nroEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da0nroEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da0nroEeC0XN9kbwkPYQ.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1HroEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1HroEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1HroEeC0XN9kbwkPYQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1nroEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1nroEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1nroEeC0XN9kbwkPYQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da4XroEeC0XN9kbwkPYQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da4XroEeC0XN9kbwkPYQ.pt
new file mode 100644
index 0000000..8e4ecfb
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da4XroEeC0XN9kbwkPYQ.pt
@@ -0,0 +1,3 @@
+
+
+ super();
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._06ILSWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._06ILSWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._06ILSWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._8vBvNHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._8vBvNHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..692d9a7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._8vBvNHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genModel.hasPluginSupport());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9uTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9uTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9uTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusDG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusDG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..3e8531f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusDG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getModelProjectDirectory() + "/build.properties";
+overwrite = genModel.isUpdateClasspath() && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(genModel.getModelProjectDirectory()).appendSegment("plugin.xml"));
+encoding = "ISO-8859-1";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..af3bedb
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,34 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+<%String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getModelPluginID()+".jar" : ".";%>
+<%List<String> sourceFolders = genModel.getModelSourceFolders();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+bin.includes = <%=pluginClassesLocation%>,\
+ model/,\
+<%if (genModel.sameModelEditProject() || genModel.sameModelEditorProject()) {%>
+ icons/,\
+<%}%>
+<%if (genModel.isBundleManifest()) {%>
+ META-INF/,\
+<%}%>
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ plugin.xml,\
+<%}%>
+ plugin.properties
+jars.compile.order = <%=pluginClassesLocation%>
+<% boolean first=true; for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) { String sourceFolder = i.next(); if (i.hasNext()){sourceFolder +=",\\";} if (first) {%>
+source.<%=pluginClassesLocation%> = <%=sourceFolder%><%first=false;} else {%><%=sourceFolder%><%}}%>
+output.<%=pluginClassesLocation%> = bin/
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Sq2-OGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Sq2-OGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Sq2-OGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._05rfVmKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._05rfVmKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._05rfVmKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._8qZt5HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._8qZt5HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..8e2b4dc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._8qZt5HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genModel.isBundleManifest()) && (genModel.hasPluginSupport() && !genModel.sameModelEditProject() && !genModel.sameModelEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpojG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpojG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpojG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpozG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpozG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpozG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDppTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDppTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDppTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDppzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDppzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..ae7bb79
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDppzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getModelProjectDirectory() + "/META-INF/MANIFEST.MF";
+overwrite = genModel.isUpdateClasspath();
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..8a06ec6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,49 @@
+
+<%
+/**
+ * Copyright (c) 2005-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: <%=genModel.getModelPluginID()%>;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-ClassPath: <%if (genModel.isRuntimeJar()) {%><%=genModel.getModelPluginID()%>.jar<%}else{%>.<%}%>
+<%if (genModel.hasModelPluginClass()) {%>
+Bundle-Activator: <%=genModel.getQualifiedModelPluginClassName()%>$Implementation<%if (genModel.isOSGiCompatible()) {%>$Activator<%}%>
+<%}%>
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+<%if (genModel.getComplianceLevel() == GenJDKLevel.JDK50_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK60_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK70_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK80_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+<%}%>
+<%Iterator<String> packagesIterator = genModel.getModelQualifiedPackageNames().iterator(); if (packagesIterator.hasNext()) { String pack = packagesIterator.next();%>
+Export-Package: <%=pack%><%while(packagesIterator.hasNext()) { pack = packagesIterator.next();%>,
+ <%=pack%><%}%>
+<%}%>
+<%Iterator<String> requiredPluginIterator = genModel.getModelRequiredPlugins().iterator(); if (requiredPluginIterator.hasNext()) { String pluginID = requiredPluginIterator.next();%>
+Require-Bundle: <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else {%>;visibility:=reexport<%} while(requiredPluginIterator.hasNext()) { pluginID = requiredPluginIterator.next();%>,
+ <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else if (!pluginID.equals("org.eclipse.xtext.xbase.lib") && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {%>;visibility:=reexport<%}}%>
+<%}%>
+<%if (genModel.isOSGiCompatible() && genModel.hasModelPluginClass()) {%>
+Import-Package: org.osgi.framework
+<%}%>
+<%if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {%>
+Eclipse-LazyStart: true
+<%}%>
+Bundle-ActivationPolicy: lazy
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._SrAvOGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._SrAvOGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._SrAvOGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._06R8SWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._06R8SWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._06R8SWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._8mrriXLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._8mrriXLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..2302c81
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._8mrriXLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) && (genModel.hasPluginSupport() && !genModel.sameModelEditProject() && !genModel.sameModelEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaojG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaojG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaojG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaozG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaozG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaozG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLoTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLoTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLoTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLozG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLozG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..65e34ed
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLozG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getModelProjectDirectory() + "/plugin.xml";
+overwrite = true;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLpTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLpTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..9dae5b4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLpTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,111 @@
+
+<%
+/**
+ * Copyright (c) 2002-2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; String key = genModel.getPluginKey(); boolean hasKey = key != null && !key.equals(""); /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+<%if (genModel.isBundleManifest()) {%>
+<plugin>
+<%} else {%>
+<plugin
+ name="%pluginName"
+ id="<%=genModel.getModelPluginID()%>"
+ version="1.0.0"
+ <%if (genModel.hasModelPluginClass()) { %>
+ provider-name="%providerName"
+ class="<%=genModel.getQualifiedModelPluginClassName()%>$Implementation">
+ <%} else {%>
+ provider-name="%providerName">
+ <%}%>
+
+ <requires>
+ <%for (String pluginID : genModel.getModelRequiredPlugins()) {%>
+ <import plugin="<%=pluginID%>"<%if (!pluginID.startsWith("org.eclipse.core.runtime")) {%> export="true"<%}%>/>
+ <%}%>
+ </requires>
+
+ <runtime>
+ <%if (genModel.isRuntimeJar()) {%>
+ <library name="<%=genModel.getModelPluginID()%>.jar">
+ <%} else {%>
+ <library name=".">
+ <%}%>
+ <export name="*"/>
+ </library>
+ </runtime>
+<%}%>
+<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <package
+ uri="<%=genPackage.getNSURI()%>"
+ <%if (genModel.hasLocalGenModel()) {%>
+ class="<%=genPackage.getQualifiedPackageInterfaceName()%>"
+ genModel="<%=genModel.getRelativeGenModelLocation()%>"/>
+ <%} else {%>
+ class="<%=genPackage.getQualifiedPackageInterfaceName()%>"/>
+ <%}%>
+ </extension>
+ <%if (genPackage.isContentType()) {%>
+
+ <extension point="org.eclipse.emf.ecore.content_parser">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <parser
+ contentTypeIdentifier="<%=genPackage.getContentTypeIdentifier()%>"
+ class="<%=genPackage.getQualifiedEffectiveResourceFactoryClassName()%>"/>
+ </extension>
+
+ <extension point="org.eclipse.core.contenttype.contentTypes">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <content-type
+ base-type="<%=genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi" : "org.eclipse.core.runtime.xml"%>"
+ file-extensions="<%=genPackage.getFileExtensions()%>"
+ id="<%=genPackage.getContentTypeIdentifier()%>"
+ name="%_UI_<%=genPackage.getPrefix()%>_content_type"
+ priority="normal">
+ <describer class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
+ <%if (genPackage.hasTargetNamespace()) {%>
+ <parameter name="namespace" value="<%=genPackage.getNSURI()%>"/>
+ <%}%>
+ <%if (genPackage.isXMIResource()) {%>
+ <parameter name="kind" value="xmi"/>
+ <%}%>
+ </describer>
+ </content-type>
+ </extension>
+ <%} else if (genPackage.getResource() != GenResourceKind.NONE_LITERAL) {%>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <%for (String fileExtension : genPackage.getFileExtensionList()) {%>
+ <parser
+ type="<%=fileExtension%>"
+ class="<%=genPackage.getQualifiedResourceFactoryClassName()%>"/>
+ <%}%>
+ </extension>
+ <%}%>
+<%}%>
+
+</plugin>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._SqaSS2KPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._SqaSS2KPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._SqaSS2KPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._06k3OWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._06k3OWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._06k3OWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._8zCshHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._8zCshHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..692d9a7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._8zCshHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genModel.hasPluginSupport());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVlTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVlTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVlTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVlzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVlzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d779e2d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVlzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getModelProjectDirectory() + "/plugin.properties";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVmTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVmTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e2e9351
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVmTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,26 @@
+
+<%
+/**
+ * Copyright (c) 2002-2004 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+pluginName = <%=genModel.getModelName()%> Model
+providerName = www.example.org
+<%boolean first = true; for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.isContentType()) {%>
+ <%if (first) { first = false;%>
+
+ <%}%>
+_UI_<%=genPackage.getPrefix()%>_content_type = <%=genPackage.getPrefix()%> File
+ <%}%>
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._SrTqKGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._SrTqKGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._SrTqKGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._09HN2WKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._09HN2WKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._09HN2WKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._89Lf9HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._89Lf9HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..449324b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._89Lf9HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQhTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQhTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQhTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQhzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQhzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..4466696
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQhzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getReflectionClassPackageName();
+className = genPackage.getPackageClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQiTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQiTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..fd464fe
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQiTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,1228 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%final GenPackage genPackage = (GenPackage)((Object[])argument)[0]; final GenModel genModel=genPackage.getGenModel();%>
+<%boolean isInterface = Boolean.TRUE.equals(((Object[])argument)[1]); boolean isImplementation = Boolean.TRUE.equals(((Object[])argument)[2]);%>
+<%String publicStaticFinalFlag = isImplementation ? "public static final " : "";%>
+<%boolean needsAddEOperation = false;%>
+<%boolean needsAddEParameter = false;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+<%if (isImplementation && !genModel.isSuppressInterfaces()) {%>
+package <%=genPackage.getClassPackageName()%>;
+<%} else {%>
+package <%=genPackage.getReflectionPackageName()%>;
+<%}%>
+
+<%genModel.markImportLocation(stringBuffer, genPackage);%>
+<%if (isImplementation) {%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.EPackage.Registry");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.EPackage.Descriptor");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.EPackageImpl.EBasicWhiteList");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");%>
+ <%if (genPackage.isLiteralsInterface()) {%>
+<%genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + ".Literals");%>
+ <%}%>
+<%for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers()) genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + "." + genPackage.getClassifierID(genClassifier));%>
+<%}%>
+<%if (isInterface) {%>
+
+/**
+ * <!-- 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>
+ <%if (genModel.isOperationReflection()) {%>
+ * <li>each operation of each class,</li>
+ <%}%>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+<%if (genPackage.hasDocumentation()) {%>
+ * <!-- begin-model-doc -->
+ * <%=genPackage.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ * <!-- end-model-doc -->
+<%}%>
+ * @see <%=genPackage.getQualifiedFactoryInterfaceName()%>
+ <%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genPackage.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ * @generated
+ */
+<%} else {%>
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+public class <%=genPackage.getPackageClassName()%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.EPackageImpl")%><%if (!isInterface){%> implements <%=genPackage.getImportedPackageInterfaceName()%><%}%>
+<%} else {%>
+public interface <%=genPackage.getPackageInterfaceName()%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>
+<%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (isInterface) {%>
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> eNAME = "<%=genPackage.getPackageName()%>";<%=genModel.getNonNLS()%>
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> eNS_URI = "<%=genPackage.getNSURI()%>";<%=genModel.getNonNLS()%>
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> eNS_PREFIX = "<%=genPackage.getNSName()%>";<%=genModel.getNonNLS()%>
+ <%if (genPackage.isContentType()) {%>
+
+ /**
+ * The package content type ID.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> eCONTENT_TYPE = "<%=genPackage.getContentTypeIdentifier()%>";<%=genModel.getNonNLS()%>
+ <%}%>
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genPackage.getPackageInterfaceName()%> eINSTANCE = <%=genPackage.getQualifiedPackageClassName()%>.init();
+
+ <%for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers()) {%>
+ /**
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%if (!genClass.isInterface()) {%>
+ * The meta object id for the '{@link <%=genClass.getQualifiedClassName()%> <em><%=genClass.getFormattedName()%></em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genClass.getQualifiedClassName()%>
+ <%} else {%>
+ * The meta object id for the '{@link <%=genClass.getQualifiedInterfaceName()%> <em><%=genClass.getFormattedName()%></em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genClass.getQualifiedInterfaceName()%>
+ <%}%>
+ <%} else if (genClassifier instanceof GenEnum) { GenEnum genEnum = (GenEnum)genClassifier;%>
+ * The meta object id for the '{@link <%=genEnum.getQualifiedName()%> <em><%=genEnum.getFormattedName()%></em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genEnum.getQualifiedName()%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ * The meta object id for the '<em><%=genDataType.getFormattedName()%></em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ <%if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {%>
+ * @see <%=genDataType.getRawInstanceClassName()%>
+ <%}%>
+ <%}%>
+ * @see <%=genPackage.getQualifiedPackageClassName()%>#get<%=genClassifier.getClassifierAccessorName()%>()
+ * @generated
+ */
+ <%=publicStaticFinalFlag%>int <%=genPackage.getClassifierID(genClassifier)%> = <%=genPackage.getClassifierValue(genClassifier)%>;
+
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%for (GenFeature genFeature : genClass.getAllGenFeatures()) {%>
+ /**
+ * The feature id for the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%=publicStaticFinalFlag%>int <%=genClass.getFeatureID(genFeature)%> = <%=genClass.getFeatureValue(genFeature)%>;
+
+ <%}%>
+ /**
+ * The number of structural features of the '<em><%=genClass.getFormattedName()%></em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%=publicStaticFinalFlag%>int <%=genClass.getFeatureCountID()%> = <%=genClass.getFeatureCountValue()%>;
+
+ <%if (genModel.isOperationReflection()) {%>
+ <%for (GenOperation genOperation : genClass.getAllGenOperations(false)) {%>
+ <%if (genClass.getOverrideGenOperation(genOperation) == null) {%>
+ /**
+ * The operation id for the '<em><%=genOperation.getFormattedName()%></em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%=publicStaticFinalFlag%>int <%=genClass.getOperationID(genOperation, false)%> = <%=genClass.getOperationValue(genOperation)%>;
+
+ <%}%>
+ <%}%>
+ /**
+ * The number of operations of the '<em><%=genClass.getFormattedName()%></em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%=publicStaticFinalFlag%>int <%=genClass.getOperationCountID()%> = <%=genClass.getOperationCountValue()%>;
+
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%if (isImplementation) {%>
+ <%if (genPackage.isLoadingInitialization()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected String packageFilename = "<%=genPackage.getSerializedPackageFilename()%>";<%=genModel.getNonNLS()%>
+
+ <%}%>
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private <%=genClassifier.getImportedMetaType()%> <%=genClassifier.getClassifierInstanceName()%> = 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 <%=genPackage.getQualifiedPackageInterfaceName()%>#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private <%=genPackage.getPackageClassName()%>()
+ {
+ super(eNS_URI, <%=genPackage.getQualifiedEFactoryInstanceAccessor()%>);
+ }
+
+ /**
+ * <!-- 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 <%=genPackage.getImportedPackageInterfaceName()%>#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
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ <%}%>
+ * @generated
+ */
+ public static <%=genPackage.getImportedPackageInterfaceName()%> init()
+ {
+ if (isInited) return (<%=genPackage.getImportedPackageInterfaceName()%>)<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI);
+
+ <%if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {%>
+ initializeRegistryHelpers();
+
+ <%}%>
+ // Obtain or create and register package
+ <%=genPackage.getPackageClassName()%> the<%=genPackage.getBasicPackageName()%> = (<%=genPackage.getPackageClassName()%>)(<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.get(eNS_URI) instanceof <%=genPackage.getPackageClassName()%> ? <%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.get(eNS_URI) : new <%=genPackage.getPackageClassName()%>());
+
+ isInited = true;
+
+ <%if (!genPackage.getPackageSimpleDependencies().isEmpty()) {%>
+ // Initialize simple dependencies
+ <%for (GenPackage dep : genPackage.getPackageSimpleDependencies()) {%>
+ <%=dep.getImportedPackageInterfaceName()%>.eINSTANCE.eClass();
+ <%}%>
+
+ <%}%>
+ <%if (!genPackage.getPackageInterDependencies().isEmpty()) {%>
+ // Obtain or create and register interdependencies
+ <%for (GenPackage interdep : genPackage.getPackageInterDependencies()) {%>
+ <%=interdep.getImportedPackageClassName()%> <%=genPackage.getPackageInstanceVariable(interdep)%> = (<%=interdep.getImportedPackageClassName()%>)(<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=interdep.getImportedPackageInterfaceName()%>.eNS_URI) instanceof <%=interdep.getImportedPackageClassName()%> ? <%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=interdep.getImportedPackageInterfaceName()%>.eNS_URI) : <%=interdep.getImportedPackageInterfaceName()%>.eINSTANCE);
+ <%}%>
+
+ <%}%>
+ <%if (genPackage.isLoadedInitialization() || !genPackage.getPackageLoadInterDependencies().isEmpty()) {%>
+ // Load packages
+ <%if (genPackage.isLoadingInitialization()) {%>
+ the<%=genPackage.getBasicPackageName()%>.loadPackage();
+ <%}%>
+ <%for (GenPackage interdep : genPackage.getPackageLoadInterDependencies()) {%>
+ <%if (interdep.isLoadingInitialization()) {%>
+ <%=genPackage.getPackageInstanceVariable(interdep)%>.loadPackage();
+ <%}%>
+ <%}%>
+
+ <%}%>
+ <%if (!genPackage.isLoadedInitialization() || !genPackage.getPackageBuildInterDependencies().isEmpty()) {%>
+ // Create package meta-data objects
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ the<%=genPackage.getBasicPackageName()%>.createPackageContents();
+ <%}%>
+ <%for (GenPackage interdep : genPackage.getPackageBuildInterDependencies()) {%>
+ <%=genPackage.getPackageInstanceVariable(interdep)%>.createPackageContents();
+ <%}%>
+
+ // Initialize created meta-data
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ the<%=genPackage.getBasicPackageName()%>.initializePackageContents();
+ <%}%>
+ <%for (GenPackage interdep : genPackage.getPackageBuildInterDependencies()) {%>
+ <%=genPackage.getPackageInstanceVariable(interdep)%>.initializePackageContents();
+ <%}%>
+
+ <%}%>
+ <%if (genPackage.isLoadedInitialization() || !genPackage.getPackageLoadInterDependencies().isEmpty()) {%>
+ // Fix loaded packages
+ <%if (genPackage.isLoadedInitialization()) {%>
+ the<%=genPackage.getBasicPackageName()%>.fixPackageContents();
+ <%}%>
+ <%for (GenPackage interdep : genPackage.getPackageLoadInterDependencies()) {%>
+ <%=genPackage.getPackageInstanceVariable(interdep)%>.fixPackageContents();
+ <%}%>
+
+ <%}%>
+ <%if (genPackage.hasConstraints()) {%>
+ // Register package validator
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EValidator")%>.Registry.INSTANCE.put
+ (the<%=genPackage.getBasicPackageName()%>,
+ new <%=genModel.getImportedName("org.eclipse.emf.ecore.EValidator")%>.Descriptor()
+ {
+ public <%=genModel.getImportedName("org.eclipse.emf.ecore.EValidator")%> getEValidator()
+ {
+ return <%=genPackage.getImportedValidatorClassName()%>.INSTANCE;
+ }
+ });
+
+ <%}%>
+ <%if (!genPackage.isEcorePackage()) {%>
+ // Mark meta-data to indicate it can't be changed
+ the<%=genPackage.getBasicPackageName()%>.freeze();
+
+ <%}%>
+
+ // Update the registry and return the package
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.put(<%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI, the<%=genPackage.getBasicPackageName()%>);
+ return the<%=genPackage.getBasicPackageName()%>;
+ }
+ <%if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static void initializeRegistryHelpers()
+ {
+ <%Set<String> helpers = new HashSet<String>(); for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%if (!genClass.isDynamic()) { String theClass = genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getRawImportedInterfaceName(); if (helpers.add(theClass)) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.register
+ (<%=theClass%>.class,
+ new <%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.Helper()
+ {
+ public boolean isInstance(Object instance)
+ {
+ return instance instanceof <%=genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getRawImportedInterfaceName() + genClass.getInterfaceWildTypeArguments()%>;
+ }
+
+ public Object newArrayInstance(int size)
+ {
+ return new <%=theClass%>[size];
+ }
+ });
+ <%}}%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ <%if (!genDataType.isPrimitiveType() && !genDataType.isObjectType()) { String theClass = genDataType.getRawImportedInstanceClassName(); if (helpers.add(theClass)) { %>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.register
+ (<%=theClass%>.class,
+ new <%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.Helper()
+ {
+ public boolean isInstance(Object instance)
+ {
+ return instance instanceof <%=theClass%>;
+ }
+
+ public Object newArrayInstance(int size)
+ {
+ <%if (genDataType.isArrayType()) { String componentType = theClass; String indices = ""; while(componentType.endsWith("[]")) { componentType = componentType.substring(0, componentType.length() - 2); indices += "[]";}%>
+ return new <%=componentType%>[size]<%=indices%>;
+ <%} else {%>
+ return new <%=theClass%>[size];
+ <%}%>
+ }
+ });
+ <%}}%>
+ <%}%>
+ <%}%>
+ }
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class WhiteList implements <%=genModel.getImportedName("com.google.gwt.user.client.rpc.IsSerializable")%>, EBasicWhiteList
+ {
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%if (!genClass.isDynamic()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getImportedWildcardInstanceClassName()%> <%=genClass.getSafeUncapName()%>;
+
+ <%}%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ <%if (!genDataType.isObjectType() && genDataType.isSerializable()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genDataType.getImportedWildcardInstanceClassName()%> <%=genDataType.getSafeUncapName()%>;
+
+ <%}%>
+ <%}%>
+ <%}%>
+ }
+ <%}%>
+
+<%}%>
+<%if (isInterface) { // TODO REMOVE THIS BOGUS EMPTY LINE%>
+
+<%}%>
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+<%if (isInterface) {%>
+ /**
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ * Returns the meta object for class '{@link <%=genClass.getQualifiedInterfaceName()%> <em><%=genClass.getFormattedName()%></em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em><%=genClass.getFormattedName()%></em>'.
+ * @see <%=genClass.getQualifiedInterfaceName()%>
+ <%if (!genModel.isSuppressEMFModelTags() && (genClass.isExternalInterface() || genClass.isDynamic())) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ <%} else if (genClassifier instanceof GenEnum) { GenEnum genEnum = (GenEnum)genClassifier;%>
+ * Returns the meta object for enum '{@link <%=genEnum.getQualifiedName()%> <em><%=genEnum.getFormattedName()%></em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em><%=genEnum.getFormattedName()%></em>'.
+ * @see <%=genEnum.getQualifiedName()%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ <%if (genDataType.isPrimitiveType() || genDataType.isArrayType()) {%>
+ * Returns the meta object for data type '<em><%=genDataType.getFormattedName()%></em>'.
+ <%} else {%>
+ * Returns the meta object for data type '{@link <%=genDataType.getRawInstanceClassName()%> <em><%=genDataType.getFormattedName()%></em>}'.
+ <%}%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em><%=genDataType.getFormattedName()%></em>'.
+ <%if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {%>
+ * @see <%=genDataType.getRawInstanceClassName()%>
+ <%}%>
+ <%if (!genModel.isSuppressEMFModelTags()) {boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genDataType.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ <%}%>
+ * @generated
+ */
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+ public <%=genClassifier.getImportedMetaType()%> get<%=genClassifier.getClassifierAccessorName()%>()
+ {
+ <%if (genPackage.isLoadedInitialization()) {%>
+ if (<%=genClassifier.getClassifierInstanceName()%> == null)
+ {
+ <%=genClassifier.getClassifierInstanceName()%> = (<%=genClassifier.getImportedMetaType()%>)<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI).getEClassifiers().get(<%=genPackage.getLocalClassifierIndex(genClassifier)%>);
+ }
+ <%}%>
+ return <%=genClassifier.getClassifierInstanceName()%>;
+ }
+
+<%} else {%>
+ <%=genClassifier.getImportedMetaType()%> get<%=genClassifier.getClassifierAccessorName()%>();
+
+<%}%>
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+<%if (isInterface) {%>
+ /**
+ * Returns the meta object for the <%=genFeature.getFeatureKind()%> '{@link <%=genClass.getQualifiedInterfaceName()%><%if (!genClass.isMapEntry() && !genFeature.isSuppressedGetVisibility()) {%>#<%=genFeature.getGetAccessor()%><%}%> <em><%=genFeature.getFormattedName()%></em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the <%=genFeature.getFeatureKind()%> '<em><%=genFeature.getFormattedName()%></em>'.
+ * @see <%=genClass.getQualifiedInterfaceName()%><%if (!genClass.isMapEntry() && !genFeature.isSuppressedGetVisibility()) {%>#<%=genFeature.getGetAccessor()%>()<%}%>
+ * @see #get<%=genClass.getClassifierAccessorName()%>()
+ * @generated
+ */
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+ public <%=genFeature.getImportedMetaType()%> get<%=genFeature.getFeatureAccessorName()%>()
+ {
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ return (<%=genFeature.getImportedMetaType()%>)<%=genClass.getClassifierInstanceName()%>.getEStructuralFeatures().get(<%=genClass.getLocalFeatureIndex(genFeature)%>);
+ <%} else {%>
+ return (<%=genFeature.getImportedMetaType()%>)get<%=genClassifier.getClassifierAccessorName()%>().getEStructuralFeatures().get(<%=genClass.getLocalFeatureIndex(genFeature)%>);
+ <%}%>
+ }
+<%} else {%>
+ <%=genFeature.getImportedMetaType()%> get<%=genFeature.getFeatureAccessorName()%>();
+<%}%>
+
+ <%}%>
+ <%if (genModel.isOperationReflection()) {%>
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
+<%if (isInterface) {%>
+ /**
+ * Returns the meta object for the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the '<em><%=genOperation.getFormattedName()%></em>' operation.
+ * @see <%=genClass.getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
+ * @generated
+ */
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+ public <%=genOperation.getImportedMetaType()%> get<%=genOperation.getOperationAccessorName()%>()
+ {
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ return <%=genClass.getClassifierInstanceName()%>.getEOperations().get(<%=genClass.getLocalOperationIndex(genOperation)%>);
+ <%} else {%>
+ return get<%=genClassifier.getClassifierAccessorName()%>().getEOperations().get(<%=genClass.getLocalOperationIndex(genOperation)%>);
+ <%}%>
+ }
+<%} else {%>
+ <%=genOperation.getImportedMetaType()%> get<%=genOperation.getOperationAccessorName()%>();
+<%}%>
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+<%if (isInterface) {%>
+ /**
+ * 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
+ */
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+ public <%=genPackage.getImportedFactoryInterfaceName()%> get<%=genPackage.getFactoryName()%>()
+ {
+ return (<%=genPackage.getImportedFactoryInterfaceName()%>)getEFactoryInstance();
+ }
+<%} else {%>
+ <%=genPackage.getFactoryInterfaceName()%> get<%=genPackage.getFactoryName()%>();
+<%}%>
+
+<%if (isImplementation) {%>
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ /**
+ * <!-- 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;
+ <%if (!genPackage.getGenClasses().isEmpty()) {%>
+
+ // Create classes and their features
+ <%for (Iterator<GenClass> c=genPackage.getGenClasses().iterator(); c.hasNext();) { GenClass genClass = c.next();%>
+ <%=genClass.getClassifierInstanceName()%> = create<%=genClass.getMetaType()%>(<%=genClass.getClassifierID()%>);
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ create<%=genFeature.getMetaType()%>(<%=genClass.getClassifierInstanceName()%>, <%=genClass.getFeatureID(genFeature)%>);
+ <%}%>
+ <%if (genModel.isOperationReflection()) {%>
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
+ createEOperation(<%=genClass.getClassifierInstanceName()%>, <%=genClass.getOperationID(genOperation, false)%>);
+ <%}%>
+ <%}%>
+ <%if (c.hasNext()) {%>
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenEnums().isEmpty()) {%>
+
+ // Create enums
+ <%for (GenEnum genEnum : genPackage.getGenEnums()) {%>
+ <%=genEnum.getClassifierInstanceName()%> = createEEnum(<%=genEnum.getClassifierID()%>);
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenDataTypes().isEmpty()) {%>
+
+ // Create data types
+ <%for (GenDataType genDataType : genPackage.getGenDataTypes()) {%>
+ <%=genDataType.getClassifierInstanceName()%> = createEDataType(<%=genDataType.getClassifierID()%>);
+ <%}%>
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+<%
+///////////////////////
+class Information
+{
+ @SuppressWarnings("unused")
+ EGenericType eGenericType;
+ int depth;
+ String type;
+ String accessor;
+}
+
+class InformationIterator
+{
+ Iterator<?> iterator;
+ InformationIterator(EGenericType eGenericType)
+ {
+ iterator = EcoreUtil.getAllContents(Collections.singleton(eGenericType));
+ }
+
+ boolean hasNext()
+ {
+ return iterator.hasNext();
+ }
+
+ Information next()
+ {
+ Information information = new Information();
+ EGenericType eGenericType = information.eGenericType = (EGenericType)iterator.next();
+ for (EObject container = eGenericType.eContainer(); container instanceof EGenericType; container = container.eContainer())
+ {
+ ++information.depth;
+ }
+ if (eGenericType.getEClassifier() != null )
+ {
+ GenClassifier genClassifier = genModel.findGenClassifier(eGenericType.getEClassifier());
+ information.type = genPackage.getPackageInstanceVariable(genClassifier.getGenPackage()) + ".get" + genClassifier.getClassifierAccessorName() + "()";
+ }
+ else if (eGenericType.getETypeParameter() != null)
+ {
+ ETypeParameter eTypeParameter = eGenericType.getETypeParameter();
+ if (eTypeParameter.eContainer() instanceof EClass)
+ {
+ information.type = genModel.findGenClassifier((EClass)eTypeParameter.eContainer()).getClassifierInstanceName() + "_" + eGenericType.getETypeParameter().getName();
+ }
+ else
+ {
+ information.type = "t" + (((EOperation)eTypeParameter.eContainer()).getETypeParameters().indexOf(eTypeParameter) + 1);
+ }
+ }
+ else
+ {
+ information.type ="";
+ }
+ if (information.depth > 0)
+ {
+ if (eGenericType.eContainmentFeature().isMany())
+ {
+ information.accessor = "getE" + eGenericType.eContainmentFeature().getName().substring(1) + "().add";
+ }
+ else
+ {
+ information.accessor = "setE" + eGenericType.eContainmentFeature().getName().substring(1);
+ }
+ }
+ return information;
+ }
+}
+///////////////////////
+int maxGenericTypeAssignment = 0;
+%>
+ /**
+ * 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);
+ <%if (!genPackage.getPackageInitializationDependencies().isEmpty()) {%>
+
+ // Obtain other dependent packages
+ <%for (GenPackage dep : genPackage.getPackageInitializationDependencies()) {%>
+ <%=dep.getImportedPackageInterfaceName()%> <%=genPackage.getPackageInstanceVariable(dep)%> = (<%=dep.getImportedPackageInterfaceName()%>)<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=dep.getImportedPackageInterfaceName()%>.eNS_URI);
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getSubGenPackages().isEmpty()) {%>
+
+ // Add subpackages
+ <%for (GenPackage sub : genPackage.getSubGenPackages()) {%>
+ getESubpackages().add(<%=genPackage.getPackageInstanceVariable(sub)%>);
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenClasses().isEmpty()) { boolean firstOperationAssignment = true; int maxTypeParameterAssignment = 0;%>
+ <%if (genModel.useGenerics()) {%>
+
+ // Create type parameters
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {%>
+ <%if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter")%> <%=genClassifier.getClassifierInstanceName()%>_<%=genTypeParameter.getName()%> = addETypeParameter(<%=genClassifier.getClassifierInstanceName()%>, "<%=genTypeParameter.getName()%>");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ addETypeParameter(<%=genClassifier.getClassifierInstanceName()%>, "<%=genTypeParameter.getName()%>");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useGenerics()) {%>
+
+ // Set bounds for type parameters
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {%>
+ <%for (EGenericType bound : genTypeParameter.getEcoreTypeParameter().getEBounds()) {%>
+ <%for (InformationIterator i=new InformationIterator(bound); i.hasNext(); ) { Information info = i.next(); String prefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=prefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%=genClassifier.getClassifierInstanceName()%>_<%=genTypeParameter.getName()%>.getEBounds().add(g1);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+
+ // Add supertypes to classes
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (!genClass.hasGenericSuperTypes()) {%>
+ <%for (GenClass baseGenClass : genClass.getBaseGenClasses()) {%>
+ <%=genClass.getClassifierInstanceName()%>.getESuperTypes().add(<%=genPackage.getPackageInstanceVariable(baseGenClass.getGenPackage())%>.get<%=baseGenClass.getClassifierAccessorName()%>());
+ <%}%>
+ <%} else {%>
+ <%for (EGenericType superType : genClass.getEcoreClass().getEGenericSuperTypes()) {%>
+ <%for (InformationIterator i=new InformationIterator(superType); i.hasNext(); ) { Information info = i.next(); String prefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=prefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%=genClass.getClassifierInstanceName()%>.getEGenericSuperTypes().add(g1);
+ <%}%>
+ <%}%>
+ <%}%>
+
+ // Initialize classes<%if (genModel.isOperationReflection()) {%>, features, and operations; add parameters<%} else {%> and features; add operations and parameters<%}%>
+ <%for (Iterator<GenClass> c=genPackage.getGenClasses().iterator(); c.hasNext();) { GenClass genClass = c.next(); boolean hasInstanceTypeName = genModel.useGenerics() && genClass.getEcoreClass().getInstanceTypeName() != null && genClass.getEcoreClass().getInstanceTypeName().contains("<");%>
+ initEClass(<%=genClass.getClassifierInstanceName()%>, <%if (genClass.isDynamic()) {%>null<%} else {%><%=genClass.getRawImportedInterfaceName()%>.class<%}%>, "<%=genClass.getName()%>", <%=genClass.getAbstractFlag()%>, <%=genClass.getInterfaceFlag()%>, <%=genClass.getGeneratedInstanceClassFlag()%><%if (hasInstanceTypeName) {%>, "<%=genClass.getEcoreClass().getInstanceTypeName()%>"<%}%>);<%=genModel.getNonNLS()%><%if (hasInstanceTypeName) {%><%=genModel.getNonNLS(2)%><%}%>
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ <%if (genFeature.hasGenericType()) {%>
+ <%for (InformationIterator i=new InformationIterator(genFeature.getEcoreFeature().getEGenericType()); i.hasNext(); ) { Information info = i.next(); String prefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=prefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (genFeature.isReferenceType()) { GenFeature reverseGenFeature = genFeature.getReverse();%>
+ <%String reverse = reverseGenFeature == null ? "null" : genPackage.getPackageInstanceVariable(reverseGenFeature.getGenPackage()) + ".get" + reverseGenFeature.getFeatureAccessorName() + "()";%>
+ initEReference(get<%=genFeature.getFeatureAccessorName()%>(), <%if (genFeature.hasGenericType()) {%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage())%>.get<%=genFeature.getTypeClassifierAccessorName()%>()<%}%>, <%=reverse%>, "<%=genFeature.getName()%>", <%=genFeature.getDefaultValue()%>, <%=genFeature.getLowerBound()%>, <%=genFeature.getUpperBound()%>, <%=genFeature.getContainerClass()%>, <%=genFeature.getTransientFlag()%>, <%=genFeature.getVolatileFlag()%>, <%=genFeature.getChangeableFlag()%>, <%=genFeature.getContainmentFlag()%>, <%=genFeature.getResolveProxiesFlag()%>, <%=genFeature.getUnsettableFlag()%>, <%=genFeature.getUniqueFlag()%>, <%=genFeature.getDerivedFlag()%>, <%=genFeature.getOrderedFlag()%>);<%=genModel.getNonNLS()%><%=genModel.getNonNLS(genFeature.getDefaultValue(), 2)%>
+ <%for (GenFeature keyFeature : genFeature.getKeys()) {%>
+ get<%=genFeature.getFeatureAccessorName()%>().getEKeys().add(<%=genPackage.getPackageInstanceVariable(keyFeature.getGenPackage())%>.get<%=keyFeature.getFeatureAccessorName()%>());
+ <%}%>
+ <%} else {%>
+ initEAttribute(get<%=genFeature.getFeatureAccessorName()%>(), <%if (genFeature.hasGenericType()) {%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage())%>.get<%=genFeature.getTypeClassifierAccessorName()%>()<%}%>, "<%=genFeature.getName()%>", <%=genFeature.getDefaultValue()%>, <%=genFeature.getLowerBound()%>, <%=genFeature.getUpperBound()%>, <%=genFeature.getContainerClass()%>, <%=genFeature.getTransientFlag()%>, <%=genFeature.getVolatileFlag()%>, <%=genFeature.getChangeableFlag()%>, <%=genFeature.getUnsettableFlag()%>, <%=genFeature.getIDFlag()%>, <%=genFeature.getUniqueFlag()%>, <%=genFeature.getDerivedFlag()%>, <%=genFeature.getOrderedFlag()%>);<%=genModel.getNonNLS()%><%=genModel.getNonNLS(genFeature.getDefaultValue(), 2)%>
+ <%}%>
+ <%}%>
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {String prefix = ""; if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty() || !genOperation.getGenExceptions().isEmpty() || !genOperation.getGenTypeParameters().isEmpty()) { if (firstOperationAssignment) { firstOperationAssignment = false; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EOperation") + " op = "; } else { prefix = "op = "; }} %>
+
+ <%if (genModel.useGenerics()) {%>
+ <%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%if (genOperation.isVoid() || genOperation.hasGenericType()) {%>null<%} else {%><%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>()<%}%>, "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>, <%=genOperation.getUniqueFlag()%>, <%=genOperation.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
+ <%} else if (!genOperation.isVoid()) {%>
+ <%if (!genOperation.getEcoreOperation().isOrdered() || !genOperation.getEcoreOperation().isUnique()) { needsAddEOperation = true;%>
+ <%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>(), "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>, <%=genOperation.getUniqueFlag()%>, <%=genOperation.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
+ <%} else {%>
+ <%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>(), "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>);<%=genModel.getNonNLS()%>
+ <%}%>
+ <%} else {%>
+ <%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, null, "<%=genOperation.getName()%>");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%if (genModel.useGenerics()) {%>
+ <%for (ListIterator<GenTypeParameter> t=genOperation.getGenTypeParameters().listIterator(); t.hasNext(); ) { GenTypeParameter genTypeParameter = t.next(); String typeParameterVariable = ""; if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) { if (maxTypeParameterAssignment <= t.previousIndex()) { ++maxTypeParameterAssignment; typeParameterVariable = genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter") + " t" + t.nextIndex() + " = "; } else { typeParameterVariable = "t" + t.nextIndex() + " = "; }} %>
+ <%=typeParameterVariable%>addETypeParameter(op, "<%=genTypeParameter.getName()%>");<%=genModel.getNonNLS()%>
+ <%for (EGenericType typeParameter : genTypeParameter.getEcoreTypeParameter().getEBounds()) {%>
+ <%for (InformationIterator i=new InformationIterator(typeParameter); i.hasNext(); ) { Information info = i.next(); String typePrefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=typePrefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ t<%=t.nextIndex()%>.getEBounds().add(g1);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%for (GenParameter genParameter : genOperation.getGenParameters()) {%>
+ <%if (genParameter.hasGenericType()) {%>
+ <%for (InformationIterator i=new InformationIterator(genParameter.getEcoreParameter().getEGenericType()); i.hasNext(); ) { Information info = i.next(); String typePrefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=typePrefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useGenerics()) {%>
+ addEParameter(op, <%if (genParameter.hasGenericType()){%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage())%>.get<%=genParameter.getTypeClassifierAccessorName()%>()<%}%>, "<%=genParameter.getName()%>", <%=genParameter.getLowerBound()%>, <%=genParameter.getUpperBound()%>, <%=genParameter.getUniqueFlag()%>, <%=genParameter.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
+ <%} else if (!genParameter.getEcoreParameter().isOrdered() || !genParameter.getEcoreParameter().isUnique()) { needsAddEParameter = true;%>
+ addEParameter(op, <%if (genParameter.hasGenericType()){%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage())%>.get<%=genParameter.getTypeClassifierAccessorName()%>()<%}%>, "<%=genParameter.getName()%>", <%=genParameter.getLowerBound()%>, <%=genParameter.getUpperBound()%>, <%=genParameter.getUniqueFlag()%>, <%=genParameter.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
+ <%} else {%>
+ addEParameter(op, <%if (genParameter.hasGenericType()){%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage())%>.get<%=genParameter.getTypeClassifierAccessorName()%>()<%}%>, "<%=genParameter.getName()%>", <%=genParameter.getLowerBound()%>, <%=genParameter.getUpperBound()%>);<%=genModel.getNonNLS()%>
+ <%}%>
+ <%}%>
+ <%if (genOperation.hasGenericExceptions()) {%>
+ <%for (EGenericType genericExceptions : genOperation.getEcoreOperation().getEGenericExceptions()) {%>
+ <%for (InformationIterator i=new InformationIterator(genericExceptions); i.hasNext(); ) { Information info = i.next(); String typePrefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=typePrefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ addEException(op, g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%} else {%>
+ <%for (GenClassifier genException : genOperation.getGenExceptions()) {%>
+ addEException(op, <%=genPackage.getPackageInstanceVariable(genException.getGenPackage())%>.get<%=genException.getClassifierAccessorName()%>());
+ <%}%>
+ <%}%>
+ <%if (!genOperation.isVoid() && genOperation.hasGenericType()) {%>
+ <%for (InformationIterator i=new InformationIterator(genOperation.getEcoreOperation().getEGenericType()); i.hasNext(); ) { Information info = i.next(); String typePrefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=typePrefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ initEOperation(op, g1);
+ <%}%>
+ <%}%>
+ <%if (c.hasNext()) {%>
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenEnums().isEmpty()) {%>
+
+ // Initialize enums and add enum literals
+ <%for (Iterator<GenEnum> e=genPackage.getGenEnums().iterator(); e.hasNext();) { GenEnum genEnum = e.next();%>
+ initEEnum(<%=genEnum.getClassifierInstanceName()%>, <%=genEnum.getImportedName()%>.class, "<%=genEnum.getName()%>");<%=genModel.getNonNLS()%>
+ <%for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%>
+ addEEnumLiteral(<%=genEnum.getClassifierInstanceName()%>, <%=genEnum.getImportedName().equals(genEnum.getClassifierID()) ? genEnum.getQualifiedName() : genEnum.getImportedName()%>.<%=genEnumLiteral.getEnumLiteralInstanceConstantName()%>);
+ <%}%>
+ <%if (e.hasNext()) {%>
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenDataTypes().isEmpty()) {%>
+
+ // Initialize data types
+ <%for (GenDataType genDataType : genPackage.getGenDataTypes()) {boolean hasInstanceTypeName = genModel.useGenerics() && genDataType.getEcoreDataType().getInstanceTypeName() != null && genDataType.getEcoreDataType().getInstanceTypeName().contains("<");%>
+ initEDataType(<%=genDataType.getClassifierInstanceName()%>, <%=genDataType.getRawImportedInstanceClassName()%>.class, "<%=genDataType.getName()%>", <%=genDataType.getSerializableFlag()%>, <%=genDataType.getGeneratedInstanceClassFlag()%><%if (hasInstanceTypeName) {%>, "<%=genDataType.getEcoreDataType().getInstanceTypeName()%>"<%}%>);<%=genModel.getNonNLS()%><%if (hasInstanceTypeName) {%><%=genModel.getNonNLS(2)%><%}%>
+ <%}%>
+ <%}%>
+ <%if (genPackage.getSuperGenPackage() == null) {%>
+
+ // Create resource
+ createResource(<%=genPackage.getSchemaLocation()%>);
+ <%}%>
+ <%if (!genPackage.isEcorePackage() && !genPackage.getAnnotationSources().isEmpty()) {%>
+
+ // Create annotations
+ <%for (String annotationSource : genPackage.getAnnotationSources()) {%>
+ // <%=annotationSource%>
+ create<%=genPackage.getAnnotationSourceIdentifier(annotationSource)%>Annotations();
+ <%}%>
+ <%}%>
+ }
+
+ <%for (String annotationSource : genPackage.getAnnotationSources()) {%>
+ /**
+ * Initializes the annotations for <b><%=annotationSource%></b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void create<%=genPackage.getAnnotationSourceIdentifier(annotationSource)%>Annotations()
+ {
+ String source = <%if (annotationSource == null) {%>null;<%} else {%>"<%=annotationSource%>";<%=genModel.getNonNLS()%><%}%>
+ <%for (EAnnotation eAnnotation : genPackage.getAllAnnotations()) { List<GenPackage.AnnotationReferenceData> annotationReferenceDataList = genPackage.getReferenceData(eAnnotation);%>
+ <%if (annotationSource == null ? eAnnotation.getSource() == null : annotationSource.equals(eAnnotation.getSource())) {%>
+ addAnnotation
+ (<%=genPackage.getAnnotatedModelElementAccessor(eAnnotation)%>,
+ source,
+ new String[]
+ {
+ <%for (Iterator<Map.Entry<String, String>> k = eAnnotation.getDetails().iterator(); k.hasNext();) { Map.Entry<String, String> detail = k.next(); String key = Literals.toStringLiteral(detail.getKey(), genModel); String value = Literals.toStringLiteral(detail.getValue(), genModel);%>
+ <%=key%>, <%=value%><%=k.hasNext() ? "," : ""%><%=genModel.getNonNLS(key + value)%>
+ <%}%>
+ }<%if (annotationReferenceDataList.isEmpty()) {%>);<%} else {%>,<%}%>
+ <%if (!annotationReferenceDataList.isEmpty()) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>[]
+ {
+ <%for (Iterator<GenPackage.AnnotationReferenceData> k = annotationReferenceDataList.iterator(); k.hasNext();) { GenPackage.AnnotationReferenceData annotationReferenceData = k.next();%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>.createURI(<%if (annotationReferenceData.containingGenPackage != genPackage) {%><%=annotationReferenceData.containingGenPackage.getImportedPackageInterfaceName()%>.<%}%>eNS_URI).appendFragment("<%=annotationReferenceData.uriFragment%>")<%if (k.hasNext()) {%>,<%}%><%=genModel.getNonNLS()%>
+ <%}%>
+ });
+ <%}%>
+ <%for (EAnnotation nestedEAnnotation : genPackage.getAllNestedAnnotations(eAnnotation)) {String nestedAnnotationSource = nestedEAnnotation.getSource(); int depth = 0; boolean nonContentAnnotation = false; StringBuilder path = new StringBuilder(); for (EObject eContainer = nestedEAnnotation.eContainer(), child = nestedEAnnotation; child != eAnnotation; child = eContainer, eContainer = eContainer.eContainer()) { boolean nonContentChild = child.eContainmentFeature() != EcorePackage.Literals.EANNOTATION__CONTENTS; if (path.length() != 0) { path.insert(0, ", "); } path.insert(0, nonContentChild); if (nonContentChild) { nonContentAnnotation = true; } ++depth; } List<GenPackage.AnnotationReferenceData> nestedAnnotationReferenceDataList = genPackage.getReferenceData(nestedEAnnotation);%>
+ addAnnotation
+ (<%=genPackage.getAnnotatedModelElementAccessor(eAnnotation)%>,
+ <%if (nonContentAnnotation && genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF210_VALUE) {%>new boolean[] { <%=path.toString()%> }<%} else {%><%=depth%><%}%>,
+ <%if (nestedAnnotationSource == null) {%>null,<%} else {%>"<%=nestedAnnotationSource%>",<%=genModel.getNonNLS()%><%}%>
+ new String[]
+ {
+ <%for (Iterator<Map.Entry<String, String>> l = nestedEAnnotation.getDetails().iterator(); l.hasNext();) { Map.Entry<String, String> detail = l.next(); String key = Literals.toStringLiteral(detail.getKey(), genModel); String value = Literals.toStringLiteral(detail.getValue(), genModel);%>
+ <%=key%>, <%=value%><%=l.hasNext() ? "," : ""%><%=genModel.getNonNLS(key + value)%>
+ <%}%>
+ }<%if (nestedAnnotationReferenceDataList.isEmpty()) {%>);<%} else {%>,<%}%>
+ <%if (!nestedAnnotationReferenceDataList.isEmpty()) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>[]
+ {
+ <%for (Iterator<GenPackage.AnnotationReferenceData> l = nestedAnnotationReferenceDataList.iterator(); l.hasNext();) { GenPackage.AnnotationReferenceData annotationReferenceData = l.next();%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>.createURI(<%if (annotationReferenceData.containingGenPackage != genPackage) {%><%=annotationReferenceData.containingGenPackage.getImportedPackageInterfaceName()%>.<%}%>eNS_URI).appendFragment("<%=annotationReferenceData.uriFragment%>")<%if (l.hasNext()) {%>,<%}%><%=genModel.getNonNLS()%>
+ <%}%>
+ });
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ }
+
+ <%}%>
+ <%} else {%>
+ <%if (genPackage.isLoadingInitialization()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isLoaded = false;
+
+ /**
+ * Laods the package and any sub-packages from their serialized form.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void loadPackage()
+ {
+ if (isLoaded) return;
+ isLoaded = true;
+
+ <%=genModel.getImportedName("java.net.URL")%> url = getClass().getResource(packageFilename);
+ if (url == null)
+ {
+ throw new RuntimeException("Missing serialized package: " + packageFilename);<%=genModel.getNonNLS()%>
+ }
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%> uri = <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>.createURI(url.toString());
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")%> resource = new <%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl")%>().createResource(uri);
+ try
+ {
+ resource.load(null);
+ }
+ catch (<%=genModel.getImportedName("java.io.IOException")%> exception)
+ {
+ throw new <%=genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")%>(exception);
+ }
+ initializeFromLoadedEPackage(this, (<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>)resource.getContents().get(0));
+ createResource(eNS_URI);
+ }
+
+ <%}%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isFixed = false;
+
+ /**
+ * Fixes up the loaded package, to make it appear as if it had been programmatically built.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void fixPackageContents()
+ {
+ if (isFixed) return;
+ isFixed = true;
+ fixEClassifiers();
+ }
+
+ /**
+ * Sets the instance class on the given classifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected void fixInstanceClass(<%=genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")%> eClassifier)
+ {
+ if (eClassifier.getInstanceClassName() == null)
+ {
+ <%ArrayList<GenClass> dynamicGenClasses = new ArrayList<GenClass>(); for (GenClass genClass : genPackage.getGenClasses()) { if (genClass.isDynamic()) { dynamicGenClasses.add(genClass); } }%>
+ <%if (dynamicGenClasses.isEmpty()) {%>
+ eClassifier.setInstanceClassName("<%=genPackage.getInterfacePackageName()%>." + eClassifier.getName());<%=genModel.getNonNLS()%>
+ setGeneratedClassName(eClassifier);
+ <%} else {%>
+ switch (eClassifier.getClassifierID())
+ {
+ <%for (GenClass genClass : dynamicGenClasses) {%>
+ <%if (genClass.isDynamic()) {%>
+ case <%=genPackage.getClassifierID(genClass)%>:
+ <%}%>
+ <%}%>
+ {
+ break;
+ }
+ default:
+ {
+ eClassifier.setInstanceClassName("<%=genPackage.getInterfacePackageName()%>." + eClassifier.getName());<%=genModel.getNonNLS()%>
+ setGeneratedClassName(eClassifier);
+ break;
+ }
+ }
+ <%}%>
+ }
+ }
+
+ <%}%>
+ <%if (needsAddEOperation) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%> addEOperation(<%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%> owner, <%=genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")%> type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%> o = addEOperation(owner, type, name, lowerBound, upperBound);
+ o.setUnique(isUnique);
+ o.setOrdered(isOrdered);
+ return o;
+ }
+
+ <%}%>
+ <%if (needsAddEParameter) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EParameter")%> addEParameter(<%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%> owner, <%=genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")%> type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EParameter")%> p = ecoreFactory.createEParameter();
+ p.setEType(type);
+ p.setName(name);
+ p.setLowerBound(lowerBound);
+ p.setUpperBound(upperBound);
+ p.setUnique(isUnique);
+ p.setOrdered(isOrdered);
+ owner.getEParameters().add(p);
+ return p;
+ }
+
+ <%}%>
+<%}%>
+<%if (isInterface && genPackage.isLiteralsInterface()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ <%if (genModel.isOperationReflection()) {%>
+ * <li>each operation of each class,</li>
+ <%}%>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (isImplementation) {%>public <%}%>interface Literals
+ {
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ /**
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%if (!genClass.isInterface()) {%>
+ * The meta object literal for the '{@link <%=genClass.getQualifiedClassName()%> <em><%=genClass.getFormattedName()%></em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genClass.getQualifiedClassName()%>
+ <%} else {%>
+ * The meta object literal for the '{@link <%=genClass.getQualifiedInterfaceName()%> <em><%=genClass.getFormattedName()%></em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genClass.getQualifiedInterfaceName()%>
+ <%}%>
+ <%} else if (genClassifier instanceof GenEnum) { GenEnum genEnum = (GenEnum)genClassifier;%>
+ * The meta object literal for the '{@link <%=genEnum.getQualifiedName()%> <em><%=genEnum.getFormattedName()%></em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genEnum.getQualifiedName()%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ * The meta object literal for the '<em><%=genDataType.getFormattedName()%></em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ <%if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {%>
+ * @see <%=genDataType.getRawInstanceClassName()%>
+ <%}%>
+ <%}%>
+ * @see <%=genPackage.getQualifiedPackageClassName()%>#get<%=genClassifier.getClassifierAccessorName()%>()
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genClassifier.getImportedMetaType()%> <%=genPackage.getClassifierID(genClassifier)%> = eINSTANCE.get<%=genClassifier.getClassifierAccessorName()%>();
+
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ /**
+ * The meta object literal for the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%> feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genFeature.getImportedMetaType()%> <%=genClass.getFeatureID(genFeature)%> = eINSTANCE.get<%=genFeature.getFeatureAccessorName()%>();
+
+ <%}%>
+ <%if (genModel.isOperationReflection()) {%>
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
+ /**
+ * The meta object literal for the '<em><b><%=genOperation.getFormattedName()%></b></em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genOperation.getImportedMetaType()%> <%=genClass.getOperationID(genOperation, false)%> = eINSTANCE.get<%=genOperation.getOperationAccessorName()%>();
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ }
+
+<%}%>
+} //<%=isInterface ? genPackage.getPackageInterfaceName() : genPackage.getPackageClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._StPj2GKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._StPj2GKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..77ee084
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._StPj2GKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = ((Object[]) new Object[]{new Object[]{genPackage,genPackage.getGenModel().isSuppressEMFMetaData() || genPackage.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE,Boolean.TRUE}})[0];
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._0767AmKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._0767AmKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._0767AmKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._9hr7NHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._9hr7NHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..51fe0f0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._9hr7NHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.getResource().getValue() == GenResourceKind.XML);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8cjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8cjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8cjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8czG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8czG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8czG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8dTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8dTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8dTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8dzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8dzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..12cd9d3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8dzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getUtilitiesPackageName();
+className = genPackage.getXMLProcessorClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8eTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8eTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..262bf34
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8eTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,77 @@
+
+<%
+/**
+ * Copyright (c) 2005-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getUtilitiesPackageName()%>;
+
+<%genModel.getImportedName("java.util.Map");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genPackage.getXMLProcessorClassName()%> extends <%=genPackage.getImportedXMLProcessorBaseClassName()%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getXMLProcessorClassName()%>()
+ {
+<%if (genPackage.hasExtendedMetaData() && !genPackage.hasTargetNamespace()) {%>
+ super(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.EPackageRegistryImpl")%>(<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE));
+ extendedMetaData.putPackage(null, <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE);
+<%} else {%>
+ super((<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE));
+ <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE.eClass();
+<%}%>
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the <%=genPackage.getResourceFactoryClassName()%> factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected Map<%if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {%><<%=genModel.getImportedName("java.lang.String")%>, <%=genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")%>.Factory><%}%> getRegistrations()
+ {
+ if (registrations == null)
+ {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new <%=genPackage.getResourceFactoryClassName()%>());
+ registrations.put(STAR_EXTENSION, new <%=genPackage.getResourceFactoryClassName()%>());
+ }
+ return registrations;
+ }
+
+} //<%=genPackage.getXMLProcessorClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._SspG4mKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._SspG4mKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._SspG4mKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._08EE9mKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._08EE9mKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._08EE9mKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._9DSvBHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._9DSvBHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..54897c3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._9DSvBHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenClass genClass = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (!genClass.isInterface());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jVTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jVTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jVTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jVzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jVzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d2471ca
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jVzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenClass genClass = parameter;
+targetPath = genClass.getGenModel().getModelDirectory();
+packageName = genClass.getGenPackage().getClassPackageName();
+className = genClass.getClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..2c06f2c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,897 @@
+
+<%
+/**
+ * Copyright (c) 2002-2011 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%final GenClass genClass = (GenClass)((Object[])argument)[0]; final GenPackage genPackage = genClass.getGenPackage(); final GenModel genModel=genPackage.getGenModel();%>
+<%final boolean isJDK50 = genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50;%>
+<%final boolean isInterface = Boolean.TRUE.equals(((Object[])argument)[1]); final boolean isImplementation = Boolean.TRUE.equals(((Object[])argument)[2]);%>
+<%final boolean isGWT = genModel.getRuntimePlatform() == GenRuntimePlatform.GWT;%>
+<%final String publicStaticFinalFlag = isImplementation ? "public static final " : "";%>
+<%final String singleWildcard = isJDK50 ? "<?>" : "";%>
+<%final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - " + genClass.getOffsetCorrectionField(null) : "";%>
+<%final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(null) : "";%>
+<%final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION" : "";%>
+<%final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION" : "";%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+<%if (isInterface) {%>
+package <%=genPackage.getInterfacePackageName()%>;
+<%} else {%>
+package <%=genPackage.getClassPackageName()%>;
+<%}%>
+
+<%genModel.markImportLocation(stringBuffer, genPackage);%>
+<%if (isImplementation) { genClass.addClassPsuedoImports(); }%>
+
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.interface.javadoc.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/interface.javadoc.override.javajetinc%>
+<%} else {%>
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b><%=genClass.getFormattedName()%></b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+<%if (!genClass.getImplementedGenFeatures().isEmpty()) {%>
+ * The following features are implemented:
+ * <ul>
+<%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {%>
+ * <li>{@link <%=genClass.getQualifiedClassName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}</li>
+<%}%>
+ * </ul>
+<%}%>
+ * </p>
+ *
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+public<%if (genClass.isAbstract()) {%> abstract<%}%> class <%=genClass.getClassName()%><%=genClass.getTypeParameters().trim()%><%=genClass.getClassExtends()%><%=genClass.getClassImplements()%>
+<%} else {%>
+public interface <%=genClass.getInterfaceName()%><%=genClass.getTypeParameters().trim()%><%=genClass.getInterfaceExtends()%>
+<%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (isImplementation && genModel.getDriverNumber() != null) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> mofDriverNumber = "<%=genModel.getDriverNumber()%>";<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (isImplementation && genClass.isJavaIOSerializable()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final long serialVersionUID = 1L;
+
+<%}%>
+<%if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField();%>
+ <%if (eVirtualValuesField != null) {%>
+ /**
+ * An array of objects representing the values of non-primitive features.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected Object[] <%=eVirtualValuesField%>;
+
+ <%}%>
+ <%{ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());%>
+ <%if (!eVirtualIndexBitFields.isEmpty()) {%>
+ <%for (String eVirtualIndexBitField : eVirtualIndexBitFields) {%>
+ /**
+ * A bit field representing the indices of non-primitive feature values.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int <%=eVirtualIndexBitField%>;
+
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled() && genModel.getBooleanFlagsReservedBits() == -1) {%>
+ /**
+ * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int <%=genModel.getBooleanFlagsField()%> = 0;
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation()) {%>
+ <%for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {%>
+ <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String rawListItemType = genFeature.getRawListItemType(genClass); int index = rawListItemType.indexOf('['); String head = rawListItemType; String tail = ""; if (index != -1) { head = rawListItemType.substring(0, index); tail = rawListItemType.substring(index); } %>
+ /**
+ * The empty value for the '{@link #<%=genFeature.getGetArrayAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' array accessor.
+ * This is specialized for the more specific element type known in this context.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetArrayAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (genFeature.getQualifiedListItemType(genClass).contains("<") || genFeature.getArrayItemType(genClass).contains("<")) {%>
+ @SuppressWarnings("rawtypes")
+ <%}%>
+ protected static final <%=rawListItemType%>[] <%=genFeature.getUpperName()%>_EEMPTY_ARRAY = new <%=head%> [0]<%=tail%>;
+
+ <%}%>
+ <%}%>
+ <%for (GenFeature genFeature : genClass.getDeclaredFieldGenFeatures()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/declaredFieldGenFeature.override.javajetinc%>
+ <%}%>
+<%}%>
+<%if (isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenFeatures().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int <%=genClass.getOffsetCorrectionField(null)%> = <%=genClass.getQualifiedClassifierAccessor()%>.getFeatureID(<%=genClass.getImplementedGenFeatures().get(0).getQualifiedFeatureAccessor()%>) - <%=genClass.getQualifiedFeatureID(genClass.getImplementedGenFeatures().get(0))%>;
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation()) {%>
+ <%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) { GenFeature reverseFeature = genFeature.getReverse();%>
+ <%if (reverseFeature != null && reverseFeature.getGenClass().hasOffsetCorrection()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int <%=genClass.getOffsetCorrectionField(genFeature)%> = <%=reverseFeature.getGenClass().getQualifiedClassifierAccessor()%>.getFeatureID(<%=reverseFeature.getQualifiedFeatureAccessor()%>) - <%=reverseFeature.getGenClass().getQualifiedFeatureID(reverseFeature)%>;
+
+ <%}%>
+ <%}%>
+<%}%>
+<%if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenOperations().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int "EOPERATION_OFFSET_CORRECTION" = <%=genClass.getQualifiedClassifierAccessor()%>.getOperationID(<%=genClass.getImplementedGenOperations().get(0).getQualifiedOperationAccessor()%>) - <%=genClass.getQualifiedOperationID(genClass.getImplementedGenOperations().get(0))%>;
+
+<%}%>
+<%if (isImplementation) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.isPublicConstructors()) {%>public<%} else {%>protected<%}%> <%=genClass.getClassName()%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.egfCustom.constructor.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%for (GenFeature genFeature : genClass.getFlagGenFeaturesWithDefault()) {%>
+ <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG<%if (!genFeature.isBooleanType()) {%>_DEFAULT<%}%>;
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%> eStaticClass()
+ {
+ return <%=genClass.getQualifiedClassifierAccessor()%>;
+ }
+
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.reflectiveDelegation.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/reflectiveDelegation.override.javajetinc%>
+<%if (isImplementation) {%>
+<%new Runnable() { public void run() { GenClass classExtendsGenClass = genClass.getClassExtendsGenClass(); List<GenFeature> classExtendsAllGenFeatures = classExtendsGenClass == null? Collections.<GenFeature>emptyList() : classExtendsGenClass.getAllGenFeatures();%>
+ <%for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeatureReified.override" args="genFeature:genFeature,classExtendsGenClass:classExtendsGenClass,classExtendsAllGenFeatures:classExtendsAllGenFeatures,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/genFeatureReified.override.javajetinc%>
+<%}}}.run();}%>
+<%new Runnable() { public void run() {%>
+<%for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass.getDeclaredGenFeatures())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/genFeature.override.javajetinc%>
+<%}//for%>
+<%}}.run();%>
+<%for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass.getDeclaredGenOperations())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/implementedGenOperation.override.javajetinc%>
+<%}//for%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics()) {%>
+ <%for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {%>
+ <%if (genFeature.isUncheckedCast(genClass)) {%>
+ @SuppressWarnings("unchecked")
+ <%break; }%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eInverseAdd(<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> otherEnd, int featureID, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isListType()) { String cast = "(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + (!genModel.useGenerics() ? ")" : "<" + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");%>
+ <%if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {%>
+ return ((<%=cast%>(<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).basicAdd(otherEnd, msgs);
+ <%} else {%>
+ return (<%=cast%><%=genFeature.getGetAccessor()%>()).basicAdd(otherEnd, msgs);
+ <%}%>
+ <%} else if (genFeature.isContainer()) {%>
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ <%if (genFeature.isBasicSet()) {%>
+ return basicSet<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)otherEnd, msgs);
+ <%} else {%>
+ return eBasicSetContainer(otherEnd, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+ <%}%>
+ <%} else {%>
+ <%if (genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else if (genFeature.isVolatile() || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = <%if (genFeature.isResolveProxies()) {%>basicGet<%=genFeature.getAccessorName()%><%} else {%><%=genFeature.getGetAccessor()%><%}%>();
+ <%}%>
+ if (<%=genFeature.getSafeName()%> != null)
+ <%if (genFeature.isEffectiveContains()) {%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ <%}%>
+ return basicSet<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)otherEnd, msgs);
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+<%} else {%>
+ return eDynamicInverseAdd(otherEnd, featureID, msgs);
+<%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eInverseRemove(<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> otherEnd, int featureID, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEInverseRemoveGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isListType()) {%>
+ <%if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).basicRemove(otherEnd, msgs);
+ <%} else if (genFeature.isWrappedFeatureMapType()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap()).basicRemove(otherEnd, msgs);
+ <%} else {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)<%=genFeature.getGetAccessor()%>()).basicRemove(otherEnd, msgs);
+ <%}%>
+ <%} else if (genFeature.isContainer() && !genFeature.isBasicSet()) {%>
+ return eBasicSetContainer(null, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+ <%} else if (genFeature.isUnsettable()) {%>
+ return basicUnset<%=genFeature.getAccessorName()%>(msgs);
+ <%} else {%>
+ return basicSet<%=genFeature.getAccessorName()%>(null, msgs);
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+<%} else {%>
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+<%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eBasicRemoveFromContainerFeature(<%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ switch (eContainerFeatureID()<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) {%>
+ <%GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ return eInternalContainer().eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eBasicRemoveFromContainerFeature(msgs);
+<%} else {%>
+ return eDynamicBasicRemoveFromContainer(msgs);
+<%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEGetGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEGetGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isPrimitiveType()) {%>
+ <%if (isJDK50) {%>
+ return <%=genFeature.getGetAccessor()%>();
+ <%} else if (genFeature.isBooleanType()) {%>
+ return <%=genFeature.getGetAccessor()%>() ? Boolean.TRUE : Boolean.FALSE;
+ <%} else {%>
+ return new <%=genFeature.getObjectType(genClass)%>(<%=genFeature.getGetAccessor()%>());
+ <%}%>
+ <%} else if (genFeature.isResolveProxies() && !genFeature.isListType()) {%>
+ if (resolve) return <%=genFeature.getGetAccessor()%>();
+ return basicGet<%=genFeature.getAccessorName()%>();
+ <%} else if (genFeature.isMapType()) {%>
+ <%if (genFeature.isEffectiveSuppressEMFTypes()) {%>
+ if (coreType) return ((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap();
+ else return <%=genFeature.getGetAccessor()%>();
+ <%} else {%>
+ if (coreType) return <%=genFeature.getGetAccessor()%>();
+ else return <%=genFeature.getGetAccessor()%>().map();
+ <%}%>
+ <%} else if (genFeature.isWrappedFeatureMapType()) {%>
+ if (coreType) return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap();
+ return <%=genFeature.getGetAccessor()%>();
+ <%} else if (genFeature.isFeatureMapType()) {%>
+ if (coreType) return <%=genFeature.getGetAccessor()%>();
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)<%=genFeature.getGetAccessor()%>()).getWrapper();
+ <%} else {%>
+ return <%=genFeature.getGetAccessor()%>();
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eGet(featureID, resolve, coreType);
+<%} else {%>
+ return eDynamicGet(featureID, resolve, coreType);
+<%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getESetGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics()) {%>
+ <%for (GenFeature genFeature : genClass.getESetGenFeatures()) {%>
+ <%if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {%>
+ @SuppressWarnings("unchecked")
+ <%break; }%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+ <%for (GenFeature genFeature : genClass.getESetGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isListType()) {%>
+ <%if (genFeature.isWrappedFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap()).set(newValue);
+ <%} else if (genFeature.isFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)<%=genFeature.getGetAccessor()%>()).set(newValue);
+ <%} else if (genFeature.isMapType()) {%>
+ <%if (genFeature.isEffectiveSuppressEMFTypes()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Setting)((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).set(newValue);
+ <%} else {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Setting)<%=genFeature.getGetAccessor()%>()).set(newValue);
+ <%}%>
+ <%} else {%>
+ <%=genFeature.getGetAccessor()%>().clear();
+ <%=genFeature.getGetAccessor()%>().addAll((<%=genModel.getImportedName("java.util.Collection")%><%if (isJDK50) {%><? extends <%=genFeature.getListItemType(genClass)%>><%}%>)newValue);
+ <%}%>
+ <%} else if (!isJDK50 && genFeature.isPrimitiveType()) {%>
+ set<%=genFeature.getAccessorName()%>(((<%=genFeature.getObjectType(genClass)%>)newValue).<%=genFeature.getPrimitiveValueFunction()%>());
+ <%} else {%>
+ set<%=genFeature.getAccessorName()%>(<%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType() || !genFeature.getRawType().equals(genFeature.getType(genClass))) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>newValue);
+ <%}%>
+ return;
+ <%}%>
+ }
+ <%if (genModel.isMinimalReflectiveMethods()) {%>
+ super.eSet(featureID, newValue);
+ <%} else {%>
+ eDynamicSet(featureID, newValue);
+ <%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.eUnset.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/eUnset.override.javajetinc%>
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.eIsSet.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/eIsSet.override.javajetinc%>
+<%}%>
+<%if (isImplementation && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty())) {%>
+ <%if (!genClass.getMixinGenFeatures().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<%=singleWildcard%> baseClass)
+ {
+ <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%>
+ if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (derivedFeatureID<%=negativeOffsetCorrection%>)
+ {
+ <%for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>: return <%=mixinGenClass.getQualifiedFeatureID(genFeature)%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+ <%}%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<%=singleWildcard%> baseClass)
+ {
+ <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%>
+ if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseFeatureID)
+ {
+ <%for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {%>
+ case <%=mixinGenClass.getQualifiedFeatureID(genFeature)%>: return <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ <%if (genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty()) {%>
+ if (baseClass == <%=genClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseFeatureID<%=negativeOffsetCorrection%>)
+ {
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>: return <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+<%}%>
+<%if (genModel.isOperationReflection() && isImplementation && (!genClass.getMixinGenOperations().isEmpty() || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(), genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public int eDerivedOperationID(int baseOperationID, Class<%=singleWildcard%> baseClass)
+ {
+ <%for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) { List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations(); List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations();%>
+ <%if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations).isEmpty()) {%>
+ if (baseClass == <%=extendedGenClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseOperationID)
+ {
+ <%for (GenOperation genOperation : extendedImplementedGenOperations) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);%>
+ <%if (implementedGenOperations.contains(overrideGenOperation)) {%>
+ case <%=extendedGenClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(overrideGenOperation)%><%=positiveOperationOffsetCorrection%>;
+ <%}%>
+ <%}%>
+ default: return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ <%}%>
+ <%}%>
+ <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%>
+ if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseOperationID)
+ {
+ <%for (GenOperation genOperation : mixinGenClass.getGenOperations()) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);%>
+ case <%=mixinGenClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation : genOperation)%><%=positiveOperationOffsetCorrection%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ <%if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) {%>
+ if (baseClass == <%=genClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseOperationID<%=negativeOperationOffsetCorrection%>)
+ {
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
+ case <%=genClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(genOperation)%><%=positiveOperationOffsetCorrection%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+
+<%}%>
+<%if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField();%>
+ <%if (eVirtualValuesField != null) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected Object[] eVirtualValues()
+ {
+ return <%=eVirtualValuesField%>;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected void eSetVirtualValues(Object[] newValues)
+ {
+ <%=eVirtualValuesField%> = newValues;
+ }
+
+ <%}%>
+ <%{ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());%>
+ <%if (!eVirtualIndexBitFields.isEmpty()) { List<String> allEVirtualIndexBitFields = genClass.getAllEVirtualIndexBitFields(new ArrayList<String>());%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected int eVirtualIndexBits(int offset)
+ {
+ switch (offset)
+ {
+ <%for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {%>
+ case <%=i%> :
+ return <%=allEVirtualIndexBitFields.get(i)%>;
+ <%}%>
+ default :
+ throw new IndexOutOfBoundsException();
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected void eSetVirtualIndexBits(int offset, int newIndexBits)
+ {
+ switch (offset)
+ {
+ <%for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {%>
+ case <%=i%> :
+ <%=allEVirtualIndexBitFields.get(i)%> = newIndexBits;
+ break;
+ <%}%>
+ default :
+ throw new IndexOutOfBoundsException();
+ }
+ }
+
+ <%}%>
+ <%}%>
+<%}%>
+<%if (genModel.isOperationReflection() && isImplementation && !genClass.getImplementedGenOperations().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ <%if (genModel.useGenerics()) {%>
+ <%boolean isUnchecked = false; boolean isRaw = false; LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { for (GenParameter genParameter : genOperation.getGenParameters()) { if (genParameter.isUncheckedCast()) { if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType()) { isUnchecked = true; } if (genParameter.usesOperationTypeParameters() && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments().isEmpty()) { isRaw = true; break LOOP; }}}}%>
+ <%if (isUnchecked) {%>
+ @SuppressWarnings(<%if (!isRaw) {%>"unchecked"<%} else {%>{"rawtypes", "unchecked" }<%}%>)
+ <%}%>
+ <%}%>
+ public Object eInvoke(int operationID, <%=genModel.getImportedName("org.eclipse.emf.common.util.EList")%><%=singleWildcard%> arguments) throws <%=genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")%>
+ {
+ switch (operationID<%=negativeOperationOffsetCorrection%>)
+ {
+<%for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { List<GenParameter> genParameters = genOperation.getGenParameters(); int size = genParameters.size(); boolean hasCheckedException = genOperation.hasCheckedException(); String indent = hasCheckedException ? "\t" : "";%>
+ case <%=genClass.getQualifiedOperationID(genOperation)%>:
+ <%if (hasCheckedException) {%>
+ try
+ {
+ <%/*}*/}%>
+ <%if (genOperation.isVoid()) {%>
+ <%=indent%><%=genOperation.getName()%>(<%for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i);%><%if (!isJDK50 && genParameter.isPrimitiveType()) {%>(<%}%><%if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {%>(<%=genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)%>)<%}%>arguments.get(<%=i%>)<%if (!isJDK50 && genParameter.isPrimitiveType()) {%>).<%=genParameter.getPrimitiveValueFunction()%>()<%}%><%if (i < (size - 1)) {%>, <%}%><%}%>);
+ <%=indent%>return null;
+ <%} else {%>
+ <%=indent%>return <%if (!isJDK50 && genOperation.isPrimitiveType()) {%>new <%=genOperation.getObjectType(genClass)%>(<%}%><%=genOperation.getName()%>(<%for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i);%><%if (!isJDK50 && genParameter.isPrimitiveType()) {%>(<%}%><%if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {%>(<%=genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)%>)<%}%>arguments.get(<%=i%>)<%if (!isJDK50 && genParameter.isPrimitiveType()) {%>).<%=genParameter.getPrimitiveValueFunction()%>()<%}%><%if (i < (size - 1)) {%>, <%}%><%}%>)<%if (!isJDK50 && genOperation.isPrimitiveType()) {%>)<%}%>;
+ <%}%>
+ <%if (hasCheckedException) {/*{*/%>
+ }
+ catch (<%=genModel.getImportedName("java.lang.Throwable")%> throwable)
+ {
+ throw new <%=genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")%>(throwable);
+ }
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eInvoke(operationID, arguments);
+<%} else {%>
+ return eDynamicInvoke(operationID, arguments);
+<%}%>
+ }
+
+<%}%>
+<%if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ <%{ boolean first = true;%>
+ <%for (GenFeature genFeature : genClass.getToStringGenFeatures()) {%>
+ <%if (first) { first = false;%>
+ result.append(" (<%=genFeature.getName()%>: ");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ result.append(", <%=genFeature.getName()%>: ");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%if (genFeature.isUnsettable() && !genFeature.isListType()) {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ if (eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>)) result.append(eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>)); else result.append("<unset>");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0); else result.append("<unset>");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append(<%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]); else result.append("<unset>");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%} else {%>
+ if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append(<%=genFeature.getSafeName()%>); else result.append("<unset>");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%}%>
+ <%} else {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ result.append(eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (!genFeature.isListType() && !genFeature.isReferenceType()){%>, <%=genFeature.getEDefault()%><%}%>));
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ result.append((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0);
+ <%} else {%>
+ result.append(<%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]);
+ <%}%>
+ <%} else {%>
+ result.append(<%=genFeature.getSafeName()%>);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ result.append(')');
+ return result.toString();
+ }
+
+<%}%>
+<%if (isImplementation && genClass.isMapEntry()) { GenFeature keyFeature = genClass.getMapEntryKeyFeature(); GenFeature valueFeature = genClass.getMapEntryValueFeature();%>
+<%String objectType = genModel.getImportedName("java.lang.Object");%>
+<%String keyType = isJDK50 ? keyFeature.getObjectType(genClass) : objectType;%>
+<%String valueType = isJDK50 ? valueFeature.getObjectType(genClass) : objectType;%>
+<%String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap") + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int hash = -1;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getHash()
+ {
+ if (hash == -1)
+ {
+ <%=objectType%> theKey = getKey();
+ hash = (theKey == null ? 0 : theKey.hashCode());
+ }
+ return hash;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHash(int hash)
+ {
+ this.hash = hash;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=keyType%> getKey()
+ {
+ <%if (!isJDK50 && keyFeature.isPrimitiveType()) {%>
+ return new <%=keyFeature.getObjectType(genClass)%>(getTypedKey());
+ <%} else {%>
+ return getTypedKey();
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setKey(<%=keyType%> key)
+ {
+ <%if (keyFeature.isListType()) {%>
+ getTypedKey().addAll(<%if (!genModel.useGenerics()) {%>(<%=genModel.getImportedName("java.util.Collection")%>)<%}%>key);
+ <%} else if (isJDK50) {%>
+ setTypedKey(key);
+ <%} else if (keyFeature.isPrimitiveType()) {%>
+ setTypedKey(((<%=keyFeature.getObjectType(genClass)%>)key).<%=keyFeature.getPrimitiveValueFunction()%>());
+ <%} else {%>
+ setTypedKey((<%=keyFeature.getImportedType(genClass)%>)key);
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=valueType%> getValue()
+ {
+ <%if (!isJDK50 && valueFeature.isPrimitiveType()) {%>
+ return new <%=valueFeature.getObjectType(genClass)%>(getTypedValue());
+ <%} else {%>
+ return getTypedValue();
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=valueType%> setValue(<%=valueType%> value)
+ {
+ <%=valueType%> oldValue = getValue();
+ <%if (valueFeature.isListType()) {%>
+ getTypedValue().clear();
+ getTypedValue().addAll(<%if (!genModel.useGenerics()) {%>(<%=genModel.getImportedName("java.util.Collection")%>)<%}%>value);
+ <%} else if (isJDK50) {%>
+ setTypedValue(value);
+ <%} else if (valueFeature.isPrimitiveType()) {%>
+ setTypedValue(((<%=valueFeature.getObjectType(genClass)%>)value).<%=valueFeature.getPrimitiveValueFunction()%>());
+ <%} else {%>
+ setTypedValue((<%=valueFeature.getImportedType(genClass)%>)value);
+ <%}%>
+ return oldValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=eMapType%> getEMap()
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%> container = eContainer();
+ return container == null ? null : (<%=eMapType%>)container.eGet(eContainmentFeature());
+ }
+
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.insert" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+} //<%=isInterface ? " " + genClass.getInterfaceName() : genClass.getClassName()%>
+<%// TODO fix the space above%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Sr5gCGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Sr5gCGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..678d71c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Sr5gCGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenClass genClass = parameter;
+argument = ((Object[]) new Object[]{new Object[]{genClass,genClass.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE,Boolean.TRUE}})[0];
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._07nZCWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._07nZCWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._07nZCWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._9fJklHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._9fJklHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..274f829
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._9fJklHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genModel.hasModelPluginClass());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejecjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejecjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejecjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeczG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeczG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeczG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejedTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejedTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejedTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejedzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejedzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..ce3be04
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejedzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPath = genModel.getModelDirectory();
+packageName = genModel.getModelPluginPackageName();
+className = genModel.getModelPluginClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeeTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeeTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..ce51f6d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeeTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,148 @@
+
+<%
+/**
+ * Copyright (c) 2002-2004 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genModel.getModelPluginPackageName()%>;
+
+<%genModel.addImport("org.eclipse.emf.common.EMFPlugin");%>
+<%genModel.addImport("org.eclipse.emf.common.util.ResourceLocator");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * This is the central singleton for the <%=genModel.getModelName()%> model plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class <%=genModel.getModelPluginClassName()%> extends EMFPlugin
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getModelPluginClassName()%> INSTANCE = new <%=genModel.getModelPluginClassName()%>();
+
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static Implementation plugin;
+
+<%}%>
+ /**
+ * Create the instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getModelPluginClassName()%>()
+ {
+ super(new ResourceLocator [] {});
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public ResourceLocator getPluginResourceLocator()
+ {
+<%if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {%>
+ return null;
+<%} else {%>
+ return plugin;
+<%}%>
+ }
+
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin()
+ {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends EclipsePlugin
+ {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+<%if (genModel.needsRuntimeCompatibility()) {%>
+ * @param descriptor the description of the plugin.
+<%}%>
+ * @generated
+ */
+ public Implementation(<%if (genModel.needsRuntimeCompatibility()) {%><%=genModel.getImportedName("org.eclipse.core.runtime.IPluginDescriptor")%> descriptor<%}%>)
+ {
+ super(<%if (genModel.needsRuntimeCompatibility()) {%>descriptor<%}%>);
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+<%if (genModel.isOSGiCompatible()) {%>
+
+ /**
+ * The actual implementation of the purely OSGi-compatible <b>Bundle Activator</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final class Activator extends <%=genModel.getImportedName("org.eclipse.emf.common.EMFPlugin")%>.OSGiDelegatingBundleActivator
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected <%=genModel.getImportedName("org.osgi.framework.BundleActivator")%> createBundle()
+ {
+ return new Implementation();
+ }
+ }
+<%}%>
+ }
+
+<%}%>
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._SsWL8WKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._SsWL8WKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._SsWL8WKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._063yImKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._063yImKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._063yImKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._9AAxhHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._9AAxhHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..1e675a3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._9AAxhHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.getResource() != GenResourceKind.NONE_LITERAL);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoZTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoZTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoZTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoZzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoZzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..9b2987b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoZzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getUtilitiesPackageName();
+className = genPackage.getResourceFactoryClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoaTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoaTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..c36d997
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoaTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,89 @@
+
+<%
+/**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getUtilitiesPackageName()%>;
+
+<%genModel.getImportedName("org.eclipse.emf.common.util.URI");%>
+<%genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see <%=genPackage.getQualifiedResourceClassName()%>
+ * @generated
+ */
+public class <%=genPackage.getResourceFactoryClassName()%> extends <%=genPackage.getImportedResourceFactoryBaseClassName()%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (genPackage.hasExtendedMetaData() && !genPackage.hasTargetNamespace()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")%> extendedMetaData;
+
+<%} else if (genPackage.hasXMLMap()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource$XMLMap")%> xmlMap = new <%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.XMLMapImpl")%>();
+
+<%}%>
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getResourceFactoryClassName()%>()
+ {
+ super();
+<%if (genPackage.hasExtendedMetaData() && !genPackage.hasTargetNamespace()) {%>
+ extendedMetaData = new <%=genModel.getImportedName("org.eclipse.emf.ecore.util.BasicExtendedMetaData")%>(new <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.EPackageRegistryImpl")%>(<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE));
+ extendedMetaData.putPackage(null, <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE);
+<%} else if (genPackage.hasXMLMap() && !genPackage.hasTargetNamespace()) {%>
+ xmlMap.setNoNamespacePackage(<%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE);
+<%}%>
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public Resource createResource(URI uri)
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass.ResourceFactoryClass.createResource.override" args="genPackage:genPackage,genModel:genModel"%><%//ResourceFactoryClass/createResource.override.javajetinc%>
+ }
+
+} //<%=genPackage.getResourceFactoryClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._StFy12KPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._StFy12KPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._StFy12KPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._07UeGWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._07UeGWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._07UeGWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._9QQM9HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._9QQM9HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..483dc38
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._9QQM9HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenEnum genEnum = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && true;
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47NTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47NTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47NTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47NzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47NzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..aa45bf0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47NzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenEnum genEnum = parameter;
+targetPath = genEnum.getGenModel().getModelDirectory();
+packageName = genEnum.getGenPackage().getInterfacePackageName();
+className = genEnum.getName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..c99b2b1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,315 @@
+
+<%
+/**
+ * Copyright (c) 2002-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenEnum genEnum = (GenEnum)argument; GenPackage genPackage = genEnum.getGenPackage(); GenModel genModel=genPackage.getGenModel();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getInterfacePackageName()%>;
+
+<%genModel.addImport("java.util.Arrays");%>
+<%genModel.addImport("java.util.List");%>
+<%genModel.addImport("java.util.Collections");%>
+<%genModel.markImportLocation(stringBuffer, genPackage);%>
+<%boolean isEnum = genModel.useGenerics();%>
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b><%=genEnum.getFormattedName()%></b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+<%if (genEnum.hasDocumentation()) {%>
+ * <!-- begin-model-doc -->
+ * <%=genEnum.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ * <!-- end-model-doc -->
+<%}%>
+ * @see <%=genPackage.getQualifiedPackageInterfaceName()%>#get<%=genEnum.getName()%>()
+<%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genEnum.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+<%} else {%>
+ * <%=modelInfo%>
+<%}} if (first) {%>
+ * @model
+<%}}%>
+ * @generated
+ */
+public <%if (isEnum) {%>enum<%} else {%>final class<%}%> <%=genEnum.getName()%> <%if (isEnum) {%>implements<%} else {%>extends<%}%> <%=genModel.isSuppressEMFMetaData() && !genModel.isSuppressInterfaces() ? "Internal" + genEnum.getName() : genModel.getImportedName(isEnum ? "org.eclipse.emf.common.util.Enumerator" : "org.eclipse.emf.common.util.AbstractEnumerator")%>
+{
+<%if (isEnum) {%>
+ <%if (genEnum.getGenEnumLiterals().isEmpty()) {%>
+ ;
+
+ <%}else {%>
+ <%for (Iterator<GenEnumLiteral> l = genEnum.getGenEnumLiterals().iterator(); l.hasNext(); ) { GenEnumLiteral genEnumLiteral = l.next(); %>
+ /**
+ * The '<em><b><%=genEnumLiteral.getFormattedName()%></b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genEnumLiteral.getEnumLiteralValueConstantName()%>
+ * @generated
+ * @ordered
+ */
+ <%=genEnumLiteral.getEnumLiteralInstanceConstantName()%>(<%=genEnumLiteral.getValue()%>, "<%=genEnumLiteral.getName()%>", <%=Literals.toStringLiteral(genEnumLiteral.getLiteral(), genModel)%>)<%if (l.hasNext()) {%>,<%} else {%>;<%}%><%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+
+ <%}%>
+ <%}%>
+<%}%>
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%>
+ /**
+ * The '<em><b><%=genEnumLiteral.getFormattedName()%></b></em>' literal value.
+ * <!-- begin-user-doc -->
+<%if (!genEnumLiteral.hasDocumentation()) {%>
+ * <p>
+ * If the meaning of '<em><b><%=genEnumLiteral.getFormattedName()%></b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+<%}%>
+ * <!-- end-user-doc -->
+<%if (genEnumLiteral.hasDocumentation()) {%>
+ * <!-- begin-model-doc -->
+ * <%=genEnumLiteral.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ * <!-- end-model-doc -->
+<%}%>
+ * @see #<%=genEnumLiteral.getEnumLiteralInstanceConstantName()%>
+<%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genEnumLiteral.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+<%} else {%>
+ * <%=modelInfo%>
+<%}} if (first) {%>
+ * @model
+<%}}%>
+ * @generated
+ * @ordered
+ */
+ public static final int <%=genEnumLiteral.getEnumLiteralValueConstantName()%> = <%=genEnumLiteral.getValue()%>;
+
+<%}%>
+<%if (!isEnum) for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%>
+ /**
+ * The '<em><b><%=genEnumLiteral.getFormattedName()%></b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genEnumLiteral.getEnumLiteralValueConstantName()%>
+ * @generated
+ * @ordered
+ */
+ public static final <%=genEnum.getName()%> <%=genEnumLiteral.getEnumLiteralInstanceConstantName()%> = new <%=genEnum.getName()%>(<%=genEnumLiteral.getEnumLiteralValueConstantName()%>, "<%=genEnumLiteral.getName()%>", <%=Literals.toStringLiteral(genEnumLiteral.getLiteral(), genModel)%>);<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+
+<%}%>
+ /**
+ * An array of all the '<em><b><%=genEnum.getFormattedName()%></b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final <%=genEnum.getName()%>[] VALUES_ARRAY =
+ new <%=genEnum.getName()%>[]
+ {
+<%for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%>
+ <%=genEnumLiteral.getEnumLiteralInstanceConstantName()%>,
+<%}%>
+ };
+
+ /**
+ * A public read-only list of all the '<em><b><%=genEnum.getFormattedName()%></b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<%if (isEnum) {%><<%=genEnum.getName()%>><%}%> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b><%=genEnum.getFormattedName()%></b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static <%=genEnum.getName()%> get(<%=genModel.getImportedName("java.lang.String")%> literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ <%=genEnum.getName()%> result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b><%=genEnum.getFormattedName()%></b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static <%=genEnum.getName()%> getByName(<%=genModel.getImportedName("java.lang.String")%> name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ <%=genEnum.getName()%> result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b><%=genEnum.getFormattedName()%></b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static <%=genEnum.getName()%> get(int value)
+ {
+ switch (value)
+ {
+<%for (GenEnumLiteral genEnumLiteral : genEnum.getUniqueValuedGenEnumLiterals()) {%>
+ case <%=genEnumLiteral.getEnumLiteralValueConstantName()%>: return <%=genEnumLiteral.getEnumLiteralInstanceConstantName()%>;
+<%}%>
+ }
+ return null;
+ }
+
+<%if (isEnum) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final <%=genModel.getImportedName("java.lang.String")%> name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final <%=genModel.getImportedName("java.lang.String")%> literal;
+
+<%}%>
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private <%=genEnum.getName()%>(int value, <%=genModel.getImportedName("java.lang.String")%> name, <%=genModel.getImportedName("java.lang.String")%> literal)
+ {
+<%if (isEnum) {%>
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+<%} else {%>
+ super(value, name, literal);
+<%}%>
+ }
+
+<%if (isEnum) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getImportedName("java.lang.String")%> getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getImportedName("java.lang.String")%> getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("java.lang.String")%> toString()
+ {
+ return literal;
+ }
+
+<%}%>
+} //<%=genEnum.getName()%>
+<%if (genModel.isSuppressEMFMetaData()&& !genModel.isSuppressInterfaces() ) {%>
+
+ <%if (isEnum) {%>
+/**
+ * A private implementation interface used to hide the inheritance from Enumerator.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+interface Internal<%=genEnum.getName()%> extends org.eclipse.emf.common.util.Enumerator
+{
+ // Empty
+}
+ <%} else {%>
+/**
+ * A private implementation class to construct the instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+class Internal<%=genEnum.getName()%> extends org.eclipse.emf.common.util.AbstractEnumerator
+{
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Internal<%=genEnum.getName()%>(int value, <%=genModel.getImportedName("java.lang.String")%> name, <%=genModel.getImportedName("java.lang.String")%> literal)
+ {
+ super(value, name, literal);
+ }
+}
+ <%}%>
+<%}%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._SrwWGGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._SrwWGGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..0812d67
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._SrwWGGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenEnum genEnum = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._07LUKWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._07LUKWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._07LUKWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._9cLJFHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._9cLJFHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..449324b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._9cLJFHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPRTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPRTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPRTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPRzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPRzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..91246c9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPRzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getReflectionClassPackageName();
+className = genPackage.getFactoryClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfmAQTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfmAQTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..af176e6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfmAQTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,719 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)((Object[])argument)[0]; GenModel genModel=genPackage.getGenModel(); /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%boolean isInterface = Boolean.TRUE.equals(((Object[])argument)[1]); boolean isImplementation = Boolean.TRUE.equals(((Object[])argument)[2]);%>
+<%String publicStaticFinalFlag = isImplementation ? "public static final " : "";%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+<%if (isInterface || genModel.isSuppressInterfaces()) {%>
+package <%=genPackage.getReflectionPackageName()%>;
+<%} else {%>
+package <%=genPackage.getClassPackageName()%>;
+<%}%>
+
+<%if (isImplementation) {%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");%>
+<%genModel.addImport("org.eclipse.emf.ecore.EClass");%>
+<%genModel.addImport("org.eclipse.emf.ecore.EObject");%>
+<%if (!genPackage.hasJavaLangConflict() && !genPackage.hasInterfaceImplConflict() && !genPackage.getClassPackageName().equals(genPackage.getInterfacePackageName())) genModel.addImport(genPackage.getInterfacePackageName() + ".*");%>
+<%}%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+<%if (isInterface) {%>
+/**
+ * <!-- 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 -->
+<%if (!genModel.isSuppressEMFMetaData()) {%>
+ * @see <%=genPackage.getQualifiedPackageInterfaceName()%>
+<%}%>
+ * @generated
+ */
+<%} else {%>
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+public class <%=genPackage.getFactoryClassName()%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.EFactoryImpl")%><%if (!genModel.isSuppressInterfaces()) {%> implements <%=genPackage.getImportedFactoryInterfaceName()%><%}%>
+<%} else {%>
+public interface <%=genPackage.getFactoryInterfaceName()%><%if (!genModel.isSuppressEMFMetaData()) {%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.EFactory")%><%}%>
+<%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (isImplementation && (genModel.isSuppressEMFMetaData() || genModel.isSuppressInterfaces())) {%>
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genPackage.getFactoryClassName()%> eINSTANCE = init();
+
+<%}%>
+<%if (isInterface && genModel.isSuppressEMFMetaData()) {%>
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genPackage.getFactoryInterfaceName()%> INSTANCE = <%=genPackage.getQualifiedFactoryClassName()%>.eINSTANCE;
+
+<%} else if (isInterface && !genModel.isSuppressInterfaces()) {%>
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genPackage.getFactoryInterfaceName()%> eINSTANCE = <%=genPackage.getQualifiedFactoryClassName()%>.init();
+
+<%}%>
+<%if (isImplementation) {%>
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage.getImportedFactoryInterfaceName();%>
+ public static <%=factoryType%> init()
+ {
+ try
+ {
+ <%=factoryType%> the<%=genPackage.getFactoryName()%> = (<%=factoryType%>)<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEFactory(<%=genPackage.getPackageInterfaceName()%>.eNS_URI);
+ if (the<%=genPackage.getFactoryName()%> != null)
+ {
+ return the<%=genPackage.getFactoryName()%>;
+ }
+ }
+ catch (Exception exception)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.log(exception);
+ }
+ return new <%=genPackage.getImportedFactoryClassName()%>();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getFactoryClassName()%>()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+<%if (!genClass.isAbstract()) {%>
+ case <%=genPackage.getImportedPackageInterfaceName()%>.<%=genClass.getClassifierID()%>: return <%=!genClass.isEObjectExtension() ? "(EObject)" : "" %>create<%=genClass.getName()%>();
+<%}%>
+<%}%>
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ }
+ }
+
+<%if (!genPackage.getAllGenDataTypes().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public Object createFromString(<%=genModel.getImportedName("org.eclipse.emf.ecore.EDataType")%> eDataType, String initialValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+<%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ <%if (genDataType.isSerializable()) {%>
+ case <%=genPackage.getImportedPackageInterfaceName()%>.<%=genDataType.getClassifierID()%>:
+ return create<%=genDataType.getName()%>FromString(eDataType, initialValue);
+ <%}%>
+<%}%>
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public String convertToString(<%=genModel.getImportedName("org.eclipse.emf.ecore.EDataType")%> eDataType, Object instanceValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+<%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ <%if (genDataType.isSerializable()) {%>
+ case <%=genPackage.getImportedPackageInterfaceName()%>.<%=genDataType.getClassifierID()%>:
+ return convert<%=genDataType.getName()%>ToString(eDataType, instanceValue);
+ <%}%>
+<%}%>
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ }
+ }
+
+<%}%>
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (!genClass.isAbstract()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genClass.getTypeParameters()%><%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> create<%=genClass.getName()%>()
+ {
+ <%if (genClass.isDynamic()) {%>
+ <%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> <%=genClass.getSafeUncapName()%> = <%=genClass.getCastFromEObject()%>super.create(<%=genClass.getQualifiedClassifierAccessor()%>);
+ <%} else {%>
+ <%=genClass.getImportedClassName()%><%=genClass.getClassTypeArguments()%> <%=genClass.getSafeUncapName()%> = new <%=genClass.getImportedClassName()%><%=genClass.getClassTypeArguments()%>()<%if (genModel.isSuppressInterfaces() && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {%>{}<%}%>;
+ <%}%>
+ return <%=genClass.getSafeUncapName()%>;
+ }
+
+ <%}%>
+<%}%>
+<%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ <%if (genDataType.isSerializable()) {%>
+<%if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) { String eDataType = genDataType.getQualifiedClassifierAccessor();%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics() && genDataType.isUncheckedCast() && !genDataType.hasCreatorBody()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=genDataType.getImportedParameterizedInstanceClassName()%> create<%=genDataType.getName()%>(<%if (genDataType.hasCreatorBody()) {%>final <%}%>String <%if (genDataType.hasCreatorBody()) {%>it<%} else {%>literal<%}%>)
+ {
+ <%if (genDataType.hasCreatorBody()) {%>
+ <%=genDataType.getCreatorBody(genModel.getIndentation(stringBuffer))%>
+ <%} else if (genDataType instanceof GenEnum) {%>
+ <%=genDataType.getImportedInstanceClassName()%> result = <%=genDataType.getImportedInstanceClassName()%>.get(literal);
+ if (result == null) throw new IllegalArgumentException("The value '" + literal + "' is not a valid enumerator of '" + <%=eDataType%>.getName() + "'");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%><%=genModel.getNonNLS(3)%>
+ return result;
+ <%} else if (genDataType.getBaseType() != null) { GenDataType genBaseType = genDataType.getBaseType(); boolean isPrimitiveConversion = !genDataType.isPrimitiveType() && genBaseType.isPrimitiveType();%>
+ <%if (genBaseType.getGenPackage() == genPackage) {%>
+ <%if (isPrimitiveConversion && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return new <%=genDataType.getObjectInstanceClassName()%>(create<%=genBaseType.getName()%>(literal));
+ <%} else {%>
+ return create<%=genBaseType.getName()%>(literal);
+ <%}%>
+ <%} else if (genBaseType.getGenPackage().isDataTypeConverters()) {%>
+ <%if (isPrimitiveConversion && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return new <%=genDataType.getObjectInstanceClassName()%>(<%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genBaseType.getName()%>(literal));
+ <%} else {%>
+ return <%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genBaseType.getName()%>(literal);
+ <%}%>
+ <%} else {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%><%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genBaseType.getQualifiedClassifierAccessor()%>, literal);
+ <%}%>
+ <%} else if (genDataType.getItemType() != null) { GenDataType genItemType = genDataType.getItemType(); %>
+ if (literal == null) return null;
+ <%=genDataType.getImportedParameterizedInstanceClassName()%> result = new <%=genModel.getImportedName("java.util.ArrayList")%><%if (genModel.useGenerics()) {%><<%=genItemType.getObjectType().getImportedParameterizedInstanceClassName()%>><%}%>();
+ <%if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {%>
+ for (<%=genModel.getImportedName("java.util.StringTokenizer")%> stringTokenizer = new <%=genModel.getImportedName("java.util.StringTokenizer")%>(literal); stringTokenizer.hasMoreTokens(); )
+ <%} else {%>
+ for (String item : split(literal))
+ <%}%>
+ {
+ <%if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {%>
+ String item = stringTokenizer.nextToken();
+ <%}%>
+ <%if (genItemType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) { genItemType = genItemType.getObjectType();%>
+ result.add(create<%=genItemType.getName()%>(item));
+ <%} else {%>
+ result.add(create<%=genItemType.getName()%>FromString(<%=genItemType.getQualifiedClassifierAccessor()%>, item));
+ <%}%>
+ <%} else {%>
+ <%if (genItemType.getGenPackage().isDataTypeConverters()) { genItemType = genItemType.getObjectType();%>
+ result.add(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genItemType.getName()%>(item));
+ <%} else {%>
+ result.add(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genItemType.getQualifiedClassifierAccessor()%>, item));
+ <%}%>
+ <%}%>
+ }
+ return result;
+ <%} else if (!genDataType.getMemberTypes().isEmpty()) {%>
+ if (literal == null) return <%=genDataType.getStaticValue(null)%>;
+ <%=genDataType.getImportedInstanceClassName()%> result = <%=genDataType.getStaticValue(null)%>;
+ RuntimeException exception = null;
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) { if (!genDataType.isPrimitiveType()) genMemberType = genMemberType.getObjectType();%>
+ result = create<%=genMemberType.getName()%>(literal);
+ <%} else {%>
+ result = (<%=genDataType.getObjectInstanceClassName()%>)create<%=genMemberType.getName()%>FromString(<%=genMemberType.getQualifiedClassifierAccessor()%>, literal);
+ <%}%>
+ <%} else {%>
+ <%if (genPackage.isDataTypeConverters()) { if (!genDataType.isPrimitiveType()) genMemberType = genMemberType.getObjectType();%>
+ result = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genMemberType.getName()%>(literal);
+ <%} else {%>
+ result = (<%=genDataType.getObjectInstanceClassName()%>)<%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genMemberType.getQualifiedClassifierAccessor()%>, literal);
+ <%}%>
+ <%}%>
+ if (<%if (!genDataType.isPrimitiveType()) {%>result != null && <%}%><%=genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician")%>.INSTANCE.validate(<%=eDataType%>, <%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>new <%=genDataType.getObjectInstanceClassName()%>(result)<%} else {%>result<%}%>, null, null))
+ {
+ return result;
+ }
+ }
+ catch (RuntimeException e)
+ {
+ exception = e;
+ }
+ <%}%>
+ if (<%if (!genDataType.isPrimitiveType()) {%>result != null || <%}%>exception == null) return result;
+
+ throw exception;
+ <%} else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {%>
+ return (<%=genDataType.getImportedParameterizedObjectInstanceClassName()%>)super.createFromString(literal);
+ <%} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {%>
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new <%=genModel.getImportedName("java.lang.UnsupportedOperationException")%>();
+ <%} else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return ((<%=genDataType.getObjectInstanceClassName()%>)super.createFromString(<%=eDataType%>, literal)).<%=genDataType.getPrimitiveValueFunction()%>();
+ <%} else {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getImportedParameterizedObjectInstanceClassName()%>)<%}%>super.createFromString(<%=eDataType%>, literal);
+ <%}%>
+ }
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!genPackage.isDataTypeConverters() && genModel.useGenerics() && genDataType.isUncheckedCast() && !genDataType.hasCreatorBody()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=genDataType.getImportedParameterizedObjectInstanceClassName()%> create<%=genDataType.getName()%>FromString(<%=genModel.getImportedName("org.eclipse.emf.ecore.EDataType")%> eDataType, String initialValue)
+ {
+ <%if (genDataType instanceof GenEnum) {%>
+ <%if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {%>
+ return create<%=genDataType.getName()%>(initialValue);
+ <%} else {%>
+ <%=((GenEnum)genDataType).getImportedInstanceClassName()%> result = <%=((GenEnum)genDataType).getImportedInstanceClassName()%>.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%><%=genModel.getNonNLS(3)%>
+ return result;
+ <%}%>
+ <%} else if (genDataType.getBaseType() != null) { GenDataType genBaseType = genDataType.getBaseType(); %>
+ <%if (genBaseType.getGenPackage() == genPackage) {%>
+ return <%if (!genDataType.getObjectInstanceClassName().equals(genBaseType.getObjectInstanceClassName())) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%>create<%=genBaseType.getName()%>FromString(<%=genBaseType.getQualifiedClassifierAccessor()%>, initialValue);
+ <%} else {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%><%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genBaseType.getQualifiedClassifierAccessor()%>, initialValue);
+ <%}%>
+ <%} else if (genDataType.getItemType() != null) { GenDataType genItemType = genDataType.getItemType(); %>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ return create<%=genDataType.getName()%>(initialValue);
+ <%} else {%>
+ if (initialValue == null) return null;
+ <%=genDataType.getImportedParameterizedObjectInstanceClassName()%> result = new <%=genModel.getImportedName("java.util.ArrayList")%><%if (genModel.useGenerics()) {%><<%=genItemType.getObjectType().getImportedParameterizedInstanceClassName()%>><%}%>();
+ <%if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {%>
+ for (<%=genModel.getImportedName("java.util.StringTokenizer")%> stringTokenizer = new <%=genModel.getImportedName("java.util.StringTokenizer")%>(initialValue); stringTokenizer.hasMoreTokens(); )
+ <%} else {%>
+ for (String item : split(initialValue))
+ <%}%>
+ {
+ <%if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {%>
+ String item = stringTokenizer.nextToken();
+ <%}%>
+ <%if (genItemType.getGenPackage() == genPackage) {%>
+ result.add(create<%=genItemType.getName()%>FromString(<%=genItemType.getQualifiedClassifierAccessor()%>, item));
+ <%} else {%>
+ result.add(<%if (!genItemType.isObjectType()) {%>(<%=genItemType.getObjectInstanceClassName()%>)<%}%><%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genItemType.getQualifiedClassifierAccessor()%>, item));
+ <%}%>
+ }
+ return result;
+ <%}%>
+ <%} else if (!genDataType.getMemberTypes().isEmpty()) {%>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ <%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return new <%=genDataType.getObjectInstanceClassName()%>(create<%=genDataType.getName()%>(initialValue));
+ <%} else {%>
+ return create<%=genDataType.getName()%>(initialValue);
+ <%}%>
+ <%} else {%>
+ if (initialValue == null) return null;
+ <%=genDataType.getObjectInstanceClassName()%> result = null;
+ RuntimeException exception = null;
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ result = <%if (!genDataType.isObjectType() && !genDataType.getObjectInstanceClassName().equals(genMemberType.getObjectInstanceClassName())) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%>create<%=genMemberType.getName()%>FromString(<%=genMemberType.getQualifiedClassifierAccessor()%>, initialValue);
+ <%} else {%>
+ result = <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%><%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genMemberType.getQualifiedClassifierAccessor()%>, initialValue);
+ <%}%>
+ if (result != null && <%=genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician")%>.INSTANCE.validate(eDataType, result, null, null))
+ {
+ return result;
+ }
+ }
+ catch (RuntimeException e)
+ {
+ exception = e;
+ }
+ <%}%>
+ if (result != null || exception == null) return result;
+
+ throw exception;
+ <%}%>
+ <%} else if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {%>
+ return create<%=genDataType.getName()%>(initialValue);
+ <%} else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getImportedParameterizedObjectInstanceClassName()%>)<%}%>super.createFromString(initialValue);
+ <%} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {%>
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new <%=genModel.getImportedName("java.lang.UnsupportedOperationException")%>();
+ <%} else {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getImportedParameterizedObjectInstanceClassName()%>)<%}%>super.createFromString(eDataType, initialValue);
+ <%}%>
+ }
+
+<%if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) { String eDataType = genDataType.getQualifiedClassifierAccessor();%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convert<%=genDataType.getName()%>(<%if (genDataType.hasCreatorBody()) {%>final <%}%><%=genDataType.getImportedBoundedWildcardInstanceClassName()%> <%if (genDataType.hasConverterBody()) {%>it<%} else {%>instanceValue<%}%>)
+ {
+ <%if (genDataType.hasConverterBody()) {%>
+ <%=genDataType.getConverterBody(genModel.getIndentation(stringBuffer))%>
+ <%} else if (genDataType instanceof GenEnum) {%>
+ return instanceValue == null ? null : instanceValue.toString();
+ <%} else if (genDataType.getBaseType() != null) { GenDataType genBaseType = genDataType.getBaseType(); boolean isPrimitiveConversion = !genDataType.isPrimitiveType() && genBaseType.isPrimitiveType();%>
+ <%if (genBaseType.getGenPackage() == genPackage) {%>
+ <%if (isPrimitiveConversion) {%>
+ return instanceValue == null ? null : convert<%=genBaseType.getName()%>(instanceValue<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>.<%=genBaseType.getPrimitiveValueFunction()%>()<%}%>);
+ <%} else {%>
+ return convert<%=genBaseType.getName()%>(instanceValue);
+ <%}%>
+ <%} else if (genBaseType.getGenPackage().isDataTypeConverters()) {%>
+ return <%=genBaseType.getGenPackage().getQualifiedFactoryInstanceAccessor()%>.convert<%=genBaseType.getName()%>(instanceValue);
+ <%} else {%>
+ return <%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genBaseType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ <%} else if (genDataType.getItemType() != null) { GenDataType genItemType = genDataType.getItemType(); %>
+ if (instanceValue == null) return null;
+ if (instanceValue.isEmpty()) return "";
+ <%=genModel.getImportedName("java.lang.StringBuffer")%> result = new <%=genModel.getImportedName("java.lang.StringBuffer")%>();
+ <%String item; if (!genModel.useGenerics()) { item = "i.next()"; %>
+ for (<%=genModel.getImportedName("java.util.Iterator")%> i = instanceValue.iterator(); i.hasNext(); )
+ <%} else { item = "item";%>
+ for (<%=genModel.getImportedName("java.lang.Object")%> item : instanceValue)
+ <%}%>
+ {
+ <%if (genItemType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) { genItemType = genItemType.getObjectType();%>
+ result.append(convert<%=genItemType.getName()%>((<%=genItemType.getObjectInstanceClassName()%>)<%=item%>));
+ <%} else {%>
+ result.append(convert<%=genItemType.getName()%>ToString(<%=genItemType.getQualifiedClassifierAccessor()%>, <%=item%>));
+ <%}%>
+ <%} else {%>
+ <%if (genItemType.getGenPackage().isDataTypeConverters()) { genItemType = genItemType.getObjectType();%>
+ result.append(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convert<%=genItemType.getName()%>((<%=genItemType.getObjectInstanceClassName()%>)<%=item%>));
+ <%} else {%>
+ result.append(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genItemType.getQualifiedClassifierAccessor()%>, <%=item%>));
+ <%}%>
+ <%}%>
+ result.append(' ');
+ }
+ return result.substring(0, result.length() - 1);
+ <%} else if (!genDataType.getMemberTypes().isEmpty()) {%>
+ <%if (!genDataType.isPrimitiveType()) {%>
+ if (instanceValue == null) return null;
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ if (<%=genMemberType.getQualifiedClassifierAccessor()%>.isInstance(instanceValue))
+ {
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ <%if (genMemberType.getQualifiedInstanceClassName().equals(genDataType.getQualifiedInstanceClassName())) {%>
+ String value = convert<%=genMemberType.getName()%>(instanceValue);
+ <%} else if (genMemberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ String value = convert<%=genMemberType.getName()%>(((<%=genMemberType.getObjectType().getImportedInstanceClassName()%>)instanceValue).<%=genMemberType.getPrimitiveValueFunction()%>());
+ <%} else {%>
+ String value = convert<%=genMemberType.getName()%>((<%=genMemberType.getObjectType().getImportedBoundedWildcardInstanceClassName()%>)instanceValue);
+ <%}%>
+ <%} else {%>
+ String value = convert<%=genMemberType.getName()%>ToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ <%} else {%>
+ <%if (genMemberType.getGenPackage().isDataTypeConverters()) { genMemberType = genMemberType.getObjectType();%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convert<%=genMemberType.getName()%>((<%=genMemberType.getObjectInstanceClassName()%>)instanceValue);
+ <%} else {%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ <%}%>
+ if (value != null) return value;
+ }
+ catch (Exception e)
+ {
+ // Keep trying other member types until all have failed.
+ }
+ }
+ <%}%>
+ <%} else {%>
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ String value = convert<%=genMemberType.getName()%>(instanceValue);
+ <%} else {%>
+ String value = convert<%=genMemberType.getName()%>ToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, <%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>new <%=genMemberType.getObjectInstanceClassName()%>(instanceValue)<%} else {%>instanceValue<%}%>);
+ <%}%>
+ <%} else {%>
+ <%if (genMemberType.getGenPackage().isDataTypeConverters()) {%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convert<%=genMemberType.getName()%>(instanceValue);
+ <%} else {%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, <%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>new <%=genMemberType.getObjectInstanceClassName()%>(instanceValue)<%} else {%>instanceValue<%}%>);
+ <%}%>
+ <%}%>
+ if (value != null) return value;
+ }
+ catch (Exception e)
+ {
+ // Keep trying other member types until all have failed.
+ }
+ <%}%>
+ <%}%>
+ throw new IllegalArgumentException("Invalid value: '"+instanceValue+"' for datatype :"+<%=eDataType%>.getName());
+ <%} else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {%>
+ return super.convertToString(instanceValue);
+ <%} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {%>
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new <%=genModel.getImportedName("java.lang.UnsupportedOperationException")%>();
+ <%} else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return super.convertToString(<%=eDataType%>, new <%=genDataType.getObjectInstanceClassName()%>(instanceValue));
+ <%} else {%>
+ return super.convertToString(<%=eDataType%>, instanceValue);
+ <%}%>
+ }
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics() && (genDataType.getItemType() != null || genDataType.isUncheckedCast()) && (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody())) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public String convert<%=genDataType.getName()%>ToString(<%=genModel.getImportedName("org.eclipse.emf.ecore.EDataType")%> eDataType, Object instanceValue)
+ {
+ <%if (genDataType instanceof GenEnum) {%>
+ <%if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {%>
+ return convert<%=genDataType.getName()%>((<%=genDataType.getImportedInstanceClassName()%>)instanceValue);
+ <%} else {%>
+ return instanceValue == null ? null : instanceValue.toString();
+ <%}%>
+ <%} else if (genDataType.getBaseType() != null) { GenDataType genBaseType = genDataType.getBaseType(); %>
+ <%if (genBaseType.getGenPackage() == genPackage) {%>
+ return convert<%=genBaseType.getName()%>ToString(<%=genBaseType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%} else {%>
+ return <%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genBaseType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ <%} else if (genDataType.getItemType() != null) { GenDataType genItemType = genDataType.getItemType(); %>
+ <%if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {%>
+ return convert<%=genDataType.getName()%>((<%=genDataType.getImportedBoundedWildcardInstanceClassName()%>)instanceValue);
+ <%} else { final String singleWildcard = genModel.useGenerics() ? "<?>" : "";%>
+ if (instanceValue == null) return null;
+ <%=genModel.getImportedName("java.util.List")%><%=singleWildcard%> list = (<%=genModel.getImportedName("java.util.List")%><%=singleWildcard%>)instanceValue;
+ if (list.isEmpty()) return "";
+ <%=genModel.getImportedName("java.lang.StringBuffer")%> result = new <%=genModel.getImportedName("java.lang.StringBuffer")%>();
+ <%String item; if (!genModel.useGenerics()) { item = "i.next()"; %>
+ for (<%=genModel.getImportedName("java.util.Iterator")%> i = list.iterator(); i.hasNext(); )
+ <%} else { item = "item";%>
+ for (<%=genModel.getImportedName("java.lang.Object")%> item : list)
+ <%}%>
+ {
+ <%if (genItemType.getGenPackage() == genPackage) {%>
+ result.append(convert<%=genItemType.getName()%>ToString(<%=genItemType.getQualifiedClassifierAccessor()%>, <%=item%>));
+ <%} else {%>
+ result.append(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genItemType.getQualifiedClassifierAccessor()%>, <%=item%>));
+ <%}%>
+ result.append(' ');
+ }
+ return result.substring(0, result.length() - 1);
+ <%}%>
+ <%} else if (!genDataType.getMemberTypes().isEmpty()) {%>
+ <%if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {%>
+ <%if (genDataType.isPrimitiveType()) {%>
+ return instanceValue == null ? null : convert<%=genDataType.getName()%>(((<%=genDataType.getObjectInstanceClassName()%>)instanceValue)<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>.<%=genDataType.getPrimitiveValueFunction()%>()<%}%>);
+ <%} else {%>
+ return convert<%=genDataType.getName()%>(instanceValue);
+ <%}%>
+ <%} else {%>
+ if (instanceValue == null) return null;
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ if (<%=genMemberType.getQualifiedClassifierAccessor()%>.isInstance(instanceValue))
+ {
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ String value = convert<%=genMemberType.getName()%>ToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%} else {%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ if (value != null) return value;
+ }
+ catch (Exception e)
+ {
+ // Keep trying other member types until all have failed.
+ }
+ }
+ <%}%>
+ throw new IllegalArgumentException("Invalid value: '"+instanceValue+"' for datatype :"+eDataType.getName());
+ <%}%>
+ <%} else if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {%>
+ <%if (genDataType.isPrimitiveType()) {%>
+ return instanceValue == null ? null : convert<%=genDataType.getName()%>(<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>(<%}%>(<%=genDataType.getObjectInstanceClassName()%>)instanceValue<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>).<%=genDataType.getPrimitiveValueFunction()%>()<%}%>);
+ <%} else {%>
+ return convert<%=genDataType.getName()%>((<%=genDataType.getImportedBoundedWildcardInstanceClassName()%>)instanceValue);
+ <%}%>
+ <%} else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {%>
+ return super.convertToString(instanceValue);
+ <%} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {%>
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new <%=genModel.getImportedName("java.lang.UnsupportedOperationException")%>();
+ <%} else {%>
+ return super.convertToString(eDataType, instanceValue);
+ <%}%>
+ }
+
+ <%}%>
+<%}%>
+<%} else {%>
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (genClass.hasFactoryInterfaceCreateMethod()) {%>
+ /**
+ * Returns a new object of class '<em><%=genClass.getFormattedName()%></em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em><%=genClass.getFormattedName()%></em>'.
+ * @generated
+ */
+ <%=genClass.getTypeParameters()%><%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> create<%=genClass.getName()%>();
+
+ <%}%>
+ <%}%>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ <%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ <%if (genDataType.isSerializable()) {%>
+ /**
+ * Returns an instance of data type '<em><%=genDataType.getFormattedName()%></em>' corresponding the given literal.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param literal a literal of the data type.
+ * @return a new instance value of the data type.
+ * @generated
+ */
+ <%=genDataType.getImportedParameterizedInstanceClassName()%> create<%=genDataType.getName()%>(String literal);
+
+ /**
+ * Returns a literal representation of an instance of data type '<em><%=genDataType.getFormattedName()%></em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param instanceValue an instance value of the data type.
+ * @return a literal representation of the instance value.
+ * @generated
+ */
+ String convert<%=genDataType.getName()%>(<%=genDataType.getImportedBoundedWildcardInstanceClassName()%> instanceValue);
+
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%if (!isImplementation && !genModel.isSuppressEMFMetaData()) {%>
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ <%=genPackage.getPackageInterfaceName()%> get<%=genPackage.getBasicPackageName()%>();
+
+<%} else if (isImplementation) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getImportedPackageInterfaceName()%> get<%=genPackage.getBasicPackageName()%>()
+ {
+ return (<%=genPackage.getImportedPackageInterfaceName()%>)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Deprecated
+ <%}%>
+ public static <%=genPackage.getImportedPackageInterfaceName()%> getPackage()
+ {
+ return <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE;
+ }
+
+<%}%>
+} //<%=isInterface ? genPackage.getFactoryInterfaceName() : genPackage.getFactoryClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._StZU2GKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._StZU2GKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..b9705be
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._StZU2GKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = ((Object[]) new Object[]{new Object[]{genPackage,genPackage.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE,Boolean.TRUE}})[0];
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._08Xm-WKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._08Xm-WKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._08Xm-WKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._9Kva1HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._9Kva1HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..15c07fb
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._9Kva1HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenClass genClass = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (!genClass.isExternalInterface() && (!genModel.isSuppressInterfaces() || genClass.isInterface()));
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EFTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EFTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EFTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EFzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EFzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e33395b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EFzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenClass genClass = parameter;
+targetPath = genClass.getGenModel().getModelDirectory();
+packageName = genClass.getGenPackage().getInterfacePackageName();
+className = genClass.getInterfaceName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..4da5a7c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,897 @@
+
+<%
+/**
+ * Copyright (c) 2002-2011 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%final GenClass genClass = (GenClass)((Object[])argument)[0]; final GenPackage genPackage = genClass.getGenPackage(); final GenModel genModel=genPackage.getGenModel();%>
+<%final boolean isJDK50 = genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50;%>
+<%final boolean isInterface = Boolean.TRUE.equals(((Object[])argument)[1]); final boolean isImplementation = Boolean.TRUE.equals(((Object[])argument)[2]);%>
+<%final boolean isGWT = genModel.getRuntimePlatform() == GenRuntimePlatform.GWT;%>
+<%final String publicStaticFinalFlag = isImplementation ? "public static final " : "";%>
+<%final String singleWildcard = isJDK50 ? "<?>" : "";%>
+<%final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - " + genClass.getOffsetCorrectionField(null) : "";%>
+<%final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(null) : "";%>
+<%final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION" : "";%>
+<%final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION" : "";%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+<%if (isInterface) {%>
+package <%=genPackage.getInterfacePackageName()%>;
+<%} else {%>
+package <%=genPackage.getClassPackageName()%>;
+<%}%>
+
+<%genModel.markImportLocation(stringBuffer, genPackage);%>
+<%if (isImplementation) { genClass.addClassPsuedoImports(); }%>
+
+<%if (isInterface) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.interface.javadoc.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/interface.javadoc.override.javajetinc%>
+<%} else {%>
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b><%=genClass.getFormattedName()%></b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+<%if (!genClass.getImplementedGenFeatures().isEmpty()) {%>
+ * The following features are implemented:
+ * <ul>
+<%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {%>
+ * <li>{@link <%=genClass.getQualifiedClassName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}</li>
+<%}%>
+ * </ul>
+<%}%>
+ * </p>
+ *
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+public<%if (genClass.isAbstract()) {%> abstract<%}%> class <%=genClass.getClassName()%><%=genClass.getTypeParameters().trim()%><%=genClass.getClassExtends()%><%=genClass.getClassImplements()%>
+<%} else {%>
+public interface <%=genClass.getInterfaceName()%><%=genClass.getTypeParameters().trim()%><%=genClass.getInterfaceExtends()%>
+<%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (isImplementation && genModel.getDriverNumber() != null) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> mofDriverNumber = "<%=genModel.getDriverNumber()%>";<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (isImplementation && genClass.isJavaIOSerializable()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final long serialVersionUID = 1L;
+
+<%}%>
+<%if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField();%>
+ <%if (eVirtualValuesField != null) {%>
+ /**
+ * An array of objects representing the values of non-primitive features.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected Object[] <%=eVirtualValuesField%>;
+
+ <%}%>
+ <%{ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());%>
+ <%if (!eVirtualIndexBitFields.isEmpty()) {%>
+ <%for (String eVirtualIndexBitField : eVirtualIndexBitFields) {%>
+ /**
+ * A bit field representing the indices of non-primitive feature values.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int <%=eVirtualIndexBitField%>;
+
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled() && genModel.getBooleanFlagsReservedBits() == -1) {%>
+ /**
+ * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int <%=genModel.getBooleanFlagsField()%> = 0;
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation()) {%>
+ <%for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {%>
+ <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String rawListItemType = genFeature.getRawListItemType(genClass); int index = rawListItemType.indexOf('['); String head = rawListItemType; String tail = ""; if (index != -1) { head = rawListItemType.substring(0, index); tail = rawListItemType.substring(index); } %>
+ /**
+ * The empty value for the '{@link #<%=genFeature.getGetArrayAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}' array accessor.
+ * This is specialized for the more specific element type known in this context.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #<%=genFeature.getGetArrayAccessor()%>()
+ * @generated
+ * @ordered
+ */
+ <%if (genFeature.getQualifiedListItemType(genClass).contains("<") || genFeature.getArrayItemType(genClass).contains("<")) {%>
+ @SuppressWarnings("rawtypes")
+ <%}%>
+ protected static final <%=rawListItemType%>[] <%=genFeature.getUpperName()%>_EEMPTY_ARRAY = new <%=head%> [0]<%=tail%>;
+
+ <%}%>
+ <%}%>
+ <%for (GenFeature genFeature : genClass.getDeclaredFieldGenFeatures()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/declaredFieldGenFeature.override.javajetinc%>
+ <%}%>
+<%}%>
+<%if (isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenFeatures().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int <%=genClass.getOffsetCorrectionField(null)%> = <%=genClass.getQualifiedClassifierAccessor()%>.getFeatureID(<%=genClass.getImplementedGenFeatures().get(0).getQualifiedFeatureAccessor()%>) - <%=genClass.getQualifiedFeatureID(genClass.getImplementedGenFeatures().get(0))%>;
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation()) {%>
+ <%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) { GenFeature reverseFeature = genFeature.getReverse();%>
+ <%if (reverseFeature != null && reverseFeature.getGenClass().hasOffsetCorrection()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int <%=genClass.getOffsetCorrectionField(genFeature)%> = <%=reverseFeature.getGenClass().getQualifiedClassifierAccessor()%>.getFeatureID(<%=reverseFeature.getQualifiedFeatureAccessor()%>) - <%=reverseFeature.getGenClass().getQualifiedFeatureID(reverseFeature)%>;
+
+ <%}%>
+ <%}%>
+<%}%>
+<%if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenOperations().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int "EOPERATION_OFFSET_CORRECTION" = <%=genClass.getQualifiedClassifierAccessor()%>.getOperationID(<%=genClass.getImplementedGenOperations().get(0).getQualifiedOperationAccessor()%>) - <%=genClass.getQualifiedOperationID(genClass.getImplementedGenOperations().get(0))%>;
+
+<%}%>
+<%if (isImplementation) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.isPublicConstructors()) {%>public<%} else {%>protected<%}%> <%=genClass.getClassName()%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.egfCustom.constructor.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%for (GenFeature genFeature : genClass.getFlagGenFeaturesWithDefault()) {%>
+ <%=genClass.getFlagsField(genFeature)%> |= <%=genFeature.getUpperName()%>_EFLAG<%if (!genFeature.isBooleanType()) {%>_DEFAULT<%}%>;
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%> eStaticClass()
+ {
+ return <%=genClass.getQualifiedClassifierAccessor()%>;
+ }
+
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.reflectiveDelegation.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/reflectiveDelegation.override.javajetinc%>
+<%if (isImplementation) {%>
+<%new Runnable() { public void run() { GenClass classExtendsGenClass = genClass.getClassExtendsGenClass(); List<GenFeature> classExtendsAllGenFeatures = classExtendsGenClass == null? Collections.<GenFeature>emptyList() : classExtendsGenClass.getAllGenFeatures();%>
+ <%for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeatureReified.override" args="genFeature:genFeature,classExtendsGenClass:classExtendsGenClass,classExtendsAllGenFeatures:classExtendsAllGenFeatures,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/genFeatureReified.override.javajetinc%>
+<%}}}.run();}%>
+<%new Runnable() { public void run() {%>
+<%for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass.getDeclaredGenFeatures())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/genFeature.override.javajetinc%>
+<%}//for%>
+<%}}.run();%>
+<%for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass.getDeclaredGenOperations())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/implementedGenOperation.override.javajetinc%>
+<%}//for%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics()) {%>
+ <%for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {%>
+ <%if (genFeature.isUncheckedCast(genClass)) {%>
+ @SuppressWarnings("unchecked")
+ <%break; }%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eInverseAdd(<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> otherEnd, int featureID, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isListType()) { String cast = "(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + (!genModel.useGenerics() ? ")" : "<" + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");%>
+ <%if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {%>
+ return ((<%=cast%>(<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).basicAdd(otherEnd, msgs);
+ <%} else {%>
+ return (<%=cast%><%=genFeature.getGetAccessor()%>()).basicAdd(otherEnd, msgs);
+ <%}%>
+ <%} else if (genFeature.isContainer()) {%>
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ <%if (genFeature.isBasicSet()) {%>
+ return basicSet<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)otherEnd, msgs);
+ <%} else {%>
+ return eBasicSetContainer(otherEnd, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+ <%}%>
+ <%} else {%>
+ <%if (genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%} else if (genFeature.isVolatile() || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = <%if (genFeature.isResolveProxies()) {%>basicGet<%=genFeature.getAccessorName()%><%} else {%><%=genFeature.getGetAccessor()%><%}%>();
+ <%}%>
+ if (<%=genFeature.getSafeName()%> != null)
+ <%if (genFeature.isEffectiveContains()) {%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - <%=genClass.getQualifiedFeatureID(genFeature)%><%=negativeOffsetCorrection%>, null, msgs);
+ <%} else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ msgs = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%>)<%=genFeature.getSafeName()%>).eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+ <%}%>
+ return basicSet<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(genClass)%>)otherEnd, msgs);
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+<%} else {%>
+ return eDynamicInverseAdd(otherEnd, featureID, msgs);
+<%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eInverseRemove(<%=genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")%> otherEnd, int featureID, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEInverseRemoveGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isListType()) {%>
+ <%if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).basicRemove(otherEnd, msgs);
+ <%} else if (genFeature.isWrappedFeatureMapType()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap()).basicRemove(otherEnd, msgs);
+ <%} else {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")%><%=singleWildcard%>)<%=genFeature.getGetAccessor()%>()).basicRemove(otherEnd, msgs);
+ <%}%>
+ <%} else if (genFeature.isContainer() && !genFeature.isBasicSet()) {%>
+ return eBasicSetContainer(null, <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, msgs);
+ <%} else if (genFeature.isUnsettable()) {%>
+ return basicUnset<%=genFeature.getAccessorName()%>(msgs);
+ <%} else {%>
+ return basicSet<%=genFeature.getAccessorName()%>(null, msgs);
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+<%} else {%>
+ return eDynamicInverseRemove(otherEnd, featureID, msgs);
+<%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> eBasicRemoveFromContainerFeature(<%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ switch (eContainerFeatureID()<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) {%>
+ <%GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ return eInternalContainer().eInverseRemove(this, <%=targetClass.getQualifiedFeatureID(reverseFeature)%><%=reverseOffsetCorrection%>, <%=targetClass.getRawImportedInterfaceName()%>.class, msgs);
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eBasicRemoveFromContainerFeature(msgs);
+<%} else {%>
+ return eDynamicBasicRemoveFromContainer(msgs);
+<%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEGetGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+<%for (GenFeature genFeature : genClass.getEGetGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isPrimitiveType()) {%>
+ <%if (isJDK50) {%>
+ return <%=genFeature.getGetAccessor()%>();
+ <%} else if (genFeature.isBooleanType()) {%>
+ return <%=genFeature.getGetAccessor()%>() ? Boolean.TRUE : Boolean.FALSE;
+ <%} else {%>
+ return new <%=genFeature.getObjectType(genClass)%>(<%=genFeature.getGetAccessor()%>());
+ <%}%>
+ <%} else if (genFeature.isResolveProxies() && !genFeature.isListType()) {%>
+ if (resolve) return <%=genFeature.getGetAccessor()%>();
+ return basicGet<%=genFeature.getAccessorName()%>();
+ <%} else if (genFeature.isMapType()) {%>
+ <%if (genFeature.isEffectiveSuppressEMFTypes()) {%>
+ if (coreType) return ((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap();
+ else return <%=genFeature.getGetAccessor()%>();
+ <%} else {%>
+ if (coreType) return <%=genFeature.getGetAccessor()%>();
+ else return <%=genFeature.getGetAccessor()%>().map();
+ <%}%>
+ <%} else if (genFeature.isWrappedFeatureMapType()) {%>
+ if (coreType) return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap();
+ return <%=genFeature.getGetAccessor()%>();
+ <%} else if (genFeature.isFeatureMapType()) {%>
+ if (coreType) return <%=genFeature.getGetAccessor()%>();
+ return ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)<%=genFeature.getGetAccessor()%>()).getWrapper();
+ <%} else {%>
+ return <%=genFeature.getGetAccessor()%>();
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eGet(featureID, resolve, coreType);
+<%} else {%>
+ return eDynamicGet(featureID, resolve, coreType);
+<%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getESetGenFeatures())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics()) {%>
+ <%for (GenFeature genFeature : genClass.getESetGenFeatures()) {%>
+ <%if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {%>
+ @SuppressWarnings("unchecked")
+ <%break; }%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID<%=negativeOffsetCorrection%>)
+ {
+ <%for (GenFeature genFeature : genClass.getESetGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%if (genFeature.isListType()) {%>
+ <%if (genFeature.isWrappedFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal.Wrapper)<%=genFeature.getGetAccessor()%>()).featureMap()).set(newValue);
+ <%} else if (genFeature.isFeatureMapType()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Internal)<%=genFeature.getGetAccessor()%>()).set(newValue);
+ <%} else if (genFeature.isMapType()) {%>
+ <%if (genFeature.isEffectiveSuppressEMFTypes()) {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Setting)((<%=genModel.getImportedName("org.eclipse.emf.common.util.EMap")%>.InternalMapView<%=genFeature.getImportedMapTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>()).eMap()).set(newValue);
+ <%} else {%>
+ ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>.Setting)<%=genFeature.getGetAccessor()%>()).set(newValue);
+ <%}%>
+ <%} else {%>
+ <%=genFeature.getGetAccessor()%>().clear();
+ <%=genFeature.getGetAccessor()%>().addAll((<%=genModel.getImportedName("java.util.Collection")%><%if (isJDK50) {%><? extends <%=genFeature.getListItemType(genClass)%>><%}%>)newValue);
+ <%}%>
+ <%} else if (!isJDK50 && genFeature.isPrimitiveType()) {%>
+ set<%=genFeature.getAccessorName()%>(((<%=genFeature.getObjectType(genClass)%>)newValue).<%=genFeature.getPrimitiveValueFunction()%>());
+ <%} else {%>
+ set<%=genFeature.getAccessorName()%>(<%if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType() || !genFeature.getRawType().equals(genFeature.getType(genClass))) {%>(<%=genFeature.getObjectType(genClass)%>)<%}%>newValue);
+ <%}%>
+ return;
+ <%}%>
+ }
+ <%if (genModel.isMinimalReflectiveMethods()) {%>
+ super.eSet(featureID, newValue);
+ <%} else {%>
+ eDynamicSet(featureID, newValue);
+ <%}%>
+ }
+
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eUnset.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/eUnset.override.javajetinc%>
+<%}%>
+<%if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eIsSet.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%><%//Class/eIsSet.override.javajetinc%>
+<%}%>
+<%if (isImplementation && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty())) {%>
+ <%if (!genClass.getMixinGenFeatures().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<%=singleWildcard%> baseClass)
+ {
+ <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%>
+ if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (derivedFeatureID<%=negativeOffsetCorrection%>)
+ {
+ <%for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>: return <%=mixinGenClass.getQualifiedFeatureID(genFeature)%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+ <%}%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<%=singleWildcard%> baseClass)
+ {
+ <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%>
+ if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseFeatureID)
+ {
+ <%for (GenFeature genFeature : mixinGenClass.getGenFeatures()) {%>
+ case <%=mixinGenClass.getQualifiedFeatureID(genFeature)%>: return <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ <%if (genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty()) {%>
+ if (baseClass == <%=genClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseFeatureID<%=negativeOffsetCorrection%>)
+ {
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>: return <%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+<%}%>
+<%if (genModel.isOperationReflection() && isImplementation && (!genClass.getMixinGenOperations().isEmpty() || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(), genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public int eDerivedOperationID(int baseOperationID, Class<%=singleWildcard%> baseClass)
+ {
+ <%for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) { List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations(); List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations();%>
+ <%if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations).isEmpty()) {%>
+ if (baseClass == <%=extendedGenClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseOperationID)
+ {
+ <%for (GenOperation genOperation : extendedImplementedGenOperations) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);%>
+ <%if (implementedGenOperations.contains(overrideGenOperation)) {%>
+ case <%=extendedGenClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(overrideGenOperation)%><%=positiveOperationOffsetCorrection%>;
+ <%}%>
+ <%}%>
+ default: return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ <%}%>
+ <%}%>
+ <%for (GenClass mixinGenClass : genClass.getMixinGenClasses()) {%>
+ if (baseClass == <%=mixinGenClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseOperationID)
+ {
+ <%for (GenOperation genOperation : mixinGenClass.getGenOperations()) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation);%>
+ case <%=mixinGenClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation : genOperation)%><%=positiveOperationOffsetCorrection%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ <%if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) {%>
+ if (baseClass == <%=genClass.getRawImportedInterfaceName()%>.class)
+ {
+ switch (baseOperationID<%=negativeOperationOffsetCorrection%>)
+ {
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
+ case <%=genClass.getQualifiedOperationID(genOperation)%>: return <%=genClass.getQualifiedOperationID(genOperation)%><%=positiveOperationOffsetCorrection%>;
+ <%}%>
+ default: return -1;
+ }
+ }
+ <%}%>
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+
+<%}%>
+<%if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField();%>
+ <%if (eVirtualValuesField != null) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected Object[] eVirtualValues()
+ {
+ return <%=eVirtualValuesField%>;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected void eSetVirtualValues(Object[] newValues)
+ {
+ <%=eVirtualValuesField%> = newValues;
+ }
+
+ <%}%>
+ <%{ List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());%>
+ <%if (!eVirtualIndexBitFields.isEmpty()) { List<String> allEVirtualIndexBitFields = genClass.getAllEVirtualIndexBitFields(new ArrayList<String>());%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected int eVirtualIndexBits(int offset)
+ {
+ switch (offset)
+ {
+ <%for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {%>
+ case <%=i%> :
+ return <%=allEVirtualIndexBitFields.get(i)%>;
+ <%}%>
+ default :
+ throw new IndexOutOfBoundsException();
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected void eSetVirtualIndexBits(int offset, int newIndexBits)
+ {
+ switch (offset)
+ {
+ <%for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) {%>
+ case <%=i%> :
+ <%=allEVirtualIndexBitFields.get(i)%> = newIndexBits;
+ break;
+ <%}%>
+ default :
+ throw new IndexOutOfBoundsException();
+ }
+ }
+
+ <%}%>
+ <%}%>
+<%}%>
+<%if (genModel.isOperationReflection() && isImplementation && !genClass.getImplementedGenOperations().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ <%if (genModel.useGenerics()) {%>
+ <%boolean isUnchecked = false; boolean isRaw = false; LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { for (GenParameter genParameter : genOperation.getGenParameters()) { if (genParameter.isUncheckedCast()) { if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType()) { isUnchecked = true; } if (genParameter.usesOperationTypeParameters() && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments().isEmpty()) { isRaw = true; break LOOP; }}}}%>
+ <%if (isUnchecked) {%>
+ @SuppressWarnings(<%if (!isRaw) {%>"unchecked"<%} else {%>{"rawtypes", "unchecked" }<%}%>)
+ <%}%>
+ <%}%>
+ public Object eInvoke(int operationID, <%=genModel.getImportedName("org.eclipse.emf.common.util.EList")%><%=singleWildcard%> arguments) throws <%=genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")%>
+ {
+ switch (operationID<%=negativeOperationOffsetCorrection%>)
+ {
+<%for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { List<GenParameter> genParameters = genOperation.getGenParameters(); int size = genParameters.size(); boolean hasCheckedException = genOperation.hasCheckedException(); String indent = hasCheckedException ? "\t" : "";%>
+ case <%=genClass.getQualifiedOperationID(genOperation)%>:
+ <%if (hasCheckedException) {%>
+ try
+ {
+ <%/*}*/}%>
+ <%if (genOperation.isVoid()) {%>
+ <%=indent%><%=genOperation.getName()%>(<%for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i);%><%if (!isJDK50 && genParameter.isPrimitiveType()) {%>(<%}%><%if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {%>(<%=genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)%>)<%}%>arguments.get(<%=i%>)<%if (!isJDK50 && genParameter.isPrimitiveType()) {%>).<%=genParameter.getPrimitiveValueFunction()%>()<%}%><%if (i < (size - 1)) {%>, <%}%><%}%>);
+ <%=indent%>return null;
+ <%} else {%>
+ <%=indent%>return <%if (!isJDK50 && genOperation.isPrimitiveType()) {%>new <%=genOperation.getObjectType(genClass)%>(<%}%><%=genOperation.getName()%>(<%for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i);%><%if (!isJDK50 && genParameter.isPrimitiveType()) {%>(<%}%><%if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {%>(<%=genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)%>)<%}%>arguments.get(<%=i%>)<%if (!isJDK50 && genParameter.isPrimitiveType()) {%>).<%=genParameter.getPrimitiveValueFunction()%>()<%}%><%if (i < (size - 1)) {%>, <%}%><%}%>)<%if (!isJDK50 && genOperation.isPrimitiveType()) {%>)<%}%>;
+ <%}%>
+ <%if (hasCheckedException) {/*{*/%>
+ }
+ catch (<%=genModel.getImportedName("java.lang.Throwable")%> throwable)
+ {
+ throw new <%=genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")%>(throwable);
+ }
+ <%}%>
+<%}%>
+ }
+<%if (genModel.isMinimalReflectiveMethods()) {%>
+ return super.eInvoke(operationID, arguments);
+<%} else {%>
+ return eDynamicInvoke(operationID, arguments);
+<%}%>
+ }
+
+<%}%>
+<%if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ <%{ boolean first = true;%>
+ <%for (GenFeature genFeature : genClass.getToStringGenFeatures()) {%>
+ <%if (first) { first = false;%>
+ result.append(" (<%=genFeature.getName()%>: ");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ result.append(", <%=genFeature.getName()%>: ");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%if (genFeature.isUnsettable() && !genFeature.isListType()) {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ if (eVirtualIsSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>)) result.append(eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>)); else result.append("<unset>");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0); else result.append("<unset>");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append(<%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]); else result.append("<unset>");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%} else {%>
+ if (<%if (genClass.isESetFlag(genFeature)) {%>(<%=genClass.getESetFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_ESETFLAG) != 0<%} else {%><%=genFeature.getUncapName()%>ESet<%}%>) result.append(<%=genFeature.getSafeName()%>); else result.append("<unset>");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%}%>
+ <%} else {%>
+ <%if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {%>
+ result.append(eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%><%if (!genFeature.isListType() && !genFeature.isReferenceType()){%>, <%=genFeature.getEDefault()%><%}%>));
+ <%} else {%>
+ <%if (genClass.isFlag(genFeature)) {%>
+ <%if (genFeature.isBooleanType()) {%>
+ result.append((<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) != 0);
+ <%} else {%>
+ result.append(<%=genFeature.getUpperName()%>_EFLAG_VALUES[(<%=genClass.getFlagsField(genFeature)%> & <%=genFeature.getUpperName()%>_EFLAG) >>> <%=genFeature.getUpperName()%>_EFLAG_OFFSET]);
+ <%}%>
+ <%} else {%>
+ result.append(<%=genFeature.getSafeName()%>);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ result.append(')');
+ return result.toString();
+ }
+
+<%}%>
+<%if (isImplementation && genClass.isMapEntry()) { GenFeature keyFeature = genClass.getMapEntryKeyFeature(); GenFeature valueFeature = genClass.getMapEntryValueFeature();%>
+<%String objectType = genModel.getImportedName("java.lang.Object");%>
+<%String keyType = isJDK50 ? keyFeature.getObjectType(genClass) : objectType;%>
+<%String valueType = isJDK50 ? valueFeature.getObjectType(genClass) : objectType;%>
+<%String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap") + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (isGWT) {%>
+ @<%=genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")%>
+ <%}%>
+ protected int hash = -1;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getHash()
+ {
+ if (hash == -1)
+ {
+ <%=objectType%> theKey = getKey();
+ hash = (theKey == null ? 0 : theKey.hashCode());
+ }
+ return hash;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHash(int hash)
+ {
+ this.hash = hash;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=keyType%> getKey()
+ {
+ <%if (!isJDK50 && keyFeature.isPrimitiveType()) {%>
+ return new <%=keyFeature.getObjectType(genClass)%>(getTypedKey());
+ <%} else {%>
+ return getTypedKey();
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setKey(<%=keyType%> key)
+ {
+ <%if (keyFeature.isListType()) {%>
+ getTypedKey().addAll(<%if (!genModel.useGenerics()) {%>(<%=genModel.getImportedName("java.util.Collection")%>)<%}%>key);
+ <%} else if (isJDK50) {%>
+ setTypedKey(key);
+ <%} else if (keyFeature.isPrimitiveType()) {%>
+ setTypedKey(((<%=keyFeature.getObjectType(genClass)%>)key).<%=keyFeature.getPrimitiveValueFunction()%>());
+ <%} else {%>
+ setTypedKey((<%=keyFeature.getImportedType(genClass)%>)key);
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=valueType%> getValue()
+ {
+ <%if (!isJDK50 && valueFeature.isPrimitiveType()) {%>
+ return new <%=valueFeature.getObjectType(genClass)%>(getTypedValue());
+ <%} else {%>
+ return getTypedValue();
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=valueType%> setValue(<%=valueType%> value)
+ {
+ <%=valueType%> oldValue = getValue();
+ <%if (valueFeature.isListType()) {%>
+ getTypedValue().clear();
+ getTypedValue().addAll(<%if (!genModel.useGenerics()) {%>(<%=genModel.getImportedName("java.util.Collection")%>)<%}%>value);
+ <%} else if (isJDK50) {%>
+ setTypedValue(value);
+ <%} else if (valueFeature.isPrimitiveType()) {%>
+ setTypedValue(((<%=valueFeature.getObjectType(genClass)%>)value).<%=valueFeature.getPrimitiveValueFunction()%>());
+ <%} else {%>
+ setTypedValue((<%=valueFeature.getImportedType(genClass)%>)value);
+ <%}%>
+ return oldValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=eMapType%> getEMap()
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%> container = eContainer();
+ return container == null ? null : (<%=eMapType%>)container.eGet(eContainmentFeature());
+ }
+
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.insert" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+} //<%=isInterface ? " " + genClass.getInterfaceName() : genClass.getClassName()%>
+<%// TODO fix the space above%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._SrmlGGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._SrmlGGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..679b588
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._SrmlGGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenClass genClass = parameter;
+argument = ((Object[]) new Object[]{new Object[]{genClass,Boolean.TRUE,Boolean.FALSE}})[0];
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._08zr2WKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._08zr2WKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._08zr2WKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._9S7thHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._9S7thHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..d3a7554
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._9S7thHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers() && !genModel.isSuppressEMFMetaData() && !genModel.isSuppressInterfaces());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsNTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsNTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsNTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IDG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IDG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..c6fdc92
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IDG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getReflectionPackageName();
+className = genPackage.getPackageInterfaceName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..fd464fe
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,1228 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%final GenPackage genPackage = (GenPackage)((Object[])argument)[0]; final GenModel genModel=genPackage.getGenModel();%>
+<%boolean isInterface = Boolean.TRUE.equals(((Object[])argument)[1]); boolean isImplementation = Boolean.TRUE.equals(((Object[])argument)[2]);%>
+<%String publicStaticFinalFlag = isImplementation ? "public static final " : "";%>
+<%boolean needsAddEOperation = false;%>
+<%boolean needsAddEParameter = false;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+<%if (isImplementation && !genModel.isSuppressInterfaces()) {%>
+package <%=genPackage.getClassPackageName()%>;
+<%} else {%>
+package <%=genPackage.getReflectionPackageName()%>;
+<%}%>
+
+<%genModel.markImportLocation(stringBuffer, genPackage);%>
+<%if (isImplementation) {%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.EPackage.Registry");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.EPackage.Descriptor");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.EPackageImpl.EBasicWhiteList");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");%>
+ <%if (genPackage.isLiteralsInterface()) {%>
+<%genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + ".Literals");%>
+ <%}%>
+<%for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers()) genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + "." + genPackage.getClassifierID(genClassifier));%>
+<%}%>
+<%if (isInterface) {%>
+
+/**
+ * <!-- 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>
+ <%if (genModel.isOperationReflection()) {%>
+ * <li>each operation of each class,</li>
+ <%}%>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+<%if (genPackage.hasDocumentation()) {%>
+ * <!-- begin-model-doc -->
+ * <%=genPackage.getDocumentation(genModel.getIndentation(stringBuffer))%>
+ * <!-- end-model-doc -->
+<%}%>
+ * @see <%=genPackage.getQualifiedFactoryInterfaceName()%>
+ <%if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genPackage.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ * @generated
+ */
+<%} else {%>
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+public class <%=genPackage.getPackageClassName()%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.EPackageImpl")%><%if (!isInterface){%> implements <%=genPackage.getImportedPackageInterfaceName()%><%}%>
+<%} else {%>
+public interface <%=genPackage.getPackageInterfaceName()%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>
+<%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (isInterface) {%>
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> eNAME = "<%=genPackage.getPackageName()%>";<%=genModel.getNonNLS()%>
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> eNS_URI = "<%=genPackage.getNSURI()%>";<%=genModel.getNonNLS()%>
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> eNS_PREFIX = "<%=genPackage.getNSName()%>";<%=genModel.getNonNLS()%>
+ <%if (genPackage.isContentType()) {%>
+
+ /**
+ * The package content type ID.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> eCONTENT_TYPE = "<%=genPackage.getContentTypeIdentifier()%>";<%=genModel.getNonNLS()%>
+ <%}%>
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genPackage.getPackageInterfaceName()%> eINSTANCE = <%=genPackage.getQualifiedPackageClassName()%>.init();
+
+ <%for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers()) {%>
+ /**
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%if (!genClass.isInterface()) {%>
+ * The meta object id for the '{@link <%=genClass.getQualifiedClassName()%> <em><%=genClass.getFormattedName()%></em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genClass.getQualifiedClassName()%>
+ <%} else {%>
+ * The meta object id for the '{@link <%=genClass.getQualifiedInterfaceName()%> <em><%=genClass.getFormattedName()%></em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genClass.getQualifiedInterfaceName()%>
+ <%}%>
+ <%} else if (genClassifier instanceof GenEnum) { GenEnum genEnum = (GenEnum)genClassifier;%>
+ * The meta object id for the '{@link <%=genEnum.getQualifiedName()%> <em><%=genEnum.getFormattedName()%></em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genEnum.getQualifiedName()%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ * The meta object id for the '<em><%=genDataType.getFormattedName()%></em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ <%if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {%>
+ * @see <%=genDataType.getRawInstanceClassName()%>
+ <%}%>
+ <%}%>
+ * @see <%=genPackage.getQualifiedPackageClassName()%>#get<%=genClassifier.getClassifierAccessorName()%>()
+ * @generated
+ */
+ <%=publicStaticFinalFlag%>int <%=genPackage.getClassifierID(genClassifier)%> = <%=genPackage.getClassifierValue(genClassifier)%>;
+
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%for (GenFeature genFeature : genClass.getAllGenFeatures()) {%>
+ /**
+ * The feature id for the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%=publicStaticFinalFlag%>int <%=genClass.getFeatureID(genFeature)%> = <%=genClass.getFeatureValue(genFeature)%>;
+
+ <%}%>
+ /**
+ * The number of structural features of the '<em><%=genClass.getFormattedName()%></em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%=publicStaticFinalFlag%>int <%=genClass.getFeatureCountID()%> = <%=genClass.getFeatureCountValue()%>;
+
+ <%if (genModel.isOperationReflection()) {%>
+ <%for (GenOperation genOperation : genClass.getAllGenOperations(false)) {%>
+ <%if (genClass.getOverrideGenOperation(genOperation) == null) {%>
+ /**
+ * The operation id for the '<em><%=genOperation.getFormattedName()%></em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%=publicStaticFinalFlag%>int <%=genClass.getOperationID(genOperation, false)%> = <%=genClass.getOperationValue(genOperation)%>;
+
+ <%}%>
+ <%}%>
+ /**
+ * The number of operations of the '<em><%=genClass.getFormattedName()%></em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ <%=publicStaticFinalFlag%>int <%=genClass.getOperationCountID()%> = <%=genClass.getOperationCountValue()%>;
+
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%if (isImplementation) {%>
+ <%if (genPackage.isLoadingInitialization()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected String packageFilename = "<%=genPackage.getSerializedPackageFilename()%>";<%=genModel.getNonNLS()%>
+
+ <%}%>
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private <%=genClassifier.getImportedMetaType()%> <%=genClassifier.getClassifierInstanceName()%> = 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 <%=genPackage.getQualifiedPackageInterfaceName()%>#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private <%=genPackage.getPackageClassName()%>()
+ {
+ super(eNS_URI, <%=genPackage.getQualifiedEFactoryInstanceAccessor()%>);
+ }
+
+ /**
+ * <!-- 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 <%=genPackage.getImportedPackageInterfaceName()%>#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
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ <%}%>
+ * @generated
+ */
+ public static <%=genPackage.getImportedPackageInterfaceName()%> init()
+ {
+ if (isInited) return (<%=genPackage.getImportedPackageInterfaceName()%>)<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI);
+
+ <%if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {%>
+ initializeRegistryHelpers();
+
+ <%}%>
+ // Obtain or create and register package
+ <%=genPackage.getPackageClassName()%> the<%=genPackage.getBasicPackageName()%> = (<%=genPackage.getPackageClassName()%>)(<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.get(eNS_URI) instanceof <%=genPackage.getPackageClassName()%> ? <%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.get(eNS_URI) : new <%=genPackage.getPackageClassName()%>());
+
+ isInited = true;
+
+ <%if (!genPackage.getPackageSimpleDependencies().isEmpty()) {%>
+ // Initialize simple dependencies
+ <%for (GenPackage dep : genPackage.getPackageSimpleDependencies()) {%>
+ <%=dep.getImportedPackageInterfaceName()%>.eINSTANCE.eClass();
+ <%}%>
+
+ <%}%>
+ <%if (!genPackage.getPackageInterDependencies().isEmpty()) {%>
+ // Obtain or create and register interdependencies
+ <%for (GenPackage interdep : genPackage.getPackageInterDependencies()) {%>
+ <%=interdep.getImportedPackageClassName()%> <%=genPackage.getPackageInstanceVariable(interdep)%> = (<%=interdep.getImportedPackageClassName()%>)(<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=interdep.getImportedPackageInterfaceName()%>.eNS_URI) instanceof <%=interdep.getImportedPackageClassName()%> ? <%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=interdep.getImportedPackageInterfaceName()%>.eNS_URI) : <%=interdep.getImportedPackageInterfaceName()%>.eINSTANCE);
+ <%}%>
+
+ <%}%>
+ <%if (genPackage.isLoadedInitialization() || !genPackage.getPackageLoadInterDependencies().isEmpty()) {%>
+ // Load packages
+ <%if (genPackage.isLoadingInitialization()) {%>
+ the<%=genPackage.getBasicPackageName()%>.loadPackage();
+ <%}%>
+ <%for (GenPackage interdep : genPackage.getPackageLoadInterDependencies()) {%>
+ <%if (interdep.isLoadingInitialization()) {%>
+ <%=genPackage.getPackageInstanceVariable(interdep)%>.loadPackage();
+ <%}%>
+ <%}%>
+
+ <%}%>
+ <%if (!genPackage.isLoadedInitialization() || !genPackage.getPackageBuildInterDependencies().isEmpty()) {%>
+ // Create package meta-data objects
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ the<%=genPackage.getBasicPackageName()%>.createPackageContents();
+ <%}%>
+ <%for (GenPackage interdep : genPackage.getPackageBuildInterDependencies()) {%>
+ <%=genPackage.getPackageInstanceVariable(interdep)%>.createPackageContents();
+ <%}%>
+
+ // Initialize created meta-data
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ the<%=genPackage.getBasicPackageName()%>.initializePackageContents();
+ <%}%>
+ <%for (GenPackage interdep : genPackage.getPackageBuildInterDependencies()) {%>
+ <%=genPackage.getPackageInstanceVariable(interdep)%>.initializePackageContents();
+ <%}%>
+
+ <%}%>
+ <%if (genPackage.isLoadedInitialization() || !genPackage.getPackageLoadInterDependencies().isEmpty()) {%>
+ // Fix loaded packages
+ <%if (genPackage.isLoadedInitialization()) {%>
+ the<%=genPackage.getBasicPackageName()%>.fixPackageContents();
+ <%}%>
+ <%for (GenPackage interdep : genPackage.getPackageLoadInterDependencies()) {%>
+ <%=genPackage.getPackageInstanceVariable(interdep)%>.fixPackageContents();
+ <%}%>
+
+ <%}%>
+ <%if (genPackage.hasConstraints()) {%>
+ // Register package validator
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EValidator")%>.Registry.INSTANCE.put
+ (the<%=genPackage.getBasicPackageName()%>,
+ new <%=genModel.getImportedName("org.eclipse.emf.ecore.EValidator")%>.Descriptor()
+ {
+ public <%=genModel.getImportedName("org.eclipse.emf.ecore.EValidator")%> getEValidator()
+ {
+ return <%=genPackage.getImportedValidatorClassName()%>.INSTANCE;
+ }
+ });
+
+ <%}%>
+ <%if (!genPackage.isEcorePackage()) {%>
+ // Mark meta-data to indicate it can't be changed
+ the<%=genPackage.getBasicPackageName()%>.freeze();
+
+ <%}%>
+
+ // Update the registry and return the package
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.put(<%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI, the<%=genPackage.getBasicPackageName()%>);
+ return the<%=genPackage.getBasicPackageName()%>;
+ }
+ <%if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static void initializeRegistryHelpers()
+ {
+ <%Set<String> helpers = new HashSet<String>(); for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%if (!genClass.isDynamic()) { String theClass = genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getRawImportedInterfaceName(); if (helpers.add(theClass)) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.register
+ (<%=theClass%>.class,
+ new <%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.Helper()
+ {
+ public boolean isInstance(Object instance)
+ {
+ return instance instanceof <%=genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getRawImportedInterfaceName() + genClass.getInterfaceWildTypeArguments()%>;
+ }
+
+ public Object newArrayInstance(int size)
+ {
+ return new <%=theClass%>[size];
+ }
+ });
+ <%}}%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ <%if (!genDataType.isPrimitiveType() && !genDataType.isObjectType()) { String theClass = genDataType.getRawImportedInstanceClassName(); if (helpers.add(theClass)) { %>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.register
+ (<%=theClass%>.class,
+ new <%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.Helper()
+ {
+ public boolean isInstance(Object instance)
+ {
+ return instance instanceof <%=theClass%>;
+ }
+
+ public Object newArrayInstance(int size)
+ {
+ <%if (genDataType.isArrayType()) { String componentType = theClass; String indices = ""; while(componentType.endsWith("[]")) { componentType = componentType.substring(0, componentType.length() - 2); indices += "[]";}%>
+ return new <%=componentType%>[size]<%=indices%>;
+ <%} else {%>
+ return new <%=theClass%>[size];
+ <%}%>
+ }
+ });
+ <%}}%>
+ <%}%>
+ <%}%>
+ }
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class WhiteList implements <%=genModel.getImportedName("com.google.gwt.user.client.rpc.IsSerializable")%>, EBasicWhiteList
+ {
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%if (!genClass.isDynamic()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getImportedWildcardInstanceClassName()%> <%=genClass.getSafeUncapName()%>;
+
+ <%}%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ <%if (!genDataType.isObjectType() && genDataType.isSerializable()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genDataType.getImportedWildcardInstanceClassName()%> <%=genDataType.getSafeUncapName()%>;
+
+ <%}%>
+ <%}%>
+ <%}%>
+ }
+ <%}%>
+
+<%}%>
+<%if (isInterface) { // TODO REMOVE THIS BOGUS EMPTY LINE%>
+
+<%}%>
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+<%if (isInterface) {%>
+ /**
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ * Returns the meta object for class '{@link <%=genClass.getQualifiedInterfaceName()%> <em><%=genClass.getFormattedName()%></em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em><%=genClass.getFormattedName()%></em>'.
+ * @see <%=genClass.getQualifiedInterfaceName()%>
+ <%if (!genModel.isSuppressEMFModelTags() && (genClass.isExternalInterface() || genClass.isDynamic())) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ <%} else if (genClassifier instanceof GenEnum) { GenEnum genEnum = (GenEnum)genClassifier;%>
+ * Returns the meta object for enum '{@link <%=genEnum.getQualifiedName()%> <em><%=genEnum.getFormattedName()%></em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em><%=genEnum.getFormattedName()%></em>'.
+ * @see <%=genEnum.getQualifiedName()%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ <%if (genDataType.isPrimitiveType() || genDataType.isArrayType()) {%>
+ * Returns the meta object for data type '<em><%=genDataType.getFormattedName()%></em>'.
+ <%} else {%>
+ * Returns the meta object for data type '{@link <%=genDataType.getRawInstanceClassName()%> <em><%=genDataType.getFormattedName()%></em>}'.
+ <%}%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em><%=genDataType.getFormattedName()%></em>'.
+ <%if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {%>
+ * @see <%=genDataType.getRawInstanceClassName()%>
+ <%}%>
+ <%if (!genModel.isSuppressEMFModelTags()) {boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genDataType.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false;%>
+ * @model <%=modelInfo%>
+ <%} else {%>
+ * <%=modelInfo%>
+ <%}} if (first) {%>
+ * @model
+ <%}}%>
+ <%}%>
+ * @generated
+ */
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+ public <%=genClassifier.getImportedMetaType()%> get<%=genClassifier.getClassifierAccessorName()%>()
+ {
+ <%if (genPackage.isLoadedInitialization()) {%>
+ if (<%=genClassifier.getClassifierInstanceName()%> == null)
+ {
+ <%=genClassifier.getClassifierInstanceName()%> = (<%=genClassifier.getImportedMetaType()%>)<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI).getEClassifiers().get(<%=genPackage.getLocalClassifierIndex(genClassifier)%>);
+ }
+ <%}%>
+ return <%=genClassifier.getClassifierInstanceName()%>;
+ }
+
+<%} else {%>
+ <%=genClassifier.getImportedMetaType()%> get<%=genClassifier.getClassifierAccessorName()%>();
+
+<%}%>
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+<%if (isInterface) {%>
+ /**
+ * Returns the meta object for the <%=genFeature.getFeatureKind()%> '{@link <%=genClass.getQualifiedInterfaceName()%><%if (!genClass.isMapEntry() && !genFeature.isSuppressedGetVisibility()) {%>#<%=genFeature.getGetAccessor()%><%}%> <em><%=genFeature.getFormattedName()%></em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the <%=genFeature.getFeatureKind()%> '<em><%=genFeature.getFormattedName()%></em>'.
+ * @see <%=genClass.getQualifiedInterfaceName()%><%if (!genClass.isMapEntry() && !genFeature.isSuppressedGetVisibility()) {%>#<%=genFeature.getGetAccessor()%>()<%}%>
+ * @see #get<%=genClass.getClassifierAccessorName()%>()
+ * @generated
+ */
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+ public <%=genFeature.getImportedMetaType()%> get<%=genFeature.getFeatureAccessorName()%>()
+ {
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ return (<%=genFeature.getImportedMetaType()%>)<%=genClass.getClassifierInstanceName()%>.getEStructuralFeatures().get(<%=genClass.getLocalFeatureIndex(genFeature)%>);
+ <%} else {%>
+ return (<%=genFeature.getImportedMetaType()%>)get<%=genClassifier.getClassifierAccessorName()%>().getEStructuralFeatures().get(<%=genClass.getLocalFeatureIndex(genFeature)%>);
+ <%}%>
+ }
+<%} else {%>
+ <%=genFeature.getImportedMetaType()%> get<%=genFeature.getFeatureAccessorName()%>();
+<%}%>
+
+ <%}%>
+ <%if (genModel.isOperationReflection()) {%>
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
+<%if (isInterface) {%>
+ /**
+ * Returns the meta object for the '{@link <%=genClass.getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the '<em><%=genOperation.getFormattedName()%></em>' operation.
+ * @see <%=genClass.getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>)
+ * @generated
+ */
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+ public <%=genOperation.getImportedMetaType()%> get<%=genOperation.getOperationAccessorName()%>()
+ {
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ return <%=genClass.getClassifierInstanceName()%>.getEOperations().get(<%=genClass.getLocalOperationIndex(genOperation)%>);
+ <%} else {%>
+ return get<%=genClassifier.getClassifierAccessorName()%>().getEOperations().get(<%=genClass.getLocalOperationIndex(genOperation)%>);
+ <%}%>
+ }
+<%} else {%>
+ <%=genOperation.getImportedMetaType()%> get<%=genOperation.getOperationAccessorName()%>();
+<%}%>
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+<%if (isInterface) {%>
+ /**
+ * 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
+ */
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+ public <%=genPackage.getImportedFactoryInterfaceName()%> get<%=genPackage.getFactoryName()%>()
+ {
+ return (<%=genPackage.getImportedFactoryInterfaceName()%>)getEFactoryInstance();
+ }
+<%} else {%>
+ <%=genPackage.getFactoryInterfaceName()%> get<%=genPackage.getFactoryName()%>();
+<%}%>
+
+<%if (isImplementation) {%>
+ <%if (!genPackage.isLoadedInitialization()) {%>
+ /**
+ * <!-- 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;
+ <%if (!genPackage.getGenClasses().isEmpty()) {%>
+
+ // Create classes and their features
+ <%for (Iterator<GenClass> c=genPackage.getGenClasses().iterator(); c.hasNext();) { GenClass genClass = c.next();%>
+ <%=genClass.getClassifierInstanceName()%> = create<%=genClass.getMetaType()%>(<%=genClass.getClassifierID()%>);
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ create<%=genFeature.getMetaType()%>(<%=genClass.getClassifierInstanceName()%>, <%=genClass.getFeatureID(genFeature)%>);
+ <%}%>
+ <%if (genModel.isOperationReflection()) {%>
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
+ createEOperation(<%=genClass.getClassifierInstanceName()%>, <%=genClass.getOperationID(genOperation, false)%>);
+ <%}%>
+ <%}%>
+ <%if (c.hasNext()) {%>
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenEnums().isEmpty()) {%>
+
+ // Create enums
+ <%for (GenEnum genEnum : genPackage.getGenEnums()) {%>
+ <%=genEnum.getClassifierInstanceName()%> = createEEnum(<%=genEnum.getClassifierID()%>);
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenDataTypes().isEmpty()) {%>
+
+ // Create data types
+ <%for (GenDataType genDataType : genPackage.getGenDataTypes()) {%>
+ <%=genDataType.getClassifierInstanceName()%> = createEDataType(<%=genDataType.getClassifierID()%>);
+ <%}%>
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+<%
+///////////////////////
+class Information
+{
+ @SuppressWarnings("unused")
+ EGenericType eGenericType;
+ int depth;
+ String type;
+ String accessor;
+}
+
+class InformationIterator
+{
+ Iterator<?> iterator;
+ InformationIterator(EGenericType eGenericType)
+ {
+ iterator = EcoreUtil.getAllContents(Collections.singleton(eGenericType));
+ }
+
+ boolean hasNext()
+ {
+ return iterator.hasNext();
+ }
+
+ Information next()
+ {
+ Information information = new Information();
+ EGenericType eGenericType = information.eGenericType = (EGenericType)iterator.next();
+ for (EObject container = eGenericType.eContainer(); container instanceof EGenericType; container = container.eContainer())
+ {
+ ++information.depth;
+ }
+ if (eGenericType.getEClassifier() != null )
+ {
+ GenClassifier genClassifier = genModel.findGenClassifier(eGenericType.getEClassifier());
+ information.type = genPackage.getPackageInstanceVariable(genClassifier.getGenPackage()) + ".get" + genClassifier.getClassifierAccessorName() + "()";
+ }
+ else if (eGenericType.getETypeParameter() != null)
+ {
+ ETypeParameter eTypeParameter = eGenericType.getETypeParameter();
+ if (eTypeParameter.eContainer() instanceof EClass)
+ {
+ information.type = genModel.findGenClassifier((EClass)eTypeParameter.eContainer()).getClassifierInstanceName() + "_" + eGenericType.getETypeParameter().getName();
+ }
+ else
+ {
+ information.type = "t" + (((EOperation)eTypeParameter.eContainer()).getETypeParameters().indexOf(eTypeParameter) + 1);
+ }
+ }
+ else
+ {
+ information.type ="";
+ }
+ if (information.depth > 0)
+ {
+ if (eGenericType.eContainmentFeature().isMany())
+ {
+ information.accessor = "getE" + eGenericType.eContainmentFeature().getName().substring(1) + "().add";
+ }
+ else
+ {
+ information.accessor = "setE" + eGenericType.eContainmentFeature().getName().substring(1);
+ }
+ }
+ return information;
+ }
+}
+///////////////////////
+int maxGenericTypeAssignment = 0;
+%>
+ /**
+ * 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);
+ <%if (!genPackage.getPackageInitializationDependencies().isEmpty()) {%>
+
+ // Obtain other dependent packages
+ <%for (GenPackage dep : genPackage.getPackageInitializationDependencies()) {%>
+ <%=dep.getImportedPackageInterfaceName()%> <%=genPackage.getPackageInstanceVariable(dep)%> = (<%=dep.getImportedPackageInterfaceName()%>)<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEPackage(<%=dep.getImportedPackageInterfaceName()%>.eNS_URI);
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getSubGenPackages().isEmpty()) {%>
+
+ // Add subpackages
+ <%for (GenPackage sub : genPackage.getSubGenPackages()) {%>
+ getESubpackages().add(<%=genPackage.getPackageInstanceVariable(sub)%>);
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenClasses().isEmpty()) { boolean firstOperationAssignment = true; int maxTypeParameterAssignment = 0;%>
+ <%if (genModel.useGenerics()) {%>
+
+ // Create type parameters
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {%>
+ <%if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter")%> <%=genClassifier.getClassifierInstanceName()%>_<%=genTypeParameter.getName()%> = addETypeParameter(<%=genClassifier.getClassifierInstanceName()%>, "<%=genTypeParameter.getName()%>");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ addETypeParameter(<%=genClassifier.getClassifierInstanceName()%>, "<%=genTypeParameter.getName()%>");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useGenerics()) {%>
+
+ // Set bounds for type parameters
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {%>
+ <%for (EGenericType bound : genTypeParameter.getEcoreTypeParameter().getEBounds()) {%>
+ <%for (InformationIterator i=new InformationIterator(bound); i.hasNext(); ) { Information info = i.next(); String prefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=prefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%=genClassifier.getClassifierInstanceName()%>_<%=genTypeParameter.getName()%>.getEBounds().add(g1);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+
+ // Add supertypes to classes
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (!genClass.hasGenericSuperTypes()) {%>
+ <%for (GenClass baseGenClass : genClass.getBaseGenClasses()) {%>
+ <%=genClass.getClassifierInstanceName()%>.getESuperTypes().add(<%=genPackage.getPackageInstanceVariable(baseGenClass.getGenPackage())%>.get<%=baseGenClass.getClassifierAccessorName()%>());
+ <%}%>
+ <%} else {%>
+ <%for (EGenericType superType : genClass.getEcoreClass().getEGenericSuperTypes()) {%>
+ <%for (InformationIterator i=new InformationIterator(superType); i.hasNext(); ) { Information info = i.next(); String prefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=prefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%=genClass.getClassifierInstanceName()%>.getEGenericSuperTypes().add(g1);
+ <%}%>
+ <%}%>
+ <%}%>
+
+ // Initialize classes<%if (genModel.isOperationReflection()) {%>, features, and operations; add parameters<%} else {%> and features; add operations and parameters<%}%>
+ <%for (Iterator<GenClass> c=genPackage.getGenClasses().iterator(); c.hasNext();) { GenClass genClass = c.next(); boolean hasInstanceTypeName = genModel.useGenerics() && genClass.getEcoreClass().getInstanceTypeName() != null && genClass.getEcoreClass().getInstanceTypeName().contains("<");%>
+ initEClass(<%=genClass.getClassifierInstanceName()%>, <%if (genClass.isDynamic()) {%>null<%} else {%><%=genClass.getRawImportedInterfaceName()%>.class<%}%>, "<%=genClass.getName()%>", <%=genClass.getAbstractFlag()%>, <%=genClass.getInterfaceFlag()%>, <%=genClass.getGeneratedInstanceClassFlag()%><%if (hasInstanceTypeName) {%>, "<%=genClass.getEcoreClass().getInstanceTypeName()%>"<%}%>);<%=genModel.getNonNLS()%><%if (hasInstanceTypeName) {%><%=genModel.getNonNLS(2)%><%}%>
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ <%if (genFeature.hasGenericType()) {%>
+ <%for (InformationIterator i=new InformationIterator(genFeature.getEcoreFeature().getEGenericType()); i.hasNext(); ) { Information info = i.next(); String prefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=prefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (genFeature.isReferenceType()) { GenFeature reverseGenFeature = genFeature.getReverse();%>
+ <%String reverse = reverseGenFeature == null ? "null" : genPackage.getPackageInstanceVariable(reverseGenFeature.getGenPackage()) + ".get" + reverseGenFeature.getFeatureAccessorName() + "()";%>
+ initEReference(get<%=genFeature.getFeatureAccessorName()%>(), <%if (genFeature.hasGenericType()) {%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage())%>.get<%=genFeature.getTypeClassifierAccessorName()%>()<%}%>, <%=reverse%>, "<%=genFeature.getName()%>", <%=genFeature.getDefaultValue()%>, <%=genFeature.getLowerBound()%>, <%=genFeature.getUpperBound()%>, <%=genFeature.getContainerClass()%>, <%=genFeature.getTransientFlag()%>, <%=genFeature.getVolatileFlag()%>, <%=genFeature.getChangeableFlag()%>, <%=genFeature.getContainmentFlag()%>, <%=genFeature.getResolveProxiesFlag()%>, <%=genFeature.getUnsettableFlag()%>, <%=genFeature.getUniqueFlag()%>, <%=genFeature.getDerivedFlag()%>, <%=genFeature.getOrderedFlag()%>);<%=genModel.getNonNLS()%><%=genModel.getNonNLS(genFeature.getDefaultValue(), 2)%>
+ <%for (GenFeature keyFeature : genFeature.getKeys()) {%>
+ get<%=genFeature.getFeatureAccessorName()%>().getEKeys().add(<%=genPackage.getPackageInstanceVariable(keyFeature.getGenPackage())%>.get<%=keyFeature.getFeatureAccessorName()%>());
+ <%}%>
+ <%} else {%>
+ initEAttribute(get<%=genFeature.getFeatureAccessorName()%>(), <%if (genFeature.hasGenericType()) {%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage())%>.get<%=genFeature.getTypeClassifierAccessorName()%>()<%}%>, "<%=genFeature.getName()%>", <%=genFeature.getDefaultValue()%>, <%=genFeature.getLowerBound()%>, <%=genFeature.getUpperBound()%>, <%=genFeature.getContainerClass()%>, <%=genFeature.getTransientFlag()%>, <%=genFeature.getVolatileFlag()%>, <%=genFeature.getChangeableFlag()%>, <%=genFeature.getUnsettableFlag()%>, <%=genFeature.getIDFlag()%>, <%=genFeature.getUniqueFlag()%>, <%=genFeature.getDerivedFlag()%>, <%=genFeature.getOrderedFlag()%>);<%=genModel.getNonNLS()%><%=genModel.getNonNLS(genFeature.getDefaultValue(), 2)%>
+ <%}%>
+ <%}%>
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {String prefix = ""; if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty() || !genOperation.getGenExceptions().isEmpty() || !genOperation.getGenTypeParameters().isEmpty()) { if (firstOperationAssignment) { firstOperationAssignment = false; prefix = genModel.getImportedName("org.eclipse.emf.ecore.EOperation") + " op = "; } else { prefix = "op = "; }} %>
+
+ <%if (genModel.useGenerics()) {%>
+ <%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%if (genOperation.isVoid() || genOperation.hasGenericType()) {%>null<%} else {%><%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>()<%}%>, "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>, <%=genOperation.getUniqueFlag()%>, <%=genOperation.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
+ <%} else if (!genOperation.isVoid()) {%>
+ <%if (!genOperation.getEcoreOperation().isOrdered() || !genOperation.getEcoreOperation().isUnique()) { needsAddEOperation = true;%>
+ <%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>(), "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>, <%=genOperation.getUniqueFlag()%>, <%=genOperation.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
+ <%} else {%>
+ <%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, <%=genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage())%>.get<%=genOperation.getTypeClassifierAccessorName()%>(), "<%=genOperation.getName()%>", <%=genOperation.getLowerBound()%>, <%=genOperation.getUpperBound()%>);<%=genModel.getNonNLS()%>
+ <%}%>
+ <%} else {%>
+ <%=prefix%><%if (genModel.isOperationReflection()) {%>initEOperation(get<%=genOperation.getOperationAccessorName()%>()<%} else {%>addEOperation(<%=genClass.getClassifierInstanceName()%><%}%>, null, "<%=genOperation.getName()%>");<%=genModel.getNonNLS()%>
+ <%}%>
+ <%if (genModel.useGenerics()) {%>
+ <%for (ListIterator<GenTypeParameter> t=genOperation.getGenTypeParameters().listIterator(); t.hasNext(); ) { GenTypeParameter genTypeParameter = t.next(); String typeParameterVariable = ""; if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) { if (maxTypeParameterAssignment <= t.previousIndex()) { ++maxTypeParameterAssignment; typeParameterVariable = genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter") + " t" + t.nextIndex() + " = "; } else { typeParameterVariable = "t" + t.nextIndex() + " = "; }} %>
+ <%=typeParameterVariable%>addETypeParameter(op, "<%=genTypeParameter.getName()%>");<%=genModel.getNonNLS()%>
+ <%for (EGenericType typeParameter : genTypeParameter.getEcoreTypeParameter().getEBounds()) {%>
+ <%for (InformationIterator i=new InformationIterator(typeParameter); i.hasNext(); ) { Information info = i.next(); String typePrefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=typePrefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ t<%=t.nextIndex()%>.getEBounds().add(g1);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%for (GenParameter genParameter : genOperation.getGenParameters()) {%>
+ <%if (genParameter.hasGenericType()) {%>
+ <%for (InformationIterator i=new InformationIterator(genParameter.getEcoreParameter().getEGenericType()); i.hasNext(); ) { Information info = i.next(); String typePrefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=typePrefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (genModel.useGenerics()) {%>
+ addEParameter(op, <%if (genParameter.hasGenericType()){%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage())%>.get<%=genParameter.getTypeClassifierAccessorName()%>()<%}%>, "<%=genParameter.getName()%>", <%=genParameter.getLowerBound()%>, <%=genParameter.getUpperBound()%>, <%=genParameter.getUniqueFlag()%>, <%=genParameter.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
+ <%} else if (!genParameter.getEcoreParameter().isOrdered() || !genParameter.getEcoreParameter().isUnique()) { needsAddEParameter = true;%>
+ addEParameter(op, <%if (genParameter.hasGenericType()){%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage())%>.get<%=genParameter.getTypeClassifierAccessorName()%>()<%}%>, "<%=genParameter.getName()%>", <%=genParameter.getLowerBound()%>, <%=genParameter.getUpperBound()%>, <%=genParameter.getUniqueFlag()%>, <%=genParameter.getOrderedFlag()%>);<%=genModel.getNonNLS()%>
+ <%} else {%>
+ addEParameter(op, <%if (genParameter.hasGenericType()){%>g1<%} else {%><%=genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage())%>.get<%=genParameter.getTypeClassifierAccessorName()%>()<%}%>, "<%=genParameter.getName()%>", <%=genParameter.getLowerBound()%>, <%=genParameter.getUpperBound()%>);<%=genModel.getNonNLS()%>
+ <%}%>
+ <%}%>
+ <%if (genOperation.hasGenericExceptions()) {%>
+ <%for (EGenericType genericExceptions : genOperation.getEcoreOperation().getEGenericExceptions()) {%>
+ <%for (InformationIterator i=new InformationIterator(genericExceptions); i.hasNext(); ) { Information info = i.next(); String typePrefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=typePrefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ addEException(op, g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ <%} else {%>
+ <%for (GenClassifier genException : genOperation.getGenExceptions()) {%>
+ addEException(op, <%=genPackage.getPackageInstanceVariable(genException.getGenPackage())%>.get<%=genException.getClassifierAccessorName()%>());
+ <%}%>
+ <%}%>
+ <%if (!genOperation.isVoid() && genOperation.hasGenericType()) {%>
+ <%for (InformationIterator i=new InformationIterator(genOperation.getEcoreOperation().getEGenericType()); i.hasNext(); ) { Information info = i.next(); String typePrefix = ""; if (maxGenericTypeAssignment <= info.depth) { ++maxGenericTypeAssignment; typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " "; }%>
+ <%=typePrefix%>g<%=info.depth + 1%> = createEGenericType(<%=info.type%>);
+ <%if (info.depth > 0) {%>
+ g<%=info.depth%>.<%=info.accessor%>(g<%=info.depth + 1%>);
+ <%}%>
+ <%}%>
+ initEOperation(op, g1);
+ <%}%>
+ <%}%>
+ <%if (c.hasNext()) {%>
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenEnums().isEmpty()) {%>
+
+ // Initialize enums and add enum literals
+ <%for (Iterator<GenEnum> e=genPackage.getGenEnums().iterator(); e.hasNext();) { GenEnum genEnum = e.next();%>
+ initEEnum(<%=genEnum.getClassifierInstanceName()%>, <%=genEnum.getImportedName()%>.class, "<%=genEnum.getName()%>");<%=genModel.getNonNLS()%>
+ <%for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%>
+ addEEnumLiteral(<%=genEnum.getClassifierInstanceName()%>, <%=genEnum.getImportedName().equals(genEnum.getClassifierID()) ? genEnum.getQualifiedName() : genEnum.getImportedName()%>.<%=genEnumLiteral.getEnumLiteralInstanceConstantName()%>);
+ <%}%>
+ <%if (e.hasNext()) {%>
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%if (!genPackage.getGenDataTypes().isEmpty()) {%>
+
+ // Initialize data types
+ <%for (GenDataType genDataType : genPackage.getGenDataTypes()) {boolean hasInstanceTypeName = genModel.useGenerics() && genDataType.getEcoreDataType().getInstanceTypeName() != null && genDataType.getEcoreDataType().getInstanceTypeName().contains("<");%>
+ initEDataType(<%=genDataType.getClassifierInstanceName()%>, <%=genDataType.getRawImportedInstanceClassName()%>.class, "<%=genDataType.getName()%>", <%=genDataType.getSerializableFlag()%>, <%=genDataType.getGeneratedInstanceClassFlag()%><%if (hasInstanceTypeName) {%>, "<%=genDataType.getEcoreDataType().getInstanceTypeName()%>"<%}%>);<%=genModel.getNonNLS()%><%if (hasInstanceTypeName) {%><%=genModel.getNonNLS(2)%><%}%>
+ <%}%>
+ <%}%>
+ <%if (genPackage.getSuperGenPackage() == null) {%>
+
+ // Create resource
+ createResource(<%=genPackage.getSchemaLocation()%>);
+ <%}%>
+ <%if (!genPackage.isEcorePackage() && !genPackage.getAnnotationSources().isEmpty()) {%>
+
+ // Create annotations
+ <%for (String annotationSource : genPackage.getAnnotationSources()) {%>
+ // <%=annotationSource%>
+ create<%=genPackage.getAnnotationSourceIdentifier(annotationSource)%>Annotations();
+ <%}%>
+ <%}%>
+ }
+
+ <%for (String annotationSource : genPackage.getAnnotationSources()) {%>
+ /**
+ * Initializes the annotations for <b><%=annotationSource%></b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void create<%=genPackage.getAnnotationSourceIdentifier(annotationSource)%>Annotations()
+ {
+ String source = <%if (annotationSource == null) {%>null;<%} else {%>"<%=annotationSource%>";<%=genModel.getNonNLS()%><%}%>
+ <%for (EAnnotation eAnnotation : genPackage.getAllAnnotations()) { List<GenPackage.AnnotationReferenceData> annotationReferenceDataList = genPackage.getReferenceData(eAnnotation);%>
+ <%if (annotationSource == null ? eAnnotation.getSource() == null : annotationSource.equals(eAnnotation.getSource())) {%>
+ addAnnotation
+ (<%=genPackage.getAnnotatedModelElementAccessor(eAnnotation)%>,
+ source,
+ new String[]
+ {
+ <%for (Iterator<Map.Entry<String, String>> k = eAnnotation.getDetails().iterator(); k.hasNext();) { Map.Entry<String, String> detail = k.next(); String key = Literals.toStringLiteral(detail.getKey(), genModel); String value = Literals.toStringLiteral(detail.getValue(), genModel);%>
+ <%=key%>, <%=value%><%=k.hasNext() ? "," : ""%><%=genModel.getNonNLS(key + value)%>
+ <%}%>
+ }<%if (annotationReferenceDataList.isEmpty()) {%>);<%} else {%>,<%}%>
+ <%if (!annotationReferenceDataList.isEmpty()) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>[]
+ {
+ <%for (Iterator<GenPackage.AnnotationReferenceData> k = annotationReferenceDataList.iterator(); k.hasNext();) { GenPackage.AnnotationReferenceData annotationReferenceData = k.next();%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>.createURI(<%if (annotationReferenceData.containingGenPackage != genPackage) {%><%=annotationReferenceData.containingGenPackage.getImportedPackageInterfaceName()%>.<%}%>eNS_URI).appendFragment("<%=annotationReferenceData.uriFragment%>")<%if (k.hasNext()) {%>,<%}%><%=genModel.getNonNLS()%>
+ <%}%>
+ });
+ <%}%>
+ <%for (EAnnotation nestedEAnnotation : genPackage.getAllNestedAnnotations(eAnnotation)) {String nestedAnnotationSource = nestedEAnnotation.getSource(); int depth = 0; boolean nonContentAnnotation = false; StringBuilder path = new StringBuilder(); for (EObject eContainer = nestedEAnnotation.eContainer(), child = nestedEAnnotation; child != eAnnotation; child = eContainer, eContainer = eContainer.eContainer()) { boolean nonContentChild = child.eContainmentFeature() != EcorePackage.Literals.EANNOTATION__CONTENTS; if (path.length() != 0) { path.insert(0, ", "); } path.insert(0, nonContentChild); if (nonContentChild) { nonContentAnnotation = true; } ++depth; } List<GenPackage.AnnotationReferenceData> nestedAnnotationReferenceDataList = genPackage.getReferenceData(nestedEAnnotation);%>
+ addAnnotation
+ (<%=genPackage.getAnnotatedModelElementAccessor(eAnnotation)%>,
+ <%if (nonContentAnnotation && genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF210_VALUE) {%>new boolean[] { <%=path.toString()%> }<%} else {%><%=depth%><%}%>,
+ <%if (nestedAnnotationSource == null) {%>null,<%} else {%>"<%=nestedAnnotationSource%>",<%=genModel.getNonNLS()%><%}%>
+ new String[]
+ {
+ <%for (Iterator<Map.Entry<String, String>> l = nestedEAnnotation.getDetails().iterator(); l.hasNext();) { Map.Entry<String, String> detail = l.next(); String key = Literals.toStringLiteral(detail.getKey(), genModel); String value = Literals.toStringLiteral(detail.getValue(), genModel);%>
+ <%=key%>, <%=value%><%=l.hasNext() ? "," : ""%><%=genModel.getNonNLS(key + value)%>
+ <%}%>
+ }<%if (nestedAnnotationReferenceDataList.isEmpty()) {%>);<%} else {%>,<%}%>
+ <%if (!nestedAnnotationReferenceDataList.isEmpty()) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>[]
+ {
+ <%for (Iterator<GenPackage.AnnotationReferenceData> l = nestedAnnotationReferenceDataList.iterator(); l.hasNext();) { GenPackage.AnnotationReferenceData annotationReferenceData = l.next();%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>.createURI(<%if (annotationReferenceData.containingGenPackage != genPackage) {%><%=annotationReferenceData.containingGenPackage.getImportedPackageInterfaceName()%>.<%}%>eNS_URI).appendFragment("<%=annotationReferenceData.uriFragment%>")<%if (l.hasNext()) {%>,<%}%><%=genModel.getNonNLS()%>
+ <%}%>
+ });
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ }
+
+ <%}%>
+ <%} else {%>
+ <%if (genPackage.isLoadingInitialization()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isLoaded = false;
+
+ /**
+ * Laods the package and any sub-packages from their serialized form.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void loadPackage()
+ {
+ if (isLoaded) return;
+ isLoaded = true;
+
+ <%=genModel.getImportedName("java.net.URL")%> url = getClass().getResource(packageFilename);
+ if (url == null)
+ {
+ throw new RuntimeException("Missing serialized package: " + packageFilename);<%=genModel.getNonNLS()%>
+ }
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%> uri = <%=genModel.getImportedName("org.eclipse.emf.common.util.URI")%>.createURI(url.toString());
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")%> resource = new <%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl")%>().createResource(uri);
+ try
+ {
+ resource.load(null);
+ }
+ catch (<%=genModel.getImportedName("java.io.IOException")%> exception)
+ {
+ throw new <%=genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")%>(exception);
+ }
+ initializeFromLoadedEPackage(this, (<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>)resource.getContents().get(0));
+ createResource(eNS_URI);
+ }
+
+ <%}%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isFixed = false;
+
+ /**
+ * Fixes up the loaded package, to make it appear as if it had been programmatically built.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void fixPackageContents()
+ {
+ if (isFixed) return;
+ isFixed = true;
+ fixEClassifiers();
+ }
+
+ /**
+ * Sets the instance class on the given classifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected void fixInstanceClass(<%=genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")%> eClassifier)
+ {
+ if (eClassifier.getInstanceClassName() == null)
+ {
+ <%ArrayList<GenClass> dynamicGenClasses = new ArrayList<GenClass>(); for (GenClass genClass : genPackage.getGenClasses()) { if (genClass.isDynamic()) { dynamicGenClasses.add(genClass); } }%>
+ <%if (dynamicGenClasses.isEmpty()) {%>
+ eClassifier.setInstanceClassName("<%=genPackage.getInterfacePackageName()%>." + eClassifier.getName());<%=genModel.getNonNLS()%>
+ setGeneratedClassName(eClassifier);
+ <%} else {%>
+ switch (eClassifier.getClassifierID())
+ {
+ <%for (GenClass genClass : dynamicGenClasses) {%>
+ <%if (genClass.isDynamic()) {%>
+ case <%=genPackage.getClassifierID(genClass)%>:
+ <%}%>
+ <%}%>
+ {
+ break;
+ }
+ default:
+ {
+ eClassifier.setInstanceClassName("<%=genPackage.getInterfacePackageName()%>." + eClassifier.getName());<%=genModel.getNonNLS()%>
+ setGeneratedClassName(eClassifier);
+ break;
+ }
+ }
+ <%}%>
+ }
+ }
+
+ <%}%>
+ <%if (needsAddEOperation) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%> addEOperation(<%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%> owner, <%=genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")%> type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%> o = addEOperation(owner, type, name, lowerBound, upperBound);
+ o.setUnique(isUnique);
+ o.setOrdered(isOrdered);
+ return o;
+ }
+
+ <%}%>
+ <%if (needsAddEParameter) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EParameter")%> addEParameter(<%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%> owner, <%=genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")%> type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EParameter")%> p = ecoreFactory.createEParameter();
+ p.setEType(type);
+ p.setName(name);
+ p.setLowerBound(lowerBound);
+ p.setUpperBound(upperBound);
+ p.setUnique(isUnique);
+ p.setOrdered(isOrdered);
+ owner.getEParameters().add(p);
+ return p;
+ }
+
+ <%}%>
+<%}%>
+<%if (isInterface && genPackage.isLiteralsInterface()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ <%if (genModel.isOperationReflection()) {%>
+ * <li>each operation of each class,</li>
+ <%}%>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (isImplementation) {%>public <%}%>interface Literals
+ {
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ /**
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%if (!genClass.isInterface()) {%>
+ * The meta object literal for the '{@link <%=genClass.getQualifiedClassName()%> <em><%=genClass.getFormattedName()%></em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genClass.getQualifiedClassName()%>
+ <%} else {%>
+ * The meta object literal for the '{@link <%=genClass.getQualifiedInterfaceName()%> <em><%=genClass.getFormattedName()%></em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genClass.getQualifiedInterfaceName()%>
+ <%}%>
+ <%} else if (genClassifier instanceof GenEnum) { GenEnum genEnum = (GenEnum)genClassifier;%>
+ * The meta object literal for the '{@link <%=genEnum.getQualifiedName()%> <em><%=genEnum.getFormattedName()%></em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see <%=genEnum.getQualifiedName()%>
+ <%} else if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ * The meta object literal for the '<em><%=genDataType.getFormattedName()%></em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ <%if (!genDataType.isPrimitiveType() && !genDataType.isArrayType()) {%>
+ * @see <%=genDataType.getRawInstanceClassName()%>
+ <%}%>
+ <%}%>
+ * @see <%=genPackage.getQualifiedPackageClassName()%>#get<%=genClassifier.getClassifierAccessorName()%>()
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genClassifier.getImportedMetaType()%> <%=genPackage.getClassifierID(genClassifier)%> = eINSTANCE.get<%=genClassifier.getClassifierAccessorName()%>();
+
+ <%if (genClassifier instanceof GenClass) { GenClass genClass = (GenClass)genClassifier;%>
+ <%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
+ /**
+ * The meta object literal for the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%> feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genFeature.getImportedMetaType()%> <%=genClass.getFeatureID(genFeature)%> = eINSTANCE.get<%=genFeature.getFeatureAccessorName()%>();
+
+ <%}%>
+ <%if (genModel.isOperationReflection()) {%>
+ <%for (GenOperation genOperation : genClass.getGenOperations()) {%>
+ /**
+ * The meta object literal for the '<em><b><%=genOperation.getFormattedName()%></b></em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genOperation.getImportedMetaType()%> <%=genClass.getOperationID(genOperation, false)%> = eINSTANCE.get<%=genOperation.getOperationAccessorName()%>();
+
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+ }
+
+<%}%>
+} //<%=isInterface ? genPackage.getPackageInterfaceName() : genPackage.getPackageClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._Ssf88WKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._Ssf88WKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..e7f37b3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._Ssf88WKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = ((Object[]) new Object[]{new Object[]{genPackage,Boolean.TRUE,Boolean.FALSE}})[0];
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._08N1-WKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._08N1-WKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._08N1-WKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._9HAxZHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._9HAxZHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..c61438f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._9HAxZHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers() && !genModel.isSuppressInterfaces());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnJTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnJTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnJTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnJzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnJzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..ac93343
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnJzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getReflectionPackageName();
+className = genPackage.getFactoryInterfaceName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnKTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnKTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..af176e6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnKTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,719 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)((Object[])argument)[0]; GenModel genModel=genPackage.getGenModel(); /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%boolean isInterface = Boolean.TRUE.equals(((Object[])argument)[1]); boolean isImplementation = Boolean.TRUE.equals(((Object[])argument)[2]);%>
+<%String publicStaticFinalFlag = isImplementation ? "public static final " : "";%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+<%if (isInterface || genModel.isSuppressInterfaces()) {%>
+package <%=genPackage.getReflectionPackageName()%>;
+<%} else {%>
+package <%=genPackage.getClassPackageName()%>;
+<%}%>
+
+<%if (isImplementation) {%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");%>
+<%genModel.addImport("org.eclipse.emf.ecore.EClass");%>
+<%genModel.addImport("org.eclipse.emf.ecore.EObject");%>
+<%if (!genPackage.hasJavaLangConflict() && !genPackage.hasInterfaceImplConflict() && !genPackage.getClassPackageName().equals(genPackage.getInterfacePackageName())) genModel.addImport(genPackage.getInterfacePackageName() + ".*");%>
+<%}%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+<%if (isInterface) {%>
+/**
+ * <!-- 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 -->
+<%if (!genModel.isSuppressEMFMetaData()) {%>
+ * @see <%=genPackage.getQualifiedPackageInterfaceName()%>
+<%}%>
+ * @generated
+ */
+<%} else {%>
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%}%>
+<%if (isImplementation) {%>
+public class <%=genPackage.getFactoryClassName()%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.impl.EFactoryImpl")%><%if (!genModel.isSuppressInterfaces()) {%> implements <%=genPackage.getImportedFactoryInterfaceName()%><%}%>
+<%} else {%>
+public interface <%=genPackage.getFactoryInterfaceName()%><%if (!genModel.isSuppressEMFMetaData()) {%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.EFactory")%><%}%>
+<%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (isImplementation && (genModel.isSuppressEMFMetaData() || genModel.isSuppressInterfaces())) {%>
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genPackage.getFactoryClassName()%> eINSTANCE = init();
+
+<%}%>
+<%if (isInterface && genModel.isSuppressEMFMetaData()) {%>
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genPackage.getFactoryInterfaceName()%> INSTANCE = <%=genPackage.getQualifiedFactoryClassName()%>.eINSTANCE;
+
+<%} else if (isInterface && !genModel.isSuppressInterfaces()) {%>
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%=publicStaticFinalFlag%><%=genPackage.getFactoryInterfaceName()%> eINSTANCE = <%=genPackage.getQualifiedFactoryClassName()%>.init();
+
+<%}%>
+<%if (isImplementation) {%>
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage.getImportedFactoryInterfaceName();%>
+ public static <%=factoryType%> init()
+ {
+ try
+ {
+ <%=factoryType%> the<%=genPackage.getFactoryName()%> = (<%=factoryType%>)<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry.INSTANCE.getEFactory(<%=genPackage.getPackageInterfaceName()%>.eNS_URI);
+ if (the<%=genPackage.getFactoryName()%> != null)
+ {
+ return the<%=genPackage.getFactoryName()%>;
+ }
+ }
+ catch (Exception exception)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.log(exception);
+ }
+ return new <%=genPackage.getImportedFactoryClassName()%>();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getFactoryClassName()%>()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+<%if (!genClass.isAbstract()) {%>
+ case <%=genPackage.getImportedPackageInterfaceName()%>.<%=genClass.getClassifierID()%>: return <%=!genClass.isEObjectExtension() ? "(EObject)" : "" %>create<%=genClass.getName()%>();
+<%}%>
+<%}%>
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ }
+ }
+
+<%if (!genPackage.getAllGenDataTypes().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public Object createFromString(<%=genModel.getImportedName("org.eclipse.emf.ecore.EDataType")%> eDataType, String initialValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+<%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ <%if (genDataType.isSerializable()) {%>
+ case <%=genPackage.getImportedPackageInterfaceName()%>.<%=genDataType.getClassifierID()%>:
+ return create<%=genDataType.getName()%>FromString(eDataType, initialValue);
+ <%}%>
+<%}%>
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public String convertToString(<%=genModel.getImportedName("org.eclipse.emf.ecore.EDataType")%> eDataType, Object instanceValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+<%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ <%if (genDataType.isSerializable()) {%>
+ case <%=genPackage.getImportedPackageInterfaceName()%>.<%=genDataType.getClassifierID()%>:
+ return convert<%=genDataType.getName()%>ToString(eDataType, instanceValue);
+ <%}%>
+<%}%>
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ }
+ }
+
+<%}%>
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (!genClass.isAbstract()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genClass.getTypeParameters()%><%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> create<%=genClass.getName()%>()
+ {
+ <%if (genClass.isDynamic()) {%>
+ <%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> <%=genClass.getSafeUncapName()%> = <%=genClass.getCastFromEObject()%>super.create(<%=genClass.getQualifiedClassifierAccessor()%>);
+ <%} else {%>
+ <%=genClass.getImportedClassName()%><%=genClass.getClassTypeArguments()%> <%=genClass.getSafeUncapName()%> = new <%=genClass.getImportedClassName()%><%=genClass.getClassTypeArguments()%>()<%if (genModel.isSuppressInterfaces() && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {%>{}<%}%>;
+ <%}%>
+ return <%=genClass.getSafeUncapName()%>;
+ }
+
+ <%}%>
+<%}%>
+<%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ <%if (genDataType.isSerializable()) {%>
+<%if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) { String eDataType = genDataType.getQualifiedClassifierAccessor();%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics() && genDataType.isUncheckedCast() && !genDataType.hasCreatorBody()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=genDataType.getImportedParameterizedInstanceClassName()%> create<%=genDataType.getName()%>(<%if (genDataType.hasCreatorBody()) {%>final <%}%>String <%if (genDataType.hasCreatorBody()) {%>it<%} else {%>literal<%}%>)
+ {
+ <%if (genDataType.hasCreatorBody()) {%>
+ <%=genDataType.getCreatorBody(genModel.getIndentation(stringBuffer))%>
+ <%} else if (genDataType instanceof GenEnum) {%>
+ <%=genDataType.getImportedInstanceClassName()%> result = <%=genDataType.getImportedInstanceClassName()%>.get(literal);
+ if (result == null) throw new IllegalArgumentException("The value '" + literal + "' is not a valid enumerator of '" + <%=eDataType%>.getName() + "'");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%><%=genModel.getNonNLS(3)%>
+ return result;
+ <%} else if (genDataType.getBaseType() != null) { GenDataType genBaseType = genDataType.getBaseType(); boolean isPrimitiveConversion = !genDataType.isPrimitiveType() && genBaseType.isPrimitiveType();%>
+ <%if (genBaseType.getGenPackage() == genPackage) {%>
+ <%if (isPrimitiveConversion && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return new <%=genDataType.getObjectInstanceClassName()%>(create<%=genBaseType.getName()%>(literal));
+ <%} else {%>
+ return create<%=genBaseType.getName()%>(literal);
+ <%}%>
+ <%} else if (genBaseType.getGenPackage().isDataTypeConverters()) {%>
+ <%if (isPrimitiveConversion && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return new <%=genDataType.getObjectInstanceClassName()%>(<%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genBaseType.getName()%>(literal));
+ <%} else {%>
+ return <%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genBaseType.getName()%>(literal);
+ <%}%>
+ <%} else {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%><%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genBaseType.getQualifiedClassifierAccessor()%>, literal);
+ <%}%>
+ <%} else if (genDataType.getItemType() != null) { GenDataType genItemType = genDataType.getItemType(); %>
+ if (literal == null) return null;
+ <%=genDataType.getImportedParameterizedInstanceClassName()%> result = new <%=genModel.getImportedName("java.util.ArrayList")%><%if (genModel.useGenerics()) {%><<%=genItemType.getObjectType().getImportedParameterizedInstanceClassName()%>><%}%>();
+ <%if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {%>
+ for (<%=genModel.getImportedName("java.util.StringTokenizer")%> stringTokenizer = new <%=genModel.getImportedName("java.util.StringTokenizer")%>(literal); stringTokenizer.hasMoreTokens(); )
+ <%} else {%>
+ for (String item : split(literal))
+ <%}%>
+ {
+ <%if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {%>
+ String item = stringTokenizer.nextToken();
+ <%}%>
+ <%if (genItemType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) { genItemType = genItemType.getObjectType();%>
+ result.add(create<%=genItemType.getName()%>(item));
+ <%} else {%>
+ result.add(create<%=genItemType.getName()%>FromString(<%=genItemType.getQualifiedClassifierAccessor()%>, item));
+ <%}%>
+ <%} else {%>
+ <%if (genItemType.getGenPackage().isDataTypeConverters()) { genItemType = genItemType.getObjectType();%>
+ result.add(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genItemType.getName()%>(item));
+ <%} else {%>
+ result.add(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genItemType.getQualifiedClassifierAccessor()%>, item));
+ <%}%>
+ <%}%>
+ }
+ return result;
+ <%} else if (!genDataType.getMemberTypes().isEmpty()) {%>
+ if (literal == null) return <%=genDataType.getStaticValue(null)%>;
+ <%=genDataType.getImportedInstanceClassName()%> result = <%=genDataType.getStaticValue(null)%>;
+ RuntimeException exception = null;
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) { if (!genDataType.isPrimitiveType()) genMemberType = genMemberType.getObjectType();%>
+ result = create<%=genMemberType.getName()%>(literal);
+ <%} else {%>
+ result = (<%=genDataType.getObjectInstanceClassName()%>)create<%=genMemberType.getName()%>FromString(<%=genMemberType.getQualifiedClassifierAccessor()%>, literal);
+ <%}%>
+ <%} else {%>
+ <%if (genPackage.isDataTypeConverters()) { if (!genDataType.isPrimitiveType()) genMemberType = genMemberType.getObjectType();%>
+ result = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genMemberType.getName()%>(literal);
+ <%} else {%>
+ result = (<%=genDataType.getObjectInstanceClassName()%>)<%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genMemberType.getQualifiedClassifierAccessor()%>, literal);
+ <%}%>
+ <%}%>
+ if (<%if (!genDataType.isPrimitiveType()) {%>result != null && <%}%><%=genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician")%>.INSTANCE.validate(<%=eDataType%>, <%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>new <%=genDataType.getObjectInstanceClassName()%>(result)<%} else {%>result<%}%>, null, null))
+ {
+ return result;
+ }
+ }
+ catch (RuntimeException e)
+ {
+ exception = e;
+ }
+ <%}%>
+ if (<%if (!genDataType.isPrimitiveType()) {%>result != null || <%}%>exception == null) return result;
+
+ throw exception;
+ <%} else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {%>
+ return (<%=genDataType.getImportedParameterizedObjectInstanceClassName()%>)super.createFromString(literal);
+ <%} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {%>
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new <%=genModel.getImportedName("java.lang.UnsupportedOperationException")%>();
+ <%} else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return ((<%=genDataType.getObjectInstanceClassName()%>)super.createFromString(<%=eDataType%>, literal)).<%=genDataType.getPrimitiveValueFunction()%>();
+ <%} else {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getImportedParameterizedObjectInstanceClassName()%>)<%}%>super.createFromString(<%=eDataType%>, literal);
+ <%}%>
+ }
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (!genPackage.isDataTypeConverters() && genModel.useGenerics() && genDataType.isUncheckedCast() && !genDataType.hasCreatorBody()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public <%=genDataType.getImportedParameterizedObjectInstanceClassName()%> create<%=genDataType.getName()%>FromString(<%=genModel.getImportedName("org.eclipse.emf.ecore.EDataType")%> eDataType, String initialValue)
+ {
+ <%if (genDataType instanceof GenEnum) {%>
+ <%if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {%>
+ return create<%=genDataType.getName()%>(initialValue);
+ <%} else {%>
+ <%=((GenEnum)genDataType).getImportedInstanceClassName()%> result = <%=((GenEnum)genDataType).getImportedInstanceClassName()%>.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%><%=genModel.getNonNLS(3)%>
+ return result;
+ <%}%>
+ <%} else if (genDataType.getBaseType() != null) { GenDataType genBaseType = genDataType.getBaseType(); %>
+ <%if (genBaseType.getGenPackage() == genPackage) {%>
+ return <%if (!genDataType.getObjectInstanceClassName().equals(genBaseType.getObjectInstanceClassName())) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%>create<%=genBaseType.getName()%>FromString(<%=genBaseType.getQualifiedClassifierAccessor()%>, initialValue);
+ <%} else {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%><%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genBaseType.getQualifiedClassifierAccessor()%>, initialValue);
+ <%}%>
+ <%} else if (genDataType.getItemType() != null) { GenDataType genItemType = genDataType.getItemType(); %>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ return create<%=genDataType.getName()%>(initialValue);
+ <%} else {%>
+ if (initialValue == null) return null;
+ <%=genDataType.getImportedParameterizedObjectInstanceClassName()%> result = new <%=genModel.getImportedName("java.util.ArrayList")%><%if (genModel.useGenerics()) {%><<%=genItemType.getObjectType().getImportedParameterizedInstanceClassName()%>><%}%>();
+ <%if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {%>
+ for (<%=genModel.getImportedName("java.util.StringTokenizer")%> stringTokenizer = new <%=genModel.getImportedName("java.util.StringTokenizer")%>(initialValue); stringTokenizer.hasMoreTokens(); )
+ <%} else {%>
+ for (String item : split(initialValue))
+ <%}%>
+ {
+ <%if (genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF26_VALUE) {%>
+ String item = stringTokenizer.nextToken();
+ <%}%>
+ <%if (genItemType.getGenPackage() == genPackage) {%>
+ result.add(create<%=genItemType.getName()%>FromString(<%=genItemType.getQualifiedClassifierAccessor()%>, item));
+ <%} else {%>
+ result.add(<%if (!genItemType.isObjectType()) {%>(<%=genItemType.getObjectInstanceClassName()%>)<%}%><%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genItemType.getQualifiedClassifierAccessor()%>, item));
+ <%}%>
+ }
+ return result;
+ <%}%>
+ <%} else if (!genDataType.getMemberTypes().isEmpty()) {%>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ <%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return new <%=genDataType.getObjectInstanceClassName()%>(create<%=genDataType.getName()%>(initialValue));
+ <%} else {%>
+ return create<%=genDataType.getName()%>(initialValue);
+ <%}%>
+ <%} else {%>
+ if (initialValue == null) return null;
+ <%=genDataType.getObjectInstanceClassName()%> result = null;
+ RuntimeException exception = null;
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ result = <%if (!genDataType.isObjectType() && !genDataType.getObjectInstanceClassName().equals(genMemberType.getObjectInstanceClassName())) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%>create<%=genMemberType.getName()%>FromString(<%=genMemberType.getQualifiedClassifierAccessor()%>, initialValue);
+ <%} else {%>
+ result = <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getObjectInstanceClassName()%>)<%}%><%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.createFromString(<%=genMemberType.getQualifiedClassifierAccessor()%>, initialValue);
+ <%}%>
+ if (result != null && <%=genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician")%>.INSTANCE.validate(eDataType, result, null, null))
+ {
+ return result;
+ }
+ }
+ catch (RuntimeException e)
+ {
+ exception = e;
+ }
+ <%}%>
+ if (result != null || exception == null) return result;
+
+ throw exception;
+ <%}%>
+ <%} else if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {%>
+ return create<%=genDataType.getName()%>(initialValue);
+ <%} else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getImportedParameterizedObjectInstanceClassName()%>)<%}%>super.createFromString(initialValue);
+ <%} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {%>
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new <%=genModel.getImportedName("java.lang.UnsupportedOperationException")%>();
+ <%} else {%>
+ return <%if (!genDataType.isObjectType()) {%>(<%=genDataType.getImportedParameterizedObjectInstanceClassName()%>)<%}%>super.createFromString(eDataType, initialValue);
+ <%}%>
+ }
+
+<%if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) { String eDataType = genDataType.getQualifiedClassifierAccessor();%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convert<%=genDataType.getName()%>(<%if (genDataType.hasCreatorBody()) {%>final <%}%><%=genDataType.getImportedBoundedWildcardInstanceClassName()%> <%if (genDataType.hasConverterBody()) {%>it<%} else {%>instanceValue<%}%>)
+ {
+ <%if (genDataType.hasConverterBody()) {%>
+ <%=genDataType.getConverterBody(genModel.getIndentation(stringBuffer))%>
+ <%} else if (genDataType instanceof GenEnum) {%>
+ return instanceValue == null ? null : instanceValue.toString();
+ <%} else if (genDataType.getBaseType() != null) { GenDataType genBaseType = genDataType.getBaseType(); boolean isPrimitiveConversion = !genDataType.isPrimitiveType() && genBaseType.isPrimitiveType();%>
+ <%if (genBaseType.getGenPackage() == genPackage) {%>
+ <%if (isPrimitiveConversion) {%>
+ return instanceValue == null ? null : convert<%=genBaseType.getName()%>(instanceValue<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>.<%=genBaseType.getPrimitiveValueFunction()%>()<%}%>);
+ <%} else {%>
+ return convert<%=genBaseType.getName()%>(instanceValue);
+ <%}%>
+ <%} else if (genBaseType.getGenPackage().isDataTypeConverters()) {%>
+ return <%=genBaseType.getGenPackage().getQualifiedFactoryInstanceAccessor()%>.convert<%=genBaseType.getName()%>(instanceValue);
+ <%} else {%>
+ return <%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genBaseType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ <%} else if (genDataType.getItemType() != null) { GenDataType genItemType = genDataType.getItemType(); %>
+ if (instanceValue == null) return null;
+ if (instanceValue.isEmpty()) return "";
+ <%=genModel.getImportedName("java.lang.StringBuffer")%> result = new <%=genModel.getImportedName("java.lang.StringBuffer")%>();
+ <%String item; if (!genModel.useGenerics()) { item = "i.next()"; %>
+ for (<%=genModel.getImportedName("java.util.Iterator")%> i = instanceValue.iterator(); i.hasNext(); )
+ <%} else { item = "item";%>
+ for (<%=genModel.getImportedName("java.lang.Object")%> item : instanceValue)
+ <%}%>
+ {
+ <%if (genItemType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) { genItemType = genItemType.getObjectType();%>
+ result.append(convert<%=genItemType.getName()%>((<%=genItemType.getObjectInstanceClassName()%>)<%=item%>));
+ <%} else {%>
+ result.append(convert<%=genItemType.getName()%>ToString(<%=genItemType.getQualifiedClassifierAccessor()%>, <%=item%>));
+ <%}%>
+ <%} else {%>
+ <%if (genItemType.getGenPackage().isDataTypeConverters()) { genItemType = genItemType.getObjectType();%>
+ result.append(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convert<%=genItemType.getName()%>((<%=genItemType.getObjectInstanceClassName()%>)<%=item%>));
+ <%} else {%>
+ result.append(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genItemType.getQualifiedClassifierAccessor()%>, <%=item%>));
+ <%}%>
+ <%}%>
+ result.append(' ');
+ }
+ return result.substring(0, result.length() - 1);
+ <%} else if (!genDataType.getMemberTypes().isEmpty()) {%>
+ <%if (!genDataType.isPrimitiveType()) {%>
+ if (instanceValue == null) return null;
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ if (<%=genMemberType.getQualifiedClassifierAccessor()%>.isInstance(instanceValue))
+ {
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ <%if (genMemberType.getQualifiedInstanceClassName().equals(genDataType.getQualifiedInstanceClassName())) {%>
+ String value = convert<%=genMemberType.getName()%>(instanceValue);
+ <%} else if (genMemberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ String value = convert<%=genMemberType.getName()%>(((<%=genMemberType.getObjectType().getImportedInstanceClassName()%>)instanceValue).<%=genMemberType.getPrimitiveValueFunction()%>());
+ <%} else {%>
+ String value = convert<%=genMemberType.getName()%>((<%=genMemberType.getObjectType().getImportedBoundedWildcardInstanceClassName()%>)instanceValue);
+ <%}%>
+ <%} else {%>
+ String value = convert<%=genMemberType.getName()%>ToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ <%} else {%>
+ <%if (genMemberType.getGenPackage().isDataTypeConverters()) { genMemberType = genMemberType.getObjectType();%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convert<%=genMemberType.getName()%>((<%=genMemberType.getObjectInstanceClassName()%>)instanceValue);
+ <%} else {%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ <%}%>
+ if (value != null) return value;
+ }
+ catch (Exception e)
+ {
+ // Keep trying other member types until all have failed.
+ }
+ }
+ <%}%>
+ <%} else {%>
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ String value = convert<%=genMemberType.getName()%>(instanceValue);
+ <%} else {%>
+ String value = convert<%=genMemberType.getName()%>ToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, <%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>new <%=genMemberType.getObjectInstanceClassName()%>(instanceValue)<%} else {%>instanceValue<%}%>);
+ <%}%>
+ <%} else {%>
+ <%if (genMemberType.getGenPackage().isDataTypeConverters()) {%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convert<%=genMemberType.getName()%>(instanceValue);
+ <%} else {%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, <%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>new <%=genMemberType.getObjectInstanceClassName()%>(instanceValue)<%} else {%>instanceValue<%}%>);
+ <%}%>
+ <%}%>
+ if (value != null) return value;
+ }
+ catch (Exception e)
+ {
+ // Keep trying other member types until all have failed.
+ }
+ <%}%>
+ <%}%>
+ throw new IllegalArgumentException("Invalid value: '"+instanceValue+"' for datatype :"+<%=eDataType%>.getName());
+ <%} else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {%>
+ return super.convertToString(instanceValue);
+ <%} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {%>
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new <%=genModel.getImportedName("java.lang.UnsupportedOperationException")%>();
+ <%} else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return super.convertToString(<%=eDataType%>, new <%=genDataType.getObjectInstanceClassName()%>(instanceValue));
+ <%} else {%>
+ return super.convertToString(<%=eDataType%>, instanceValue);
+ <%}%>
+ }
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useGenerics() && (genDataType.getItemType() != null || genDataType.isUncheckedCast()) && (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody())) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public String convert<%=genDataType.getName()%>ToString(<%=genModel.getImportedName("org.eclipse.emf.ecore.EDataType")%> eDataType, Object instanceValue)
+ {
+ <%if (genDataType instanceof GenEnum) {%>
+ <%if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {%>
+ return convert<%=genDataType.getName()%>((<%=genDataType.getImportedInstanceClassName()%>)instanceValue);
+ <%} else {%>
+ return instanceValue == null ? null : instanceValue.toString();
+ <%}%>
+ <%} else if (genDataType.getBaseType() != null) { GenDataType genBaseType = genDataType.getBaseType(); %>
+ <%if (genBaseType.getGenPackage() == genPackage) {%>
+ return convert<%=genBaseType.getName()%>ToString(<%=genBaseType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%} else {%>
+ return <%=genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genBaseType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ <%} else if (genDataType.getItemType() != null) { GenDataType genItemType = genDataType.getItemType(); %>
+ <%if (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody()) {%>
+ return convert<%=genDataType.getName()%>((<%=genDataType.getImportedBoundedWildcardInstanceClassName()%>)instanceValue);
+ <%} else { final String singleWildcard = genModel.useGenerics() ? "<?>" : "";%>
+ if (instanceValue == null) return null;
+ <%=genModel.getImportedName("java.util.List")%><%=singleWildcard%> list = (<%=genModel.getImportedName("java.util.List")%><%=singleWildcard%>)instanceValue;
+ if (list.isEmpty()) return "";
+ <%=genModel.getImportedName("java.lang.StringBuffer")%> result = new <%=genModel.getImportedName("java.lang.StringBuffer")%>();
+ <%String item; if (!genModel.useGenerics()) { item = "i.next()"; %>
+ for (<%=genModel.getImportedName("java.util.Iterator")%> i = list.iterator(); i.hasNext(); )
+ <%} else { item = "item";%>
+ for (<%=genModel.getImportedName("java.lang.Object")%> item : list)
+ <%}%>
+ {
+ <%if (genItemType.getGenPackage() == genPackage) {%>
+ result.append(convert<%=genItemType.getName()%>ToString(<%=genItemType.getQualifiedClassifierAccessor()%>, <%=item%>));
+ <%} else {%>
+ result.append(<%=genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genItemType.getQualifiedClassifierAccessor()%>, <%=item%>));
+ <%}%>
+ result.append(' ');
+ }
+ return result.substring(0, result.length() - 1);
+ <%}%>
+ <%} else if (!genDataType.getMemberTypes().isEmpty()) {%>
+ <%if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {%>
+ <%if (genDataType.isPrimitiveType()) {%>
+ return instanceValue == null ? null : convert<%=genDataType.getName()%>(((<%=genDataType.getObjectInstanceClassName()%>)instanceValue)<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>.<%=genDataType.getPrimitiveValueFunction()%>()<%}%>);
+ <%} else {%>
+ return convert<%=genDataType.getName()%>(instanceValue);
+ <%}%>
+ <%} else {%>
+ if (instanceValue == null) return null;
+ <%for (GenDataType genMemberType : genDataType.getMemberTypes()) {%>
+ if (<%=genMemberType.getQualifiedClassifierAccessor()%>.isInstance(instanceValue))
+ {
+ try
+ {
+ <%if (genMemberType.getGenPackage() == genPackage) {%>
+ String value = convert<%=genMemberType.getName()%>ToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%} else {%>
+ String value = <%=genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.convertToString(<%=genMemberType.getQualifiedClassifierAccessor()%>, instanceValue);
+ <%}%>
+ if (value != null) return value;
+ }
+ catch (Exception e)
+ {
+ // Keep trying other member types until all have failed.
+ }
+ }
+ <%}%>
+ throw new IllegalArgumentException("Invalid value: '"+instanceValue+"' for datatype :"+eDataType.getName());
+ <%}%>
+ <%} else if (genPackage.isDataTypeConverters() || genDataType.hasConverterBody()) {%>
+ <%if (genDataType.isPrimitiveType()) {%>
+ return instanceValue == null ? null : convert<%=genDataType.getName()%>(<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>(<%}%>(<%=genDataType.getObjectInstanceClassName()%>)instanceValue<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>).<%=genDataType.getPrimitiveValueFunction()%>()<%}%>);
+ <%} else {%>
+ return convert<%=genDataType.getName()%>((<%=genDataType.getImportedBoundedWildcardInstanceClassName()%>)instanceValue);
+ <%}%>
+ <%} else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {%>
+ return super.convertToString(instanceValue);
+ <%} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {%>
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new <%=genModel.getImportedName("java.lang.UnsupportedOperationException")%>();
+ <%} else {%>
+ return super.convertToString(eDataType, instanceValue);
+ <%}%>
+ }
+
+ <%}%>
+<%}%>
+<%} else {%>
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (genClass.hasFactoryInterfaceCreateMethod()) {%>
+ /**
+ * Returns a new object of class '<em><%=genClass.getFormattedName()%></em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em><%=genClass.getFormattedName()%></em>'.
+ * @generated
+ */
+ <%=genClass.getTypeParameters()%><%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> create<%=genClass.getName()%>();
+
+ <%}%>
+ <%}%>
+ <%if (genPackage.isDataTypeConverters()) {%>
+ <%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ <%if (genDataType.isSerializable()) {%>
+ /**
+ * Returns an instance of data type '<em><%=genDataType.getFormattedName()%></em>' corresponding the given literal.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param literal a literal of the data type.
+ * @return a new instance value of the data type.
+ * @generated
+ */
+ <%=genDataType.getImportedParameterizedInstanceClassName()%> create<%=genDataType.getName()%>(String literal);
+
+ /**
+ * Returns a literal representation of an instance of data type '<em><%=genDataType.getFormattedName()%></em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param instanceValue an instance value of the data type.
+ * @return a literal representation of the instance value.
+ * @generated
+ */
+ String convert<%=genDataType.getName()%>(<%=genDataType.getImportedBoundedWildcardInstanceClassName()%> instanceValue);
+
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%if (!isImplementation && !genModel.isSuppressEMFMetaData()) {%>
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ <%=genPackage.getPackageInterfaceName()%> get<%=genPackage.getBasicPackageName()%>();
+
+<%} else if (isImplementation) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getImportedPackageInterfaceName()%> get<%=genPackage.getBasicPackageName()%>()
+ {
+ return (<%=genPackage.getImportedPackageInterfaceName()%>)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Deprecated
+ <%}%>
+ public static <%=genPackage.getImportedPackageInterfaceName()%> getPackage()
+ {
+ return <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE;
+ }
+
+<%}%>
+} //<%=isInterface ? genPackage.getFactoryInterfaceName() : genPackage.getFactoryClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._StsPyGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._StsPyGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..e7f37b3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._StsPyGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = ((Object[]) new Object[]{new Object[]{genPackage,Boolean.TRUE,Boolean.FALSE}})[0];
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._08qh6WKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._08qh6WKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._08qh6WKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._85wYhHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._85wYhHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..1e675a3
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._85wYhHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.getResource() != GenResourceKind.NONE_LITERAL);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiFTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiFTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiFTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiFzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiFzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..f6dd7fe
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiFzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getUtilitiesPackageName();
+className = genPackage.getResourceClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiGTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiGTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..91398cc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiGTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,455 @@
+
+<%
+/**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel(); ExtendedMetaData extendedMetaData= genModel.getExtendedMetaData();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getUtilitiesPackageName()%>;
+
+<%genModel.getImportedName("org.eclipse.emf.common.util.URI");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see <%=genPackage.getQualifiedResourceFactoryClassName()%>
+ * @generated
+ */
+public class <%=genPackage.getResourceClassName()%> extends <%=genPackage.getImportedResourceBaseClassName()%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public <%=genPackage.getResourceClassName()%>(URI uri)
+ {
+ super(uri);
+<%if (genPackage.getResource() == GenResourceKind.XML_LITERAL) { // Do nothing%>
+<%}%>
+ }
+
+<%if (genPackage.isDataTypeConverters() && (genPackage.hasDocumentRoot() || org.eclipse.emf.ecore.xml.type.XMLTypePackage.eNS_URI.equals(genPackage.getNSURI()))) { boolean isXMLTypePackage = org.eclipse.emf.ecore.xml.type.XMLTypePackage.eNS_URI.equals(genPackage.getNSURI());%>
+<%final String _Map = genModel.useGenerics() ? "Map<?, ?>" : "Map";%>
+<%final String _MapStringBoolean = genModel.useGenerics() ? "Map<String, Boolean>" : "Map";%>
+<%final String _MapStringWildcard = genModel.useGenerics() ? "Map<String, ?>" : "Map";%>
+<%if (!isXMLTypePackage) {%>
+<%genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLResource");%>
+<%genModel.getImportedName("org.eclipse.emf.ecore.xmi.XMLParserPool");%>
+<%genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.XMLParserPoolImpl");%>
+<%genModel.getImportedName("java.io.InputStream");%>
+<%genModel.getImportedName("java.io.IOException");%>
+<%genModel.getImportedName("org.eclipse.emf.ecore.EObject");%>
+<%genModel.getImportedName("java.util.Collections");%>
+<%genModel.getImportedName("java.util.HashMap");%>
+<%genModel.getImportedName("java.util.Map");%>
+<%genModel.getImportedName("org.xml.sax.InputSource");%>
+<%genModel.getImportedName("javax.xml.parsers.SAXParser");%>
+<%}%>
+<%genModel.getImportedName("org.xml.sax.Attributes");%>
+<%genModel.getImportedName("org.xml.sax.SAXException");%>
+<%String _StackFrame = genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl")+".StackFrame";%>
+<%String _DataFrame = genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl")+".DataFrame";%>
+<%if (!isXMLTypePackage) {%>
+ /**
+ * A load option that turns of the use of the generate data converters.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String OPTION_USE_DATA_CONVERTER = "USE_DATA_CONVERTER";
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void doLoad(InputStream inputStream, <%=_Map%> options) throws IOException
+ {
+ if (options != null && Boolean.TRUE.equals(options.get(OPTION_USE_DATA_CONVERTER)))
+ {
+ getContents().add
+ (load
+ (new InputSource(inputStream),
+ (<%=_MapStringBoolean%>)options.get(XMLResource.OPTION_PARSER_FEATURES),
+ (<%=_MapStringWildcard%>)options.get(XMLResource.OPTION_PARSER_PROPERTIES),
+ Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER))).eContainer());
+ }
+ else
+ {
+ super.doLoad(inputStream, options);
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void doLoad(InputSource inputSource, <%=_Map%> options) throws IOException
+ {
+ if (options != null && Boolean.TRUE.equals(options.get(OPTION_USE_DATA_CONVERTER)))
+ {
+ getContents().add
+ (load
+ (inputSource,
+ (<%=_MapStringBoolean%>)options.get(XMLResource.OPTION_PARSER_FEATURES),
+ (<%=_MapStringWildcard%>)options.get(XMLResource.OPTION_PARSER_PROPERTIES),
+ Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER))).eContainer());
+ }
+ else
+ {
+ super.doLoad(inputSource, options);
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final XMLParserPool parserPool = new XMLParserPoolImpl();
+
+ /**
+ * Loads an instance from the input.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param inputSource the input from which to load.
+ * @param features a map of the parser features and their values.
+ * @param properties a map of a parser properties and their values.
+ * @param useLexicalHandler whether a lexical handler should be used during loading.
+ * @return the root object; for the case of a document root, the child of that document root is return.
+ * @throws ParserConfigurationException
+ * @throws SAXException
+ * @generated
+ */
+ public static EObject load(InputSource inputSource, <%=_MapStringBoolean%> features, <%=_MapStringWildcard%> properties, boolean useLexicalHandler) throws IOException
+ {
+ <%=_MapStringBoolean%> requiredFeatures = new <%=_MapStringBoolean.replaceAll("Map","HashMap")%>();
+ requiredFeatures.put("http://xml.org/sax/features/namespaces", Boolean.TRUE);
+ if (features != null)
+ {
+ requiredFeatures.putAll(features);
+ }
+
+ if (properties == null)
+ {
+ properties = Collections.<%if (genModel.useGenerics()) {%>emptyMap()<%} else {%>EMPTY_MAP<%}%>;
+ }
+
+ SAXParser saxParser = null;
+ try
+ {
+ saxParser = parserPool.get(requiredFeatures, properties, useLexicalHandler);
+ final FrameFactory.DocumentRootStackFrame documentRoot = FrameFactory.INSTANCE.pushDocumentRoot(null, null);
+ XMLTypeResourceImpl.Handler handler = new XMLTypeResourceImpl.Handler(documentRoot);
+ saxParser.parse(inputSource, handler);
+<%if (genModel.isSuppressEMFTypes()) {%>
+ return (EObject)((EObject)FrameFactory.INSTANCE.popDocumentRoot(documentRoot)).eContents().get(0);
+<%} else {%>
+ return FrameFactory.INSTANCE.popDocumentRoot(documentRoot).eContents().get(0);
+<%}%>
+ }
+ catch (Exception exception)
+ {
+ throw new IOWrappedException(exception);
+ }
+ finally
+ {
+ parserPool.release(saxParser, requiredFeatures, properties, useLexicalHandler);
+ }
+ }
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public final static class FrameFactory
+ {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final FrameFactory INSTANCE = new FrameFactory();
+
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genClass.getName()%>StackFrame <%=genClass.getSafeUncapName()%>;
+
+<%}%>
+<%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_DataFrame%> <%=genDataType.getSafeUncapName()%>;
+
+<%}%>
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+<%List<EStructuralFeature> attributes = extendedMetaData.getAllAttributes(genClass.getEcoreClass());%>
+<%List<EStructuralFeature> elements = extendedMetaData.getAllElements(genClass.getEcoreClass());%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genClass.getName()%>StackFrame push<%=genClass.getName()%>(<%=_StackFrame%> previous, Attributes attributes)
+ {
+ <%=genClass.getName()%>StackFrame result<%=genClass.getName()%> = <%=genClass.getSafeUncapName()%> == null ? new <%=genClass.getName()%>StackFrame() : <%=genClass.getSafeUncapName()%>;
+ <%=genClass.getSafeUncapName()%> = null;
+ result<%=genClass.getName()%>.pushOnto(previous);
+ result<%=genClass.getName()%>.handleAttributes(attributes);
+ return result<%=genClass.getName()%>;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genClass.getImportedInterfaceName()%> pop<%=genClass.getName()%>(<%=genClass.getName()%>StackFrame <%=genClass.getSafeUncapName()%>)
+ {
+ <%=genClass.getImportedInterfaceName()%> result<%=genClass.getName()%>Value = <%=genClass.getSafeUncapName()%>.pop<%=genClass.getName()%>();
+ this.<%=genClass.getSafeUncapName()%> = <%=genClass.getSafeUncapName()%>;
+ return result<%=genClass.getName()%>Value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class <%=genClass.getName()%>StackFrame extends <%=_StackFrame%>
+ {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genClass.getImportedInterfaceName()%> the<%=genClass.getName()%>;
+
+<%for (GenFeature genFeature : genClass.getAllGenFeatures()) {%>
+<%String name = extendedMetaData.getName(genFeature.getEcoreFeature());%>
+<%if ((elements.contains(genFeature.getEcoreFeature()) || attributes.contains(genFeature.getEcoreFeature())) && name.indexOf(":") == -1) {%>
+<%if (genFeature.isReferenceType()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genFeature.getTypeGenClass().getGenPackage().getImportedResourceClassName()%>.FrameFactory.<%=genFeature.getTypeGenClass().getName()%>StackFrame <%=genFeature.getSafeName()%>;
+
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_DataFrame%> <%=genFeature.getSafeName()%>;
+
+<%}%>
+<%}%>
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void handleAttributes(Attributes attributes)
+ {
+<%int count = 0; for (GenFeature genFeature : genClass.getAllGenFeatures()) {%>
+<%String name = extendedMetaData.getName(genFeature.getEcoreFeature());%>
+<%if (attributes.contains(genFeature.getEcoreFeature()) && !genFeature.isDerived() && name.indexOf(":") == -1) {%>
+<%String namespace = Literals.toStringLiteral(extendedMetaData.getNamespace(genFeature.getEcoreFeature()), genModel); if ("null".equals(namespace)) namespace = "\"\"";%>
+<%if (!genFeature.isReferenceType()) { GenClassifier genClassifier = genFeature.getTypeGenClassifier();%>
+<%if (count++ == 0) {%>
+ String theValue = attributes.getValue(<%=namespace%>, "<%=name%>");
+<%} else {%>
+ theValue = attributes.getValue(<%=namespace%>, "<%=name%>");
+<%}%>
+ if (theValue != null)
+ {
+<%if (genClassifier.getGenPackage().isDataTypeConverters()) {%>
+ the<%=genClass.getName()%>.set<%=genFeature.getAccessorName()%>(<%=genClassifier.getGenPackage().getQualifiedFactoryInstanceAccessor()%>.create<%=genClassifier.getName()%>(theValue));
+<%} else {%>
+ the<%=genClass.getName()%>.set<%=genFeature.getAccessorName()%>((<%=genFeature.getImportedType(null)%>)<%=genClassifier.getGenPackage().getQualifiedEFactoryInstanceAccessor()%>.createFromString(<%=genClassifier.getQualifiedClassifierAccessor()%>, theValue));
+<%}%>
+ }
+<%}%>
+<%}%>
+<%}%>
+<%if (count == 0) {%>
+ // There are attributes to handle.
+<%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=_StackFrame%> startElement(String namespace, String localName, String qName, Attributes attributes) throws SAXException
+ {
+<%count = 0; for (GenFeature genFeature : genClass.getAllGenFeatures()) {%>
+<%String name = extendedMetaData.getName(genFeature.getEcoreFeature());%>
+<%if (elements.contains(genFeature.getEcoreFeature()) && name.indexOf(":") == -1) {%>
+<%String namespace = Literals.toStringLiteral(extendedMetaData.getNamespace(genFeature.getEcoreFeature()), genModel); if ("null".equals(namespace)) namespace = "\"\"";%>
+ <%if (count++ != 0) {%>else <%}%>if ("<%=name%>".equals(localName) && <%=namespace%>.equals(namespace))
+ {
+ return <%=genFeature.getSafeName()%> = <%=genFeature.getTypeGenClassifier().getGenPackage().getImportedResourceClassName()%>.FrameFactory.INSTANCE.push<%=genFeature.getTypeGenClassifier().getName()%>(this, attributes);
+ }
+<%}%>
+<%}%>
+<%if (count == 0) {%>
+ return super.startElement(namespace, localName, qName, attributes);
+<%} else {%>
+ else
+ {
+ return super.startElement(namespace, localName, qName, attributes);
+ }
+<%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void endElement(<%=_StackFrame%> child) throws SAXException
+ {
+<%count = 0; for (GenFeature genFeature : genClass.getAllGenFeatures()) {%>
+<%String name = extendedMetaData.getName(genFeature.getEcoreFeature());%>
+<%if (elements.contains(genFeature.getEcoreFeature()) && name.indexOf(":") == -1) {%>
+ <%if (count++ != 0) {%>else <%}%>if (child == <%=genFeature.getSafeName()%>)
+ {
+<%if (genFeature.isListType()) {%>
+ the<%=genClass.getName()%>.<%=genFeature.getGetAccessor()%>().add(<%=genFeature.getTypeGenClassifier().getGenPackage().getImportedResourceClassName()%>.FrameFactory.INSTANCE.pop<%=genFeature.getTypeGenClassifier().getName()%>(<%=genFeature.getSafeName()%>));
+<%} else {%>
+ the<%=genClass.getName()%>.set<%=genFeature.getAccessorName()%>(<%=genFeature.getTypeGenClassifier().getGenPackage().getImportedResourceClassName()%>.FrameFactory.INSTANCE.pop<%=genFeature.getTypeGenClassifier().getName()%>(<%=genFeature.getSafeName()%>));
+<%}%>
+ <%=genFeature.getSafeName()%> = null;
+ }
+<%}%>
+<%}%>
+<%if (count == 0) {%>
+ super.endElement(child);
+<%} else {%>
+ else
+ {
+ super.endElement(child);
+ }
+<%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void create()
+ {
+ the<%=genClass.getName()%> = <%=genPackage.getQualifiedFactoryInstanceAccessor()%>.create<%=genClass.getName()%>();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genClass.getImportedInterfaceName()%> pop<%=genClass.getName()%>()
+ {
+ pop();
+ <%=genClass.getImportedInterfaceName()%> result<%=genClass.getName()%>Value = the<%=genClass.getName()%>;
+ the<%=genClass.getName()%> = null;
+ return result<%=genClass.getName()%>Value;
+ }
+
+ }
+
+<%}%>
+<%for (GenDataType genDataType : genPackage.getAllGenDataTypes()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=_DataFrame%> push<%=genDataType.getName()%>(<%=_StackFrame%> previous, Attributes attributes)
+ {
+ <%=_DataFrame%> result<%=genDataType.getName()%> = <%=genDataType.getSafeUncapName()%> == null ? new <%=_DataFrame%>() : <%=genDataType.getSafeUncapName()%>;
+ <%=genDataType.getSafeUncapName()%> = null;
+ result<%=genDataType.getName()%>.pushOnto(previous);
+ result<%=genDataType.getName()%>.handleAttributes(attributes);
+ return result<%=genDataType.getName()%>;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genDataType.getImportedParameterizedInstanceClassName()%> pop<%=genDataType.getName()%>(<%=_DataFrame%> <%=genDataType.getSafeUncapName()%>)
+ {
+<%if (genDataType.getGenPackage().isDataTypeConverters()) {%>
+ <%=genDataType.getImportedParameterizedInstanceClassName()%> result<%=genDataType.getName()%>Value = <%=genDataType.getGenPackage().getQualifiedFactoryInstanceAccessor()%>.create<%=genDataType.getName()%>(<%=genDataType.getSafeUncapName()%>.popValue());
+<%} else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ <%=genDataType.getImportedInstanceClassName()%> result<%=genDataType.getName()%>Value = ((<%=genDataType.getObjectInstanceClassName()%>)<%=genDataType.getGenPackage().getQualifiedEFactoryInstanceAccessor()%>.createFromString(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>.popValue())).<%=genDataType.getPrimitiveValueFunction()%>();
+<%} else {%>
+ <%=genDataType.getImportedInstanceClassName()%> result<%=genDataType.getName()%>Value = (<%=genDataType.getObjectInstanceClassName()%>)<%=genDataType.getGenPackage().getQualifiedEFactoryInstanceAccessor()%>.createFromString(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>.popValue());
+<%}%>
+ this.<%=genDataType.getSafeUncapName()%> = <%=genDataType.getSafeUncapName()%>;
+ return result<%=genDataType.getName()%>Value;
+ }
+
+<%}%>
+ }
+
+<%}%>
+} //<%=genPackage.getResourceClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._SsDRCGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._SsDRCGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._SsDRCGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._07ePGWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._07ePGWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._07ePGWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._9Nt2VHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._9Nt2VHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..93d098d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._9Nt2VHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.hasConstraints());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph005TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph005TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph005TG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph005zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph005zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..400775a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph005zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getUtilitiesPackageName();
+className = genPackage.getValidatorClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph006TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph006TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..29eb53e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph006TG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,661 @@
+
+<%
+/**
+ * Copyright (c) 2002-2013 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel();%>
+<%final String singleWildcard = genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50 ? "<?>" : "";%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getUtilitiesPackageName()%>;
+
+<%genModel.addImport("java.util.Map");%>
+<%final String _Map = genModel.useGenerics() ? "Map<" + genModel.getImportedName("java.lang.Object") + ", " + genModel.getImportedName("java.lang.Object") + ">" : "Map";%>
+<%final String objectArgument = genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ">" : "";%>
+<%genModel.addImport("org.eclipse.emf.common.util.DiagnosticChain");%>
+<%genModel.addImport("org.eclipse.emf.ecore.EPackage");%>
+<%if (!genPackage.hasJavaLangConflict() && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName())) genModel.addImport(genPackage.getInterfacePackageName() + ".*");%>
+<%genModel.markImportLocation(stringBuffer);%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.Descriptor");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.Registry");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider");%>
+<%genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.PatternMatcher");%>
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Validator</b> for the model.
+ * <!-- end-user-doc -->
+ * @see <%=genPackage.getQualifiedPackageInterfaceName()%>
+ * @generated
+ */
+public class <%=genPackage.getValidatorClassName()%> extends <%=genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator")%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genPackage.getValidatorClassName()%> INSTANCE = new <%=genPackage.getValidatorClassName()%>();
+
+ /**
+ * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.common.util.Diagnostic#getSource()
+ * @see org.eclipse.emf.common.util.Diagnostic#getCode()
+ * @generated
+ */
+ public static final String DIAGNOSTIC_SOURCE = "<%=genPackage.getInterfacePackageName()%>";<%=genModel.getNonNLS()%>
+
+<%int count = 0; for (GenClass genClass : genPackage.getGenClasses()) {%>
+<%for (GenOperation genOperation : genClass.getInvariantOperations()) {%>
+ /**
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint '<%=genOperation.getFormattedName()%>' of '<%=genClass.getFormattedName()%>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final int <%=genClass.getOperationID(genOperation)%> = <%=++count%>;
+
+<%}}%>
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = <%=count%>;
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
+
+<%for (GenPackage baseGenPackage : genPackage.getAllValidatorBaseGenPackages()) {%>
+ /**
+ * The cached base package validator.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=baseGenPackage.getImportedValidatorClassName()%> <%=genPackage.getValidatorPackageUniqueSafeName(baseGenPackage)%>Validator;
+
+<%}%>
+<%if (genPackage.hasInvariantExpressions()) {%>
+ /**
+ * Delegates evaluation of the given invariant expression against the object in the given context.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static boolean validate(<%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%> eClass, <%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%> eObject, DiagnosticChain diagnostics, <%=_Map%> context, <%=genModel.getImportedName("java.lang.String")%> validationDelegate, <%=genModel.getImportedName("org.eclipse.emf.ecore.EOperation")%> invariant, <%=genModel.getImportedName("java.lang.String")%> expression, int severity, <%=genModel.getImportedName("java.lang.String")%> source, int code)
+ {
+ return <%=genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator")%>.validate(eClass, eObject, diagnostics, context, validationDelegate, invariant, expression, severity, source, code);
+ }
+
+<%}%>
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getValidatorClassName()%>()
+ {
+ super();
+<%for (GenPackage baseGenPackage : genPackage.getAllValidatorBaseGenPackages()) {%>
+ <%=genPackage.getValidatorPackageUniqueSafeName(baseGenPackage)%>Validator = <%=baseGenPackage.getImportedValidatorClassName()%>.INSTANCE;
+<%}%>
+ }
+
+ /**
+ * Returns the package of this validator switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected EPackage getEPackage()
+ {
+ return <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE;
+ }
+
+ /**
+ * Calls <code>validateXXX</code> for the corresponding classifier of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ <%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ <%if (genClassifier.isUncheckedCast()) {%>
+ @SuppressWarnings("unchecked")
+ <%break; }%>
+ <%}%>
+ protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, <%=_Map%> context)
+ {
+ switch (classifierID)
+ {
+<%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {%>
+ case <%=genPackage.getImportedPackageInterfaceName()%>.<%=genPackage.getClassifierID(genClassifier)%>:
+ <%if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+ <%if (genDataType.isPrimitiveType()) {%>
+ <%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ return validate<%=genDataType.getName()%>(((<%=genDataType.getObjectInstanceClassName()%>)value).<%=genDataType.getPrimitiveValueFunction()%>(), diagnostics, context);
+ <%} else {%>
+ return validate<%=genDataType.getName()%>((<%=genDataType.getObjectInstanceClassName()%>)value, diagnostics, context);
+ <%}%>
+ <%} else if (genDataType.isObjectType()) {%>
+ return validate<%=genDataType.getName()%>(value, diagnostics, context);
+ <%} else {%>
+ return validate<%=genDataType.getName()%>((<%=genDataType.getObjectType().getImportedWildcardInstanceClassName()%>)value, diagnostics, context);
+ <%}%>
+ <%} else { GenClass genClass = (GenClass)genClassifier;%>
+ return validate<%=genClass.getName()%>((<%=genClass.getImportedWildcardInstanceClassName()%>)value, diagnostics, context);
+ <%}%>
+<%}%>
+ default:
+ return true;
+ }
+ }
+
+<%for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {String result = "result".equals(genClassifier.getSafeUncapName()) ? "theResult" : "result"; String diagnostics = "diagnostics".equals(genClassifier.getSafeUncapName()) ? "theDiagnostics" : "diagnostics"; String item = "item".equals(genClassifier.getSafeUncapName()) ? "theItem" : "item"; String context = "context".equals(genClassifier.getSafeUncapName()) ? "theContext" : "context";%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validate<%=genClassifier.getName()%>(<%=genClassifier.getImportedWildcardInstanceClassName()%> <%=genClassifier.getSafeUncapName()%>, DiagnosticChain <%=diagnostics%>, <%=_Map%> <%=context%>)
+ {
+<%if (genClassifier.getAllGenConstraints().isEmpty()) {%>
+ return true;
+<%} else if (genClassifier.hasOnlyDefaultConstraints()) {%>
+ return validate_EveryDefaultConstraint(<%if (!((GenClass)genClassifier).isEObjectExtension()){%>(<%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%>)<%}%><%=genClassifier.getSafeUncapName()%>, <%=diagnostics%>, <%=context%>);
+<%} else { boolean first = true;%>
+<%for (String constraint : genClassifier.getAllGenConstraints()) {GenClassifier constraintImplementor = genClassifier.getConstraintImplementor(constraint);
+ String delegate = constraintImplementor == null || constraintImplementor.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(constraintImplementor.getGenPackage()) + "Validator.";
+ String cast = constraintImplementor == null && genClassifier instanceof GenClass && !((GenClass)genClassifier).isEObjectExtension() ? "(" + genModel.getImportedName("org.eclipse.emf.ecore.EObject") + ")" : "";
+ String accessor = constraintImplementor != null && genClassifier instanceof GenDataType && !((GenDataType)genClassifier).isPrimitiveType() && ((GenDataType)constraintImplementor).isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50 ? "." + ((GenDataType)constraintImplementor).getPrimitiveValueFunction() + "()" : "";%>
+<%if ("NoCircularContainment".equals(constraint)) {%>
+ if (!validate_NoCircularContainment(<%if (!((GenClass)genClassifier).isEObjectExtension()){%>(<%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%>)<%}%><%=genClassifier.getSafeUncapName()%>, <%=diagnostics%>, <%=context%>)) return false;
+<%} else if (first) { first = false;%>
+ boolean <%=result%> = <%=delegate%>validate<%=constraintImplementor == null ? "" : constraintImplementor.getName()%>_<%=constraint%>(<%=cast%><%=genClassifier.getSafeUncapName()%><%=accessor%>, <%=diagnostics%>, <%=context%>);
+<%} else {%>
+ if (<%=result%> || <%=diagnostics%> != null) <%=result%> &= <%=delegate%>validate<%=constraintImplementor == null ? "" : constraintImplementor.getName()%>_<%=constraint%>(<%=cast%><%=genClassifier.getSafeUncapName()%><%=accessor%>, <%=diagnostics%>, <%=context%>);
+<%}%>
+<%}%>
+ return <%=result%>;
+<%}%>
+ }
+
+<%for (String constraint : genClassifier.getGenConstraints())
+{GenClassifier constraintDelegate = genClassifier.getConstraintDelegate(constraint);
+ String constant = genClassifier.getClassifierID() + "__" + CodeGenUtil.format(constraint, '_', null, false, false).toUpperCase(genClassifier.getGenModel().getLocale());
+ String delegate = constraintDelegate == null || constraintDelegate.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(constraintDelegate.getGenPackage()) + "Validator.";
+ String cast = constraintDelegate == null && genClassifier instanceof GenClass && !((GenClass)genClassifier).isEObjectExtension() ? "(" + genModel.getImportedName("org.eclipse.emf.ecore.EObject") + ")" : "";
+ String accessor = constraintDelegate != null && genClassifier instanceof GenDataType && !((GenDataType)genClassifier).isPrimitiveType() && ((GenDataType)constraintDelegate).isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50 ? "." + ((GenDataType)constraintDelegate).getPrimitiveValueFunction() + "()" : "";%>
+<%if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+<%if (constraint.equals("Min") && genDataType.getMinLiteral() != null) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @see #validate<%=genDataType.getName()%>_<%=constraint%>
+ */
+ public static final <%=genDataType.getImportedInstanceClassName()%> <%=constant%>__VALUE = <%=genDataType.getStaticValue(genDataType.getMinLiteral())%>;
+
+<%} else if (constraint.equals("Max") && genDataType.getMaxLiteral() != null) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @see #validate<%=genDataType.getName()%>_<%=constraint%>
+ */
+ public static final <%=genDataType.getImportedInstanceClassName()%> <%=constant%>__VALUE = <%=genDataType.getStaticValue(genDataType.getMaxLiteral())%>;
+
+<%} else if (constraint.equals("TotalDigits") && genDataType.getTotalDigits() != -1 && !"java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) { String value = "1"; for (int digitCount = genDataType.getTotalDigits(); digitCount > 0; --digitCount) value += "0"; %>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @see #validate<%=genDataType.getName()%>_<%=constraint%>
+ */
+ public static final <%=genDataType.getImportedInstanceClassName()%> <%=constant%>__UPPER_BOUND = <%=genDataType.getStaticValue(value)%>;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @see #validate<%=genDataType.getName()%>_<%=constraint%>
+ */
+ public static final <%=genDataType.getImportedInstanceClassName()%> <%=constant%>__LOWER_BOUND = <%=genDataType.getStaticValue("-" + value)%>;
+
+<%} else if (constraint.equals("Pattern") && !genDataType.getPatterns().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @see #validate<%=genDataType.getName()%>_<%=constraint%>
+ */
+ public static final PatternMatcher [][] <%=constant%>__VALUES =
+ new PatternMatcher [][]
+ {
+<%for (Iterator<List<String>> k = genDataType.getPatterns().iterator(); k.hasNext(); ) { List<String> patternList = k.next();%>
+ new PatternMatcher []
+ {
+<%for (Iterator<String> p = patternList.iterator(); p.hasNext(); ) { String pattern = p.next();%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil")%>.createPatternMatcher(<%=pattern%>)<%=p.hasNext() ? "," : ""%>
+<%}%>
+ }<%=k.hasNext() ? "," : ""%>
+<%}%>
+ };
+
+<%} else if (constraint.equals("Enumeration") && !genDataType.getEnumerationLiterals().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @see #validate<%=genDataType.getName()%>_<%=constraint%>
+ */
+ <%if (genDataType.isUncheckedCast()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ public static final <%=genModel.getImportedName("java.util.Collection")%><%=objectArgument%> <%=constant%>__VALUES =
+ wrapEnumerationValues
+ (new Object[]
+ {
+<%for (Iterator<String> k = genDataType.getEnumerationLiterals().iterator(); k.hasNext(); ) { String literal = k.next();%>
+ <%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>new <%=genDataType.getObjectInstanceClassName()%>(<%}%><%=genDataType.getStaticValue(literal, false)%><%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>)<%}%><%=k.hasNext() ? "," : ""%>
+<%}%>
+ });
+
+<%}%>
+<%}%>
+<%if (genClassifier.hasConstraintExpression(constraint)) {%>
+ /**
+ * The cached validation expression for the <%=constraint%> constraint of '<em><%=genClassifier.getFormattedName()%></em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final <%=genModel.getImportedName("java.lang.String")%> <%=genClassifier.getClassifierID()%>__<%=CodeGenUtil.upperName(constraint)%>__EEXPRESSION = "<%=genClassifier.getConstraintExpression(constraint, "\t\t")%>";<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * Validates the <%=constraint%> constraint of '<em><%=genClassifier.getFormattedName()%></em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validate<%=genClassifier.getName()%>_<%=constraint%>(<%=genClassifier.getImportedWildcardInstanceClassName()%> <%=genClassifier.getSafeUncapName()%>, DiagnosticChain <%=diagnostics%>, <%=_Map%> <%=context%>)
+ {
+<%if (genClassifier instanceof GenDataType) { GenDataType genDataType = (GenDataType)genClassifier;%>
+<%if (constraint.equals("ItemType") && genDataType.getItemType() != null) { GenDataType itemType = genDataType.getItemType(); String itemDelegate = itemType.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(itemType.getGenPackage()) + "Validator.";%>
+ boolean <%=result%> = true;
+ for (<%=genModel.getImportedName("java.util.Iterator")%><%=singleWildcard%> i = <%=genClassifier.getSafeUncapName()%>.iterator(); i.hasNext() && (result || diagnostics != null); )
+ {
+ Object item = i.next();
+ <%if (itemType.getGenPackage().hasConstraints()) {%>
+ if (<%=itemType.getQualifiedClassifierAccessor()%>.isInstance(item))
+ {
+ result &= <%=itemDelegate%>validate<%=itemType.getName()%>(<%if (itemType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>(<%}%><%if (!itemType.isObjectType()) {%>(<%=itemType.getObjectInstanceClassName()%>)<%}%><%=item%><%if (itemType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>).<%=itemType.getPrimitiveValueFunction()%>()<%}%>, <%=diagnostics%>, <%=context%>);
+ }
+ else
+ <%} else {%>
+ if (!<%=itemType.getQualifiedClassifierAccessor()%>.isInstance(item))
+ <%}%>
+ {
+ result = false;
+ reportDataValueTypeViolation(<%=itemType.getQualifiedClassifierAccessor()%>, item, <%=diagnostics%>, <%=context%>);
+ }
+ }
+ return result;
+<%} else if (constraint.equals("MemberTypes") && !genDataType.getMemberTypes().isEmpty()) {%>
+ if (diagnostics != null)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")%> tempDiagnostics = new BasicDiagnostic();
+<%for (ListIterator<GenDataType> k = genDataType.getMemberTypes().listIterator(); k.hasNext(); ) { GenDataType memberType = k.next(); String memberDelegate = memberType.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(memberType.getGenPackage()) + "Validator.";%>
+ <%if (genDataType.isPrimitiveType()) {%>
+ if (<%=memberDelegate%>validate<%=memberType.getName()%>(<%=genClassifier.getSafeUncapName()%>, tempDiagnostics, <%=context%>)) return true;
+ <%} else {%>
+ if (<%=memberType.getQualifiedClassifierAccessor()%>.isInstance(<%=genClassifier.getSafeUncapName()%>))
+ {
+ <%if (memberType.getGenPackage().hasConstraints()) {%>if (<%=memberDelegate%>validate<%=memberType.getName()%>(<%if (memberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>(<%}%><%if (!memberType.isObjectType() && !memberType.getQualifiedInstanceClassName().equals(genDataType.getQualifiedInstanceClassName())) {%>(<%=memberType.getImportedWildcardObjectInstanceClassName()%>)<%}%><%=genClassifier.getSafeUncapName()%><%if (memberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>).<%=memberType.getPrimitiveValueFunction()%>()<%}%>, tempDiagnostics, <%=context%>)) <%}%>return true;
+ }
+ <%}%>
+<%}%>
+<%if (genModel.useGenerics()) {%>
+ for (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%> diagnostic : tempDiagnostics.getChildren())
+ {
+ diagnostics.add(diagnostic);
+ }
+<%} else {%>
+ <%=genModel.getImportedName("java.util.List")%> children = tempDiagnostics.getChildren();
+ for (int i = 0; i < children.size(); i++)
+ {
+ diagnostics.add((<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>)children.get(i));
+ }
+<%}%>
+ }
+ else
+ {
+<%for (ListIterator<GenDataType> k = genDataType.getMemberTypes().listIterator(); k.hasNext(); ) { GenDataType memberType = k.next(); String memberDelegate = memberType.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(memberType.getGenPackage()) + "Validator.";%>
+ <%if (genDataType.isPrimitiveType()) {%>
+ if (<%=memberDelegate%>validate<%=memberType.getName()%>(<%=genClassifier.getSafeUncapName()%>, null, <%=context%>)) return true;
+ <%} else {%>
+ if (<%=memberType.getQualifiedClassifierAccessor()%>.isInstance(<%=genClassifier.getSafeUncapName()%>))
+ {
+ <%if (memberType.getGenPackage().hasConstraints()) {%>if (<%=memberDelegate%>validate<%=memberType.getName()%>(<%if (memberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>(<%}%><%if (!memberType.isObjectType() && !memberType.getQualifiedInstanceClassName().equals(genDataType.getQualifiedInstanceClassName())) {%>(<%=memberType.getImportedWildcardObjectInstanceClassName()%>)<%}%><%=genClassifier.getSafeUncapName()%><%if (memberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>).<%=memberType.getPrimitiveValueFunction()%>()<%}%>, null, <%=context%>)) <%}%>return true;
+ }
+ <%}%>
+<%}%>
+ }
+ return false;
+<%} else if (constraint.equals("Pattern") && !genDataType.getPatterns().isEmpty()) {%>
+ return validatePattern(<%=genDataType.getQualifiedClassifierAccessor()%>, <%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>new <%=genDataType.getObjectInstanceClassName()%>(<%}%><%=genDataType.getSafeUncapName()%><%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>)<%}%>, <%=constant%>__VALUES, <%=diagnostics%>, <%=context%>);
+<%} else if (constraint.equals("Enumeration") && !genDataType.getEnumerationLiterals().isEmpty()) { String variable = genDataType.getSafeUncapName();%>
+<%if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { variable = variable + "Object";%>
+ <%=genDataType.getObjectInstanceClassName()%> <%=variable%> = new <%=genDataType.getObjectInstanceClassName()%>(<%=genDataType.getSafeUncapName()%>);
+<%}%>
+ boolean <%=result%> = <%=constant%>__VALUES.contains(<%=variable%>);
+ if (!<%=result%> && <%=diagnostics%> != null)
+ reportEnumerationViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=variable%>, <%=constant%>__VALUES, <%=diagnostics%>, <%=context%>);
+ return <%=result%>;
+<%} else if (constraint.equals("Min") && genDataType.getMinLiteral() != null) {%>
+<%if (genDataType.isPrimitiveType()) {%>
+ boolean <%=result%> = <%=genDataType.getSafeUncapName()%> <%=genDataType.isMinInclusive() ? ">=" : ">"%> <%=constant%>__VALUE;
+ if (!<%=result%> && <%=diagnostics%> != null)
+<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ reportMinViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, new <%=genDataType.getObjectInstanceClassName()%>(<%=genDataType.getSafeUncapName()%>), new <%=genDataType.getObjectInstanceClassName()%>(<%=constant%>__VALUE), <%=genDataType.isMinInclusive() ? "true" : "false"%>, <%=diagnostics%>, <%=context%>);
+<%} else {%>
+ reportMinViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, <%=constant%>__VALUE, <%=genDataType.isMinInclusive() ? "true" : "false"%>, <%=diagnostics%>, <%=context%>);
+<%}%>
+ return <%=result%>;
+<%} else { String comparison = "comparison".equals(genClassifier.getSafeUncapName()) ? "theComparison" : "comparison";%>
+<%if (genDataType.isXMLCalendar()) {%>
+ int <%=comparison%> = <%=genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil")%>.compareCalendar(<%=genDataType.getSafeUncapName()%>, <%=constant%>__VALUE);
+ boolean <%=result%> = <%if (genDataType.isMinInclusive()) {%><%=comparison%> == 0 || <%}%><%=comparison%> == 1;
+<%} else if (genDataType.isXMLDuration()) {%>
+ int <%=comparison%> = <%=genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil")%>.compareDuration(<%=genDataType.getSafeUncapName()%>, <%=constant%>__VALUE);
+ boolean <%=result%> = <%if (genDataType.isMinInclusive()) {%><%=comparison%> == 0 || <%}%><%=comparison%> == 1;
+<%} else {%>
+ boolean <%=result%> = <%=genDataType.getSafeUncapName()%>.compareTo(<%=constant%>__VALUE) <%=genDataType.isMinInclusive() ? ">=" : ">"%> 0;
+<%}%>
+ if (!<%=result%> && <%=diagnostics%> != null)
+ reportMinViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, <%=constant%>__VALUE, <%=genDataType.isMinInclusive() ? "true" : "false"%>, <%=diagnostics%>, <%=context%>);
+ return <%=result%>;
+<%}%>
+<%} else if (constraint.equals("Max") && genDataType.getMaxLiteral() != null) {%>
+<%if (genDataType.isPrimitiveType()) {%>
+ boolean <%=result%> = <%=genDataType.getSafeUncapName()%> <%=genDataType.isMaxInclusive() ? "<=" : "<"%> <%=constant%>__VALUE;
+ if (!<%=result%> && <%=diagnostics%> != null)
+<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ reportMaxViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, new <%=genDataType.getObjectInstanceClassName()%>(<%=genDataType.getSafeUncapName()%>), new <%=genDataType.getObjectInstanceClassName()%>(<%=constant%>__VALUE), <%=genDataType.isMaxInclusive() ? "true" : "false"%>, <%=diagnostics%>, <%=context%>);
+<%} else {%>
+ reportMaxViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, <%=constant%>__VALUE, <%=genDataType.isMaxInclusive() ? "true" : "false"%>, <%=diagnostics%>, <%=context%>);
+<%}%>
+ return <%=result%>;
+<%} else { String comparison = "comparison".equals(genClassifier.getSafeUncapName()) ? "theComparison" : "comparison";%>
+<%if (genDataType.isXMLCalendar()) {%>
+ int <%=comparison%> = <%=genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil")%>.compareCalendar(<%=genDataType.getSafeUncapName()%>, <%=constant%>__VALUE);
+ boolean <%=result%> = <%if (genDataType.isMaxInclusive()) {%><%=comparison%> == 0 || <%}%><%=comparison%> == -1;
+<%} else if (genDataType.isXMLDuration()) {%>
+ int <%=comparison%> = <%=genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil")%>.compareDuration(<%=genDataType.getSafeUncapName()%>, <%=constant%>__VALUE);
+ boolean <%=result%> = <%if (genDataType.isMaxInclusive()) {%><%=comparison%> == 0 || <%}%><%=comparison%> == -1;
+<%} else {%>
+ boolean <%=result%> = <%=genDataType.getSafeUncapName()%>.compareTo(<%=constant%>__VALUE) <%=genDataType.isMaxInclusive() ? "<=" : "<"%> 0;
+<%}%>
+ if (!<%=result%> && <%=diagnostics%> != null)
+ reportMaxViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, <%=constant%>__VALUE, <%=genDataType.isMaxInclusive() ? "true" : "false"%>, <%=diagnostics%>, <%=context%>);
+ return <%=result%>;
+<%}%>
+<%} else if (constraint.equals("MinLength") && genDataType.getMinLength() != -1) {%>
+ int length = <%=genDataType.getSafeUncapName()%>.<%=genDataType.getLengthAccessorFunction()%>;
+ boolean <%=result%> = length >= <%=genDataType.getMinLength()%>;
+ if (!<%=result%> && <%=diagnostics%> != null)
+ reportMinLengthViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, length, <%=genDataType.getMinLength()%>, <%=diagnostics%>, <%=context%>);
+ return <%=result%>;
+<%} else if (constraint.equals("MaxLength") && genDataType.getMaxLength() != -1) {%>
+ int length = <%=genDataType.getSafeUncapName()%>.<%=genDataType.getLengthAccessorFunction()%>;
+ boolean <%=result%> = length <= <%=genDataType.getMaxLength()%>;
+ if (!<%=result%> && <%=diagnostics%> != null)
+ reportMaxLengthViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, length, <%=genDataType.getMaxLength()%>, <%=diagnostics%>, <%=context%>);
+ return <%=result%>;
+<%} else if (constraint.equals("TotalDigits") && genDataType.getTotalDigits() != -1) {%>
+<%if (genDataType.isPrimitiveType()) {%>
+ boolean <%=result%> = <%=genDataType.getSafeUncapName()%> > <%=constant%>__LOWER_BOUND && <%=genDataType.getSafeUncapName()%> < <%=constant%>__UPPER_BOUND;
+ if (!<%=result%> && <%=diagnostics%> != null)
+<%if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+ reportTotalDigitsViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, new <%=genDataType.getObjectInstanceClassName()%>(<%=genDataType.getSafeUncapName()%>), <%=genDataType.getTotalDigits()%>, <%=diagnostics%>, <%=context%>);
+<%} else {%>
+ reportTotalDigitsViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, <%=genDataType.getTotalDigits()%>, <%=diagnostics%>, <%=context%>);
+<%}%>
+<%} else if ("java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {%>
+ boolean <%=result%> = <%=genDataType.getSafeUncapName()%>.unscaledValue().abs().toString().length() <= <%=genDataType.getTotalDigits()%>;
+ if (!<%=result%> && <%=diagnostics%> != null)
+ reportTotalDigitsViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, <%=genDataType.getTotalDigits()%>, <%=diagnostics%>, <%=context%>);
+<%} else {%>
+ boolean <%=result%> = <%=genDataType.getSafeUncapName()%>.compareTo(<%=constant%>__LOWER_BOUND) > 0 && <%=genDataType.getSafeUncapName()%>.compareTo(<%=constant%>__UPPER_BOUND) < 0;
+ if (!<%=result%> && <%=diagnostics%> != null)
+ reportTotalDigitsViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, <%=genDataType.getTotalDigits()%>, <%=diagnostics%>, <%=context%>);
+<%}%>
+ return <%=result%>;
+<%} else if (constraint.equals("FractionDigits") && genDataType.getFractionDigits() != -1 && "java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {%>
+ boolean <%=result%> = <%=genDataType.getSafeUncapName()%>.scale() <= <%=genDataType.getFractionDigits()%>;
+ if (!<%=result%> && <%=diagnostics%> != null)
+ reportFractionDigitsViolation(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genDataType.getSafeUncapName()%>, <%=genDataType.getFractionDigits()%>, <%=diagnostics%>, <%=context%>);
+ return <%=result%>;
+<%} else if (constraintDelegate != null) {%>
+ // TODO override the constraint, if desired
+ // -> uncomment the scaffolding
+ // -> specify the condition that violates the constraint
+ // -> verify the diagnostic details, including severity, code, and message
+ // Ensure that you remove @generated or mark it @generated NOT
+ if (false)
+ {
+ if (<%=diagnostics%> != null)
+ {
+ <%=diagnostics%>.add
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {%>
+ (createDiagnostic
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0,
+ "_UI_GenericConstraint_diagnostic",<%=genModel.getNonNLS()%>
+ new Object[] { "<%=constraint%>", getValueLabel(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genClassifier.getSafeUncapName()%>, <%=context%>) },<%=genModel.getNonNLS()%>
+ new Object[] { <%=genClassifier.getSafeUncapName()%> },
+ context));
+<%} else {%>
+ (new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")%>
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0,
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.getString("_UI_GenericConstraint_diagnostic", new Object[] { "<%=constraint%>", getValueLabel(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genClassifier.getSafeUncapName()%>, <%=context%>) }),<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ new Object[] { <%=genClassifier.getSafeUncapName()%> }));
+<%}%>
+ }
+ return false;
+ }
+ return <%=delegate%>validate<%=constraintDelegate.getName()%>_<%=constraint%>(<%=genClassifier.getSafeUncapName()%><%=accessor%>, <%=diagnostics%>, <%=context%>);
+<%} else {%>
+ <%if (genClassifier.hasConstraintExpression(constraint)) {%>
+ return
+ validate
+ (<%=genClassifier.getQualifiedClassifierAccessor()%>,
+ <%=genClassifier.getSafeUncapName()%>,
+ <%=diagnostics%>,
+ <%=context%>,
+ "<%=genClassifier.getValidationDelegate(constraint)%>",<%=genModel.getNonNLS()%>
+ "<%=constraint%>",<%=genModel.getNonNLS()%>
+ <%=genClassifier.getClassifierID()%>__<%=CodeGenUtil.upperName(constraint)%>__EEXPRESSION,
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0);
+ <%} else {%>
+ // TODO implement the constraint
+ // -> specify the condition that violates the constraint
+ // -> verify the diagnostic details, including severity, code, and message
+ // Ensure that you remove @generated or mark it @generated NOT
+ if (false)
+ {
+ if (<%=diagnostics%> != null)
+ {
+ <%=diagnostics%>.add
+ <%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {%>
+ (createDiagnostic
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0,
+ "_UI_GenericConstraint_diagnostic",<%=genModel.getNonNLS()%>
+ new Object[] { "<%=constraint%>", getValueLabel(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genClassifier.getSafeUncapName()%>, <%=context%>) },<%=genModel.getNonNLS()%>
+ new Object[] { <%=genClassifier.getSafeUncapName()%> },
+ context));
+ <%} else {%>
+ (new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")%>
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0,
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.getString("_UI_GenericConstraint_diagnostic", new Object[] { "<%=constraint%>", getValueLabel(<%=genDataType.getQualifiedClassifierAccessor()%>, <%=genClassifier.getSafeUncapName()%>, <%=context%>) }),<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ new Object[] { <%=genClassifier.getSafeUncapName()%> }));
+ <%}%>
+ }
+ return false;
+ }
+ return true;
+ <%}%>
+<%}%>
+<%} else { GenOperation genOperation = ((GenClass)genClassifier).getInvariantOperation(constraint); if (genOperation != null) {%>
+ return <%=genClassifier.getSafeUncapName()%>.<%=constraint%>(<%=diagnostics%>, <%=context%>);
+<%} else if (constraintDelegate != null) {%>
+ // TODO override the constraint, if desired
+ // -> uncomment the scaffolding
+ // -> specify the condition that violates the constraint
+ // -> verify the diagnostic details, including severity, code, and message
+ // Ensure that you remove @generated or mark it @generated NOT
+ if (false)
+ {
+ if (<%=diagnostics%> != null)
+ {
+ <%=diagnostics%>.add
+ <%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {%>
+ (createDiagnostic
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0,
+ "_UI_GenericConstraint_diagnostic",<%=genModel.getNonNLS()%>
+ new Object[] { "<%=constraint%>", getObjectLabel(<%=genClassifier.getSafeUncapName()%>, <%=context%>) },<%=genModel.getNonNLS()%>
+ new Object[] { <%=genClassifier.getSafeUncapName()%> },
+ context));
+ <%} else {%>
+ (new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")%>
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0,
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.getString("_UI_GenericConstraint_diagnostic", new Object[] { "<%=constraint%>", getObjectLabel(<%=genClassifier.getSafeUncapName()%>, <%=context%>) }),<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ new Object[] { <%=genClassifier.getSafeUncapName()%> }));
+ <%}%>
+ }
+ return false;
+ }
+ return <%=delegate%>validate<%=constraintDelegate.getName()%>_<%=constraint%>(<%=cast%><%=genClassifier.getSafeUncapName()%>, <%=diagnostics%>, <%=context%>);
+<%} else {%>
+ <%if (genClassifier.hasConstraintExpression(constraint)) {%>
+ return
+ validate
+ (<%=genClassifier.getQualifiedClassifierAccessor()%>,
+ <%=genClassifier.getSafeUncapName()%>,
+ <%=diagnostics%>,
+ <%=context%>,
+ "<%=genClassifier.getValidationDelegate(constraint)%>",<%=genModel.getNonNLS()%>
+ "<%=constraint%>",<%=genModel.getNonNLS()%>
+ <%=genClassifier.getClassifierID()%>__<%=CodeGenUtil.upperName(constraint)%>__EEXPRESSION,
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0);
+ <%} else {%>
+ // TODO implement the constraint
+ // -> specify the condition that violates the constraint
+ // -> verify the diagnostic details, including severity, code, and message
+ // Ensure that you remove @generated or mark it @generated NOT
+ if (false)
+ {
+ if (<%=diagnostics%> != null)
+ {
+ <%=diagnostics%>.add
+ <%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {%>
+ (createDiagnostic
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0,
+ "_UI_GenericConstraint_diagnostic",<%=genModel.getNonNLS()%>
+ new Object[] { "<%=constraint%>", getObjectLabel(<%=genClassifier.getSafeUncapName()%>, <%=context%>) },<%=genModel.getNonNLS()%>
+ new Object[] { <%=genClassifier.getSafeUncapName()%> },
+ context));
+ <%} else {%>
+ (new <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")%>
+ (<%=genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")%>.ERROR,
+ DIAGNOSTIC_SOURCE,
+ 0,
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")%>.INSTANCE.getString("_UI_GenericConstraint_diagnostic", new Object[] { "<%=constraint%>", getObjectLabel(<%=genClassifier.getSafeUncapName()%>, <%=context%>) }),<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ new Object[] { <%=genClassifier.getSafeUncapName()%> }));
+ <%}%>
+ }
+ return false;
+ }
+ return true;
+ <%}%>
+<%}}%>
+ }
+
+<%}%>
+<%}%>
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {%>
+ /**
+ * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.util.ResourceLocator")%> getResourceLocator()
+ {
+ <%if (genModel.hasModelPluginClass()) {%>
+ return <%=genModel.getImportedName(genModel.getQualifiedModelPluginClassName())%>.INSTANCE;
+ <%} else {%>
+ // TODO
+ // Specialize this to return a resource locator for messages specific to this validator.
+ // Ensure that you remove @generated or mark it @generated NOT
+ return super.getResourceLocator();
+ <%}%>
+ }
+
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.ValidatorClass.ValidatorClass.insert" args="genPackage:genPackage,genModel:genModel,singleWildcard:singleWildcard,_Map:_Map,objectArgument:objectArgument,count:count"%>
+} //<%=genPackage.getValidatorClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._SspG8mKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._SspG8mKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._SspG8mKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._089c2WKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._089c2WKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._089c2WKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._9Wzg5HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._9Wzg5HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..24600c9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._9Wzg5HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.isAdapterFactory() && !genPackage.getGenClasses().isEmpty());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_BTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_BTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_BTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_BzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_BzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..ed70464
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_BzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getUtilitiesPackageName();
+className = genPackage.getAdapterFactoryClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_CTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_CTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..9dfeac4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_CTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,168 @@
+
+<%
+/**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel(); /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getUtilitiesPackageName()%>;
+
+<%genModel.addImport("org.eclipse.emf.common.notify.Adapter");%>
+<%genModel.addImport("org.eclipse.emf.common.notify.Notifier");%>
+<%genModel.addImport("org.eclipse.emf.common.notify.impl.AdapterFactoryImpl");%>
+<%genModel.addImport("org.eclipse.emf.ecore.EObject");%>
+<%if (!genPackage.hasJavaLangConflict() && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName())) genModel.addImport(genPackage.getInterfacePackageName() + ".*");%>
+<%String typeArgument = genModel.useGenerics() ? "<Adapter>" : "";%>
+<%String returnType = genModel.useGenerics() ? "Adapter" : genModel.getImportedName("java.lang.Object");%>
+<%String adapterCast = genModel.useGenerics() ? "" : "(Adapter)";%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- 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 <%=genPackage.getQualifiedPackageInterfaceName()%>
+ * @generated
+ */
+public class <%=genPackage.getAdapterFactoryClassName()%> extends AdapterFactoryImpl
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static <%=genPackage.getImportedPackageInterfaceName()%> modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getAdapterFactoryClassName()%>()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = <%=genPackage.getImportedPackageInterfaceName()%>.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
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @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 <%=genPackage.getSwitchClassName()%><%=typeArgument%> modelSwitch =
+ new <%=genPackage.getSwitchClassName()%><%=typeArgument%>()
+ {
+<%for (GenClass genClass : genPackage.getAllSwitchGenClasses()) {%>
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=genClass.getTypeParameters()%><%=returnType%> case<%=genPackage.getClassUniqueName(genClass)%>(<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> object)
+ {
+ return create<%=genPackage.getClassUniqueName(genClass)%>Adapter();
+ }
+<%}%>
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public <%=returnType%> defaultCase(EObject object)
+ {
+ return create<%=genPackage.getClassUniqueName(null)%>Adapter();
+ }
+ };
+
+ /**
+ * 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
+ */
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public Adapter createAdapter(Notifier target)
+ {
+ return <%=adapterCast%>modelSwitch.doSwitch((EObject)target);
+ }
+
+<%for (GenClass genClass : genPackage.getAllSwitchGenClasses()) {%>
+
+ /**
+ * Creates a new adapter for an object of class '{@link <%=genClass.getQualifiedInterfaceName()%> <em><%=genClass.getFormattedName()%></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 <%=genClass.getQualifiedInterfaceName()%>
+ * @generated
+ */
+ public Adapter create<%=genPackage.getClassUniqueName(genClass)%>Adapter()
+ {
+ 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 create<%=genPackage.getClassUniqueName(null)%>Adapter()
+ {
+ return null;
+ }
+
+} //<%=genPackage.getAdapterFactoryClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._Ssy372KPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._Ssy372KPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._Ssy372KPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._07BjKWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._07BjKWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._07BjKWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._82LgFHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._82LgFHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..24600c9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._82LgFHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.isAdapterFactory() && !genPackage.getGenClasses().isEmpty());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..51b279f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,230 @@
+
+<%
+/**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel();%>
+<%boolean supportsComposition = genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF27_VALUE;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getUtilitiesPackageName()%>;
+
+<%if (supportsComposition) {%>
+<%genModel.addImport("org.eclipse.emf.ecore.EObject");%>
+<%genModel.addImport("org.eclipse.emf.ecore.EPackage");%>
+<%genModel.addImport("org.eclipse.emf.ecore.util.Switch");%>
+<%} else {%>
+<%genModel.addImport("org.eclipse.emf.ecore.EClass");%>
+<%genModel.addImport("org.eclipse.emf.ecore.EObject");%>
+<%}%>
+<%if (!genPackage.hasJavaLangConflict() && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName())) genModel.addImport(genPackage.getInterfacePackageName() + ".*");%>
+<%
+String templateParameterName = null;
+if (genModel.useGenerics())
+{
+ Set<String> usedNames = new HashSet<String>();
+ for (GenEnum genEnum : genPackage.getGenEnums())
+ {
+ usedNames.add(genEnum.getName());
+ }
+ for (GenClass genClass : genPackage.getAllSwitchGenClasses())
+ {
+ if (!genClass.isDynamic() && !genClass.isExternalInterface())
+ {
+ usedNames.add(genClass.getName());
+ }
+ for (GenTypeParameter genTypeParameter : genClass.getGenTypeParameters())
+ {
+ usedNames.add(genTypeParameter.getName());
+ }
+ }
+ templateParameterName = "T";
+ for (int i = 1; usedNames.contains(templateParameterName); ++i)
+ {
+ templateParameterName = "T" + i;
+ }
+}
+%>
+<%String templateParameters = genModel.useGenerics() ? "<" + templateParameterName + ">" : "";%>
+<%String returnType = genModel.useGenerics() ? templateParameterName : genModel.getImportedName("java.lang.Object");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- 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 <%=genPackage.getQualifiedPackageInterfaceName()%>
+ * @generated
+ */
+public class <%=genPackage.getSwitchClassName()%><%=templateParameters%><%if (supportsComposition){%> extends Switch<%=templateParameters%><%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static <%=genPackage.getImportedPackageInterfaceName()%> modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getSwitchClassName()%>()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE;
+ }
+ }
+
+<%if (supportsComposition) {%>
+ /**
+ * 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;
+ }
+<%} else { boolean isUnnecessaryElse = genModel.isUnnecessaryElse(); String indent = isUnnecessaryElse ? "" : "\t";%>
+ /**
+ * 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 <%=returnType%> 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 <%=returnType%> doSwitch(EClass theEClass, EObject theEObject)
+ {
+ if (theEClass.eContainer() == modelPackage)
+ {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ <%if (!isUnnecessaryElse) {%>
+ else
+ {
+ <%}%>
+ <%=indent%><%=genModel.getImportedName("java.util.List")%><%if (genModel.useGenerics()) {%><<%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%>><%}%> eSuperTypes = theEClass.getESuperTypes();
+ <%=indent%>return
+ <%=indent%> eSuperTypes.isEmpty() ?
+ <%=indent%> defaultCase(theEObject) :
+ <%=indent%> doSwitch(<%if (!genModel.useGenerics()) {%>(EClass)<%}%>eSuperTypes.get(0), theEObject);
+ <%if (!isUnnecessaryElse) {%>
+ }
+ <%}%>
+ }
+<%}%>
+
+ /**
+ * 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
+ */
+<%if (supportsComposition) {%>
+ @Override
+<%}%>
+ protected <%=returnType%> doSwitch(int classifierID, EObject theEObject)
+ {
+ switch (classifierID)
+ {
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+<%if (!genClass.isEObject()) { String result = "result".equals(genClass.getSafeUncapName()) ? "theResult" : "result"; %>
+ case <%=genPackage.getImportedPackageInterfaceName()%>.<%=genPackage.getClassifierID(genClass)%>:
+ {
+ <%if (genClass.isUncheckedCast() || genClass.isMapEntry() && genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {%>@SuppressWarnings("unchecked") <%}%><%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%> <%=genClass.getSafeUncapName()%> = (<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)theEObject;
+ <%=returnType%> <%=result%> = case<%=genPackage.getClassUniqueName(genClass)%>(<%=genClass.getSafeUncapName()%>);
+<%for (GenClass baseGenClass : genClass.getSwitchGenClasses()) {%>
+ if (<%=result%> == null) <%=result%> = <%if (genClass.isRawBaseClass(baseGenClass)) {%>(<%=returnType%>)<%}%>case<%=genPackage.getClassUniqueName(baseGenClass)%>(<%if (genClass.isMapEntry()) {%>(<%=baseGenClass.getImportedInterfaceName()%><%=baseGenClass.getInterfaceTypeArguments()%>)<%}%><%=genClass.getSafeUncapName()%>);
+<%}%>
+ if (<%=result%> == null) <%=result%> = defaultCase(theEObject);
+ return <%=result%>;
+ }
+<%}%>
+<%}%>
+ default: return defaultCase(theEObject);
+ }
+ }
+<%for (GenClass genClass : genPackage.getAllSwitchGenClasses()) {%>
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em><%=genClass.getFormattedName()%></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><%=genClass.getFormattedName()%></em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public <%=genClass.getTypeParameters()%><%=returnType%> case<%=genPackage.getClassUniqueName(genClass)%>(<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> 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
+ */
+<%if (supportsComposition) {%>
+ @Override
+<%}%>
+ public <%=returnType%> defaultCase(EObject object)
+ {
+ return null;
+ }
+
+} //<%=genPackage.getSwitchClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh59TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh59TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh59TG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh59zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh59zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..2998af6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh59zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getModelDirectory();
+packageName = genPackage.getUtilitiesPackageName();
+className = genPackage.getSwitchClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._StieyGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._StieyGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._StieyGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._0920uWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._0920uWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._0920uWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._9tdGVHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._9tdGVHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..5d95e6c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._9tdGVHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && (true);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39xTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39xTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39xTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39xzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39xzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..6cb54c9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39xzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditProjectDirectory() + "/plugin.properties";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39yTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39yTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..42ed59e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39yTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,63 @@
+
+<%
+/**
+ * Copyright (c) 2002-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+pluginName = <%=genModel.getModelName()%> Edit Support
+providerName = www.example.org
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+
+<%if (genModel.isCreationCommands()) {%>
+_UI_CreateChild_text = {0}
+_UI_CreateChild_text2 = {1} <%if (genModel.isCreationSubmenus()) {%>| <%}%>{0}
+_UI_CreateChild_text3 = {1}
+_UI_CreateChild_tooltip = Create New {0} Under {1} Feature
+_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}.
+_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
+
+<%}%>
+_UI_PropertyDescriptor_description = The {0} of the {1}
+
+<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) { %>
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+_UI_<%=genClass.getName()%>_type = <%=genClass.getFormattedName()%>
+ <%}%>
+ <%}%>
+<%}%>
+_UI_Unknown_type = Object
+
+_UI_Unknown_datatype= Value
+
+<%for (GenFeature genFeature : genModel.getFilteredAllGenFeatures()) { String description = genFeature.getPropertyDescription();%>
+_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_feature = <%=genFeature.getFormattedName()%>
+ <%if (description != null && description.length() > 0) {%>
+_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_description = <%=description%>
+ <%}%>
+<%}%>
+_UI_Unknown_feature = Unspecified
+
+<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {%>
+ <%for (GenEnum genEnum : genPackage.getGenEnums()) {%>
+ <%for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%>
+_UI_<%=genEnum.getName()%>_<%=genEnumLiteral.getName()%>_literal = <%=genEnumLiteral.getLiteral()%>
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%for (String category : genModel.getPropertyCategories()) {%>
+<%=genModel.getPropertyCategoryKey(category)%> = <%=category%>
+<%}%>
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Sub2qGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Sub2qGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Sub2qGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._09tDuWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._09tDuWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._09tDuWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._9qU51HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._9qU51HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..2c9ac31
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._9qU51HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) && (!genModel.sameEditEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW6TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW6TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW6TG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW6zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW6zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..5619577
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW6zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditProjectDirectory() + "/plugin.xml";
+overwrite = true;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW7TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW7TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d34a88e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW7TG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,141 @@
+
+<%
+/**
+ * Copyright (c) 2002-2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; String key = genModel.getPluginKey(); boolean hasKey = key != null && !key.equals("");%>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+<%if (genModel.isBundleManifest()) {%>
+<plugin>
+<%} else {%>
+<plugin
+ name="%pluginName"
+ id="<%=genModel.getEditPluginID()%>"
+ version="1.0.0"
+ provider-name="%providerName"
+ class="<%=genModel.getQualifiedEditPluginClassName()%>$Implementation">
+
+ <requires>
+ <%for (String pluginID : genModel.getEditRequiredPlugins()) {%>
+ <import plugin="<%=pluginID%>"<%if (!pluginID.startsWith("org.eclipse.core.runtime")) {%> export="true"<%}%>/>
+ <%}%>
+ </requires>
+
+ <runtime>
+ <%if (genModel.isRuntimeJar()) {%>
+ <library name="<%=genModel.getEditPluginID()%>.jar">
+ <%} else {%>
+ <library name=".">
+ <%}%>
+ <export name="*"/>
+ </library>
+ </runtime>
+<%}%>
+<%if (genModel.sameModelEditProject()) {%>
+ <%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <package
+ uri="<%=genPackage.getNSURI()%>"
+ <%if (genModel.hasLocalGenModel()) {%>
+ class="<%=genPackage.getQualifiedPackageInterfaceName()%>"
+ genModel="<%=genModel.getRelativeGenModelLocation()%>"/>
+ <%} else {%>
+ class="<%=genPackage.getQualifiedPackageInterfaceName()%>"/>
+ <%}%>
+ </extension>
+ <%if (genPackage.isContentType()) {%>
+
+ <extension point="org.eclipse.emf.ecore.content_parser">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <parser
+ contentTypeIdentifier="<%=genPackage.getContentTypeIdentifier()%>"
+ class="<%=genPackage.getQualifiedEffectiveResourceFactoryClassName()%>"/>
+ </extension>
+
+ <extension point="org.eclipse.core.contenttype.contentTypes">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <content-type
+ base-type="<%=genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi" : "org.eclipse.core.runtime.xml"%>"
+ file-extensions="<%=genPackage.getFileExtensions()%>"
+ id="<%=genPackage.getContentTypeIdentifier()%>"
+ name="%_UI_<%=genPackage.getPrefix()%>_content_type"
+ priority="normal">
+ <describer class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
+ <%if (genPackage.hasTargetNamespace()) {%>
+ <parameter name="namespace" value="<%=genPackage.getNSURI()%>"/>
+ <%}%>
+ <%if (genPackage.isXMIResource()) {%>
+ <parameter name="kind" value="xmi"/>
+ <%}%>
+ </describer>
+ </content-type>
+ </extension>
+ <%} else if (genPackage.getResource() != GenResourceKind.NONE_LITERAL) {%>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <%for (String fileExtension : genPackage.getFileExtensionList()) {%>
+ <parser
+ type="<%=fileExtension%>"
+ class="<%=genPackage.getQualifiedResourceFactoryClassName()%>"/>
+ <%}%>
+ </extension>
+ <%}%>
+ <%}%>
+<%}%>
+<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+ <%if (!genPackage.getGenClasses().isEmpty()) {%>
+
+ <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <factory
+ uri="<%=genPackage.getNSURI()%>"
+ class="<%=genPackage.getQualifiedItemProviderAdapterFactoryClassName()%>"
+ supportedTypes=
+ <%for (ListIterator<?> j = genPackage.getProviderSupportedTypes().listIterator(); j.hasNext(); ) {%>
+ <%=j.hasPrevious() ? " " : "\""%><%=j.next()%><%if (!j.hasNext()) {%>"/><%}%>
+ <%}%>
+ </extension>
+ <%if (genPackage.isChildCreationExtenders()) { Map<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> extendedChildCreationData = genPackage.getExtendedChildCreationData();%>
+ <%if (!extendedChildCreationData.isEmpty()) {%>
+
+ <extension point="org.eclipse.emf.edit.childCreationExtenders">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <%for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> entry : extendedChildCreationData.entrySet()) {%>
+ <extender
+ uri="<%=entry.getKey().getNSURI()%>"
+ class="<%=genPackage.getQualifiedItemProviderAdapterFactoryClassName()%>$<%=genPackage.getChildCreationExtenderName(entry.getKey())%>"/>
+ <%}%>
+ </extension>
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+
+</plugin>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._SuSFqGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._SuSFqGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._SuSFqGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._09QXzWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._09QXzWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._09QXzWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._9kEg2HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._9kEg2HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..72ea78b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._9kEg2HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && true;
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR1TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR1TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR1TG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR1zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR1zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..3659b46
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR1zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditProjectDirectory() + "/build.properties";
+overwrite = genModel.isUpdateClasspath() && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(genModel.getEditProjectDirectory()).appendSegment("plugin.xml"));
+encoding = "ISO-8859-1";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR2TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR2TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..a594ace
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR2TG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,33 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+<%String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getEditPluginID()+".jar" : ".";%>
+<%List<String> sourceFolders = genModel.getEditSourceFolders();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+bin.includes = <%=pluginClassesLocation%>,\
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ icons/,\
+<%}%>
+<%if (genModel.isBundleManifest()) {%>
+ META-INF/,\
+<%}%>
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ plugin.xml,\
+<%}%>
+ plugin.properties
+jars.compile.order = <%=pluginClassesLocation%>
+<% boolean first=true; for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) { String sourceFolder = i.next(); if (i.hasNext()){sourceFolder +=",\\";} if (first) {%>
+source.<%=pluginClassesLocation%> = <%=sourceFolder%><%first=false;} else {%><%=sourceFolder%><%}}%>
+output.<%=pluginClassesLocation%> = bin/
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._St_KvGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._St_KvGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._St_KvGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._09j5yWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._09j5yWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._09j5yWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._9nWeVHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._9nWeVHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..ff1d18b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._9nWeVHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && (genModel.isBundleManifest()) && (!genModel.sameEditEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMxTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMxTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMxTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMxzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMxzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..2474bfe
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMxzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditProjectDirectory() + "/META-INF/MANIFEST.MF";
+overwrite = genModel.isUpdateClasspath();
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..13d1b93
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,49 @@
+
+<%
+/**
+ * Copyright (c) 2005-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: <%=genModel.getEditPluginID()%>;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-ClassPath: <%if (genModel.isRuntimeJar()) {%><%=genModel.getEditPluginID()%>.jar<%}else{%>.<%}%>
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+Bundle-Activator: <%=genModel.getQualifiedEditPluginClassName()%>$Implementation<%if (genModel.isOSGiCompatible()) {%>$Activator<%}%>
+<%}%>
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+<%if (genModel.getComplianceLevel() == GenJDKLevel.JDK50_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK60_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK70_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK80_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+<%}%>
+<%Iterator<String> packagesIterator = genModel.getEditQualifiedPackageNames().iterator(); if (packagesIterator.hasNext()) { String pack = packagesIterator.next();%>
+Export-Package: <%=pack%><%while(packagesIterator.hasNext()) { pack = packagesIterator.next();%>,
+ <%=pack%><%}%>
+<%}%>
+<%Iterator<String> requiredPluginIterator = genModel.getEditRequiredPlugins().iterator(); if (requiredPluginIterator.hasNext()) { String pluginID = requiredPluginIterator.next();%>
+Require-Bundle: <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else {%>;visibility:=reexport<%} while(requiredPluginIterator.hasNext()) { pluginID = requiredPluginIterator.next();%>,
+ <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else if (!pluginID.equals("org.eclipse.xtext.xbase.lib") && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {%>;visibility:=reexport<%}}%>
+<%}%>
+<%if (genModel.isOSGiCompatible()) {%>
+Import-Package: org.osgi.framework
+<%}%>
+<%if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {%>
+Eclipse-LazyStart: true
+<%}%>
+Bundle-ActivationPolicy: lazy
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._SuI7uGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._SuI7uGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._SuI7uGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._0-wMmGKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._0-wMmGKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._0-wMmGKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._97KyNHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._97KyNHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..2c704cd
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._97KyNHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,4 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkDG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkDG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkDG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkzG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQlzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQlzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..4e02ee8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQlzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,18 @@
+<%
+GenPackage genPackage = parameter;
+GenModel genModel=genPackage.getGenModel();
+if (genModel.isCreationCommands() && genModel.isCreationIcons() && genPackage.isChildCreationExtenders()) {
+ for ( Map.Entry<GenPackage,Map<GenClass,List<GenClass.ChildCreationData>>> packageEntry : genPackage.getExtendedChildCreationData().entrySet()) {
+ for ( Map.Entry<GenClass,List<GenClass.ChildCreationData>> classEntry : packageEntry.getValue().entrySet()) {
+ GenClass genClass=classEntry.getKey();
+ for ( GenClass.ChildCreationData childCreationData : classEntry.getValue()) {
+ if (childCreationData.createClassifier instanceof GenClass && (childCreationData.delegatedFeature == null || classEntry.getKey().getAllGenFeatures().contains(childCreationData.delegatedFeature))) {
+ GenClass childClass=(GenClass)childCreationData.createClassifier;
+ GenFeature feature=childCreationData.createFeature;
+new CodegenGeneratorAdapter(parameter).generateGIF("edit/CreateChild.gif", genClass.getCreateChildIconFileName(genModel,feature,childClass), genClass.getName(), childClass.getName(), false);
+ }
+ }
+ }
+ }
+}
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._0-TgqWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._0-TgqWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._0-TgqWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._9wJN9HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._9wJN9HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..4d200c7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._9wJN9HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenClass genClass = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && true;
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4sjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4sjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4sjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4szG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4szG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4szG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4tTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4tTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4tTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4tzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4tzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..7680b09
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4tzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenClass genClass = parameter;
+targetPath = genClass.getGenModel().getEditDirectory();
+packageName = genClass.getGenPackage().getProviderPackageName();
+className = genClass.getProviderClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4uTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4uTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..0504576
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4uTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,347 @@
+
+<%
+/**
+ * Copyright (c) 2002-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenClass genClass = (GenClass)argument; GenPackage genPackage = genClass.getGenPackage(); GenModel genModel=genPackage.getGenModel();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getProviderPackageName()%>;
+
+
+<%genModel.addImport("org.eclipse.emf.common.notify.AdapterFactory");%>
+<%genModel.addImport("org.eclipse.emf.common.notify.Notification");%>
+<%String _List = genModel.getImportedName(genModel.useGenerics() ? "java.util.List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor>" : "java.util.List");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * This is the item provider adapter for a {@link <%=genClass.getQualifiedInterfaceName()%>} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genClass.getProviderClassName()%> <%if (genClass.getProviderImplementsClassNames().isEmpty()) {%>extends <%=genClass.getProviderBaseClassName() != null ? genClass.getProviderBaseClassName() : genModel.getImportedName("org.eclipse.emf.edit.provider.ItemProviderAdapter")%><%}%>
+<%if (!genClass.getProviderImplementsClassNames().isEmpty()) {%>
+ extends <%=genClass.getProviderBaseClassName() != null ? genClass.getProviderBaseClassName() : genModel.getImportedName("org.eclipse.emf.edit.provider.ItemProviderAdapter")%>
+ implements
+ <%for (Iterator<String> i = genClass.getProviderImplementsClassNames().iterator(); i.hasNext(); ) {%>
+ <%=genModel.getImportedName(i.next())%><%if (i.hasNext()){%>,<%}%>
+ <%}%>
+<%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genClass.getProviderClassName()%>(AdapterFactory adapterFactory)
+ {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public <%=_List%> getPropertyDescriptors(Object object)
+ {
+ if (itemPropertyDescriptors == null)
+ {
+ super.getPropertyDescriptors(object);
+
+<%for (GenFeature genFeature : genClass.getPropertyFeatures()) { %>
+ add<%=genFeature.getCapName()%>PropertyDescriptor(object);
+<%}%>
+ }
+ return itemPropertyDescriptors;
+ }
+
+<%for (GenFeature genFeature : genClass.getPropertyFeatures()) { %>
+ /**
+ * This adds a property descriptor for the <%=genFeature.getFormattedName()%> feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void add<%=genFeature.getCapName()%>PropertyDescriptor(Object object)
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.addPropertyDescriptor.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,_List:_List"%><%//ItemProvider/addPropertyDescriptor.override.javajetinc%>
+ }
+
+<%}%>
+<%if (!genClass.getChildrenFeatures().isEmpty()) {%>
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public <%=genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<? extends org.eclipse.emf.ecore.EStructuralFeature>" : "java.util.Collection")%> getChildrenFeatures(Object object)
+ {
+ if (childrenFeatures == null)
+ {
+ super.getChildrenFeatures(object);
+<%for (GenFeature genFeature : genClass.getChildrenFeatures()) { %>
+ childrenFeatures.add(<%=genFeature.getQualifiedFeatureAccessor()%>);
+<%}%>
+ }
+ return childrenFeatures;
+ }
+
+<%if (!genClass.getChildrenFeatures().isEmpty()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected <%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%> getChildFeature(Object object, Object child)
+ {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+<%}%>
+<%}%>
+<%if (genClass.needsHasChildrenMethodOverride()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public boolean hasChildren(Object object)
+ {
+ return hasChildren(object, <%=genModel.isOptimizedHasChildren()%>);
+ }
+
+<%}%>
+<%if (genClass.isImage()) {%>
+ /**
+ * This returns <%=genClass.getName()%>.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Object getImage(Object object)
+ {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/<%=genClass.getName()%>"));<%=genModel.getNonNLS()%>
+ }
+
+<%}%>
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && !genModel.isCreationIcons()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected boolean shouldComposeCreationImage()
+ {
+ return true;
+ }
+
+<%}%>
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public String getText(Object object)
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getText.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,_List:_List"%><%//ItemProvider/getText.override.javajetinc%>
+ }
+
+<%if (genModel.isStyleProviders()) {%>
+ /**
+ * This returns the label styled text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Object getStyledText(Object object)
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getStyledText.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,_List:_List"%><%//ItemProvider/getStyledText.override.javajetinc%>
+ }
+<%}%>
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void notifyChanged(Notification notification)
+ {
+ updateChildren(notification);
+<%if (!genClass.getLabelNotifyFeatures().isEmpty() || !genClass.getContentNotifyFeatures().isEmpty() || !genClass.getLabelAndContentNotifyFeatures().isEmpty()) {%>
+
+ switch (notification.getFeatureID(<%=genClass.getRawImportedInterfaceName()%>.class))
+ {
+ <%if (!genClass.getLabelNotifyFeatures().isEmpty()) {%>
+ <%for (GenFeature genFeature : genClass.getLabelNotifyFeatures()) { %>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%}%>
+ fireNotifyChanged(new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.ViewerNotification")%>(notification, notification.getNotifier(), false, true));
+ return;
+ <%}%>
+ <%if (!genClass.getContentNotifyFeatures().isEmpty()) {%>
+ <%for (GenFeature genFeature : genClass.getContentNotifyFeatures()) { %>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%}%>
+ fireNotifyChanged(new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.ViewerNotification")%>(notification, notification.getNotifier(), true, false));
+ return;
+ <%}%>
+ <%if (!genClass.getLabelAndContentNotifyFeatures().isEmpty()) {%>
+ <%for (GenFeature genFeature : genClass.getLabelAndContentNotifyFeatures()) { %>
+ case <%=genClass.getQualifiedFeatureID(genFeature)%>:
+ <%}%>
+ fireNotifyChanged(new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.ViewerNotification")%>(notification, notification.getNotifier(), true, true));
+ return;
+ <%}%>
+ }
+<%}%>
+ super.notifyChanged(notification);
+ }
+
+<%if (genModel.isCreationCommands()) {%>
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void collectNewChildDescriptors(<%=genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<java.lang.Object>" : "java.util.Collection")%> newChildDescriptors, Object object)
+ {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ <%for (GenClass.ChildCreationData childCreationData : genClass.getChildCreationData()) { GenFeature createFeature = childCreationData.createFeature; GenFeature delegatedFeature = childCreationData.delegatedFeature; GenClassifier createClassifier = childCreationData.createClassifier;%>
+ <%if (createFeature.isFeatureMapType()) {%>
+ <%if (delegatedFeature.isReferenceType()) { GenClass createClass = (GenClass)createClassifier;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//ItemProvider/newChildDescriptorsReferenceDelegatedFeature.override.javajetinc%>
+ <%} else { GenDataType createDataType = (GenDataType)createClassifier;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//ItemProvider/newChildDescriptorsAttributeDelegatedFeature.override.javajetinc%>
+ <%}%>
+ <%} else if (createFeature.isReferenceType()) { GenClass createClass = (GenClass)createClassifier;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//ItemProvider/newChildDescriptorsReferenceFeature.override.javajetinc %>
+ <%} else { GenDataType createDataType = (GenDataType)createClassifier;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//ItemProvider/newChildDescriptorsAttributeFeature.override.javajetinc%>
+ <%}%>
+ <%}%>
+ }
+
+ <%if (!genClass.getSharedClassCreateChildFeatures().isEmpty()) {%>
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public String getCreateChildText(Object owner, Object feature, Object child, <%=genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<?>" : "java.util.Collection")%> selection)
+ {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ <%if (genClass.hasFeatureMapCreateChildFeatures()) {%>
+ if (childFeature instanceof <%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%> && <%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMapUtil")%>.isFeatureMap((EStructuralFeature)childFeature))
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")%>.Entry entry = (FeatureMap.Entry)childObject;
+ childFeature = entry.getEStructuralFeature();
+ childObject = entry.getValue();
+ }
+
+ <%}%>
+ boolean qualify =
+ <%for (Iterator<GenFeature> i = genClass.getSharedClassCreateChildFeatures().iterator(); i.hasNext();) { GenFeature createFeature = i.next();%>
+ childFeature == <%=createFeature.getQualifiedFeatureAccessor()%><%=i.hasNext() ? " ||" : ";"%>
+ <%}%>
+
+ if (qualify)
+ {
+ return getString
+ ("_UI_CreateChild_text2",<%=genModel.getNonNLS()%>
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+ <%}%>
+<%}%>
+<%if (genClass.getProviderExtendsGenClass() == null || genClass.getProviderExtendsGenClass().getGenPackage() != genPackage && (!genPackage.isExtensibleProviderFactory() || genClass.getProviderExtendsGenClass().getGenPackage().isExtensibleProviderFactory() != genPackage.isExtensibleProviderFactory())) {%>
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.util.ResourceLocator")%> getResourceLocator()
+ {
+<%if (genPackage.isExtensibleProviderFactory()) {%>
+ return ((<%=genModel.getImportedName("org.eclipse.emf.edit.provider.IChildCreationExtender")%>)adapterFactory).getResourceLocator();
+<%} else {%>
+ return <%=genPackage.getImportedEditPluginClassName()%>.INSTANCE;
+<%}%>
+ }
+
+<%}%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.insert" args="genClass:genClass,genPackage:genPackage,genModel:genModel,_List:_List"%>
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._SuuxqGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._SuuxqGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..671872d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._SuuxqGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenClass genClass = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._09_-qWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._09_-qWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._09_-qWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._92_c1HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._92_c1HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..2d0a030
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._92_c1HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && (!genPackage.getGenClasses().isEmpty());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzojG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzojG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzojG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzozG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzozG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzozG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzpTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzpTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzpTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzpzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzpzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..ddc6a80
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzpzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getEditDirectory();
+packageName = genPackage.getProviderPackageName();
+className = genPackage.getItemProviderAdapterFactoryClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzqTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzqTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..0bffc9a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzqTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,505 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel(); /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getProviderPackageName()%>;
+
+<%genModel.addImport("org.eclipse.emf.common.notify.Adapter");%>
+<%genModel.addImport("org.eclipse.emf.common.notify.Notification");%>
+<%genModel.addImport("org.eclipse.emf.common.notify.Notifier");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.ChangeNotifier");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.ComposeableAdapterFactory");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.ComposedAdapterFactory");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.IChangeNotifier");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.IEditingDomainItemProvider");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.IItemLabelProvider");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.IItemPropertySource");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.INotifyChangedListener");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.IStructuredItemContentProvider");%>
+<%genModel.addImport("org.eclipse.emf.edit.provider.ITreeItemContentProvider");%>
+<%boolean useGenerics = genModel.useGenerics();%>
+<%String _ArrayList = genModel.getImportedName(useGenerics ? "java.util.ArrayList<java.lang.Object>" : "java.util.ArrayList");%>
+<%String _Collection = genModel.getImportedName(useGenerics ? "java.util.Collection<java.lang.Object>" : "java.util.Collection");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * This is the factory that is used to provide the interfaces needed to support Viewers.
+ * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
+ * The adapters also support Eclipse property sheets.
+ * Note that most of the adapters are shared among multiple instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genPackage.getItemProviderAdapterFactoryClassName()%> extends <%=genPackage.getImportedAdapterFactoryClassName()%> implements ComposeableAdapterFactory, IChangeNotifier<%if (genPackage.isDisposableProviderFactory()) {%>, <%=genModel.getImportedName("org.eclipse.emf.edit.provider.IDisposable")%><%}%><%if (genPackage.isExtensibleProviderFactory()) {%>, <%=genModel.getImportedName("org.eclipse.emf.edit.provider.IChildCreationExtender")%><%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComposedAdapterFactory parentAdapterFactory;
+
+ /**
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IChangeNotifier changeNotifier = new ChangeNotifier();
+
+<%if (genPackage.isDisposableProviderFactory() && genPackage.hasStatefulProvider()) {%>
+ /**
+ * This keeps track of all the item providers created, so that they can be {@link #dispose disposed}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.edit.provider.Disposable")%> disposable = new Disposable();
+
+<%}%>
+<%if (genPackage.isExtensibleProviderFactory()) {%>
+ /**
+ * This helps manage the child creation extenders.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.edit.provider.ChildCreationExtenderManager")%> childCreationExtenderManager = new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.ChildCreationExtenderManager")%>(<%=genPackage.getImportedEditPluginClassName()%>.INSTANCE, <%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI);
+
+<%}%>
+ /**
+ * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_Collection%> supportedTypes = new <%=_ArrayList%>();
+
+ /**
+ * This constructs an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getItemProviderAdapterFactoryClassName()%>()
+ {
+<%for (String name : genPackage.getProviderSupportedTypes()) {%>
+ supportedTypes.add(<%=genModel.getImportedName(name)%>.class);
+<%}%>
+ }
+
+<%for (GenPackage genDelegate : genPackage.getAdapterDelegatePackages()) {%>
+ /**
+ * This keeps track of the factory to which to delegate adapter creation for objects from that package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genDelegate.getImportedAdapterFactoryClassName()%> <%=genPackage.getUncapAdapterFactoryDelegateName(genDelegate)%> = null;
+
+ /**
+ * This determines the delegate factory for the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genDelegate.getImportedAdapterFactoryClassName()%> get<%=genPackage.getAdapterFactoryDelegateName(genDelegate)%>()
+ {
+ if (<%=genPackage.getUncapAdapterFactoryDelegateName(genDelegate)%> == null)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.AdapterFactory")%> rootAdapterFactory = getRootAdapterFactory();
+ if (rootAdapterFactory instanceof ComposedAdapterFactory)
+ {
+ <%=genModel.getImportedName("org.eclipse.emf.common.notify.AdapterFactory")%> delegateAdapterFactory =
+ ((ComposedAdapterFactory)rootAdapterFactory).getFactoryForType(<%=genDelegate.getImportedAdapterFactoryClassName()%>.getPackage());
+ if (delegateAdapterFactory instanceof <%=genDelegate.getImportedAdapterFactoryClassName()%>)
+ {
+ <%=genPackage.getUncapAdapterFactoryDelegateName(genDelegate)%> = (<%=genDelegate.getImportedAdapterFactoryClassName()%>)delegateAdapterFactory;
+ }
+ }
+ }
+ return <%=genPackage.getUncapAdapterFactoryDelegateName(genDelegate)%>;
+ }
+
+<%}%>
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+<%if (!genClass.isAbstract() && genClass.getProvider() != GenProviderKind.NONE_LITERAL) {%>
+<%if (genClass.isProviderSingleton()) {%>
+ /**
+ * This keeps track of the one adapter used for all {@link <%=genClass.getQualifiedInterfaceName()%>} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genClass.getProviderClassName()%> <%=genClass.getUncapName()%>ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link <%=genClass.getQualifiedInterfaceName()%>}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Adapter create<%=genClass.getName()%>Adapter()
+ {
+ if (<%=genClass.getUncapName()%>ItemProvider == null)
+ {
+ <%=genClass.getUncapName()%>ItemProvider = new <%=genClass.getProviderClassName()%>(this);
+ }
+
+ return <%=genClass.getUncapName()%>ItemProvider;
+ }
+
+<%} else {%>
+ /**
+ * This creates an adapter for a {@link <%=genClass.getQualifiedInterfaceName()%>}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Adapter create<%=genClass.getName()%>Adapter()
+ {
+ return new <%=genClass.getProviderClassName()%>(this);
+ }
+
+<%}%>
+<%}%>
+<%}%>
+<%for (GenClass genClass : genPackage.getAdapterDelegateSuperClasses()) {%>
+ /**
+ * <%=genClass.getName()%> of <%=genClass.getItemProviderAdapterFactoryClassName()%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Adapter create<%=genClass.getName()%>Adapter()
+ {
+ return
+ get<%=genClass.getItemProviderAdapterFactoryClassName()%>() == null ?
+ null :
+ get<%=genClass.getItemProviderAdapterFactoryClassName()%>().create<%=genClass.getName()%>Adapter();
+ }
+
+<%}%>
+ /**
+ * This returns the root adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComposeableAdapterFactory getRootAdapterFactory()
+ {
+ return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
+ }
+
+ /**
+ * This sets the composed adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
+ {
+ this.parentAdapterFactory = parentAdapterFactory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public boolean isFactoryForType(Object type)
+ {
+ return supportedTypes.contains(type) || super.isFactoryForType(type);
+ }
+
+ /**
+ * This implementation substitutes the factory itself as the key for the adapter.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Adapter adapt(Notifier notifier, Object type)
+ {
+ return super.adapt(notifier, this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Object adapt(Object object, Object type)
+ {
+ if (isFactoryForType(type))
+ {
+ Object adapter = super.adapt(object, type);
+ if (!(type instanceof Class<%if (genModel.useGenerics()) {%><?><%}%>) || <%if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {%><%=genModel.getImportedName("org.eclipse.emf.common.util.Reflect")%>.isInstance((Class<%if (genModel.useGenerics()) {%><?><%}%>)type, adapter)<%} else {%>(((Class<%if (genModel.useGenerics()) {%><?><%}%>)type).isInstance(adapter))<%}%>)
+ {
+ return adapter;
+ }
+ }
+
+ return null;
+ }
+
+<%if (genPackage.isDisposableProviderFactory() && genPackage.hasStatefulProvider()) {%>
+ /**
+ * Associates an adapter with a notifier via the base implementation, then records it to ensure it will be disposed.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void associate(Adapter adapter, Notifier target)
+ {
+ super.associate(adapter, target);
+ if (adapter != null)
+ {
+ disposable.add(adapter);
+ }
+ }
+
+<%}%>
+<%if (genPackage.isExtensibleProviderFactory()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getImportedName(useGenerics ? "java.util.List<org.eclipse.emf.edit.provider.IChildCreationExtender>" : "java.util.List")%> getChildCreationExtenders()
+ {
+ return childCreationExtenderManager.getChildCreationExtenders();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getImportedName(useGenerics ? "java.util.Collection<?>" : "java.util.Collection")%> getNewChildDescriptors(Object object, <%=genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain")%> editingDomain)
+ {
+ return childCreationExtenderManager.getNewChildDescriptors(object, editingDomain);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getImportedName("org.eclipse.emf.common.util.ResourceLocator")%> getResourceLocator()
+ {
+ return childCreationExtenderManager;
+ }
+
+<%}%>
+ /**
+ * This adds a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addListener(INotifyChangedListener notifyChangedListener)
+ {
+ changeNotifier.addListener(notifyChangedListener);
+ }
+
+ /**
+ * This removes a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeListener(INotifyChangedListener notifyChangedListener)
+ {
+ changeNotifier.removeListener(notifyChangedListener);
+ }
+
+ /**
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void fireNotifyChanged(Notification notification)
+ {
+ changeNotifier.fireNotifyChanged(notification);
+
+ if (parentAdapterFactory != null)
+ {
+ parentAdapterFactory.fireNotifyChanged(notification);
+ }
+ }
+
+<%if (genPackage.isDisposableProviderFactory()) {%>
+ /**
+ * This disposes all of the item providers created by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void dispose()
+ {
+<%if (genPackage.hasStatefulProvider()) {%>
+ disposable.dispose();
+<%} else {%>
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+<%if (!genClass.isAbstract() && genClass.isProviderSingleton()) {%>
+ if (<%=genClass.getUncapName()%>ItemProvider != null) <%=genClass.getUncapName()%>ItemProvider.dispose();
+<%}%>
+<%}%>
+<%}%>
+ }
+
+<%}%>
+<%if (genPackage.isChildCreationExtenders()) {%>
+ <%for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> packageEntry : genPackage.getExtendedChildCreationData().entrySet()) {%>
+ /**
+ * A child creation extender for the {@link <%=packageEntry.getKey().getImportedPackageInterfaceName()%>}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class <%=genPackage.getChildCreationExtenderName(packageEntry.getKey())%> implements <%=genModel.getImportedName("org.eclipse.emf.edit.provider.IChildCreationExtender")%>
+ {
+ /**
+ * The switch for creating child descriptors specific to each extended class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static class CreationSwitch extends <%=genModel.getImportedName(packageEntry.getKey().getQualifiedSwitchClassName())%><%=useGenerics ? "<Object>" : ""%>
+ {
+ /**
+ * The child descriptors being populated.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName(useGenerics ? "java.util.List<Object>" : "java.util.List")%> newChildDescriptors;
+
+ /**
+ * The domain in which to create the children.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain")%> editingDomain;
+
+ /**
+ * Creates the a switch for populating child descriptors in the given domain.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CreationSwitch(<%=genModel.getImportedName(useGenerics ? "java.util.List<Object>" : "java.util.List")%> newChildDescriptors, <%=genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain")%> editingDomain)
+ {
+ this.newChildDescriptors = newChildDescriptors;
+ this.editingDomain = editingDomain;
+ }
+ <%for (Map.Entry<GenClass, List<GenClass.ChildCreationData>> classEntry : packageEntry.getValue().entrySet()) { GenClass genClass = classEntry.getKey();%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public <%=genClass.getTypeParameters()%>Object case<%=genPackage.getClassUniqueName(genClass)%>(<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceTypeArguments()%> object)
+ {
+ <%for (GenClass.ChildCreationData childCreationData : classEntry.getValue()) { GenFeature createFeature = childCreationData.createFeature; GenFeature delegatedFeature = childCreationData.delegatedFeature; GenClassifier createClassifier = childCreationData.createClassifier;%>
+ <%if (createFeature.isFeatureMapType()) {%>
+ <%if (delegatedFeature.isReferenceType()) { GenClass createClass = (GenClass)createClassifier;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//ItemProvider/newChildDescriptorsReferenceDelegatedFeature.override.javajetinc%>
+ <%} else { GenDataType createDataType = (GenDataType)createClassifier;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//ItemProvider/newChildDescriptorsAttributeDelegatedFeature.override.javajetinc%>
+ <%}%>
+ <%} else if (createFeature.isReferenceType()) { GenClass createClass = (GenClass)createClassifier;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override" args="createClass:createClass,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//ItemProvider/newChildDescriptorsReferenceFeature.override.javajetinc %>
+ <%} else { GenDataType createDataType = (GenDataType)createClassifier;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override" args="createDataType:createDataType,createFeature:createFeature,delegatedFeature:delegatedFeature,createClassifier:createClassifier,childCreationData:childCreationData,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//ItemProvider/newChildDescriptorsAttributeFeature.override.javajetinc%>
+ <%}%>
+
+ <%}%>
+ return null;
+ }
+
+ <%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.emf.edit.command.CommandParameter")%> createChildParameter(Object feature, Object child)
+ {
+ return new <%=genModel.getImportedName("org.eclipse.emf.edit.command.CommandParameter")%>(null, feature, child);
+ }
+
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=_Collection%> getNewChildDescriptors(Object object, <%=genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain")%> editingDomain)
+ {
+ <%=_ArrayList%> result = new <%=_ArrayList%>();
+ new CreationSwitch(result, editingDomain).doSwitch((<%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%>)object);
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getImportedName("org.eclipse.emf.common.util.ResourceLocator")%> getResourceLocator()
+ {
+ return <%=genPackage.getImportedEditPluginClassName()%>.INSTANCE;
+ }
+ }
+
+ <%}%>
+<%}%>
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._SulnpGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._SulnpGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._SulnpGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._0-JvqWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._0-JvqWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._0-JvqWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._9y-fhHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._9y-fhHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..a9037a4
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._9y-fhHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && (!genModel.sameEditEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwulTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwulTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwulTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwulzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwulzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..f9f4e48
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwulzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPath = genModel.getEditPluginDirectory();
+packageName = genModel.getEditPluginPackageName();
+className = genModel.getEditPluginClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwumTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwumTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..68abb9f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwumTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,247 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genModel.getEditPluginPackageName()%>;
+
+<%genModel.addImport("org.eclipse.emf.common.EMFPlugin");%>
+<%genModel.addImport("org.eclipse.emf.common.util.ResourceLocator");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * This is the central singleton for the <%=genModel.getModelName()%> edit plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class <%=genModel.getEditPluginClassName()%> extends EMFPlugin
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getEditPluginClassName()%> INSTANCE = new <%=genModel.getEditPluginClassName()%>();
+
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static Implementation plugin;
+
+<%}%>
+ /**
+ * Create the instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getEditPluginClassName()%>()
+ {
+ super
+ (new ResourceLocator []
+ {
+<%for (String pluginClassName : genModel.getEditResourceDelegateImportedPluginClassNames()) {%>
+ <%=pluginClassName%>.INSTANCE,
+<%}%>
+ });
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public ResourceLocator getPluginResourceLocator()
+ {
+<%if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {%>
+ return null;
+<%} else {%>
+ return plugin;
+<%}%>
+ }
+
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin()
+ {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends EclipsePlugin
+ {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+<%if (genModel.needsRuntimeCompatibility()) {%>
+ * @param descriptor the description of the plugin.
+<%}%>
+ * @generated
+ */
+ public Implementation(<%if (genModel.needsRuntimeCompatibility()) {%><%=genModel.getImportedName("org.eclipse.core.runtime.IPluginDescriptor")%> descriptor<%}%>)
+ {
+ super(<%if (genModel.needsRuntimeCompatibility()) {%>descriptor<%}%>);
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+<%if (genModel.isOSGiCompatible()) {%>
+
+ /**
+ * The actual implementation of the purely OSGi-compatible <b>Bundle Activator</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final class Activator extends <%=genModel.getImportedName("org.eclipse.emf.common.EMFPlugin")%>.OSGiDelegatingBundleActivator
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected <%=genModel.getImportedName("org.osgi.framework.BundleActivator")%> createBundle()
+ {
+ return new Implementation();
+ }
+ }
+<%}%>
+ }
+
+<%} else {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final <%=genModel.getImportedName(genModel.getQualifiedEditPluginClassName() + "Properties")%> PROPERTIES = <%=genModel.getImportedName("com.google.gwt.core.client.GWT")%>.create(<%=genModel.getImportedName(genModel.getQualifiedEditPluginClassName() + "Properties")%>.class);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getString(String key, boolean translate)
+ {
+<%boolean first = true; for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) { %>
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (first) { first = false; } else {%>else <%}%>if ("_UI_<%=genClass.getName()%>_type".equals(key)) return PROPERTIES.<%=genClass.getUncapName()%>Type();
+ <%}%>
+ <%}%>
+<%}%>
+ <%if (first) { first = false; } else {%>else <%}%> if ("_UI_Unknown_type".equals(key)) return PROPERTIES.unknownType();
+ else if ("_UI_Unknown_datatype".equals(key)) return PROPERTIES.unknownDatatype();
+<%for (GenFeature genFeature : genModel.getFilteredAllGenFeatures()) { String description = genFeature.getPropertyDescription();%>
+ else if ("_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_feature".equals(key)) return PROPERTIES.<%=genFeature.getGenClass().getUncapName()%>_<%=genFeature.getCapName()%>Feature();
+ <%if (description != null && description.length() > 0) {%>
+ else if ("_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_description".equals(key)) return PROPERTIES.<%=genFeature.getGenClass().getUncapName()%>_<%=genFeature.getCapName()%>Description();
+ <%}%>
+<%}%>
+ else if ("_UI_Unknown_feature".equals(key)) return PROPERTIES.unknownFeature();
+<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {%>
+ <%for (GenEnum genEnum : genPackage.getGenEnums()) {%>
+ <%for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%>
+ else if ("_UI_<%=genEnum.getName()%>_<%=genEnumLiteral.getName()%>_literal".equals(key)) return PROPERTIES.<%=genEnum.getSafeUncapName()%>_<%=genEnumLiteral.getName()%>Literal();
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%for (String category : genModel.getPropertyCategories()) {%>
+<%=genModel.getPropertyCategoryKey(category)%> = <%=category%>
+ else if ("<%=genModel.getPropertyCategoryKey(category)%>".equals(key)) return PROPERTIES.<%=genModel.getPropertyCategoryKey(category)%>();
+<%}%>
+ else return key;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getString(String key, Object [] substitutions, boolean translate)
+ {
+<%if (genModel.isCreationCommands()) {%>
+ if ("_UI_CreateChild_text".equals(key)) return PROPERTIES.createChildText(substitutions[0]);
+ else if ("_UI_CreateChild_text2".equals(key)) return PROPERTIES.createChildText2(substitutions[0], substitutions[1]);
+ else if ("_UI_CreateChild_text3".equals(key)) return PROPERTIES.createChildText3(substitutions[1]);
+ else if ("_UI_CreateChild_tooltip".equals(key)) return PROPERTIES.createChildTooltip(substitutions[0], substitutions[1]);
+ else if ("_UI_CreateChild_description".equals(key)) return PROPERTIES.createChildDescripition(substitutions[0], substitutions[1], substitutions[2]);
+ else if ("_UI_CreateSibling_description".equals(key)) return PROPERTIES.createSiblingDescription(substitutions[0], substitutions[1], substitutions[2]);
+<%}%>
+ <%if (!genModel.isCreationCommands()) {%>else <%}%>if ("_UI_PropertyDescriptor_description".equals(key)) return PROPERTIES.propertyDescriptorDescription(substitutions[0], substitutions[1]);
+ else return key;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final <%=genModel.getImportedName(genModel.getQualifiedEditPluginClassName() + "Images")%> IMAGES = <%=genModel.getImportedName("com.google.gwt.core.client.GWT")%>.create(<%=genModel.getImportedName(genModel.getQualifiedEditPluginClassName() + "Images")%>.class);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(String key)
+ {
+<%first = true; for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (genClass.isImage()) { String image = genClass.getItemIconFileName(); image = image.substring(image.lastIndexOf("/icons/") + 7, image.length() - 4); %>
+ <%if (first) { first = false; } else {%>else <%}%>if ("<%=image%>".equals(key)) return IMAGES.<%=genClass.getItemIconAccessorName()%>();
+ <%}%>
+ <%}%>
+<%}%>
+ <%if (first) { first = false; } else {%>else <%}%>return key;
+ }
+
+<%}%>
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._SuuxmGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._SuuxmGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._SuuxmGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._-A1VWHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._-A1VWHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..749b6a5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._-A1VWHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genModel.isBundleManifest());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._0_DHiWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._0_DHiWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._0_DHiWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BZTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BZTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BZTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BZzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BZzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..f747b4d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BZzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditorProjectDirectory() + "/META-INF/MANIFEST.MF";
+overwrite = genModel.isUpdateClasspath();
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d9d36dc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,80 @@
+
+<%
+/**
+ * Copyright (c) 2005-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: <%=genModel.getEditorPluginID()%>;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-ClassPath: <%if (genModel.isRuntimeJar()) {%><%=genModel.getEditorPluginID()%>.jar<%}else{%>.<%}%>
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+Bundle-Activator: <%=genModel.getQualifiedEditorPluginClassName()%>$Implementation
+<%}%>
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+<%if (genModel.getComplianceLevel() == GenJDKLevel.JDK50_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK60_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK70_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK80_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+<%}%>
+<%Iterator<String> packagesIterator = genModel.getEditorQualifiedPackageNames().iterator(); if (packagesIterator.hasNext()) { String pack = packagesIterator.next();%>
+Export-Package: <%=pack%><%while(packagesIterator.hasNext()) { pack = packagesIterator.next();%>,
+ <%=pack%><%}%>
+<%}%>
+<%Iterator<String> requiredPluginIterator = genModel.getEditorRequiredPlugins().iterator(); if (requiredPluginIterator.hasNext()) { String pluginID = requiredPluginIterator.next();%>
+Require-Bundle: <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime")){%>;visibility:=reexport<%} while(requiredPluginIterator.hasNext()) { pluginID = requiredPluginIterator.next();%>,
+ <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime") && !pluginID.equals("org.eclipse.xtext.xbase.lib") && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {%>;visibility:=reexport<%}}%>
+<%}%>
+<%if (genModel.isRichAjaxPlatform()) {%>
+Import-Package: org.eclipse.emf.common.ui,
+ org.eclipse.emf.common.ui.action,
+ org.eclipse.emf.common.ui.dialogs,
+ org.eclipse.emf.common.ui.editor,
+ org.eclipse.emf.common.ui.viewer,
+ org.eclipse.emf.edit.ui,
+ org.eclipse.emf.edit.ui.action,
+ org.eclipse.emf.edit.ui.celleditor,
+ org.eclipse.emf.edit.ui.dnd,
+ org.eclipse.emf.edit.ui.provider,
+ org.eclipse.emf.edit.ui.util,
+ org.eclipse.emf.edit.ui.view,
+ org.eclipse.jface.action,
+ org.eclipse.jface.dialogs,
+ org.eclipse.jface.operation,
+ org.eclipse.jface.viewers,
+ org.eclipse.jface.window,
+ org.eclipse.jface.wizard,
+ org.eclipse.swt,
+ org.eclipse.swt.custom,
+ org.eclipse.swt.dnd,
+ org.eclipse.swt.events,
+ org.eclipse.swt.graphics,
+ org.eclipse.swt.layout,
+ org.eclipse.swt.widgets,
+ org.eclipse.ui;ui.workbench="split",
+ org.eclipse.ui.actions;ui.workbench="split",
+ org.eclipse.ui.application,
+ org.eclipse.ui.part;ui.workbench="split",
+ org.eclipse.ui.views,
+ org.eclipse.ui.views.contentoutline,
+ org.eclipse.ui.views.properties;ui.views="split"
+<%}%>
+<%if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {%>
+Eclipse-LazyStart: true
+<%}%>
+Bundle-ActivationPolicy: lazy
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._SveYeGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._SveYeGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._SveYeGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._0-mbmGKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._0-mbmGKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._0-mbmGKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._99Zm1HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._99Zm1HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..1756c42
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._99Zm1HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,4 @@
+GenClass genClass = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNahTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNahTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNahTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNaiTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNaiTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..b891ef8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNaiTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,8 @@
+<%
+GenClass genClass = parameter;
+if (genClass.isImage()) {
+new CodegenGeneratorAdapter(parameter).generateGIF("edit/Item.gif", genClass.getItemIconFileName(), genClass.getName(), null, false);
+}
+ else {
+}
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._0-cqmGKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._0-cqmGKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._0-cqmGKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._9_MWlHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._9_MWlHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..1756c42
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._9_MWlHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,4 @@
+GenClass genClass = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8hTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8hTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8hTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8iTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8iTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..bac4a0d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8iTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,11 @@
+<%
+GenClass genClass = parameter;
+GenModel genModel=genClass.getGenModel();
+if (genModel.isCreationCommands() && genModel.isCreationIcons()) {
+ for ( GenFeature feature : genClass.getCreateChildFeaturesIncludingDelegation()) {
+ for ( GenClass childClass : genClass.getChildrenClasses(feature)) {
+new CodegenGeneratorAdapter(parameter).generateGIF("edit/CreateChild.gif", genClass.getCreateChildIconFileName(feature,childClass), genClass.getName(), childClass.getName(), false);
+ }
+ }
+}
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._-G79VHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._-G79VHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..3534f39
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._-G79VHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._0_MReWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._0_MReWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._0_MReWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGeTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGeTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGeTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cDG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cDG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..15eec79
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cDG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditorProjectDirectory() + "/plugin.xml";
+overwrite = true;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..6277262
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,293 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; String key = genModel.getPluginKey(); boolean hasKey = key != null && !key.equals("");%>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+<%if (genModel.isBundleManifest()) {%>
+<plugin>
+<%} else {%>
+<plugin
+ name="%pluginName"
+ id="<%=genModel.getEditorPluginID()%>"
+ version="1.0.0"
+ provider-name="%providerName"
+ class="<%=genModel.getQualifiedEditorPluginClassName()%>$Implementation">
+
+ <requires>
+ <%for (String pluginID : genModel.getEditorRequiredPlugins()) { %>
+ <import plugin="<%=pluginID%>"<%if (!pluginID.startsWith("org.eclipse.core.runtime")) {%> export="true"<%}%>/>
+ <%}%>
+ </requires>
+
+ <runtime>
+ <%if (genModel.isRuntimeJar()) {%>
+ <library name="<%=genModel.getEditorPluginID()%>.jar">
+ <%} else {%>
+ <library name=".">
+ <%}%>
+ <export name="*"/>
+ </library>
+ </runtime>
+<%}%>
+<%if (genModel.sameModelEditorProject()) {%>
+ <%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <package
+ uri="<%=genPackage.getNSURI()%>"
+ <%if (genModel.hasLocalGenModel()) {%>
+ class="<%=genPackage.getQualifiedPackageInterfaceName()%>"
+ genModel="<%=genModel.getRelativeGenModelLocation()%>"/>
+ <%} else {%>
+ class="<%=genPackage.getQualifiedPackageInterfaceName()%>"/>
+ <%}%>
+ </extension>
+ <%if (genPackage.isContentType()) {%>
+
+ <extension point="org.eclipse.emf.ecore.content_parser">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <parser
+ contentTypeIdentifier="<%=genPackage.getContentTypeIdentifier()%>"
+ class="<%=genPackage.getQualifiedEffectiveResourceFactoryClassName()%>"/>
+ </extension>
+
+ <extension point="org.eclipse.core.contenttype.contentTypes">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <content-type
+ base-type="<%=genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi" : "org.eclipse.core.runtime.xml"%>"
+ file-extensions="<%=genPackage.getFileExtensions()%>"
+ id="<%=genPackage.getContentTypeIdentifier()%>"
+ name="%_UI_<%=genPackage.getPrefix()%>_content_type"
+ priority="normal">
+ <describer class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
+ <%if (genPackage.hasTargetNamespace()) {%>
+ <parameter name="namespace" value="<%=genPackage.getNSURI()%>"/>
+ <%}%>
+ <%if (genPackage.isXMIResource()) {%>
+ <parameter name="kind" value="xmi"/>
+ <%}%>
+ </describer>
+ </content-type>
+ </extension>
+ <%} else if (genPackage.getResource() != GenResourceKind.NONE_LITERAL) {%>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <%for (String fileExtension : genPackage.getFileExtensionList()) {%>
+ <parser
+ type="<%=fileExtension%>"
+ class="<%=genPackage.getQualifiedResourceFactoryClassName()%>"/>
+ <%}%>
+ </extension>
+ <%}%>
+ <%}%>
+<%}%>
+<%if (genModel.sameEditEditorProject()) {%>
+ <%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+ <%if (!genPackage.getGenClasses().isEmpty()) {%>
+
+ <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <factory
+ uri="<%=genPackage.getNSURI()%>"
+ class="<%=genPackage.getQualifiedItemProviderAdapterFactoryClassName()%>"
+ supportedTypes=
+ <%for (ListIterator<?> j = genPackage.getProviderSupportedTypes().listIterator(); j.hasNext(); ) {%>
+ <%=j.hasPrevious() ? " " : "\""%><%=j.next()%><%if (!j.hasNext()) {%>"/><%}%>
+ <%}%>
+ </extension>
+ <%if (genPackage.isChildCreationExtenders()) { Map<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> extendedChildCreationData = genPackage.getExtendedChildCreationData();%>
+ <%if (!extendedChildCreationData.isEmpty()) {%>
+
+ <extension point="org.eclipse.emf.edit.childCreationExtenders">
+ <%for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> entry : extendedChildCreationData.entrySet()) {%>
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <extender
+ uri="<%=entry.getKey().getNSURI()%>"
+ class="<%=genPackage.getQualifiedItemProviderAdapterFactoryClassName()%>$<%=genPackage.getChildCreationExtenderName(entry.getKey())%>"/>
+ <%}%>
+ </extension>
+ <%}%>
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%if (genModel.isRichClientPlatform()) {%>
+
+ <extension
+ point="org.eclipse.core.runtime.applications"
+ id="<%=genModel.getEditorAdvisorClassName()%>Application">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <application>
+ <run class="<%=genModel.getQualifiedEditorAdvisorClassName()%>$Application"/>
+ </application>
+ </extension>
+
+ <extension point="org.eclipse.ui.perspectives">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <perspective
+ name="%_UI_Perspective_label"
+ class="<%=genModel.getQualifiedEditorAdvisorClassName()%>$Perspective"
+ id="<%=genModel.getQualifiedEditorAdvisorClassName()%>Perspective">
+ </perspective>
+ </extension>
+
+ <extension point="org.eclipse.ui.commands">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <command
+ name="%_UI_Menu_OpenURI_label"
+ description="%_UI_Menu_OpenURI_description"
+ categoryId="org.eclipse.ui.category.file"
+ id="<%=genModel.getQualifiedEditorAdvisorClassName()%>OpenURICommand"/>
+ <%if (!genModel.isRichAjaxPlatform()) {%>
+ <command
+ name="%_UI_Menu_Open_label"
+ description="%_UI_Menu_Open_description"
+ categoryId="org.eclipse.ui.category.file"
+ id="<%=genModel.getQualifiedEditorAdvisorClassName()%>OpenCommand"/>
+ <%}%>
+ </extension>
+
+<%if (!genModel.isRichAjaxPlatform()) {%>
+ <extension point="org.eclipse.ui.bindings">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <key
+ commandId="<%=genModel.getQualifiedEditorAdvisorClassName()%>OpenURICommand"
+ sequence="M1+U"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ commandId="<%=genModel.getQualifiedEditorAdvisorClassName()%>OpenCommand"
+ sequence="M1+O"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ </extension>
+<%}%>
+
+ <extension point="org.eclipse.ui.actionSets">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <actionSet
+ label="%_UI_<%=genModel.getEditorAdvisorClassName()%>_ActionSet_label"
+ visible="true"
+ id="<%=genModel.getEditorAdvisorClassName()%>ActionSet">
+ <action
+ label="%_UI_Menu_About_label"
+ class="<%=genModel.getQualifiedEditorAdvisorClassName()%>$AboutAction"
+ menubarPath="help/additions"
+ id="<%=genModel.getQualifiedEditorAdvisorClassName()%>AboutAction"/>
+ <action
+ label="%_UI_Menu_OpenURI_label"
+ definitionId="<%=genModel.getQualifiedEditorAdvisorClassName()%>OpenURICommand"
+ class="<%=genModel.getQualifiedEditorAdvisorClassName()%>$OpenURIAction"
+ menubarPath="file/additions"
+ id="<%=genModel.getQualifiedEditorAdvisorClassName()%>OpenURIAction"/>
+ <%if (!genModel.isRichAjaxPlatform()) {%>
+ <action
+ label="%_UI_Menu_Open_label"
+ definitionId="<%=genModel.getQualifiedEditorAdvisorClassName()%>OpenCommand"
+ class="<%=genModel.getQualifiedEditorAdvisorClassName()%>$OpenAction"
+ menubarPath="file/additions"
+ id="<%=genModel.getQualifiedEditorAdvisorClassName()%>OpenAction"/>
+ <%}%>
+ </actionSet>
+ </extension>
+<%}%>
+<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.hasConcreteClasses()){%>
+ <%if (genPackage.isGenerateModelWizard()) {%>
+ <%if (genModel.isRichClientPlatform()) {%>
+
+ <extension point="org.eclipse.ui.actionSets">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <actionSet
+ label="%_UI_<%=genPackage.getModelWizardClassName()%>_ActionSet_label"
+ visible="true"
+ id="<%=genPackage.getQualifiedActionBarContributorClassName()%>ActionSet">
+ <action
+ label="%_UI_<%=genPackage.getModelWizardClassName()%>_label"
+ class="<%=genPackage.getQualifiedActionBarContributorClassName()%>$NewAction"
+ menubarPath="file/new/additions"
+ id="<%=genPackage.getQualifiedActionBarContributorClassName()%>NewAction"/>
+ </actionSet>
+ </extension>
+ <%} else {%>
+
+ <extension point="org.eclipse.ui.newWizards">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <category
+ id="org.eclipse.emf.ecore.Wizard.category.ID"
+ name="%_UI_Wizard_category"/>
+ <wizard
+ id="<%=genPackage.getQualifiedModelWizardClassName()%>ID"
+ name="%_UI_<%=genPackage.getModelWizardClassName()%>_label"
+ class="<%=genPackage.getQualifiedModelWizardClassName()%>"
+ category="org.eclipse.emf.ecore.Wizard.category.ID"
+ icon="icons/full/obj16/<%=genPackage.getPrefix()%>ModelFile.gif">
+ <description>%_UI_<%=genPackage.getModelWizardClassName()%>_description</description>
+ <selection class="org.eclipse.core.resources.IResource"/>
+ </wizard>
+ </extension>
+ <%}%>
+ <%}%>
+
+ <extension point="org.eclipse.ui.editors">
+ <%if (hasKey) {%>
+ <!-- @generated <%=key%> -->
+ <%}%>
+ <editor
+ id="<%=genPackage.getQualifiedEditorClassName()%>ID"
+ name="%_UI_<%=genPackage.getEditorClassName()%>_label"
+ icon="icons/full/obj16/<%=genPackage.getPrefix()%>ModelFile.gif"
+ <%if (!genPackage.isContentType()) {%>
+ extensions="<%=genPackage.getFileExtensions()%>"
+ <%}%>
+ class="<%=genPackage.getQualifiedEditorClassName()%>"
+ contributorClass="<%=genPackage.getQualifiedActionBarContributorClassName()%>">
+ <%if (genPackage.isContentType()) {%>
+ <contentTypeBinding contentTypeId="<%=genPackage.getQualifiedContentTypeIdentifier()%>"/>
+ <%}%>
+ </editor>
+ </extension>
+ <%}%>
+<%}%>
+
+</plugin>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._SvoJeGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._SvoJeGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._SvoJeGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._-DEJ9HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._-DEJ9HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..6c9a61a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._-DEJ9HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && true;
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._0-5WjWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._0-5WjWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._0-5WjWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjZTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjZTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjZTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjZzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjZzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..3a558d9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjZzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditorProjectDirectory() + "/build.properties";
+overwrite = genModel.isUpdateClasspath() && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(genModel.getEditorProjectDirectory()).appendSegment("plugin.xml"));
+encoding = "ISO-8859-1";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjaTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjaTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e262bb6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjaTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,31 @@
+
+<%
+/**
+ * Copyright (c) 2002-2008 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+<%String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getEditorPluginID()+".jar" : ".";%>
+<%List<String> sourceFolders = genModel.getEditorSourceFolders();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+bin.includes = <%=pluginClassesLocation%>,\
+ icons/,\
+<%if (genModel.isBundleManifest()) {%>
+ META-INF/,\
+<%}%>
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ plugin.xml,\
+<%}%>
+ plugin.properties
+jars.compile.order = <%=pluginClassesLocation%>
+<% boolean first=true; for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) { String sourceFolder = i.next(); if (i.hasNext()){sourceFolder +=",\\";} if (first) {%>
+source.<%=pluginClassesLocation%> = <%=sourceFolder%><%first=false;} else {%><%=sourceFolder%><%}}%>
+output.<%=pluginClassesLocation%> = <%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>bin<%} else {%>war/WEB-INF/classes<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._SvVOjGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._SvVOjGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._SvVOjGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._-K9htHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._-K9htHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..6c9a61a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._-K9htHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && true;
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._0_WCeWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._0_WCeWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._0_WCeWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeVTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeVTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeVTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeVzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeVzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..79e92549
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeVzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditorProjectDirectory() + "/plugin.properties";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeWTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeWTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..2a9c78e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeWTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,114 @@
+
+<%
+/**
+ * Copyright (c) 2002-2006 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+pluginName = <%=genModel.getModelName()%> Editor
+providerName = www.example.org
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+
+<%boolean hasMultiPageEditor = false;%>
+<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {if (genPackage.isMultipleEditorPages()) { hasMultiPageEditor = true; }%>
+_UI_<%=genPackage.getEditorClassName()%>_menu = &<%=genPackage.getPrefix()%> Editor
+<%}%>
+
+<%if (genModel.isCreationCommands()) {%>
+_UI_CreateChild_menu_item = &New Child
+_UI_CreateSibling_menu_item = N&ew Sibling
+
+<%}%>
+_UI_ShowPropertiesView_menu_item = Show &Properties View
+_UI_RefreshViewer_menu_item = &Refresh
+
+_UI_SelectionPage_label = Selection
+<%if (hasMultiPageEditor) {%>
+_UI_ParentPage_label = Parent
+_UI_ListPage_label = List
+_UI_TreePage_label = Tree
+_UI_TablePage_label = Table
+_UI_TreeWithColumnsPage_label = Tree with Columns
+_UI_ObjectColumn_label = Object
+_UI_SelfColumn_label = Self
+<%}%>
+
+_UI_NoObjectSelected = Selected Nothing
+_UI_SingleObjectSelected = Selected Object: {0}
+_UI_MultiObjectSelected = Selected {0} Objects
+
+_UI_OpenEditorError_label = Open Editor
+
+_UI_Wizard_category = Example EMF Model Creation Wizards
+
+_UI_CreateModelError_message = Problems encountered in file "{0}"
+
+<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.isGenerateModelWizard()) {%>
+_UI_<%=genPackage.getModelWizardClassName()%>_label = <%=genPackage.getPrefix()%> Model
+_UI_<%=genPackage.getModelWizardClassName()%>_description = Create a new <%=genPackage.getPrefix()%> model
+
+ <%}%>
+_UI_<%=genPackage.getEditorClassName()%>_label = <%=genPackage.getPrefix()%> Model Editor
+
+_UI_<%=genPackage.getEditorClassName()%>FilenameDefaultBase = My
+_UI_<%=genPackage.getEditorClassName()%>FilenameExtensions = <%=genPackage.getFileExtensions()%>
+
+<%}%>
+_UI_Wizard_label = New
+
+_WARN_FilenameExtension = The file name must end in ''.{0}''
+_WARN_FilenameExtensions = The file name must have one of the following extensions: {0}
+
+_UI_ModelObject = &Model Object
+_UI_XMLEncoding = &XML Encoding
+_UI_XMLEncodingChoices = <%=genModel.getXMLEncodingChoices()%>
+<%if (genModel.isRichClientPlatform()) {%>
+_UI_Wizard_initial_object_description = Specify a file name and select a model object to create
+<%} else {%>
+_UI_Wizard_initial_object_description = Select a model object to create
+<%}%>
+
+_UI_FileConflict_label = File Conflict
+_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes?
+
+<%if (genModel.isRichClientPlatform()) {%>
+_UI_<%=genModel.getEditorAdvisorClassName()%>_ActionSet_label = <%=genModel.getModelName()%> Action Set
+_UI_Perspective_label = <%=genModel.getModelName()%>
+
+_UI_Browse_label = &Browse...
+_UI_File_label = &File
+_UI_Question_title = Question
+_WARN_FileConflict = The file "{0}" already exists. Do you want to replace the existing file?
+_UI_Error_title = Error
+_WARN_No_Editor = There is no editor registered for the file "{0}".
+
+_UI_Application_title = <%=genModel.getModelName()%> Application
+_UI_Menu_File_label = &File
+_UI_Menu_New_label = &New
+_UI_Menu_Open_label = &Open...
+_UI_Menu_Open_description = Opens a model object file
+_UI_Menu_OpenURI_label = &Open URI...
+_UI_Menu_OpenURI_description = Opens a model object loading it from a URI
+_UI_Menu_Edit_label = &Edit
+_UI_Menu_Window_label = &Window
+_UI_Menu_Help_label = &Help
+_UI_Menu_About_label = <%=genModel.getModelName()%> &About...
+_UI_About_title = <%=genModel.getModelName()%> Application
+_UI_About_text = <%=genModel.getModelName()%> Application about box goes here.
+
+<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {if (genPackage.isGenerateModelWizard()) {%>
+_UI_<%=genPackage.getModelWizardClassName()%>_ActionSet_label = <%=genPackage.getPrefix()%> Model Action Set
+<%}}%>
+
+<%}%>
+<%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._Svx6eGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._Svx6eGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._Svx6eGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._-VjBFHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._-VjBFHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..ceedea9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._-VjBFHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genPackage.hasConcreteClasses() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._1AFpWWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._1AFpWWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._1AFpWWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQDG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQDG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..b0570ce
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQDG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getEditorDirectory();
+packageName = genPackage.getPresentationPackageName();
+className = genPackage.getActionBarContributorClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..efa37b1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,703 @@
+
+<%
+/**
+ * Copyright (c) 2002-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel();%>
+<%
+String _CollectionOfAnything = null;
+String _CollectionOfIAction = null;
+String _ArrayListOfIAction = null;
+String _CollectionOfExtendsIAction = null;
+String _IteratorOfIAction = null;
+String _MapOfStringToCollectionOfIAction = null;
+String _MapEntryOfStringToCollectionOfIAction = null;
+String _LinkedHashMapOfStringToCollectionOfIAction = null;
+if (genModel.isCreationCommands())
+{
+ _CollectionOfAnything = genModel.getImportedName("Collection" + (genModel.useGenerics() ? "<?>" : ""));
+ _CollectionOfIAction = genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<org.eclipse.jface.action.IAction>" : "java.util.Collection");
+ _ArrayListOfIAction = genModel.getImportedName(genModel.useGenerics() ? "java.util.ArrayList<org.eclipse.jface.action.IAction>" : "java.util.ArrayList");
+ _CollectionOfExtendsIAction = genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<? extends org.eclipse.jface.action.IAction>" : "java.util.Collection");
+ if (genModel.isCreationSubmenus())
+ {
+ _IteratorOfIAction = genModel.getImportedName(genModel.useGenerics() ? "java.util.Iterator<org.eclipse.jface.action.IAction>" : "java.util.Iterator");
+ _MapOfStringToCollectionOfIAction = genModel.getImportedName("java.util.Map") + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ _MapEntryOfStringToCollectionOfIAction = genModel.getImportedName("java.util.Map") + ".Entry" + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ _LinkedHashMapOfStringToCollectionOfIAction = genModel.getImportedName("java.util.LinkedHashMap") + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ }
+}
+%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getPresentationPackageName()%>;
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * This is the action bar contributor for the <%=genPackage.getPrefix()%> model editor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genPackage.getActionBarContributorClassName()%>
+ extends <%=genModel.getImportedName("org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor")%>
+ implements <%=genModel.getImportedName("org.eclipse.jface.viewers.ISelectionChangedListener")%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (genModel.isRichClientPlatform() && genPackage.isGenerateModelWizard()) {%>
+ /**
+ * Action to create objects from the <%=genPackage.getPrefix()%> model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class NewAction extends <%=genModel.getImportedName("org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate")%>
+ {
+ /**
+ * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void run(<%=genModel.getImportedName("org.eclipse.jface.action.IAction")%> action)
+ {
+ <%=genPackage.getModelWizardClassName()%> wizard = new <%=genPackage.getModelWizardClassName()%>();
+ wizard.init(getWindow().getWorkbench(), <%=genModel.getImportedName("org.eclipse.jface.viewers.StructuredSelection")%>.EMPTY);
+ <%=genModel.getImportedName("org.eclipse.jface.wizard.WizardDialog")%> wizardDialog = new <%=genModel.getImportedName("org.eclipse.jface.wizard.WizardDialog")%>(getWindow().getShell(), wizard);
+ wizardDialog.open();
+ }
+ }
+
+<%}%>
+ /**
+ * This keeps track of the active editor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.ui.IEditorPart")%> activeEditorPart;
+
+ /**
+ * This keeps track of the current selection provider.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.jface.viewers.ISelectionProvider")%> selectionProvider;
+
+ /**
+ * This action opens the Properties view.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.jface.action.IAction")%> showPropertiesViewAction =
+ new <%=genModel.getImportedName("org.eclipse.jface.action.Action")%>(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_ShowPropertiesView_menu_item"))<%=genModel.getNonNLS()%>
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void run()
+ {
+ try
+ {
+ getPage().showView("org.eclipse.ui.views.PropertySheet");<%=genModel.getNonNLS()%>
+ }
+ catch (<%=genModel.getImportedName("org.eclipse.ui.PartInitException")%> exception)
+ {
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.log(exception);
+ }
+ }
+ };
+
+ /**
+ * This action refreshes the viewer of the current editor if the editor
+ * implements {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.jface.action.IAction")%> refreshViewerAction =
+ new <%=genModel.getImportedName("org.eclipse.jface.action.Action")%>(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_RefreshViewer_menu_item"))<%=genModel.getNonNLS()%>
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public boolean isEnabled()
+ {
+ return activeEditorPart instanceof <%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.IViewerProvider")%>;
+ }
+
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void run()
+ {
+ if (activeEditorPart instanceof <%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.IViewerProvider")%>)
+ {
+ <%=genModel.getImportedName("org.eclipse.jface.viewers.Viewer")%> viewer = ((<%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.IViewerProvider")%>)activeEditorPart).getViewer();
+ if (viewer != null)
+ {
+ viewer.refresh();
+ }
+ }
+ }
+ };
+
+<%if (genModel.isCreationCommands()) {%>
+ /**
+ * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor
+ * generated for the current selection by the item provider.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfIAction%> createChildActions;
+
+ <%if (genModel.isCreationSubmenus()) {%>
+ /**
+ * This will contain a map of {@link org.eclipse.emf.edit.ui.action.CreateChildAction}s, keyed by sub-menu text.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_MapOfStringToCollectionOfIAction%> createChildSubmenuActions;
+
+ <%}%>
+ /**
+ * This is the menu manager into which menu contribution items should be added for CreateChild actions.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.jface.action.IMenuManager")%> createChildMenuManager;
+
+ /**
+ * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding to each descriptor
+ * generated for the current selection by the item provider.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfIAction%> createSiblingActions;
+
+ <%if (genModel.isCreationSubmenus()) {%>
+ /**
+ * This will contain a map of {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction}s, keyed by submenu text.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_MapOfStringToCollectionOfIAction%> createSiblingSubmenuActions;
+
+ <%}%>
+ /**
+ * This is the menu manager into which menu contribution items should be added for CreateSibling actions.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.jface.action.IMenuManager")%> createSiblingMenuManager;
+
+<%}%>
+ /**
+ * This creates an instance of the contributor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getActionBarContributorClassName()%>()
+ {
+ super(ADDITIONS_LAST_STYLE);
+ loadResourceAction = new <%=genModel.getImportedName("org.eclipse.emf.edit.ui.action.LoadResourceAction")%>();
+ validateAction = new <%=genModel.getImportedName("org.eclipse.emf.edit.ui.action.ValidateAction")%>();
+<%if (genModel.getDecoration() == GenDecoration.LIVE) {%>
+ liveValidationAction = new <%=genModel.getImportedName("org.eclipse.emf.edit.ui.provider.DiagnosticDecorator")%>.LiveValidator.LiveValidationAction(<%=genPackage.getImportedEditorPluginClassName()%>.getPlugin().getDialogSettings());
+<%}%>
+ controlAction = new <%=genModel.getImportedName("org.eclipse.emf.edit.ui.action.ControlAction")%>();
+ }
+
+ /**
+ * This adds Separators for editor additions to the tool bar.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void contributeToToolBar(<%=genModel.getImportedName("org.eclipse.jface.action.IToolBarManager")%> toolBarManager)
+ {
+ toolBarManager.add(new <%=genModel.getImportedName("org.eclipse.jface.action.Separator")%>("<%=genPackage.getPrefix().toLowerCase(genModel.getLocale())%>-settings"));<%=genModel.getNonNLS()%>
+ toolBarManager.add(new <%=genModel.getImportedName("org.eclipse.jface.action.Separator")%>("<%=genPackage.getPrefix().toLowerCase(genModel.getLocale())%>-additions"));<%=genModel.getNonNLS()%>
+ }
+
+ /**
+ * This adds to the menu bar a menu and some separators for editor additions,
+ * as well as the sub-menus for object creation items.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void contributeToMenu(<%=genModel.getImportedName("org.eclipse.jface.action.IMenuManager")%> menuManager)
+ {
+ super.contributeToMenu(menuManager);
+
+ <%=genModel.getImportedName("org.eclipse.jface.action.IMenuManager")%> submenuManager = new <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%>(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getEditorClassName()%>_menu"), "<%=genPackage.getInterfacePackageName()%>MenuID");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ menuManager.insertAfter("additions", submenuManager);<%=genModel.getNonNLS()%>
+ submenuManager.add(new <%=genModel.getImportedName("org.eclipse.jface.action.Separator")%>("settings"));<%=genModel.getNonNLS()%>
+ submenuManager.add(new <%=genModel.getImportedName("org.eclipse.jface.action.Separator")%>("actions"));<%=genModel.getNonNLS()%>
+ submenuManager.add(new <%=genModel.getImportedName("org.eclipse.jface.action.Separator")%>("additions"));<%=genModel.getNonNLS()%>
+ submenuManager.add(new <%=genModel.getImportedName("org.eclipse.jface.action.Separator")%>("additions-end"));<%=genModel.getNonNLS()%>
+
+<%if (genModel.isCreationCommands()) {%>
+ // Prepare for CreateChild item addition or removal.
+ //
+ createChildMenuManager = new <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%>(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_CreateChild_menu_item"));<%=genModel.getNonNLS()%>
+ submenuManager.insertBefore("additions", createChildMenuManager);<%=genModel.getNonNLS()%>
+
+ // Prepare for CreateSibling item addition or removal.
+ //
+ createSiblingMenuManager = new <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%>(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_CreateSibling_menu_item"));<%=genModel.getNonNLS()%>
+ submenuManager.insertBefore("additions", createSiblingMenuManager);<%=genModel.getNonNLS()%>
+
+ // Force an update because Eclipse hides empty menus now.
+ //
+ submenuManager.addMenuListener
+ (new <%=genModel.getImportedName("org.eclipse.jface.action.IMenuListener")%>()
+ {
+ public void menuAboutToShow(<%=genModel.getImportedName("org.eclipse.jface.action.IMenuManager")%> menuManager)
+ {
+ menuManager.updateAll(true);
+ }
+ });
+
+<%} else {%>
+ // Add your contributions.
+ // Ensure that you remove @generated or mark it @generated NOT
+
+<%}%>
+ addGlobalActions(submenuManager);
+ }
+
+ /**
+ * When the active editor changes, this remembers the change and registers with it as a selection provider.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void setActiveEditor(<%=genModel.getImportedName("org.eclipse.ui.IEditorPart")%> part)
+ {
+ super.setActiveEditor(part);
+ activeEditorPart = part;
+
+ // Switch to the new selection provider.
+ //
+ if (selectionProvider != null)
+ {
+ selectionProvider.removeSelectionChangedListener(this);
+ }
+ if (part == null)
+ {
+ selectionProvider = null;
+ }
+ else
+ {
+ selectionProvider = part.getSite().getSelectionProvider();
+ selectionProvider.addSelectionChangedListener(this);
+
+ // Fake a selection changed event to update the menus.
+ //
+ if (selectionProvider.getSelection() != null)
+ {
+ selectionChanged(new <%=genModel.getImportedName("org.eclipse.jface.viewers.SelectionChangedEvent")%>(selectionProvider, selectionProvider.getSelection()));
+ }
+ }
+ }
+
+ /**
+ * This implements {@link org.eclipse.jface.viewers.ISelectionChangedListener},
+ * handling {@link org.eclipse.jface.viewers.SelectionChangedEvent}s by querying for the children and siblings
+ * that can be added to the selected object and updating the menus accordingly.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void selectionChanged(<%=genModel.getImportedName("org.eclipse.jface.viewers.SelectionChangedEvent")%> event)
+ {
+<%if (genModel.isCreationCommands()) {%>
+ // Remove any menu items for old selection.
+ //
+ if (createChildMenuManager != null)
+ {
+ <%if (genModel.isCreationSubmenus()) {%>
+ depopulateManager(createChildMenuManager, createChildSubmenuActions);
+ <%}%>
+ depopulateManager(createChildMenuManager, createChildActions);
+ }
+ if (createSiblingMenuManager != null)
+ {
+ <%if (genModel.isCreationSubmenus()) {%>
+ depopulateManager(createSiblingMenuManager, createSiblingSubmenuActions);
+ <%}%>
+ depopulateManager(createSiblingMenuManager, createSiblingActions);
+ }
+
+ // Query the new selection for appropriate new child/sibling descriptors
+ //
+ <%=_CollectionOfAnything%> newChildDescriptors = null;
+ <%=_CollectionOfAnything%> newSiblingDescriptors = null;
+
+ <%=genModel.getImportedName("org.eclipse.jface.viewers.ISelection")%> selection = event.getSelection();
+ if (selection instanceof <%=genModel.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")%> && ((IStructuredSelection)selection).size() == 1)
+ {
+ Object object = ((<%=genModel.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")%>)selection).getFirstElement();
+
+ <%=genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain")%> domain = ((<%=genModel.getImportedName("org.eclipse.emf.edit.domain.IEditingDomainProvider")%>)activeEditorPart).getEditingDomain();
+
+ newChildDescriptors = domain.getNewChildDescriptors(object, null);
+ newSiblingDescriptors = domain.getNewChildDescriptors(null, object);
+ }
+
+ // Generate actions for selection; populate and redraw the menus.
+ //
+ createChildActions = generateCreateChildActions(newChildDescriptors, selection);
+ <%if (genModel.isCreationSubmenus()) {%>
+ createChildSubmenuActions = extractSubmenuActions(createChildActions);
+ <%}%>
+ createSiblingActions = generateCreateSiblingActions(newSiblingDescriptors, selection);
+ <%if (genModel.isCreationSubmenus()) {%>
+ createSiblingSubmenuActions = extractSubmenuActions(createSiblingActions);
+ <%}%>
+
+ if (createChildMenuManager != null)
+ {
+ <%if (genModel.isCreationSubmenus()) {%>
+ populateManager(createChildMenuManager, createChildSubmenuActions, null);
+ <%}%>
+ populateManager(createChildMenuManager, createChildActions, null);
+ createChildMenuManager.update(true);
+ }
+ if (createSiblingMenuManager != null)
+ {
+ <%if (genModel.isCreationSubmenus()) {%>
+ populateManager(createSiblingMenuManager, createSiblingSubmenuActions, null);
+ <%}%>
+ populateManager(createSiblingMenuManager, createSiblingActions, null);
+ createSiblingMenuManager.update(true);
+ }
+<%} else {%>
+ // Add your contributions.
+ // Ensure that you remove @generated or mark it @generated NOT
+<%}%>
+ }
+
+<%if (genModel.isCreationCommands()) {%>
+ /**
+ * This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction} for each object in <code>descriptors</code>,
+ * and returns the collection of these actions.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfIAction%> generateCreateChildActions(<%=_CollectionOfAnything%> descriptors, <%=genModel.getImportedName("org.eclipse.jface.viewers.ISelection")%> selection)
+ {
+ <%=_CollectionOfIAction%> actions = new <%=_ArrayListOfIAction%>();
+ if (descriptors != null)
+ {
+<%if (genModel.useGenerics()) {%>
+ for (<%=genModel.getImportedName("java.lang.Object")%> descriptor : descriptors)
+<%} else {%>
+ for (<%=genModel.getImportedName("java.util.Iterator")%> i = descriptors.iterator(); i.hasNext(); )
+<%}%>
+ {
+ actions.add(new <%=genModel.getImportedName("org.eclipse.emf.edit.ui.action.CreateChildAction")%>(activeEditorPart, selection, <%if (genModel.useGenerics()) {%>descriptor<%} else {%>i.next()<%}%>));
+ }
+ }
+ return actions;
+ }
+
+ /**
+ * This generates a {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each object in <code>descriptors</code>,
+ * and returns the collection of these actions.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfIAction%> generateCreateSiblingActions(<%=_CollectionOfAnything%> descriptors, <%=genModel.getImportedName("org.eclipse.jface.viewers.ISelection")%> selection)
+ {
+ <%=_CollectionOfIAction%> actions = new <%=_ArrayListOfIAction%>();
+ if (descriptors != null)
+ {
+<%if (genModel.useGenerics()) {%>
+ for (<%=genModel.getImportedName("java.lang.Object")%> descriptor : descriptors)
+<%} else {%>
+ for (<%=genModel.getImportedName("java.util.Iterator")%> i = descriptors.iterator(); i.hasNext(); )
+<%}%>
+ {
+ actions.add(new <%=genModel.getImportedName("org.eclipse.emf.edit.ui.action.CreateSiblingAction")%>(activeEditorPart, selection, <%if (genModel.useGenerics()) {%>descriptor<%} else {%>i.next()<%}%>));
+ }
+ }
+ return actions;
+ }
+
+ /**
+ * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.ActionContributionItem}s
+ * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection,
+ * by inserting them before the specified contribution item <code>contributionID</code>.
+ * If <code>contributionID</code> is <code>null</code>, they are simply added.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void populateManager(<%=genModel.getImportedName("org.eclipse.jface.action.IContributionManager")%> manager, <%=_CollectionOfExtendsIAction%> actions, String contributionID)
+ {
+ if (actions != null)
+ {
+<%if (genModel.useGenerics()) {%>
+ for (<%=genModel.getImportedName("org.eclipse.jface.action.IAction")%> action : actions)
+<%} else {%>
+ for (<%=genModel.getImportedName("java.util.Iterator")%> i = actions.iterator(); i.hasNext(); )
+<%}%>
+ {
+<%if (!genModel.useGenerics()) {%>
+ <%=genModel.getImportedName("org.eclipse.jface.action.IAction")%> action = (IAction)i.next();
+<%}%>
+ if (contributionID != null)
+ {
+ manager.insertBefore(contributionID, action);
+ }
+ else
+ {
+ manager.add(action);
+ }
+ }
+ }
+ }
+
+ /**
+ * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.ActionContributionItem}s
+ * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void depopulateManager(<%=genModel.getImportedName("org.eclipse.jface.action.IContributionManager")%> manager, <%=_CollectionOfExtendsIAction%> actions)
+ {
+ if (actions != null)
+ {
+ <%=genModel.getImportedName("org.eclipse.jface.action.IContributionItem")%>[] items = manager.getItems();
+ for (int i = 0; i < items.length; i++)
+ {
+ // Look into SubContributionItems
+ //
+ <%=genModel.getImportedName("org.eclipse.jface.action.IContributionItem")%> contributionItem = items[i];
+ while (contributionItem instanceof <%=genModel.getImportedName("org.eclipse.jface.action.SubContributionItem")%>)
+ {
+ contributionItem = ((<%=genModel.getImportedName("org.eclipse.jface.action.SubContributionItem")%>)contributionItem).getInnerItem();
+ }
+
+ // Delete the ActionContributionItems with matching action.
+ //
+ if (contributionItem instanceof <%=genModel.getImportedName("org.eclipse.jface.action.ActionContributionItem")%>)
+ {
+ <%=genModel.getImportedName("org.eclipse.jface.action.IAction")%> action = ((<%=genModel.getImportedName("org.eclipse.jface.action.ActionContributionItem")%>)contributionItem).getAction();
+ if (actions.contains(action))
+ {
+ manager.remove(contributionItem);
+ }
+ }
+ }
+ }
+ }
+
+ <%if (genModel.isCreationSubmenus()) {%>
+ /**
+ * This extracts those actions in the <code>submenuActions</code> collection whose text is qualified and returns
+ * a map of these actions, keyed by submenu text.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_MapOfStringToCollectionOfIAction%> extractSubmenuActions(<%=_CollectionOfIAction%> createActions)
+ {
+ <%=_MapOfStringToCollectionOfIAction%> createSubmenuActions = new <%=_LinkedHashMapOfStringToCollectionOfIAction%>();
+ if (createActions != null)
+ {
+ for (<%=_IteratorOfIAction%> actions = createActions.iterator(); actions.hasNext(); )
+ {
+ <%=genModel.getImportedName("org.eclipse.jface.action.IAction")%> action = <%if (!genModel.useGenerics()) {%>(<%=genModel.getImportedName("org.eclipse.jface.action.IAction")%>)<%}%>actions.next();
+ <%=genModel.getImportedName("java.util.StringTokenizer")%> st = new <%=genModel.getImportedName("java.util.StringTokenizer")%>(action.getText(), "|");<%=genModel.getNonNLS()%>
+ if (st.countTokens() == 2)
+ {
+ String text = st.nextToken().trim();
+ <%=_CollectionOfIAction%> submenuActions = <%if (!genModel.useGenerics()) {%>(<%=_CollectionOfIAction%>)<%}%>createSubmenuActions.get(text);
+ if (submenuActions == null)
+ {
+ createSubmenuActions.put(text, submenuActions = new <%=_ArrayListOfIAction%>());
+ }
+ action.setText(st.nextToken().trim());
+ submenuActions.add(action);
+ actions.remove();
+ }
+ }
+ }
+ return createSubmenuActions;
+ }
+
+ /**
+ * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.MenuManager}s containing
+ * {@link org.eclipse.jface.action.ActionContributionItem}s based on the {@link org.eclipse.jface.action.IAction}s
+ * contained in the <code>submenuActions</code> collection, by inserting them before the specified contribution
+ * item <code>contributionID</code>.
+ * If <code>contributionID</code> is <code>null</code>, they are simply added.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void populateManager(<%=genModel.getImportedName("org.eclipse.jface.action.IContributionManager")%> manager, <%=_MapOfStringToCollectionOfIAction%> submenuActions, String contributionID)
+ {
+ if (submenuActions != null)
+ {
+ <%if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {%>
+ for (<%=_MapEntryOfStringToCollectionOfIAction%> entry : submenuActions.entrySet())
+ {
+ <%} else {%>
+ for (<%=genModel.getImportedName("java.util.Iterator")%> entries = submenuActions.entrySet().iterator(); entries.hasNext();)
+ {
+ <%=_MapEntryOfStringToCollectionOfIAction%> entry = (<%=_MapEntryOfStringToCollectionOfIAction%>)entries.next();
+ <%}%>
+ <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%> submenuManager = new <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%>(<%if (!genModel.useGenerics()) {%>(String)<%}%>entry.getKey());
+ if (contributionID != null)
+ {
+ manager.insertBefore(contributionID, submenuManager);
+ }
+ else
+ {
+ manager.add(submenuManager);
+ }
+ populateManager(submenuManager, <%if (!genModel.useGenerics()) {%>(<%=_CollectionOfIAction%>)<%}%>entry.getValue(), null);
+ }
+ }
+ }
+
+ /**
+ * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.MenuManager}s and their
+ * {@link org.eclipse.jface.action.ActionContributionItem}s based on the {@link org.eclipse.jface.action.IAction}s
+ * contained in the <code>submenuActions</code> map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void depopulateManager(<%=genModel.getImportedName("org.eclipse.jface.action.IContributionManager")%> manager, <%=_MapOfStringToCollectionOfIAction%> submenuActions)
+ {
+ if (submenuActions != null)
+ {
+ <%=genModel.getImportedName("org.eclipse.jface.action.IContributionItem")%>[] items = manager.getItems();
+ for (int i = 0; i < items.length; i++)
+ {
+ <%=genModel.getImportedName("org.eclipse.jface.action.IContributionItem")%> contributionItem = items[i];
+ if (contributionItem instanceof <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%>)
+ {
+ <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%> submenuManager = (<%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%>)contributionItem;
+ if (submenuActions.containsKey(submenuManager.getMenuText()))
+ {
+ depopulateManager(submenuManager, <%if (!genModel.useGenerics()) {%>(<%=_CollectionOfIAction%>)<%}%>submenuActions.get(contributionItem));
+ manager.remove(contributionItem);
+ }
+ }
+ }
+ }
+ }
+
+ <%}%>
+<%}%>
+ /**
+ * This populates the pop-up menu before it appears.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void menuAboutToShow(<%=genModel.getImportedName("org.eclipse.jface.action.IMenuManager")%> menuManager)
+ {
+ super.menuAboutToShow(menuManager);
+<%if (genModel.isCreationCommands()) {%>
+ <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%> submenuManager = null;
+
+ submenuManager = new <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%>(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_CreateChild_menu_item"));<%=genModel.getNonNLS()%>
+ <%if (genModel.isCreationSubmenus()) {%>
+ populateManager(submenuManager, createChildSubmenuActions, null);
+ <%}%>
+ populateManager(submenuManager, createChildActions, null);
+ menuManager.insertBefore("edit", submenuManager);<%=genModel.getNonNLS()%>
+
+ submenuManager = new <%=genModel.getImportedName("org.eclipse.jface.action.MenuManager")%>(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_CreateSibling_menu_item"));<%=genModel.getNonNLS()%>
+ <%if (genModel.isCreationSubmenus()) {%>
+ populateManager(submenuManager, createSiblingSubmenuActions, null);
+ <%}%>
+ populateManager(submenuManager, createSiblingActions, null);
+ menuManager.insertBefore("edit", submenuManager);<%=genModel.getNonNLS()%>
+<%}%>
+ }
+
+ /**
+ * This inserts global actions before the "additions-end" separator.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void addGlobalActions(<%=genModel.getImportedName("org.eclipse.jface.action.IMenuManager")%> menuManager)
+ {
+ menuManager.insertAfter("additions-end", new <%=genModel.getImportedName("org.eclipse.jface.action.Separator")%>("ui-actions"));<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ menuManager.insertAfter("ui-actions", showPropertiesViewAction);<%=genModel.getNonNLS()%>
+
+ refreshViewerAction.setEnabled(refreshViewerAction.isEnabled());
+ menuManager.insertAfter("ui-actions", refreshViewerAction);<%=genModel.getNonNLS()%>
+
+ super.addGlobalActions(menuManager);
+ }
+
+ /**
+ * This ensures that a delete action will clean up all references to deleted objects.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected boolean removeAllReferencesOnDelete()
+ {
+ return true;
+ }
+
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPVTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPVTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPVTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._SwhhWGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._SwhhWGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._SwhhWGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._-SaNhHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._-SaNhHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..ceedea9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._-SaNhHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genPackage.hasConcreteClasses() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._1APaWWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._1APaWWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._1APaWWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIDG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIDG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIDG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAITG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAITG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAITG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIzG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..3763527
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getEditorDirectory();
+packageName = genPackage.getPresentationPackageName();
+className = genPackage.getEditorClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..74d1840
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,2468 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel(); /* Trick to import java.util.* without warnings */Iterator.class.getName(); %>
+<%String importedOperationClassName = genModel.getImportedName(genModel.isRichClientPlatform() ? "org.eclipse.jface.operation.IRunnableWithProgress" : "org.eclipse.ui.actions.WorkspaceModifyOperation");%>
+<%String operationMethodName = genModel.isRichClientPlatform() ? "run" : "execute";%>
+<%String _ArrayListOfObject = "ArrayList" + (genModel.useGenerics() ? "<Object>" : "");%>
+<%String _ArrayListOfSelectionChangedListener = "ArrayList" + (genModel.useGenerics() ? "<ISelectionChangedListener>" : "");%>
+<%String _CollectionOfSelectionChangedListener = "Collection" + (genModel.useGenerics() ? "<ISelectionChangedListener>" : "");%>
+<%String _ArrayListOfResource = "ArrayList" + (genModel.useGenerics() ? "<Resource>" : "");%>
+<%String _CollectionOfResource = "Collection" + (genModel.useGenerics() ? "<Resource>" : "");%>
+<%String _MapOfResourceToDiagnostic = "Map" + (genModel.useGenerics() ? "<Resource, Diagnostic>" : "");%>
+<%String _HashMapOfResourceToBoolean = "HashMap" + (genModel.useGenerics() ? "<Resource, Boolean>" : "");%>
+<%String _MapOfObjectToObject = "Map" + (genModel.useGenerics() ? "<Object, Object>" : "");%>
+<%String _HashMapOfObjectToObject = "HashMap" + (genModel.useGenerics() ? "<Object, Object>" : "");%>
+<%String _LinkedHashMapOfResourceToDiagnostic = "LinkedHashMap" + (genModel.useGenerics() ? "<Resource, Diagnostic>" : "");%>
+<%String _CollectionOfAnything = "Collection" + (genModel.useGenerics() ? "<?>" : "");%>
+<%String _ListOfAnything = "List" + (genModel.useGenerics() ? "<?>" : "");%>
+<%boolean useExtendedLabelProvider = genModel.isStyleProviders() || genModel.isFontProviders() || genModel.isColorProviders();%>
+<%boolean useStyledLabelProvider = genModel.isStyleProviders();%>
+<%String _AdapterFactoryLabelProvider = (useStyledLabelProvider ? "AdapterFactoryLabelProvider.StyledLabelProvider" : "AdapterFactoryLabelProvider" + (genModel.isFontProviders() && genModel.isColorProviders() ? ".FontAndColorProvider" : genModel.isFontProviders() ? ".FontProvider" : genModel.isColorProviders() ? ".ColorProvider" : ""));%>
+<%String _DelegatingAdapterFactoryLabelProvider = useStyledLabelProvider ? genModel.getImportedName("org.eclipse.emf.edit.ui.provider.DelegatingStyledCellLabelProvider") + (genModel.isFontProviders() && genModel.isColorProviders() ? ".FontAndColorProvider" : genModel.isFontProviders() ? ".FontProvider" : genModel.isColorProviders() ? ".ColorProvider" : "") : "";%>
+<%String _DecoratingColumLabelProvider = genModel.getDecoration() != GenDecoration.NONE ? genModel.getImportedName("org.eclipse.emf.edit.ui.provider.DecoratingColumLabelProvider") + (useStyledLabelProvider ? ".StyledLabelProvider" : "") : "";%>
+<%String _DiagnosticDecorator = genModel.getDecoration() != GenDecoration.NONE ? genModel.getImportedName("org.eclipse.emf.edit.ui.provider.DiagnosticDecorator") + (useStyledLabelProvider ? ".Styled" : "") : "";%>
+<%String _ArrayListOfString = "ArrayList" + (genModel.useGenerics() ? "<String>" : "");%>
+<%String _ListOfString = "List" + (genModel.useGenerics() ? "<String>" : "");%>
+<%String _ListOfPropertySheetPage = "List" + (genModel.useGenerics() ? "<PropertySheetPage>" : "");%>
+<%String _ArrayListOfPropertySheetPage = "ArrayList" + (genModel.useGenerics() ? "<PropertySheetPage>" : "");%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getPresentationPackageName()%>;
+
+
+import java.io.IOException;
+import java.io.InputStream;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.EventObject;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+<%if (!genModel.isRichClientPlatform()) {%>
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IMarker;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceChangeEvent;
+import org.eclipse.core.resources.IResourceChangeListener;
+import org.eclipse.core.resources.IResourceDelta;
+import org.eclipse.core.resources.IResourceDeltaVisitor;
+import org.eclipse.core.resources.ResourcesPlugin;
+<%}%>
+
+<%if (!genModel.isRichClientPlatform()) {%>
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+<%}%>
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
+
+import org.eclipse.jface.action.IMenuListener;
+import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.jface.action.IStatusLineManager;
+import org.eclipse.jface.action.IToolBarManager;
+import org.eclipse.jface.action.MenuManager;
+import org.eclipse.jface.action.Separator;
+
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.dialogs.ProgressMonitorDialog;
+
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF29_VALUE) {%>
+import org.eclipse.jface.util.LocalSelectionTransfer;
+
+<%}%>
+<%if (genPackage.isMultipleEditorPages()) {%>
+import org.eclipse.jface.viewers.ColumnWeightData;
+<%}%>
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.ISelectionChangedListener;
+import org.eclipse.jface.viewers.ISelectionProvider;
+import org.eclipse.jface.viewers.IStructuredSelection;
+<%if (genPackage.isMultipleEditorPages()) {%>
+import org.eclipse.jface.viewers.ListViewer;
+<%}%>
+import org.eclipse.jface.viewers.SelectionChangedEvent;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.StructuredViewer;
+<%if (genPackage.isMultipleEditorPages()) {%>
+import org.eclipse.jface.viewers.TableLayout;
+import org.eclipse.jface.viewers.TableViewer;
+<%}%>
+import org.eclipse.jface.viewers.TreeViewer;
+import org.eclipse.jface.viewers.Viewer;
+
+import org.eclipse.swt.SWT;
+
+import org.eclipse.swt.custom.CTabFolder;
+
+import org.eclipse.swt.dnd.DND;
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF29_VALUE) {%>
+import org.eclipse.swt.dnd.FileTransfer;
+<%}%>
+import org.eclipse.swt.dnd.Transfer;
+
+import org.eclipse.swt.events.ControlAdapter;
+import org.eclipse.swt.events.ControlEvent;
+
+import org.eclipse.swt.graphics.Point;
+<%if (genPackage.isMultipleEditorPages()) {%>
+
+import org.eclipse.swt.layout.FillLayout;
+<%}%>
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Menu;
+<%if (genPackage.isMultipleEditorPages()) {%>
+import org.eclipse.swt.widgets.Table;
+import org.eclipse.swt.widgets.TableColumn;
+<%}%>
+import org.eclipse.swt.widgets.Tree;
+<%if (genPackage.isMultipleEditorPages()) {%>
+import org.eclipse.swt.widgets.TreeColumn;
+<%}%>
+
+import org.eclipse.ui.IActionBars;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IEditorSite;
+<%if (!genModel.isRichClientPlatform() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {%>
+import org.eclipse.ui.IFileEditorInput;
+<%}%>
+import org.eclipse.ui.IPartListener;
+import org.eclipse.ui.IWorkbenchPart;
+import org.eclipse.ui.PartInitException;
+<%if (!genModel.isRichClientPlatform()) {%>
+
+import org.eclipse.ui.dialogs.SaveAsDialog;
+
+import org.eclipse.ui.ide.IGotoMarker;
+<%}%>
+
+<%if (!genModel.isRichClientPlatform()) {%>
+import org.eclipse.ui.part.FileEditorInput;
+<%}%>
+import org.eclipse.ui.part.MultiPageEditorPart;
+
+import org.eclipse.ui.views.contentoutline.ContentOutline;
+import org.eclipse.ui.views.contentoutline.ContentOutlinePage;
+import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
+
+import org.eclipse.ui.views.properties.IPropertySheetPage;
+import org.eclipse.ui.views.properties.PropertySheet;
+import org.eclipse.ui.views.properties.PropertySheetPage;
+
+import org.eclipse.emf.common.command.BasicCommandStack;
+import org.eclipse.emf.common.command.Command;
+import org.eclipse.emf.common.command.CommandStack;
+import org.eclipse.emf.common.command.CommandStackListener;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+<%if (!genModel.isRichClientPlatform()) {%>
+import org.eclipse.emf.common.ui.MarkerHelper;
+<%}%>
+<%if (genPackage.isMultipleEditorPages()) {%>
+import org.eclipse.emf.common.ui.ViewerPane;
+<%}%>
+
+import org.eclipse.emf.common.ui.editor.ProblemEditorPart;
+
+import org.eclipse.emf.common.ui.viewer.IViewerProvider;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.common.util.URI;
+
+<%if (!genModel.isRichClientPlatform() && genModel.getRuntimeVersion().getValue() < GenRuntimeVersion.EMF23_VALUE) {%>
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EValidator;
+<%}%>
+
+import org.eclipse.emf.ecore.resource.Resource;
+<%if (!genModel.isRichClientPlatform()) {%>
+import org.eclipse.emf.ecore.resource.ResourceSet;
+<%}%>
+
+import org.eclipse.emf.ecore.util.EContentAdapter;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+
+import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.emf.edit.domain.IEditingDomainProvider;
+
+import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
+
+import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
+
+import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
+
+import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;
+
+import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;
+import org.eclipse.emf.edit.ui.dnd.LocalTransfer;
+import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;
+
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {%>
+import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;
+<%}%>
+<%if (!genModel.isRichClientPlatform()) {%>
+
+import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;
+<%}%>
+<%if (genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {%>
+import org.eclipse.emf.edit.ui.util.EditUIUtil;
+<%}%>
+
+import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;
+
+import <%=genPackage.getQualifiedItemProviderAdapterFactoryClassName()%>;
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+
+/**
+ * This is an example of a <%=genPackage.getPrefix()%> model editor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genPackage.getEditorClassName()%>
+ extends MultiPageEditorPart
+ implements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider<%if (!genModel.isRichClientPlatform()) {%>, IGotoMarker<%}%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (genModel.isRichClientPlatform()) {%>
+ /**
+ * The filters for file extensions supported by the editor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */<%if (genPackage.isGenerateModelWizard()) {%>
+ public static final <%=_ListOfString%> FILE_EXTENSION_FILTERS = prefixExtensions(<%=genPackage.getImportedModelWizardClassName()%>.FILE_EXTENSIONS, "*.");<%=genModel.getNonNLS()%>
+ <%} else {%>
+ public static final <%=_ListOfString%> FILE_EXTENSION_FILTERS = prefixExtensions(<%=genModel.getImportedName("java.util.Arrays")%>.asList(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getEditorClassName()%>FilenameExtensions").split("\\s*,\\s*")), "*.");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%><%=genModel.getNonNLS(3)%>
+ <%}%>
+ /**
+ * Returns a new unmodifiable list containing prefixed versions of the extensions in the given list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static <%=_ListOfString%> prefixExtensions(<%=_ListOfString%> extensions, String prefix)
+ {
+ <%=_ListOfString%> result = new <%=_ArrayListOfString%>();
+ <%if (genModel.useGenerics()) {%>
+ for (String extension : extensions)
+ {
+ result.add(prefix + extension);
+ <%} else {%>
+ for (Iterator iterator = extensions.iterator() ; iterator.hasNext(); )
+ {
+ result.add(prefix + (String)iterator.next());
+ <%}%>
+ }
+ return Collections.unmodifiableList(result);
+ }
+
+<%}%>
+ /**
+ * This keeps track of the editing domain that is used to track all changes to the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AdapterFactoryEditingDomain editingDomain;
+
+ /**
+ * This is the one adapter factory used for providing views of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComposedAdapterFactory adapterFactory;
+
+ /**
+ * This is the content outline page.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IContentOutlinePage contentOutlinePage;
+
+ /**
+ * This is a kludge...
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IStatusLineManager contentOutlineStatusLineManager;
+
+ /**
+ * This is the content outline page's viewer.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TreeViewer contentOutlineViewer;
+
+ /**
+ * This is the property sheet page.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_ListOfPropertySheetPage%> propertySheetPages = new <%=_ArrayListOfPropertySheetPage%>();
+
+ /**
+ * This is the viewer that shadows the selection in the content outline.
+ * The parent relation must be correctly defined for this to work.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TreeViewer selectionViewer;
+<%if (genPackage.isMultipleEditorPages()) {%>
+
+ /**
+ * This inverts the roll of parent and child in the content provider and show parents as a tree.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TreeViewer parentViewer;
+
+ /**
+ * This shows how a tree view works.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TreeViewer treeViewer;
+
+ /**
+ * This shows how a list view works.
+ * A list viewer doesn't support icons.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ListViewer listViewer;
+
+ /**
+ * This shows how a table view works.
+ * A table can be used as a list with icons.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TableViewer tableViewer;
+
+ /**
+ * This shows how a tree view with columns works.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TreeViewer treeViewerWithColumns;
+
+ /**
+ * This keeps track of the active viewer pane, in the book.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ViewerPane currentViewerPane;
+<%}%>
+
+ /**
+ * This keeps track of the active content viewer, which may be either one of the viewers in the pages or the content outline viewer.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Viewer currentViewer;
+
+ /**
+ * This listens to which ever viewer is active.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ISelectionChangedListener selectionChangedListener;
+
+ /**
+ * This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this editor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfSelectionChangedListener%> selectionChangedListeners = new <%=_ArrayListOfSelectionChangedListener%>();
+
+ /**
+ * This keeps track of the selection of the editor as a whole.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ISelection editorSelection = StructuredSelection.EMPTY;
+
+<%if (!genModel.isRichClientPlatform()) {%>
+ /**
+ * The MarkerHelper is responsible for creating workspace resource markers presented
+ * in Eclipse's Problems View.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MarkerHelper markerHelper = new EditUIMarkerHelper();
+
+<%}%>
+ /**
+ * This listens for when the outline becomes active
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IPartListener partListener =
+ new IPartListener()
+ {
+ public void partActivated(IWorkbenchPart p)
+ {
+ if (p instanceof ContentOutline)
+ {
+ if (((ContentOutline)p).getCurrentPage() == contentOutlinePage)
+ {
+ getActionBarContributor().setActiveEditor(<%=genPackage.getEditorClassName()%>.this);
+
+ setCurrentViewer(contentOutlineViewer);
+ }
+ }
+ else if (p instanceof PropertySheet)
+ {
+ if (propertySheetPages.contains(((PropertySheet)p).getCurrentPage()))
+ {
+ getActionBarContributor().setActiveEditor(<%=genPackage.getEditorClassName()%>.this);
+ handleActivate();
+ }
+ }
+ else if (p == <%=genPackage.getEditorClassName()%>.this)
+ {
+ handleActivate();
+ }
+ }
+ public void partBroughtToTop(IWorkbenchPart p)
+ {
+ // Ignore.
+ }
+ public void partClosed(IWorkbenchPart p)
+ {
+ // Ignore.
+ }
+ public void partDeactivated(IWorkbenchPart p)
+ {
+ // Ignore.
+ }
+ public void partOpened(IWorkbenchPart p)
+ {
+ // Ignore.
+ }
+ };
+
+ /**
+ * Resources that have been removed since last activation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfResource%> removedResources = new <%=_ArrayListOfResource%>();
+
+ /**
+ * Resources that have been changed since last activation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfResource%> changedResources = new <%=_ArrayListOfResource%>();
+
+ /**
+ * Resources that have been saved.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfResource%> savedResources = new <%=_ArrayListOfResource%>();
+
+ /**
+ * Map to store the diagnostic associated with a resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_MapOfResourceToDiagnostic%> resourceToDiagnosticMap = new <%=_LinkedHashMapOfResourceToDiagnostic%>();
+
+ /**
+ * Controls whether the problem indication should be updated.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected boolean updateProblemIndication = true;
+
+ /**
+ * Adapter used to update the problem indication when resources are demanded loaded.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EContentAdapter problemIndicationAdapter =
+ new EContentAdapter()
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void notifyChanged(Notification notification)
+ {
+ if (notification.getNotifier() instanceof Resource)
+ {
+ switch (notification.getFeatureID(Resource.class))
+ {
+ case Resource.RESOURCE__IS_LOADED:
+ case Resource.RESOURCE__ERRORS:
+ case Resource.RESOURCE__WARNINGS:
+ {
+ Resource resource = (Resource)notification.getNotifier();
+ Diagnostic diagnostic = analyzeResourceProblems(resource, null);
+ if (diagnostic.getSeverity() != Diagnostic.OK)
+ {
+ resourceToDiagnosticMap.put(resource, diagnostic);
+ }
+ else
+ {
+ resourceToDiagnosticMap.remove(resource);
+ }
+
+ if (updateProblemIndication)
+ {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable()
+ {
+ public void run()
+ {
+ updateProblemIndication();
+ }
+ });
+ }
+ break;
+ }
+ }
+ }
+ else
+ {
+ super.notifyChanged(notification);
+ }
+ }
+
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void setTarget(Resource target)
+ {
+ basicSetTarget(target);
+ }
+
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void unsetTarget(Resource target)
+ {
+ basicUnsetTarget(target);
+ resourceToDiagnosticMap.remove(target);
+ if (updateProblemIndication)
+ {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable()
+ {
+ public void run()
+ {
+ updateProblemIndication();
+ }
+ });
+ }
+ }
+ };
+<%if (!genModel.isRichClientPlatform()) {%>
+
+ /**
+ * This listens for workspace changes.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IResourceChangeListener resourceChangeListener =
+ new IResourceChangeListener()
+ {
+ public void resourceChanged(IResourceChangeEvent event)
+ {
+ IResourceDelta delta = event.getDelta();
+ try
+ {
+ class ResourceDeltaVisitor implements IResourceDeltaVisitor
+ {
+ protected ResourceSet resourceSet = editingDomain.getResourceSet();
+ protected <%=_CollectionOfResource%> changedResources = new <%=_ArrayListOfResource%>();
+ protected <%=_CollectionOfResource%> removedResources = new <%=_ArrayListOfResource%>();
+
+ public boolean visit(<%if (genModel.getDecoration() != GenDecoration.NONE) {%>final <%}%>IResourceDelta delta)
+ {
+ if (delta.getResource().getType() == IResource.FILE)
+ {
+ if (delta.getKind() == IResourceDelta.REMOVED ||
+ delta.getKind() == IResourceDelta.CHANGED<%if (genModel.getDecoration() == GenDecoration.NONE) {%> && delta.getFlags() != IResourceDelta.MARKERS<%}%>)
+ {
+ <%if (genModel.getDecoration() != GenDecoration.NONE) {%>final <%}%>Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false);
+ if (resource != null)
+ {
+ if (delta.getKind() == IResourceDelta.REMOVED)
+ {
+ removedResources.add(resource);
+ }
+<%if (genModel.getDecoration() == GenDecoration.NONE) {%>
+ else if (!savedResources.remove(resource))
+ {
+ changedResources.add(resource);
+ }
+<%} else {%>
+ else
+ {
+ if ((delta.getFlags() & IResourceDelta.MARKERS) != 0)
+ {
+ <%=_DiagnosticDecorator%>.DiagnosticAdapter.update(resource, markerHelper.getMarkerDiagnostics(resource, (IFile)delta.getResource()));
+ }
+ if ((delta.getFlags() & IResourceDelta.CONTENT) != 0)
+ {
+ if (!savedResources.remove(resource))
+ {
+ changedResources.add(resource);
+ }
+ }
+ }
+<%}%>
+ }
+ }
+ return false;
+ }
+
+ return true;
+ }
+
+ public <%=_CollectionOfResource%> getChangedResources()
+ {
+ return changedResources;
+ }
+
+ public <%=_CollectionOfResource%> getRemovedResources()
+ {
+ return removedResources;
+ }
+ }
+
+ final ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();
+ delta.accept(visitor);
+
+ if (!visitor.getRemovedResources().isEmpty())
+ {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable()
+ {
+ public void run()
+ {
+ removedResources.addAll(visitor.getRemovedResources());
+ if (!isDirty())
+ {
+ getSite().getPage().closeEditor(<%=genPackage.getEditorClassName()%>.this, false);
+ }
+ }
+ });
+ }
+
+ if (!visitor.getChangedResources().isEmpty())
+ {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable()
+ {
+ public void run()
+ {
+ changedResources.addAll(visitor.getChangedResources());
+ if (getSite().getPage().getActiveEditor() == <%=genPackage.getEditorClassName()%>.this)
+ {
+ handleActivate();
+ }
+ }
+ });
+ }
+ }
+ catch (CoreException exception)
+ {
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.log(exception);
+ }
+ }
+ };
+<%}%>
+
+ /**
+ * Handles activation of the editor or it's associated views.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void handleActivate()
+ {
+ // Recompute the read only state.
+ //
+ if (editingDomain.getResourceToReadOnlyMap() != null)
+ {
+ editingDomain.getResourceToReadOnlyMap().clear();
+
+ // Refresh any actions that may become enabled or disabled.
+ //
+ setSelection(getSelection());
+ }
+
+ if (!removedResources.isEmpty())
+ {
+ if (handleDirtyConflict())
+ {
+ getSite().getPage().closeEditor(<%=genPackage.getEditorClassName()%>.this, false);
+ }
+ else
+ {
+ removedResources.clear();
+ changedResources.clear();
+ savedResources.clear();
+ }
+ }
+ else if (!changedResources.isEmpty())
+ {
+ changedResources.removeAll(savedResources);
+ handleChangedResources();
+ changedResources.clear();
+ savedResources.clear();
+ }
+ }
+
+ /**
+ * Handles what to do with changed resources on activation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void handleChangedResources()
+ {
+ if (!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict()))
+ {
+ if (isDirty())
+ {
+ changedResources.addAll(editingDomain.getResourceSet().getResources());
+ }
+ editingDomain.getCommandStack().flush();
+
+ updateProblemIndication = false;
+<%if (genModel.useGenerics()) {%>
+ for (Resource resource : changedResources)
+<%} else {%>
+ for (Iterator i = changedResources.iterator(); i.hasNext(); )
+<%}%>
+ {
+<%if (!genModel.useGenerics()) {%>
+ Resource resource = (Resource)i.next();
+<%}%>
+ if (resource.isLoaded())
+ {
+ resource.unload();
+ try
+ {
+ resource.load(Collections.EMPTY_MAP);
+ }
+ catch (IOException exception)
+ {
+ if (!resourceToDiagnosticMap.containsKey(resource))
+ {
+ resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
+ }
+ }
+ }
+ }
+
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {%>
+ if (AdapterFactoryEditingDomain.isStale(editorSelection))
+ {
+ setSelection(StructuredSelection.EMPTY);
+ }
+<%}%>
+
+ updateProblemIndication = true;
+ updateProblemIndication();
+ }
+ }
+
+ /**
+ * Updates the problems indication with the information described in the specified diagnostic.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void updateProblemIndication()
+ {
+ if (updateProblemIndication)
+ {
+ BasicDiagnostic diagnostic =
+ new BasicDiagnostic
+ (Diagnostic.OK,
+ "<%=genPackage.getGenModel().getEditorPluginID()%>",<%=genModel.getNonNLS()%>
+ 0,
+ null,
+ new Object [] { editingDomain.getResourceSet() });
+<%if (genModel.useGenerics()) {%>
+ for (Diagnostic childDiagnostic : resourceToDiagnosticMap.values())
+<%} else {%>
+ for (Iterator i = resourceToDiagnosticMap.values().iterator(); i.hasNext(); )
+<%}%>
+ {
+<%if (!genModel.useGenerics()) {%>
+ Diagnostic childDiagnostic = (Diagnostic)i.next();
+<%}%>
+ if (childDiagnostic.getSeverity() != Diagnostic.OK)
+ {
+ diagnostic.add(childDiagnostic);
+ }
+ }
+
+ int lastEditorPage = getPageCount() - 1;
+ if (lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart)
+ {
+ ((ProblemEditorPart)getEditor(lastEditorPage)).setDiagnostic(diagnostic);
+ if (diagnostic.getSeverity() != Diagnostic.OK)
+ {
+ setActivePage(lastEditorPage);
+ }
+ }
+ else if (diagnostic.getSeverity() != Diagnostic.OK)
+ {
+ ProblemEditorPart problemEditorPart = new ProblemEditorPart();
+ problemEditorPart.setDiagnostic(diagnostic);
+<%if (!genModel.isRichClientPlatform()) {%>
+ problemEditorPart.setMarkerHelper(markerHelper);
+<%}%>
+ try
+ {
+ addPage(++lastEditorPage, problemEditorPart, getEditorInput());
+ setPageText(lastEditorPage, problemEditorPart.getPartName());
+ setActivePage(lastEditorPage);
+ showTabs();
+ }
+ catch (PartInitException exception)
+ {
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.log(exception);
+ }
+ }
+<%if (!genModel.isRichClientPlatform()) {%>
+
+ if (markerHelper.hasMarkers(editingDomain.getResourceSet()))
+ {
+ markerHelper.deleteMarkers(editingDomain.getResourceSet());
+ if (diagnostic.getSeverity() != Diagnostic.OK)
+ {
+ try
+ {
+ markerHelper.createMarkers(diagnostic);
+ }
+ catch (CoreException exception)
+ {
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.log(exception);
+ }
+ }
+ }
+<%}%>
+ }
+ }
+
+ /**
+ * Shows a dialog that asks if conflicting changes should be discarded.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected boolean handleDirtyConflict()
+ {
+ return
+ MessageDialog.openQuestion
+ (getSite().getShell(),
+ getString("_UI_FileConflict_label"),<%=genModel.getNonNLS()%>
+ getString("_WARN_FileConflict"));<%=genModel.getNonNLS()%>
+ }
+
+ /**
+ * This creates a model editor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getEditorClassName()%>()
+ {
+ super();
+ initializeEditingDomain();
+ }
+
+ /**
+ * This sets up the editing domain for the model editor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void initializeEditingDomain()
+ {
+ // Create an adapter factory that yields item providers.
+ //
+ adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
+
+ adapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory());
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.override" args="genPackage:genPackage,genModel:genModel,importedOperationClassName:importedOperationClassName,operationMethodName:operationMethodName,_ArrayListOfObject:_ArrayListOfObject,_ArrayListOfSelectionChangedListener:_ArrayListOfSelectionChangedListener,_CollectionOfSelectionChangedListener:_CollectionOfSelectionChangedListener,_ArrayListOfResource:_ArrayListOfResource,_CollectionOfResource:_CollectionOfResource,_MapOfResourceToDiagnostic:_MapOfResourceToDiagnostic,_HashMapOfResourceToBoolean:_HashMapOfResourceToBoolean,_MapOfObjectToObject:_MapOfObjectToObject,_HashMapOfObjectToObject:_HashMapOfObjectToObject,_LinkedHashMapOfResourceToDiagnostic:_LinkedHashMapOfResourceToDiagnostic,_CollectionOfAnything:_CollectionOfAnything,_ListOfAnything:_ListOfAnything,useExtendedLabelProvider:useExtendedLabelProvider,useStyledLabelProvider:useStyledLabelProvider,_AdapterFactoryLabelProvider:_AdapterFactoryLabelProvider,_DelegatingAdapterFactoryLabelProvider:_DelegatingAdapterFactoryLabelProvider,_DecoratingColumLabelProvider:_DecoratingColumLabelProvider,_DiagnosticDecorator:_DiagnosticDecorator,_ArrayListOfString:_ArrayListOfString,_ListOfString:_ListOfString,_ListOfPropertySheetPage:_ListOfPropertySheetPage,_ArrayListOfPropertySheetPage:_ArrayListOfPropertySheetPage"%><%//Editor/addItemproviderFactories.override.javajetinc"%>
+ adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());
+
+ // Create the command stack that will notify this editor as commands are executed.
+ //
+ BasicCommandStack commandStack = new BasicCommandStack();
+
+ // Add a listener to set the most recent command's affected objects to be the selection of the viewer with focus.
+ //
+ commandStack.addCommandStackListener
+ (new CommandStackListener()
+ {
+ public void commandStackChanged(final EventObject event)
+ {
+ getContainer().getDisplay().asyncExec
+ (new Runnable()
+ {
+ public void run()
+ {
+ firePropertyChange(IEditorPart.PROP_DIRTY);
+
+ // Try to select the affected objects.
+ //
+ Command mostRecentCommand = ((CommandStack)event.getSource()).getMostRecentCommand();
+ if (mostRecentCommand != null)
+ {
+ setSelectionToViewer(mostRecentCommand.getAffectedObjects());
+ }
+ for (Iterator<%if (genModel.useGenerics()) {%><PropertySheetPage><%}%> i = propertySheetPages.iterator(); i.hasNext(); )
+ {
+ PropertySheetPage propertySheetPage = <%if (!genModel.useGenerics()) {%>(PropertySheetPage)<%}%>i.next();
+ if (propertySheetPage.getControl().isDisposed())
+ {
+ i.remove();
+ }
+ else
+ {
+ propertySheetPage.refresh();
+ }
+ }
+ }
+ });
+ }
+ });
+
+ // Create the editing domain with a special command stack.
+ //
+ editingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack, new <%=_HashMapOfResourceToBoolean%>());
+ }
+
+ /**
+ * This is here for the listener to be able to call it.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void firePropertyChange(int action)
+ {
+ super.firePropertyChange(action);
+ }
+
+ /**
+ * This sets the selection into whichever viewer is active.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSelectionToViewer(<%=_CollectionOfAnything%> collection)
+ {
+ final <%=_CollectionOfAnything%> theSelection = collection;
+ // Make sure it's okay.
+ //
+ if (theSelection != null && !theSelection.isEmpty())
+ {
+ Runnable runnable =
+ new Runnable()
+ {
+ public void run()
+ {
+ // Try to select the items in the current content viewer of the editor.
+ //
+ if (currentViewer != null)
+ {
+ currentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true);
+ }
+ }
+ };
+ getSite().getShell().getDisplay().asyncExec(runnable);
+ }
+ }
+
+ /**
+ * This returns the editing domain as required by the {@link IEditingDomainProvider} interface.
+ * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain}
+ * and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EditingDomain getEditingDomain()
+ {
+ return editingDomain;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider
+ {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory)
+ {
+ super(adapterFactory);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Object [] getElements(Object object)
+ {
+ Object parent = super.getParent(object);
+ return (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Object [] getChildren(Object object)
+ {
+ Object parent = super.getParent(object);
+ return (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public boolean hasChildren(Object object)
+ {
+ Object parent = super.getParent(object);
+ return parent != null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Object getParent(Object object)
+ {
+ return null;
+ }
+ }
+<%if (genPackage.isMultipleEditorPages()) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCurrentViewerPane(ViewerPane viewerPane)
+ {
+ if (currentViewerPane != viewerPane)
+ {
+ if (currentViewerPane != null)
+ {
+ currentViewerPane.showFocus(false);
+ }
+ currentViewerPane = viewerPane;
+ }
+ setCurrentViewer(currentViewerPane.getViewer());
+ }
+<%}%>
+
+ /**
+ * This makes sure that one content viewer, either for the current page or the outline view, if it has focus,
+ * is the current one.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCurrentViewer(Viewer viewer)
+ {
+ // If it is changing...
+ //
+ if (currentViewer != viewer)
+ {
+ if (selectionChangedListener == null)
+ {
+ // Create the listener on demand.
+ //
+ selectionChangedListener =
+ new ISelectionChangedListener()
+ {
+ // This just notifies those things that are affected by the section.
+ //
+ public void selectionChanged(SelectionChangedEvent selectionChangedEvent)
+ {
+ setSelection(selectionChangedEvent.getSelection());
+ }
+ };
+ }
+
+ // Stop listening to the old one.
+ //
+ if (currentViewer != null)
+ {
+ currentViewer.removeSelectionChangedListener(selectionChangedListener);
+ }
+
+ // Start listening to the new one.
+ //
+ if (viewer != null)
+ {
+ viewer.addSelectionChangedListener(selectionChangedListener);
+ }
+
+ // Remember it.
+ //
+ currentViewer = viewer;
+
+ // Set the editors selection based on the current viewer's selection.
+ //
+ setSelection(currentViewer == null ? StructuredSelection.EMPTY : currentViewer.getSelection());
+ }
+ }
+
+ /**
+ * This returns the viewer as required by the {@link IViewerProvider} interface.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Viewer getViewer()
+ {
+ return currentViewer;
+ }
+
+ /**
+ * This creates a context menu for the viewer and adds a listener as well registering the menu for extension.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createContextMenuFor(StructuredViewer viewer)
+ {
+ MenuManager contextMenu = new MenuManager("#PopUp");<%=genModel.getNonNLS()%>
+ contextMenu.add(new Separator("additions"));<%=genModel.getNonNLS()%>
+ contextMenu.setRemoveAllWhenShown(true);
+ contextMenu.addMenuListener(this);
+ Menu menu= contextMenu.createContextMenu(viewer.getControl());
+ viewer.getControl().setMenu(menu);
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {%>
+ getSite().registerContextMenu(contextMenu, new UnwrappingSelectionProvider(viewer));
+<%} else {%>
+ getSite().registerContextMenu(contextMenu, viewer);
+<%}%>
+
+ int dndOperations = DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK;
+ Transfer[] transfers = new Transfer[] { LocalTransfer.getInstance()<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF29_VALUE) {%>, LocalSelectionTransfer.getTransfer(), FileTransfer.getInstance()<%}%> };
+ viewer.addDragSupport(dndOperations, transfers, new ViewerDragAdapter(viewer));
+ viewer.addDropSupport(dndOperations, transfers, new EditingDomainViewerDropAdapter(editingDomain, viewer));
+ }
+
+ /**
+ * This is the method called to load a resource into the editing domain's resource set based on the editor's input.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createModel()
+ {
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {%>
+ URI resourceURI = EditUIUtil.getURI(getEditorInput());
+<%} else if (genModel.isRichClientPlatform()) {%>
+ URI resourceURI = URI.createURI(getEditorInput().getName());
+<%} else {%>
+ // Assumes that the input is a file object.
+ //
+ IFileEditorInput modelFile = (IFileEditorInput)getEditorInput();
+ URI resourceURI = URI.createPlatformResourceURI(modelFile.getFile().getFullPath().toString(), true);
+<%}%>
+ Exception exception = null;
+ Resource resource = null;
+ try
+ {
+ // Load the resource through the editing domain.
+ //
+ resource = editingDomain.getResourceSet().getResource(resourceURI, true);
+ }
+ catch (Exception e)
+ {
+ exception = e;
+ resource = editingDomain.getResourceSet().getResource(resourceURI, false);
+ }
+
+ Diagnostic diagnostic = analyzeResourceProblems(resource, exception);
+ if (diagnostic.getSeverity() != Diagnostic.OK)
+ {
+ resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
+ }
+ editingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter);
+ }
+
+ /**
+ * Returns a diagnostic describing the errors and warnings listed in the resource
+ * and the specified exception (if any).
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Diagnostic analyzeResourceProblems(Resource resource, Exception exception)
+ {
+ if (!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty())
+ {
+ BasicDiagnostic basicDiagnostic =
+ new BasicDiagnostic
+ (Diagnostic.ERROR,
+ "<%=genPackage.getGenModel().getEditorPluginID()%>",<%=genModel.getNonNLS()%>
+ 0,
+ getString("_UI_CreateModelError_message", resource.getURI()),<%=genModel.getNonNLS()%>
+ new Object [] { exception == null ? (Object)resource : exception });
+ basicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true));
+ return basicDiagnostic;
+ }
+ else if (exception != null)
+ {
+ return
+ new BasicDiagnostic
+ (Diagnostic.ERROR,
+ "<%=genPackage.getGenModel().getEditorPluginID()%>",<%=genModel.getNonNLS()%>
+ 0,
+ getString("_UI_CreateModelError_message", resource.getURI()),<%=genModel.getNonNLS()%>
+ new Object[] { exception });
+ }
+ else
+ {
+ return Diagnostic.OK_INSTANCE;
+ }
+ }
+
+ /**
+ * This is the method used by the framework to install your own controls.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void createPages()
+ {
+ // Creates the model from the editor input
+ //
+ createModel();
+
+ // Only creates the other pages if there is something that can be edited
+ //
+ if (!getEditingDomain().getResourceSet().getResources().isEmpty())
+ {
+ // Create a page for the selection tree view.
+ //
+<%if (genPackage.isMultipleEditorPages()) {%>
+ {
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), <%=genPackage.getEditorClassName()%>.this)
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Viewer createViewer(Composite composite)
+ {
+ Tree tree = new Tree(composite, SWT.MULTI);
+ TreeViewer newTreeViewer = new TreeViewer(tree);
+ return newTreeViewer;
+ }
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void requestActivation()
+ {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
+ viewerPane.createControl(getContainer());
+
+ selectionViewer = (TreeViewer)viewerPane.getViewer();
+ selectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+
+ selectionViewer.setLabelProvider(<%if (useStyledLabelProvider) {%>new <%=_DelegatingAdapterFactoryLabelProvider%>(<%}%><%if (genModel.getDecoration() != GenDecoration.NONE) {%>new <%=_DecoratingColumLabelProvider%>(<%}%>new <%=_AdapterFactoryLabelProvider%>(adapterFactory<%if (useExtendedLabelProvider) {%>, selectionViewer<%}%>)<%if (genModel.getDecoration() != GenDecoration.NONE) {%>, new <%=_DiagnosticDecorator%>(editingDomain<%if (genModel.getDecoration() == GenDecoration.MANUAL) {%>.getResourceSet()<%}%>, selectionViewer<%if (genModel.getDecoration() == GenDecoration.LIVE) {%>, <%=genPackage.getImportedEditorPluginClassName()%>.getPlugin().getDialogSettings()<%}%>))<%}%><%if (useStyledLabelProvider) {%>)<%}%>);
+ selectionViewer.setInput(editingDomain.getResourceSet());
+ selectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);
+ viewerPane.setTitle(editingDomain.getResourceSet());
+
+ new AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);
+<%if (genModel.getDecoration() != GenDecoration.NONE) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport")%>(selectionViewer, new <%=_DiagnosticDecorator%>.EditingDomainLocationListener(editingDomain, selectionViewer));
+<%}%>
+
+ createContextMenuFor(selectionViewer);
+ int pageIndex = addPage(viewerPane.getControl());
+ setPageText(pageIndex, getString("_UI_SelectionPage_label"));<%=genModel.getNonNLS()%>
+ }
+
+ // Create a page for the parent tree view.
+ //
+ {
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), <%=genPackage.getEditorClassName()%>.this)
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Viewer createViewer(Composite composite)
+ {
+ Tree tree = new Tree(composite, SWT.MULTI);
+ TreeViewer newTreeViewer = new TreeViewer(tree);
+ return newTreeViewer;
+ }
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void requestActivation()
+ {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
+ viewerPane.createControl(getContainer());
+
+ parentViewer = (TreeViewer)viewerPane.getViewer();
+ parentViewer.setAutoExpandLevel(30);
+ parentViewer.setContentProvider(new ReverseAdapterFactoryContentProvider(adapterFactory));
+ parentViewer.setLabelProvider(<%if (useStyledLabelProvider) {%>new <%=_DelegatingAdapterFactoryLabelProvider%>(<%}%>new <%=_AdapterFactoryLabelProvider%>(adapterFactory<%if (useExtendedLabelProvider) {%>, parentViewer<%}%>)<%if (useStyledLabelProvider) {%>)<%}%>);
+
+ createContextMenuFor(parentViewer);
+ int pageIndex = addPage(viewerPane.getControl());
+ setPageText(pageIndex, getString("_UI_ParentPage_label"));<%=genModel.getNonNLS()%>
+ }
+
+ // This is the page for the list viewer
+ //
+ {
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), <%=genPackage.getEditorClassName()%>.this)
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Viewer createViewer(Composite composite)
+ {
+ return new ListViewer(composite);
+ }
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void requestActivation()
+ {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
+ viewerPane.createControl(getContainer());
+ listViewer = (ListViewer)viewerPane.getViewer();
+ listViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ listViewer.setLabelProvider(<%if (useStyledLabelProvider) {%>new <%=_DelegatingAdapterFactoryLabelProvider%>(<%}%>new <%=_AdapterFactoryLabelProvider%>(adapterFactory<%if (useExtendedLabelProvider) {%>, listViewer<%}%>)<%if (useStyledLabelProvider) {%>)<%}%>);
+
+ createContextMenuFor(listViewer);
+ int pageIndex = addPage(viewerPane.getControl());
+ setPageText(pageIndex, getString("_UI_ListPage_label"));<%=genModel.getNonNLS()%>
+ }
+
+ // This is the page for the tree viewer
+ //
+ {
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), <%=genPackage.getEditorClassName()%>.this)
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Viewer createViewer(Composite composite)
+ {
+ return new TreeViewer(composite);
+ }
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void requestActivation()
+ {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
+ viewerPane.createControl(getContainer());
+ treeViewer = (TreeViewer)viewerPane.getViewer();
+ treeViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ treeViewer.setLabelProvider(<%if (useStyledLabelProvider) {%>new <%=_DelegatingAdapterFactoryLabelProvider%>(<%}%><%if (genModel.getDecoration() != GenDecoration.NONE) {%>new <%=_DecoratingColumLabelProvider%>(<%}%>new <%=_AdapterFactoryLabelProvider%>(adapterFactory<%if (useExtendedLabelProvider) {%>, treeViewer<%}%>)<%if (genModel.getDecoration() != GenDecoration.NONE) {%>, new <%=_DiagnosticDecorator%>(editingDomain<%if (genModel.getDecoration() == GenDecoration.MANUAL) {%>.getResourceSet()<%}%>, treeViewer))<%}%><%if (useStyledLabelProvider) {%>)<%}%>);
+
+ new AdapterFactoryTreeEditor(treeViewer.getTree(), adapterFactory);
+<%if (genModel.getDecoration() != GenDecoration.NONE) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport")%>(treeViewer, new <%=_DiagnosticDecorator%>.EditingDomainLocationListener(editingDomain, treeViewer));
+<%}%>
+
+ createContextMenuFor(treeViewer);
+ int pageIndex = addPage(viewerPane.getControl());
+ setPageText(pageIndex, getString("_UI_TreePage_label"));<%=genModel.getNonNLS()%>
+ }
+
+ // This is the page for the table viewer.
+ //
+ {
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), <%=genPackage.getEditorClassName()%>.this)
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Viewer createViewer(Composite composite)
+ {
+ return new TableViewer(composite);
+ }
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void requestActivation()
+ {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
+ viewerPane.createControl(getContainer());
+ tableViewer = (TableViewer)viewerPane.getViewer();
+
+ Table table = tableViewer.getTable();
+ TableLayout layout = new TableLayout();
+ table.setLayout(layout);
+ table.setHeaderVisible(true);
+ table.setLinesVisible(true);
+
+ TableColumn objectColumn = new TableColumn(table, SWT.NONE);
+ layout.addColumnData(new ColumnWeightData(3, 100, true));
+ objectColumn.setText(getString("_UI_ObjectColumn_label"));<%=genModel.getNonNLS()%>
+ objectColumn.setResizable(true);
+
+ TableColumn selfColumn = new TableColumn(table, SWT.NONE);
+ layout.addColumnData(new ColumnWeightData(2, 100, true));
+ selfColumn.setText(getString("_UI_SelfColumn_label"));<%=genModel.getNonNLS()%>
+ selfColumn.setResizable(true);
+
+ tableViewer.setColumnProperties(new String [] {"a", "b"});<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ tableViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ tableViewer.setLabelProvider(<%if (useStyledLabelProvider) {%>new <%=_DelegatingAdapterFactoryLabelProvider%>(<%}%><%if (genModel.getDecoration() != GenDecoration.NONE) {%>new <%=_DecoratingColumLabelProvider%>(<%}%>new <%=_AdapterFactoryLabelProvider%>(adapterFactory<%if (useExtendedLabelProvider) {%>, tableViewer<%}%>)<%if (genModel.getDecoration() != GenDecoration.NONE) {%>, new <%=_DiagnosticDecorator%>(editingDomain<%if (genModel.getDecoration() == GenDecoration.MANUAL) {%>.getResourceSet()<%}%>, tableViewer<%if (genModel.getDecoration() == GenDecoration.LIVE) {%>, <%=genPackage.getImportedEditorPluginClassName()%>.getPlugin().getDialogSettings()<%}%>))<%}%><%if (useStyledLabelProvider) {%>)<%}%>);
+
+<%if (genModel.getDecoration() != GenDecoration.NONE) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport")%>(tableViewer, new <%=_DiagnosticDecorator%>.EditingDomainLocationListener(editingDomain, tableViewer));
+
+<%}%>
+ createContextMenuFor(tableViewer);
+ int pageIndex = addPage(viewerPane.getControl());
+ setPageText(pageIndex, getString("_UI_TablePage_label"));<%=genModel.getNonNLS()%>
+ }
+
+ // This is the page for the table tree viewer.
+ //
+ {
+ ViewerPane viewerPane =
+ new ViewerPane(getSite().getPage(), <%=genPackage.getEditorClassName()%>.this)
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Viewer createViewer(Composite composite)
+ {
+ return new TreeViewer(composite);
+ }
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void requestActivation()
+ {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
+ viewerPane.createControl(getContainer());
+
+ treeViewerWithColumns = (TreeViewer)viewerPane.getViewer();
+
+ Tree tree = treeViewerWithColumns.getTree();
+ tree.setLayoutData(new FillLayout());
+ tree.setHeaderVisible(true);
+ tree.setLinesVisible(true);
+
+ TreeColumn objectColumn = new TreeColumn(tree, SWT.NONE);
+ objectColumn.setText(getString("_UI_ObjectColumn_label"));<%=genModel.getNonNLS()%>
+ objectColumn.setResizable(true);
+ objectColumn.setWidth(250);
+
+ TreeColumn selfColumn = new TreeColumn(tree, SWT.NONE);
+ selfColumn.setText(getString("_UI_SelfColumn_label"));<%=genModel.getNonNLS()%>
+ selfColumn.setResizable(true);
+ selfColumn.setWidth(200);
+
+ treeViewerWithColumns.setColumnProperties(new String [] {"a", "b"});<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ treeViewerWithColumns.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ treeViewerWithColumns.setLabelProvider(<%if (useStyledLabelProvider) {%>new <%=_DelegatingAdapterFactoryLabelProvider%>(<%}%><%if (genModel.getDecoration() != GenDecoration.NONE) {%>new <%=_DecoratingColumLabelProvider%>(<%}%>new <%=_AdapterFactoryLabelProvider%>(adapterFactory<%if (useExtendedLabelProvider) {%>, treeViewerWithColumns<%}%>)<%if (genModel.getDecoration() != GenDecoration.NONE) {%>, new <%=_DiagnosticDecorator%>(editingDomain<%if (genModel.getDecoration() == GenDecoration.MANUAL) {%>.getResourceSet()<%}%>, treeViewerWithColumns<%if (genModel.getDecoration() == GenDecoration.LIVE) {%>, <%=genPackage.getImportedEditorPluginClassName()%>.getPlugin().getDialogSettings()<%}%>))<%}%><%if (useStyledLabelProvider) {%>)<%}%>);
+
+<%if (genModel.getDecoration() != GenDecoration.NONE) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport")%>(treeViewerWithColumns, new <%=_DiagnosticDecorator%>.EditingDomainLocationListener(editingDomain, treeViewerWithColumns));
+
+<%}%>
+ createContextMenuFor(treeViewerWithColumns);
+ int pageIndex = addPage(viewerPane.getControl());
+ setPageText(pageIndex, getString("_UI_TreeWithColumnsPage_label"));<%=genModel.getNonNLS()%>
+ }
+<%} else {%>
+ Tree tree = new Tree(getContainer(), SWT.MULTI);
+ selectionViewer = new TreeViewer(tree);
+ setCurrentViewer(selectionViewer);
+
+ selectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ selectionViewer.setLabelProvider(<%if (useStyledLabelProvider) {%>new <%=_DelegatingAdapterFactoryLabelProvider%>(<%}%><%if (genModel.getDecoration() != GenDecoration.NONE) {%>new <%=_DecoratingColumLabelProvider%>(<%}%>new <%=_AdapterFactoryLabelProvider%>(adapterFactory<%if (useExtendedLabelProvider) {%>, selectionViewer<%}%>)<%if (genModel.getDecoration() != GenDecoration.NONE) {%>, new <%=_DiagnosticDecorator%>(editingDomain<%if (genModel.getDecoration() == GenDecoration.MANUAL) {%>.getResourceSet()<%}%>, selectionViewer<%if (genModel.getDecoration() == GenDecoration.LIVE) {%>, <%=genPackage.getImportedEditorPluginClassName()%>.getPlugin().getDialogSettings()<%}%>))<%}%><%if (useStyledLabelProvider) {%>)<%}%>);
+ selectionViewer.setInput(editingDomain.getResourceSet());
+ selectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);
+
+ new AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);
+<%if (genModel.getDecoration() != GenDecoration.NONE) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport")%>(selectionViewer, new <%=_DiagnosticDecorator%>.EditingDomainLocationListener(editingDomain, selectionViewer));
+<%}%>
+
+ createContextMenuFor(selectionViewer);
+ int pageIndex = addPage(tree);
+ setPageText(pageIndex, getString("_UI_SelectionPage_label"));<%=genModel.getNonNLS()%>
+<%}%>
+
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable()
+ {
+ public void run()
+ {
+ setActivePage(0);
+ }
+ });
+ }
+
+ // Ensures that this editor will only display the page's tab
+ // area if there are more than one page
+ //
+ getContainer().addControlListener
+ (new ControlAdapter()
+ {
+ boolean guard = false;
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void controlResized(ControlEvent event)
+ {
+ if (!guard)
+ {
+ guard = true;
+ hideTabs();
+ guard = false;
+ }
+ }
+ });
+
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable()
+ {
+ public void run()
+ {
+ updateProblemIndication();
+ }
+ });
+ }
+
+ /**
+ * If there is just one page in the multi-page editor part,
+ * this hides the single tab at the bottom.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void hideTabs()
+ {
+ if (getPageCount() <= 1)
+ {
+ setPageText(0, "");<%=genModel.getNonNLS()%>
+ if (getContainer() instanceof CTabFolder)
+ {
+ ((CTabFolder)getContainer()).setTabHeight(1);
+ Point point = getContainer().getSize();
+ getContainer().setSize(point.x, point.y + 6);
+ }
+ }
+ }
+
+ /**
+ * If there is more than one page in the multi-page editor part,
+ * this shows the tabs at the bottom.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void showTabs()
+ {
+ if (getPageCount() > 1)
+ {
+ setPageText(0, getString("_UI_SelectionPage_label"));<%=genModel.getNonNLS()%>
+ if (getContainer() instanceof CTabFolder)
+ {
+ ((CTabFolder)getContainer()).setTabHeight(SWT.DEFAULT);
+ Point point = getContainer().getSize();
+ getContainer().setSize(point.x, point.y - 6);
+ }
+ }
+ }
+
+ /**
+ * This is used to track the active viewer.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void pageChange(int pageIndex)
+ {
+ super.pageChange(pageIndex);
+
+ if (contentOutlinePage != null)
+ {
+ handleContentOutlineSelection(contentOutlinePage.getSelection());
+ }
+ }
+
+ /**
+ * This is how the framework determines which interfaces we implement.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useGenerics()) {%>
+ @SuppressWarnings("<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE) {%>rawtypes<%} else {%>unchecked<%}%>")
+<%}%>
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public Object getAdapter(Class key)
+ {
+ if (key.equals(IContentOutlinePage.class))
+ {
+ return showOutlineView() ? getContentOutlinePage() : null;
+ }
+ else if (key.equals(IPropertySheetPage.class))
+ {
+ return getPropertySheetPage();
+ }
+<%if (!genModel.isRichClientPlatform()) {%>
+ else if (key.equals(IGotoMarker.class))
+ {
+ return this;
+ }
+<%}%>
+ else
+ {
+ return super.getAdapter(key);
+ }
+ }
+
+ /**
+ * This accesses a cached version of the content outliner.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IContentOutlinePage getContentOutlinePage()
+ {
+ if (contentOutlinePage == null)
+ {
+ // The content outline is just a tree.
+ //
+ class MyContentOutlinePage extends ContentOutlinePage
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void createControl(Composite parent)
+ {
+ super.createControl(parent);
+ contentOutlineViewer = getTreeViewer();
+ contentOutlineViewer.addSelectionChangedListener(this);
+
+ // Set up the tree viewer.
+ //
+ contentOutlineViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
+ contentOutlineViewer.setLabelProvider(<%if (useStyledLabelProvider) {%>new <%=_DelegatingAdapterFactoryLabelProvider%>(<%}%><%if (genModel.getDecoration() != GenDecoration.NONE) {%>new <%=_DecoratingColumLabelProvider%>(<%}%>new <%=_AdapterFactoryLabelProvider%>(adapterFactory<%if (useExtendedLabelProvider) {%>, contentOutlineViewer<%}%>)<%if (genModel.getDecoration() != GenDecoration.NONE) {%>, new <%=_DiagnosticDecorator%>(editingDomain<%if (genModel.getDecoration() == GenDecoration.MANUAL) {%>.getResourceSet()<%}%>, contentOutlineViewer<%if (genModel.getDecoration() == GenDecoration.LIVE) {%>, <%=genPackage.getImportedEditorPluginClassName()%>.getPlugin().getDialogSettings()<%}%>))<%}%><%if (useStyledLabelProvider) {%>)<%}%>);
+ contentOutlineViewer.setInput(editingDomain.getResourceSet());
+
+<%if (genModel.getDecoration() != GenDecoration.NONE) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport")%>(contentOutlineViewer, new <%=_DiagnosticDecorator%>.EditingDomainLocationListener(editingDomain, contentOutlineViewer));
+
+<%}%>
+ // Make sure our popups work.
+ //
+ createContextMenuFor(contentOutlineViewer);
+
+ if (!editingDomain.getResourceSet().getResources().isEmpty())
+ {
+ // Select the root object in the view.
+ //
+ contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);
+ }
+ }
+
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void makeContributions(IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager)
+ {
+ super.makeContributions(menuManager, toolBarManager, statusLineManager);
+ contentOutlineStatusLineManager = statusLineManager;
+ }
+
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void setActionBars(IActionBars actionBars)
+ {
+ super.setActionBars(actionBars);
+ getActionBarContributor().shareGlobalActions(this, actionBars);
+ }
+ }
+
+ contentOutlinePage = new MyContentOutlinePage();
+
+ // Listen to selection so that we can handle it is a special way.
+ //
+ contentOutlinePage.addSelectionChangedListener
+ (new ISelectionChangedListener()
+ {
+ // This ensures that we handle selections correctly.
+ //
+ public void selectionChanged(SelectionChangedEvent event)
+ {
+ handleContentOutlineSelection(event.getSelection());
+ }
+ });
+ }
+
+ return contentOutlinePage;
+ }
+
+ /**
+ * This accesses a cached version of the property sheet.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IPropertySheetPage getPropertySheetPage()
+ {
+ PropertySheetPage propertySheetPage =
+ new ExtendedPropertySheetPage(editingDomain<%if (genModel.getDecoration() == GenDecoration.MANUAL) {%>, ExtendedPropertySheetPage.Decoration.MANUAL<%} else if (genModel.getDecoration() == GenDecoration.LIVE) {%>, ExtendedPropertySheetPage.Decoration.LIVE, <%=genPackage.getImportedEditorPluginClassName()%>.getPlugin().getDialogSettings()<%}%>)
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void setSelectionToViewer(<%=_ListOfAnything%> selection)
+ {
+ <%=genPackage.getEditorClassName()%>.this.setSelectionToViewer(selection);
+ <%=genPackage.getEditorClassName()%>.this.setFocus();
+ }
+
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void setActionBars(IActionBars actionBars)
+ {
+ super.setActionBars(actionBars);
+ getActionBarContributor().shareGlobalActions(this, actionBars);
+ }
+ };
+ propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory));
+ propertySheetPages.add(propertySheetPage);
+
+ return propertySheetPage;
+ }
+
+ /**
+ * This deals with how we want selection in the outliner to affect the other views.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void handleContentOutlineSelection(ISelection selection)
+ {
+<%if (genPackage.isMultipleEditorPages()) {%>
+ if (currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection)
+<%} else {%>
+ if (selectionViewer != null && !selection.isEmpty() && selection instanceof IStructuredSelection)
+<%}%>
+ {
+ Iterator<%if (genModel.useGenerics()) {%><?><%}%> selectedElements = ((IStructuredSelection)selection).iterator();
+ if (selectedElements.hasNext())
+ {
+ // Get the first selected element.
+ //
+ Object selectedElement = selectedElements.next();
+
+<%if (genPackage.isMultipleEditorPages()) {%>
+ // If it's the selection viewer, then we want it to select the same selection as this selection.
+ //
+ if (currentViewerPane.getViewer() == selectionViewer)
+ {
+ <%=_ArrayListOfObject%> selectionList = new <%=_ArrayListOfObject%>();
+ selectionList.add(selectedElement);
+ while (selectedElements.hasNext())
+ {
+ selectionList.add(selectedElements.next());
+ }
+
+ // Set the selection to the widget.
+ //
+ selectionViewer.setSelection(new StructuredSelection(selectionList));
+ }
+ else
+ {
+ // Set the input to the widget.
+ //
+ if (currentViewerPane.getViewer().getInput() != selectedElement)
+ {
+ currentViewerPane.getViewer().setInput(selectedElement);
+ currentViewerPane.setTitle(selectedElement);
+ }
+ }
+<%} else {%>
+ <%=_ArrayListOfObject%> selectionList = new <%=_ArrayListOfObject%>();
+ selectionList.add(selectedElement);
+ while (selectedElements.hasNext())
+ {
+ selectionList.add(selectedElements.next());
+ }
+
+ // Set the selection to the widget.
+ //
+ selectionViewer.setSelection(new StructuredSelection(selectionList));
+<%}%>
+ }
+ }
+ }
+
+ /**
+ * This is for implementing {@link IEditorPart} and simply tests the command stack.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public boolean isDirty()
+ {
+ return ((BasicCommandStack)editingDomain.getCommandStack()).isSaveNeeded();
+ }
+
+ /**
+ * This is for implementing {@link IEditorPart} and simply saves the model file.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void doSave(IProgressMonitor progressMonitor)
+ {
+ // Save only resources that have actually changed.
+ //
+ final <%=_MapOfObjectToObject%> saveOptions = new <%=_HashMapOfObjectToObject%>();
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {%>
+ saveOptions.put(Resource.OPTION_SAVE_ONLY_IF_CHANGED, Resource.OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER);
+<%}%>
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF29_VALUE) {%>
+ saveOptions.put(Resource.OPTION_LINE_DELIMITER, Resource.OPTION_LINE_DELIMITER_UNSPECIFIED);
+<%}%>
+
+ // Do the work within an operation because this is a long running activity that modifies the workbench.
+ //
+ <%=importedOperationClassName%> operation =
+ new <%=importedOperationClassName%>()
+ {
+ // This is the method that gets invoked when the operation runs.
+ //
+<%if (!genModel.isRichClientPlatform() && genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void <%=operationMethodName%>(IProgressMonitor monitor)
+ {
+ // Save the resources to the file system.
+ //
+ boolean first = true;
+<%if (genModel.useGenerics()) {%>
+ for (Resource resource : editingDomain.getResourceSet().getResources())
+<%} else {%>
+ for (Iterator i = editingDomain.getResourceSet().getResources().iterator(); i.hasNext(); )
+<%}%>
+ {
+<%if (!genModel.useGenerics()) {%>
+ Resource resource = (Resource)i.next();
+<%}%>
+ if ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource))
+ {
+ try
+ {
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF24_VALUE) {%>
+ long timeStamp = resource.getTimeStamp();
+ resource.save(saveOptions);
+ if (resource.getTimeStamp() != timeStamp)
+ {
+ savedResources.add(resource);
+ }
+<%} else {%>
+ resource.save(saveOptions);
+ savedResources.add(resource);
+<%}%>
+ }
+ catch (Exception exception)
+ {
+ resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
+ }
+ first = false;
+ }
+ }
+ }
+ };
+
+ updateProblemIndication = false;
+ try
+ {
+ // This runs the options, and shows progress.
+ //
+ new ProgressMonitorDialog(getSite().getShell()).run(true, false, operation);
+
+ // Refresh the necessary state.
+ //
+ ((BasicCommandStack)editingDomain.getCommandStack()).saveIsDone();
+ firePropertyChange(IEditorPart.PROP_DIRTY);
+ }
+ catch (Exception exception)
+ {
+ // Something went wrong that shouldn't.
+ //
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.log(exception);
+ }
+ updateProblemIndication = true;
+ updateProblemIndication();
+ }
+
+ /**
+ * This returns whether something has been persisted to the URI of the specified resource.
+ * The implementation uses the URI converter from the editor's resource set to try to open an input stream.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected boolean isPersisted(Resource resource)
+ {
+ boolean result = false;
+ try
+ {
+ InputStream stream = editingDomain.getResourceSet().getURIConverter().createInputStream(resource.getURI());
+ if (stream != null)
+ {
+ result = true;
+ stream.close();
+ }
+ }
+ catch (IOException e)
+ {
+ // Ignore
+ }
+ return result;
+ }
+
+ /**
+ * This always returns true because it is not currently supported.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public boolean isSaveAsAllowed()
+ {
+ return true;
+ }
+
+ /**
+ * This also changes the editor's input.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void doSaveAs()
+ {
+<%if (genModel.isRichClientPlatform()) {%>
+ <%if (genModel.isRichAjaxPlatform()) {%>
+ new <%=genModel.getImportedName("org.eclipse.emf.common.ui.dialogs.ResourceDialog")%>(getSite().getShell(), null, SWT.NONE)
+ {
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected boolean isSave()
+ {
+ return true;
+ }
+
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ protected boolean processResources()
+ {
+ <%="List" + (genModel.useGenerics() ? "<URI>" : "")%> uris = getURIs();
+ if (uris.size() > 0)
+ {
+ URI uri = <%=genModel.useGenerics() ? "": "(URI)"%>uris.get(0);
+ doSaveAs(uri, new <%=genModel.getImportedName("org.eclipse.emf.common.ui.URIEditorInput")%>(uri));
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+ }
+ }.open();
+ <%} else {%>
+ String[] filters = <%if (!genModel.useGenerics()) {%>(String[])<%}%>FILE_EXTENSION_FILTERS.toArray(new String[FILE_EXTENSION_FILTERS.size()]);
+ String[] files = <%=genModel.getImportedName(genModel.getQualifiedEditorAdvisorClassName())%>.openFilePathDialog(getSite().getShell(), <%=genModel.getImportedName("org.eclipse.swt.SWT")%>.SAVE, filters);
+ if (files.length > 0)
+ {
+ URI uri = URI.createFileURI(files[0]);
+ doSaveAs(uri, new <%=genModel.getImportedName("org.eclipse.emf.common.ui.URIEditorInput")%>(uri));
+ }
+ <%}%>
+<%} else {%>
+ SaveAsDialog saveAsDialog = new SaveAsDialog(getSite().getShell());
+ saveAsDialog.open();
+ IPath path = saveAsDialog.getResult();
+ if (path != null)
+ {
+ IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
+ if (file != null)
+ {
+ doSaveAs(URI.createPlatformResourceURI(file.getFullPath().toString(), true), new FileEditorInput(file));
+ }
+ }
+<%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void doSaveAs(URI uri, IEditorInput editorInput)
+ {
+ (<%if (!genModel.useGenerics()) {%>(Resource)<%}%>editingDomain.getResourceSet().getResources().get(0)).setURI(uri);
+ setInputWithNotify(editorInput);
+ setPartName(editorInput.getName());
+ IProgressMonitor progressMonitor =
+ getActionBars().getStatusLineManager() != null ?
+ getActionBars().getStatusLineManager().getProgressMonitor() :
+ new <%=genModel.getImportedName("org.eclipse.core.runtime.NullProgressMonitor")%>();
+ doSave(progressMonitor);
+ }
+<%if (!genModel.isRichClientPlatform()) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void gotoMarker(IMarker marker)
+ {
+<%if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF23_VALUE) {%>
+ <%=_ListOfAnything%> targetObjects = markerHelper.getTargetObjects(editingDomain, marker);
+ if (!targetObjects.isEmpty())
+ {
+ setSelectionToViewer(targetObjects);
+ }
+<%} else {%>
+ try
+ {
+ if (marker.isSubtypeOf(EValidator.MARKER))
+ {
+ String uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);
+ if (uriAttribute != null)
+ {
+ URI uri = URI.createURI(uriAttribute);
+ EObject eObject = editingDomain.getResourceSet().getEObject(uri, true);
+ if (eObject != null)
+ {
+ setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));
+ }
+ }
+ }
+ }
+ catch (CoreException exception)
+ {
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.log(exception);
+ }
+<%}%>
+ }
+<%}%>
+
+ /**
+ * This is called during startup.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void init(IEditorSite site, IEditorInput editorInput)
+ {
+ setSite(site);
+ setInputWithNotify(editorInput);
+ setPartName(editorInput.getName());
+ site.setSelectionProvider(this);
+ site.getPage().addPartListener(partListener);
+<%if (!genModel.isRichClientPlatform()) {%>
+ ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
+<%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void setFocus()
+ {
+<%if (genPackage.isMultipleEditorPages()) {%>
+ if (currentViewerPane != null)
+ {
+ currentViewerPane.setFocus();
+ }
+ else
+ {
+ getControl(getActivePage()).setFocus();
+ }
+<%} else {%>
+ getControl(getActivePage()).setFocus();
+<%}%>
+ }
+
+ /**
+ * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addSelectionChangedListener(ISelectionChangedListener listener)
+ {
+ selectionChangedListeners.add(listener);
+ }
+
+ /**
+ * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeSelectionChangedListener(ISelectionChangedListener listener)
+ {
+ selectionChangedListeners.remove(listener);
+ }
+
+ /**
+ * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ISelection getSelection()
+ {
+ return editorSelection;
+ }
+
+ /**
+ * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to set this editor's overall selection.
+ * Calling this result will notify the listeners.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSelection(ISelection selection)
+ {
+ editorSelection = selection;
+
+<%if (genModel.useGenerics()) {%>
+ for (ISelectionChangedListener listener : selectionChangedListeners)
+<%} else {%>
+ for (Iterator listeners = selectionChangedListeners.iterator(); listeners.hasNext(); )
+<%}%>
+ {
+<%if (!genModel.useGenerics()) {%>
+ ISelectionChangedListener listener = (ISelectionChangedListener)listeners.next();
+<%}%>
+ listener.selectionChanged(new SelectionChangedEvent(this, selection));
+ }
+ setStatusLineManager(selection);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStatusLineManager(ISelection selection)
+ {
+ IStatusLineManager statusLineManager = currentViewer != null && currentViewer == contentOutlineViewer ?
+ contentOutlineStatusLineManager : getActionBars().getStatusLineManager();
+
+ if (statusLineManager != null)
+ {
+ if (selection instanceof IStructuredSelection)
+ {
+ <%=_CollectionOfAnything%> collection = ((IStructuredSelection)selection).toList();
+ switch (collection.size())
+ {
+ case 0:
+ {
+ statusLineManager.setMessage(getString("_UI_NoObjectSelected"));<%=genModel.getNonNLS()%>
+ break;
+ }
+ case 1:
+ {
+ String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());
+ statusLineManager.setMessage(getString("_UI_SingleObjectSelected", text));<%=genModel.getNonNLS()%>
+ break;
+ }
+ default:
+ {
+ statusLineManager.setMessage(getString("_UI_MultiObjectSelected", Integer.toString(collection.size())));<%=genModel.getNonNLS()%>
+ break;
+ }
+ }
+ }
+ else
+ {
+ statusLineManager.setMessage("");<%=genModel.getNonNLS()%>
+ }
+ }
+ }
+
+ /**
+ * This looks up a string in the plugin's plugin.properties file.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static String getString(String key)
+ {
+ return <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString(key);
+ }
+
+ /**
+ * This looks up a string in plugin.properties, making a substitution.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static String getString(String key, Object s1)
+ {
+ return <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString(key, new Object [] { s1 });
+ }
+
+ /**
+ * This implements {@link org.eclipse.jface.action.IMenuListener} to help fill the context menus with contributions from the Edit menu.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void menuAboutToShow(IMenuManager menuManager)
+ {
+ ((IMenuListener)getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EditingDomainActionBarContributor getActionBarContributor()
+ {
+ return (EditingDomainActionBarContributor)getEditorSite().getActionBarContributor();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IActionBars getActionBars()
+ {
+ return getActionBarContributor().getActionBars();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AdapterFactory getAdapterFactory()
+ {
+ return adapterFactory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void dispose()
+ {
+ updateProblemIndication = false;
+
+<%if (!genModel.isRichClientPlatform()) {%>
+ ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);
+
+<%}%>
+ getSite().getPage().removePartListener(partListener);
+
+ adapterFactory.dispose();
+
+ if (getActionBarContributor().getActiveEditor() == this)
+ {
+ getActionBarContributor().setActiveEditor(null);
+ }
+
+<%if (genModel.useGenerics()) {%>
+ for (PropertySheetPage propertySheetPage : propertySheetPages)
+<%} else {%>
+ for (Iterator i = propertySheetPages.iterator(); i.hasNext(); )
+<%}%>
+ {
+<%if (!genModel.useGenerics()) {%>
+ PropertySheetPage propertySheetPage = (PropertySheetPage)i.next();
+<%}%>
+ propertySheetPage.dispose();
+ }
+
+ if (contentOutlinePage != null)
+ {
+ contentOutlinePage.dispose();
+ }
+
+ super.dispose();
+ }
+
+ /**
+ * Returns whether the outline view should be presented to the user.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected boolean showOutlineView()
+ {
+ return <%=genPackage.isMultipleEditorPages()%>;
+ }
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._SwqrSGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._SwqrSGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._SwqrSGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._-Y0XhHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._-Y0XhHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..8298b21
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._-Y0XhHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genPackage.hasConcreteClasses() && genPackage.isGenerateModelWizard() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._0_yuaWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._0_yuaWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._0_yuaWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIDG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIDG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e17c886
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIDG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getEditorDirectory();
+packageName = genPackage.getPresentationPackageName();
+className = genPackage.getModelWizardClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1d35a03
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,972 @@
+
+<%
+/**
+ * Copyright (c) 2002-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+<%String _ListOfString = "List" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");%>
+<%String _ArrayListOfString = "ArrayList" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");%>
+<%String _CollectionOfString = "Collection" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");%>
+<%String _MapOfObjectToObject = "Map" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ", " + genModel.getImportedName("java.lang.Object") + ">" : "");%>
+<%String _HashMapOfObjectToObject = "HashMap" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ", " + genModel.getImportedName("java.lang.Object") + ">" : "");%>
+package <%=genPackage.getPresentationPackageName()%>;
+
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+<%if (!genModel.useGenerics()) {%>
+import java.util.Iterator;
+<%}%>
+import java.util.List;
+import java.util.Map;
+import java.util.MissingResourceException;
+import java.util.StringTokenizer;
+
+<%if (!genModel.isRichClientPlatform() && genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {%>
+import org.eclipse.emf.common.CommonPlugin;
+
+<%}%>
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EClassifier;
+
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;
+
+<%if (!genModel.isRichClientPlatform()) {%>
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
+
+<%}%>
+import org.eclipse.core.runtime.IProgressMonitor;
+
+import org.eclipse.jface.dialogs.MessageDialog;
+
+import org.eclipse.jface.viewers.IStructuredSelection;
+
+import org.eclipse.jface.wizard.Wizard;
+import org.eclipse.jface.wizard.WizardPage;
+
+import org.eclipse.swt.SWT;
+
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.events.ModifyEvent;
+
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+
+import org.eclipse.swt.widgets.Combo;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Label;
+
+import org.eclipse.ui.INewWizard;
+import org.eclipse.ui.IWorkbench;
+
+<%if (!genModel.isRichClientPlatform()) {%>
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
+
+import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
+
+import org.eclipse.ui.part.FileEditorInput;
+import org.eclipse.ui.part.ISetSelectionTarget;
+
+<%}%>
+<%if (!genModel.isSuppressEMFMetaData()) {%>
+import <%=genPackage.getQualifiedFactoryInterfaceName()%>;
+<%}%>
+import <%=genPackage.getQualifiedPackageInterfaceName()%>;
+import <%=genPackage.getQualifiedEditPluginClassName()%>;
+
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+
+/**
+ * This is a simple wizard for creating a new model file.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genPackage.getModelWizardClassName()%> extends Wizard implements INewWizard
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * The supported extensions for created files.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=_ListOfString%> FILE_EXTENSIONS =
+ Collections.unmodifiableList(Arrays.asList(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getEditorClassName()%>FilenameExtensions").split("\\s*,\\s*")));<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+
+ /**
+ * A formatted list of supported file extensions, suitable for display.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String FORMATTED_FILE_EXTENSIONS =
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getEditorClassName()%>FilenameExtensions").replaceAll("\\s*,\\s*", ", ");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%><%=genModel.getNonNLS(3)%>
+
+ /**
+ * This caches an instance of the model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.isSuppressEMFMetaData() ? genModel.getImportedName("org.eclipse.emf.ecore.EPackage") : genPackage.getPackageInterfaceName()%> <%=genPackage.getUncapPackageName()%> = <%=genPackage.getPackageInterfaceName()%>.eINSTANCE;
+
+ /**
+ * This caches an instance of the model factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.isSuppressEMFMetaData() ? genModel.getImportedName("org.eclipse.emf.ecore.EFactory") : genPackage.getFactoryInterfaceName()%> <%=genPackage.getUncapFactoryName()%> = <%=genPackage.getUncapPackageName()%>.get<%=genModel.isSuppressEMFMetaData() ? "EFactoryInstance" : genPackage.getFactoryName()%>();
+
+<%if (!genModel.isRichClientPlatform()) {%>
+ /**
+ * This is the file creation page.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genPackage.getModelWizardClassName()%>NewFileCreationPage newFileCreationPage;
+
+<%}%>
+ /**
+ * This is the initial object creation page.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genPackage.getModelWizardClassName()%>InitialObjectCreationPage initialObjectCreationPage;
+
+ /**
+ * Remember the selection during initialization for populating the default container.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IStructuredSelection selection;
+
+ /**
+ * Remember the workbench during initialization.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IWorkbench workbench;
+
+ /**
+<%if (!genPackage.hasDocumentRoot()) {%>
+ * Caches the names of the types that can be created as the root object.
+<%} else {%>
+ * Caches the names of the features representing global elements.
+<%}%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_ListOfString%> initialObjectNames;
+
+ /**
+ * This just records the information.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void init(IWorkbench workbench, IStructuredSelection selection)
+ {
+ this.workbench = workbench;
+ this.selection = selection;
+ setWindowTitle(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_Wizard_label"));<%=genModel.getNonNLS()%>
+ setDefaultPageImageDescriptor(ExtendedImageRegistry.INSTANCE.getImageDescriptor(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getImage("full/wizban/New<%=genPackage.getPrefix()%>")));<%=genModel.getNonNLS()%>
+ }
+
+ /**
+<%if (!genPackage.hasDocumentRoot()) {%>
+ * Returns the names of the types that can be created as the root object.
+<%} else {%>
+ * Returns the names of the features representing global elements.
+<%}%>
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfString%> getInitialObjectNames()
+ {
+ if (initialObjectNames == null)
+ {
+ initialObjectNames = new <%=_ArrayListOfString%>();
+<%if (!genPackage.hasDocumentRoot()) {%>
+ <%if (genModel.useGenerics()) {%>
+ for (EClassifier eClassifier : <%=genPackage.getUncapPackageName()%>.getEClassifiers())
+ <%} else {%>
+ for (Iterator classifiers = <%=genPackage.getUncapPackageName()%>.getEClassifiers().iterator(); classifiers.hasNext(); )
+ <%}%>
+ {
+ <%if (!genModel.useGenerics()) {%>
+ EClassifier eClassifier = (EClassifier)classifiers.next();
+ <%}%>
+ if (eClassifier instanceof EClass)
+ {
+ EClass eClass = (EClass)eClassifier;
+ if (!eClass.isAbstract())
+ {
+ initialObjectNames.add(eClass.getName());
+ }
+ }
+ }
+<%} else {%>
+ <%if (genModel.useGenerics()) {%>
+ for (<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%> eStructuralFeature : <%=genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")%>.INSTANCE.getAllElements(<%=genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")%>.INSTANCE.getDocumentRoot(<%=genPackage.getUncapPackageName()%>)))
+ <%} else {%>
+ for (Iterator elements = <%=genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")%>.INSTANCE.getAllElements(<%=genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")%>.INSTANCE.getDocumentRoot(<%=genPackage.getUncapPackageName()%>)).iterator(); elements.hasNext(); )
+ <%}%>
+ {
+ <%if (!genModel.useGenerics()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%> eStructuralFeature = (<%=genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")%>)elements.next();
+ <%}%>
+ if (eStructuralFeature.isChangeable())
+ {
+ EClassifier eClassifier = eStructuralFeature.getEType();
+ if (eClassifier instanceof EClass)
+ {
+ EClass eClass = (EClass)eClassifier;
+ if (!eClass.isAbstract())
+ {
+ initialObjectNames.add(eStructuralFeature.getName());
+ }
+ }
+ }
+ }
+<%}%>
+ Collections.sort(initialObjectNames, <%if (!genModel.isRichClientPlatform() && genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {%>CommonPlugin.INSTANCE.getComparator()<%} else {%>java.text.Collator.getInstance()<%}%>);
+ }
+ return initialObjectNames;
+ }
+
+ /**
+ * Create a new model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EObject createInitialModel()
+ {
+<%if (!genPackage.hasDocumentRoot()) {%>
+ EClass eClass = (EClass)<%=genPackage.getUncapPackageName()%>.getEClassifier(initialObjectCreationPage.getInitialObjectName());
+ EObject rootObject = <%=genPackage.getUncapFactoryName()%>.create(eClass);
+<%} else {%>
+ EClass eClass = <%=genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")%>.INSTANCE.getDocumentRoot(<%=genPackage.getUncapPackageName()%>);
+ EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(initialObjectCreationPage.getInitialObjectName());
+ EObject rootObject = <%=genPackage.getUncapFactoryName()%>.create(eClass);
+ rootObject.eSet(eStructuralFeature, <%=genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")%>.create((EClass)eStructuralFeature.getEType()));
+<%}%>
+ return rootObject;
+ }
+
+ /**
+ * Do the work after everything is specified.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public boolean performFinish()
+ {
+ try
+ {
+<%if (genModel.isRichClientPlatform()) {%>
+ // Get the URI of the model file.
+ //
+ final URI fileURI = getModelURI();
+ if (new <%=genModel.getImportedName("java.io.File")%>(fileURI.toFileString()).exists())
+ {
+ if (!MessageDialog.openQuestion
+ (getShell(),
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_Question_title"),<%=genModel.getNonNLS()%>
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_WARN_FileConflict", new String []{ fileURI.toFileString() })))<%=genModel.getNonNLS()%>
+ {
+ initialObjectCreationPage.selectFileField();
+ return false;
+ }
+ }
+
+ // Do the work within an operation.
+ //
+ <%=genModel.getImportedName("org.eclipse.jface.operation.IRunnableWithProgress")%> operation = new <%=genModel.getImportedName("org.eclipse.jface.operation.IRunnableWithProgress")%>()
+ {
+ public void run(IProgressMonitor progressMonitor)
+<%} else {%>
+ // Remember the file.
+ //
+ final IFile modelFile = getModelFile();
+
+ // Do the work within an operation.
+ //
+ WorkspaceModifyOperation operation =
+ new WorkspaceModifyOperation()
+ {
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void execute(IProgressMonitor progressMonitor)
+<%}%>
+ {
+ try
+ {
+ // Create a resource set
+ //
+ ResourceSet resourceSet = new ResourceSetImpl();
+
+<%if (!genModel.isRichClientPlatform()) {%>
+ // Get the URI of the model file.
+ //
+ URI fileURI = URI.createPlatformResourceURI(modelFile.getFullPath().toString(), true);
+
+<%}%>
+ // Create a resource for this file.
+ //
+ Resource resource = resourceSet.createResource(fileURI<%if (genPackage.isContentType()) {%>, <%=genPackage.getImportedPackageInterfaceName()%>.eCONTENT_TYPE<%}%>);
+
+ // Add the initial model object to the contents.
+ //
+ EObject rootObject = createInitialModel();
+ if (rootObject != null)
+ {
+ resource.getContents().add(rootObject);
+ }
+
+ // Save the contents of the resource to the file system.
+ //
+ <%=_MapOfObjectToObject%> options = new <%=_HashMapOfObjectToObject%>();
+ options.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding());
+ resource.save(options);
+ }
+ catch (Exception exception)
+ {
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.log(exception);
+ }
+ finally
+ {
+ progressMonitor.done();
+ }
+ }
+ };
+
+ getContainer().run(false, false, operation);
+
+<%if (genModel.isRichClientPlatform()) {%>
+ return <%=genModel.getImportedName(genModel.getQualifiedEditorAdvisorClassName())%>.openEditor(workbench, fileURI);
+<%} else {%>
+ // Select the new file resource in the current view.
+ //
+ <%=genModel.getImportedName("org.eclipse.ui.IWorkbenchWindow")%> workbenchWindow = workbench.getActiveWorkbenchWindow();
+ <%=genModel.getImportedName("org.eclipse.ui.IWorkbenchPage")%> page = workbenchWindow.getActivePage();
+ final <%=genModel.getImportedName("org.eclipse.ui.IWorkbenchPart")%> activePart = page.getActivePart();
+ if (activePart instanceof ISetSelectionTarget)
+ {
+ final <%=genModel.getImportedName("org.eclipse.jface.viewers.ISelection")%> targetSelection = new <%=genModel.getImportedName("org.eclipse.jface.viewers.StructuredSelection")%>(modelFile);
+ getShell().getDisplay().asyncExec
+ (new Runnable()
+ {
+ public void run()
+ {
+ ((ISetSelectionTarget)activePart).selectReveal(targetSelection);
+ }
+ });
+ }
+
+ // Open an editor on the new file.
+ //
+ try
+ {
+ page.openEditor
+ (new FileEditorInput(modelFile),
+ workbench.getEditorRegistry().getDefaultEditor<%if (!genPackage.isContentType()) {%>(modelFile.getFullPath().toString()).getId());<%} else {%>
+ (modelFile.getFullPath().toString(),
+ <%=genModel.getImportedName("org.eclipse.core.runtime.Platform")%>.getContentTypeManager().getContentType(<%=genPackage.getImportedPackageInterfaceName()%>.eCONTENT_TYPE)).getId());
+<%}%>
+ }
+ catch (<%=genModel.getImportedName("org.eclipse.ui.PartInitException")%> exception)
+ {
+ MessageDialog.openError(workbenchWindow.getShell(), <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_OpenEditorError_label"), exception.getMessage());<%=genModel.getNonNLS()%>
+ return false;
+ }
+
+ return true;
+<%}%>
+ }
+ catch (Exception exception)
+ {
+ <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.log(exception);
+ return false;
+ }
+ }
+
+<%if (!genModel.isRichClientPlatform()) {%>
+ /**
+ * This is the one page of the wizard.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public class <%=genPackage.getModelWizardClassName()%>NewFileCreationPage extends WizardNewFileCreationPage
+ {
+ /**
+ * Pass in the selection.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getModelWizardClassName()%>NewFileCreationPage(String pageId, IStructuredSelection selection)
+ {
+ super(pageId, selection);
+ }
+
+ /**
+ * The framework calls this to see if the file is correct.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected boolean validatePage()
+ {
+ if (super.validatePage())
+ {
+ String extension = new <%=genModel.getImportedName("org.eclipse.core.runtime.Path")%>(getFileName()).getFileExtension();
+ if (extension == null || !FILE_EXTENSIONS.contains(extension))
+ {
+ String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions" : "_WARN_FilenameExtension";<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ setErrorMessage(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));
+ return false;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IFile getModelFile()
+ {
+ return ResourcesPlugin.getWorkspace().getRoot().getFile(getContainerFullPath().append(getFileName()));
+ }
+ }
+
+<%}%>
+ /**
+ * This is the page where the type of object to create is selected.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public class <%=genPackage.getModelWizardClassName()%>InitialObjectCreationPage extends WizardPage
+ {
+<%if (genModel.isRichClientPlatform()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genModel.getImportedName("org.eclipse.swt.widgets.Text")%> fileField;
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Combo initialObjectField;
+
+ /**
+ * @generated
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ */
+ protected <%=_ListOfString%> encodings;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Combo encodingField;
+
+ /**
+ * Pass in the selection.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getModelWizardClassName()%>InitialObjectCreationPage(String pageId)
+ {
+ super(pageId);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createControl(Composite parent)
+ {
+ Composite composite = new Composite(parent, SWT.NONE);
+ {
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 1;
+ layout.verticalSpacing = 12;
+ composite.setLayout(layout);
+
+ GridData data = new GridData();
+ data.verticalAlignment = GridData.FILL;
+ data.grabExcessVerticalSpace = true;
+ data.horizontalAlignment = GridData.FILL;
+ composite.setLayoutData(data);
+ }
+
+<%if (genModel.isRichClientPlatform()) {%>
+ Label resourceURILabel = new Label(composite, SWT.LEFT);
+ {
+ resourceURILabel.setText(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_File_label"));<%=genModel.getNonNLS()%>
+
+ GridData data = new GridData();
+ data.horizontalAlignment = GridData.FILL;
+ resourceURILabel.setLayoutData(data);
+ }
+
+ Composite fileComposite = new Composite(composite, SWT.NONE);
+ {
+ GridData data = new GridData();
+ data.horizontalAlignment = GridData.END;
+ fileComposite.setLayoutData(data);
+
+ GridLayout layout = new GridLayout();
+ data.horizontalAlignment = GridData.FILL;
+ layout.marginHeight = 0;
+ layout.marginWidth = 0;
+ layout.numColumns = 2;
+ fileComposite.setLayout(layout);
+ }
+
+ fileField = new <%=genModel.getImportedName("org.eclipse.swt.widgets.Text")%>(fileComposite, SWT.BORDER);
+ {
+ GridData data = new GridData();
+ data.horizontalAlignment = GridData.FILL;
+ data.grabExcessHorizontalSpace = true;
+ data.horizontalSpan = 1;
+ fileField.setLayoutData(data);
+ }
+
+ fileField.addModifyListener(validator);
+
+ <%if (!genModel.isRichAjaxPlatform()) {%>
+ <%=genModel.getImportedName("org.eclipse.swt.widgets.Button")%> resourceURIBrowseFileSystemButton = new <%=genModel.getImportedName("org.eclipse.swt.widgets.Button")%>(fileComposite, SWT.PUSH);
+ resourceURIBrowseFileSystemButton.setText(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_Browse_label"));<%=genModel.getNonNLS()%>
+
+ resourceURIBrowseFileSystemButton.addSelectionListener
+ (new <%=genModel.getImportedName("org.eclipse.swt.events.SelectionAdapter")%>()
+ {
+ <%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+ <%}%>
+ public void widgetSelected(<%=genModel.getImportedName("org.eclipse.swt.events.SelectionEvent")%> event)
+ {
+ String[] filters = <%if (!genModel.useGenerics()) {%>(String[])<%}%><%=genPackage.getImportedEditorClassName()%>.FILE_EXTENSION_FILTERS.toArray(new String[<%=genPackage.getImportedEditorClassName()%>.FILE_EXTENSION_FILTERS.size()]);
+ String[] files = <%=genModel.getImportedName(genModel.getQualifiedEditorAdvisorClassName())%>.openFilePathDialog(getShell(), <%=genModel.getImportedName("org.eclipse.swt.SWT")%>.SAVE, filters);
+ if (files.length > 0)
+ {
+ fileField.setText(files[0]);
+ }
+ }
+ });
+ <%}%>
+<%}%>
+ Label containerLabel = new Label(composite, SWT.LEFT);
+ {
+ containerLabel.setText(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_ModelObject"));<%=genModel.getNonNLS()%>
+
+ GridData data = new GridData();
+ data.horizontalAlignment = GridData.FILL;
+ containerLabel.setLayoutData(data);
+ }
+
+ initialObjectField = new Combo(composite, SWT.BORDER);
+ {
+ GridData data = new GridData();
+ data.horizontalAlignment = GridData.FILL;
+ data.grabExcessHorizontalSpace = true;
+ initialObjectField.setLayoutData(data);
+ }
+
+ <%if (genModel.useGenerics()) {%>
+ for (String objectName : getInitialObjectNames())
+ {
+ initialObjectField.add(getLabel(objectName));
+ }
+ <%} else {%>
+ for (Iterator i = getInitialObjectNames().iterator(); i.hasNext(); )
+ {
+ initialObjectField.add(getLabel((String)i.next()));
+ }
+ <%}%>
+
+ if (initialObjectField.getItemCount() == 1)
+ {
+ initialObjectField.select(0);
+ }
+ initialObjectField.addModifyListener(validator);
+
+ Label encodingLabel = new Label(composite, SWT.LEFT);
+ {
+ encodingLabel.setText(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_XMLEncoding"));<%=genModel.getNonNLS()%>
+
+ GridData data = new GridData();
+ data.horizontalAlignment = GridData.FILL;
+ encodingLabel.setLayoutData(data);
+ }
+ encodingField = new Combo(composite, SWT.BORDER);
+ {
+ GridData data = new GridData();
+ data.horizontalAlignment = GridData.FILL;
+ data.grabExcessHorizontalSpace = true;
+ encodingField.setLayoutData(data);
+ }
+
+ <%if (genModel.useGenerics()) {%>
+ for (String encoding : getEncodings())
+ {
+ encodingField.add(encoding);
+ }
+ <%} else {%>
+ for (Iterator i = getEncodings().iterator(); i.hasNext(); )
+ {
+ encodingField.add((String)i.next());
+ }
+ <%}%>
+
+ encodingField.select(0);
+ encodingField.addModifyListener(validator);
+
+ setPageComplete(validatePage());
+ setControl(composite);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ModifyListener validator =
+ new ModifyListener()
+ {
+ public void modifyText(ModifyEvent e)
+ {
+ setPageComplete(validatePage());
+ }
+ };
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected boolean validatePage()
+ {
+<%if (genModel.isRichClientPlatform()) {%>
+ URI fileURI = getFileURI();
+ if (fileURI == null || fileURI.isEmpty())
+ {
+ setErrorMessage(null);
+ return false;
+ }
+
+ String extension = fileURI.fileExtension();
+ if (extension == null || !FILE_EXTENSIONS.contains(extension))
+ {
+ String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions" : "_WARN_FilenameExtension";<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ setErrorMessage(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));
+ return false;
+ }
+
+ setErrorMessage(null);
+<%}%>
+ return getInitialObjectName() != null && getEncodings().contains(encodingField.getText());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void setVisible(boolean visible)
+ {
+ super.setVisible(visible);
+ if (visible)
+ {
+<%if (!genModel.isRichClientPlatform()) {%>
+ if (initialObjectField.getItemCount() == 1)
+ {
+ initialObjectField.clearSelection();
+ encodingField.setFocus();
+ }
+ else
+ {
+ encodingField.clearSelection();
+ initialObjectField.setFocus();
+ }
+<%} else {%>
+ initialObjectField.clearSelection();
+ encodingField.clearSelection();
+ fileField.setFocus();
+<%}%>
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getInitialObjectName()
+ {
+ String label = initialObjectField.getText();
+
+ <%if (genModel.useGenerics()) {%>
+ for (String name : getInitialObjectNames())
+ <%} else {%>
+ for (Iterator i = getInitialObjectNames().iterator(); i.hasNext(); )
+ <%}%>
+ {
+ <%if (!genModel.useGenerics()) {%>
+ String name = (String)i.next();
+ <%}%>
+ if (getLabel(name).equals(label))
+ {
+ return name;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEncoding()
+ {
+ return encodingField.getText();
+ }
+<%if (genModel.isRichClientPlatform()) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public URI getFileURI()
+ {
+ try
+ {
+ return URI.createFileURI(fileField.getText());
+ }
+ catch (Exception exception)
+ {
+ // Ignore
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void selectFileField()
+ {
+ initialObjectField.clearSelection();
+ encodingField.clearSelection();
+ fileField.selectAll();
+ fileField.setFocus();
+ }
+<%}%>
+<%{ String type = genPackage.hasDocumentRoot() ? "feature" : "type"; String prefix = genPackage.hasDocumentRoot() ? "_UI_DocumentRoot_" : "_UI_";%>
+
+ /**
+ * Returns the label for the specified <%=type%> name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected String getLabel(String <%=type%>Name)
+ {
+ try
+ {
+ return <%=genPackage.getEditPluginClassName()%>.INSTANCE.getString("<%=prefix%>" + <%=type%>Name + "_<%=type%>");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ }
+ catch(MissingResourceException mre)
+ {
+ <%=genModel.getImportedName(genModel.getQualifiedEditorPluginClassName())%>.INSTANCE.log(mre);
+ }
+ return <%=type%>Name;
+ }
+<%}%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=_CollectionOfString%> getEncodings()
+ {
+ if (encodings == null)
+ {
+ encodings = new <%=_ArrayListOfString%>();
+ for (StringTokenizer stringTokenizer = new StringTokenizer(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens(); )<%=genModel.getNonNLS()%>
+ {
+ encodings.add(stringTokenizer.nextToken());
+ }
+ }
+ return encodings;
+ }
+ }
+
+ /**
+ * The framework calls this to create the contents of the wizard.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void addPages()
+ {
+<%if (!genModel.isRichClientPlatform()) {%>
+ // Create a page, set the title, and the initial model file name.
+ //
+ newFileCreationPage = new <%=genPackage.getModelWizardClassName()%>NewFileCreationPage("Whatever", selection);<%=genModel.getNonNLS()%>
+ newFileCreationPage.setTitle(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getModelWizardClassName()%>_label"));<%=genModel.getNonNLS()%>
+ newFileCreationPage.setDescription(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getModelWizardClassName()%>_description"));<%=genModel.getNonNLS()%>
+ newFileCreationPage.setFileName(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getEditorClassName()%>FilenameDefaultBase") + "." + <%if (!genModel.useGenerics()) {%>(String)<%}%>FILE_EXTENSIONS.get(0));<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ addPage(newFileCreationPage);
+
+ // Try and get the resource selection to determine a current directory for the file dialog.
+ //
+ if (selection != null && !selection.isEmpty())
+ {
+ // Get the resource...
+ //
+ Object selectedElement = selection.iterator().next();
+ if (selectedElement instanceof IResource)
+ {
+ // Get the resource parent, if its a file.
+ //
+ IResource selectedResource = (IResource)selectedElement;
+ if (selectedResource.getType() == IResource.FILE)
+ {
+ selectedResource = selectedResource.getParent();
+ }
+
+ // This gives us a directory...
+ //
+ if (selectedResource instanceof IFolder || selectedResource instanceof IProject)
+ {
+ // Set this for the container.
+ //
+ newFileCreationPage.setContainerFullPath(selectedResource.getFullPath());
+
+ // Make up a unique new name here.
+ //
+ String defaultModelBaseFilename = <%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getEditorClassName()%>FilenameDefaultBase");<%=genModel.getNonNLS()%>
+ String defaultModelFilenameExtension = <%if (!genModel.useGenerics()) {%>(String)<%}%>FILE_EXTENSIONS.get(0);
+ String modelFilename = defaultModelBaseFilename + "." + defaultModelFilenameExtension;<%=genModel.getNonNLS()%>
+ for (int i = 1; ((IContainer)selectedResource).findMember(modelFilename) != null; ++i)
+ {
+ modelFilename = defaultModelBaseFilename + i + "." + defaultModelFilenameExtension;<%=genModel.getNonNLS()%>
+ }
+ newFileCreationPage.setFileName(modelFilename);
+ }
+ }
+ }
+<%}%>
+ initialObjectCreationPage = new <%=genPackage.getModelWizardClassName()%>InitialObjectCreationPage("Whatever2");<%=genModel.getNonNLS()%>
+ initialObjectCreationPage.setTitle(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_<%=genPackage.getModelWizardClassName()%>_label"));<%=genModel.getNonNLS()%>
+ initialObjectCreationPage.setDescription(<%=genPackage.getImportedEditorPluginClassName()%>.INSTANCE.getString("_UI_Wizard_initial_object_description"));<%=genModel.getNonNLS()%>
+ addPage(initialObjectCreationPage);
+ }
+
+<%if (genModel.isRichClientPlatform()) {%>
+ /**
+ * Get the URI from the page.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public URI getModelURI()
+ {
+ return initialObjectCreationPage.getFileURI();
+ }
+
+<%} else {%>
+ /**
+ * Get the file from the page.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IFile getModelFile()
+ {
+ return newFileCreationPage.getModelFile();
+ }
+
+<%}%>
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxJTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxJTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxJTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._SwN_WGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._SwN_WGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._SwN_WGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._-dcY1HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._-dcY1HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..5bdb29c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._-dcY1HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,4 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._1AYkSGKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._1AYkSGKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._1AYkSGKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D-TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D-TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..60cf2f2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D-TG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,8 @@
+<%
+GenPackage genPackage = parameter;
+if (genPackage.hasConcreteClasses()) {
+new CodegenGeneratorAdapter(parameter).generateGIF("editor/ModelFile.gif", genPackage.getModelIconFileName(), genPackage.getPrefix(), null, false);
+}
+ else {
+}
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D9TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D9TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D9TG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._-NpCRHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._-NpCRHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..6c9a61a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._-NpCRHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && true;
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._0_fzeWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._0_fzeWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._0_fzeWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsFTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsFTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsFTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsFzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsFzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..163f874
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsFzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPath = genModel.getEditorPluginDirectory();
+packageName = genModel.getEditorPluginPackageName();
+className = genModel.getEditorPluginClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsGTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsGTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..ba3c3f7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsGTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,135 @@
+
+<%
+/**
+ * Copyright (c) 2002-2004 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genModel.getEditorPluginPackageName()%>;
+
+<%genModel.addImport("org.eclipse.emf.common.EMFPlugin");%>
+<%genModel.addImport("org.eclipse.emf.common.util.ResourceLocator");%>
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * This is the central singleton for the <%=genModel.getModelName()%> editor plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class <%=genModel.getEditorPluginClassName()%> extends EMFPlugin
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getEditorPluginClassName()%> INSTANCE = new <%=genModel.getEditorPluginClassName()%>();
+
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static Implementation plugin;
+
+<%}%>
+ /**
+ * Create the instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getEditorPluginClassName()%>()
+ {
+ super
+ (new ResourceLocator []
+ {
+<%for (String pluginClassName : genModel.getEditResourceDelegateImportedPluginClassNames()) {%>
+ <%=pluginClassName%>.INSTANCE,
+<%}%>
+ });
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public ResourceLocator getPluginResourceLocator()
+ {
+<%if (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) {%>
+ return null;
+<%} else {%>
+ return plugin;
+<%}%>
+ }
+
+<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%>
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin()
+ {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends <%=genModel.getImportedName("org.eclipse.emf.common.ui.EclipseUIPlugin")%>
+ {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+<%if (genModel.needsRuntimeCompatibility()) {%>
+ * @param descriptor the description of the plugin.
+<%}%>
+ * @generated
+ */
+ public Implementation(<%if (genModel.needsRuntimeCompatibility()) {%><%=genModel.getImportedName("org.eclipse.core.runtime.IPluginDescriptor")%> descriptor<%}%>)
+ {
+ super(<%if (genModel.needsRuntimeCompatibility()) {%>descriptor<%}%>);
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+ }
+
+<%}%>
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._SwE1aGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._SwE1aGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._SwE1aGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._-P4d9HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._-P4d9HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..427b54c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._-P4d9HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genModel.isRichClientPlatform());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._0_o9aWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._0_o9aWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._0_o9aWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnBTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnBTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnBTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnBzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnBzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..b0ee89b
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnBzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPath = genModel.getEditorPluginDirectory();
+packageName = genModel.getEditorPluginPackageName();
+className = genModel.getEditorAdvisorClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnCTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnCTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..a758c3d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnCTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,711 @@
+
+<%
+/**
+ * Copyright (c) 2004-2010 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+<%String _ListOfString = "List" + (genModel.useGenerics() ? "<String>" : "");%>
+<%String _UniqueEListOfString = "UniqueEList" + (genModel.useGenerics() ? "<String>" : "");%>
+<%String _StringBuilder = genModel.getImportedName(genModel.useGenerics() ? "java.lang.StringBuilder" : "java.lang.StringBuffer");%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genModel.getEditorPluginPackageName()%>;
+
+<%if (!genModel.isRichAjaxPlatform()) {%>
+import java.io.File;
+import java.util.Arrays;
+<%}%>
+<%if (!genModel.useGenerics()) {%>
+import java.util.Iterator;
+<%}%>
+<%if (genModel.getAllGenPackagesWithConcreteClasses().size() > 1) {%>
+import java.util.List;
+<%}%>
+
+import org.eclipse.equinox.app.IApplication;
+import org.eclipse.equinox.app.IApplicationContext;
+
+import org.eclipse.jface.action.GroupMarker;
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.jface.action.MenuManager;
+import org.eclipse.jface.action.Separator;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.window.Window;
+<%if (!genModel.isRichAjaxPlatform()) {%>
+import org.eclipse.swt.SWT;
+<%}%>
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.swt.widgets.Display;
+<%if (!genModel.isRichAjaxPlatform()) {%>
+import org.eclipse.swt.widgets.FileDialog;
+import org.eclipse.swt.widgets.Shell;
+<%}%>
+import org.eclipse.ui.IEditorDescriptor;
+import org.eclipse.ui.IFolderLayout;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchActionConstants;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.actions.ActionFactory;
+<%if (!genModel.isRichAjaxPlatform()) {%>
+import org.eclipse.ui.actions.ContributionItemFactory;
+<%}%>
+import org.eclipse.ui.application.ActionBarAdvisor;
+import org.eclipse.ui.application.IActionBarConfigurer;
+import org.eclipse.ui.application.IWorkbenchConfigurer;
+import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
+import org.eclipse.ui.application.WorkbenchAdvisor;
+import org.eclipse.ui.application.WorkbenchWindowAdvisor;
+
+import org.eclipse.emf.common.ui.URIEditorInput;
+import org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate;
+import org.eclipse.emf.common.util.URI;
+<%if (genModel.getAllGenPackagesWithConcreteClasses().size() > 1) {%>
+import org.eclipse.emf.common.util.UniqueEList;
+<%}%>
+import org.eclipse.emf.edit.ui.action.LoadResourceAction;
+import org.eclipse.emf.edit.ui.util.EditUIUtil;
+
+import <%=genModel.getQualifiedEditorPluginClassName()%>;
+<%genModel.markImportLocation(stringBuffer);%>
+
+
+/**
+ * Customized {@link WorkbenchAdvisor} for the RCP application.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class <%=genModel.getEditorAdvisorClassName()%> extends WorkbenchAdvisor
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+<%if (!genModel.isRichAjaxPlatform()) {%>
+ /**
+ * The default file extension filters for use in dialogs.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ <%if (genModel.getAllGenPackagesWithConcreteClasses().size() == 1) {%>
+ private static final String[] FILE_EXTENSION_FILTERS = <%if (!genModel.useGenerics()) {%>(String[])<%}%><%=genModel.getAllGenPackagesWithConcreteClasses().get(0).getImportedEditorClassName()%>.FILE_EXTENSION_FILTERS.toArray(new String[0]);
+ <%} else {%>
+ private static final String[] FILE_EXTENSION_FILTERS = getFileExtensionFilters();
+
+ /**
+ * Returns the default file extension filters. This method should only be used to initialize {@link #FILE_EXTENSION_FILTERS}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static String[] getFileExtensionFilters()
+ {
+ <%=_ListOfString%> result = new <%=_UniqueEListOfString%>();
+ <%for (GenPackage genPackage : genModel.getAllGenPackagesWithConcreteClasses()) {%>
+ result.addAll(<%=genPackage.getImportedEditorClassName()%>.FILE_EXTENSION_FILTERS);
+ <%}%>
+ return <%if (!genModel.useGenerics()) {%>(String[])<%}%>result.toArray(new String[0]);
+ }
+ <%}%>
+<%}%>
+
+ /**
+ * This looks up a string in the plugin's plugin.properties file.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static String getString(String key)
+ {
+ return <%=genModel.getEditorPluginClassName()%>.INSTANCE.getString(key);
+ }
+
+ /**
+ * This looks up a string in plugin.properties, making a substitution.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static String getString(String key, Object s1)
+ {
+ return <%=genModel.getQualifiedEditorPluginClassName()%>.INSTANCE.getString(key, new Object [] { s1 });
+ }
+
+ /**
+ * RCP's application
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Application implements IApplication
+ {
+ /**
+ * @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object start(IApplicationContext context) throws Exception
+ {
+ WorkbenchAdvisor workbenchAdvisor = new <%=genModel.getEditorAdvisorClassName()%>();
+ Display display = PlatformUI.createDisplay();
+ try
+ {
+ int returnCode = PlatformUI.createAndRunWorkbench(display, workbenchAdvisor);
+ if (returnCode == PlatformUI.RETURN_RESTART)
+ {
+ return IApplication.EXIT_RESTART;
+ }
+ else
+ {
+ return IApplication.EXIT_OK;
+ }
+ }
+ finally
+ {
+ display.dispose();
+ }
+ }
+
+ /**
+ * @see org.eclipse.equinox.app.IApplication#stop()
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void stop()
+ {
+ // Do nothing.
+ }
+ }
+
+ /**
+ * RCP's perspective
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Perspective implements IPerspectiveFactory
+ {
+ /**
+ * Perspective ID
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String ID_PERSPECTIVE = "<%=genModel.getQualifiedEditorAdvisorClassName()%>Perspective";<%=genModel.getNonNLS()%>
+
+ /**
+ * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createInitialLayout(IPageLayout layout)
+ {
+ layout.setEditorAreaVisible(true);
+ layout.addPerspectiveShortcut(ID_PERSPECTIVE);
+
+ IFolderLayout right = layout.createFolder("right", IPageLayout.RIGHT, (float)0.66, layout.getEditorArea());<%=genModel.getNonNLS()%>
+ right.addView(IPageLayout.ID_OUTLINE);
+
+ IFolderLayout bottonRight = layout.createFolder("bottonRight", IPageLayout.BOTTOM, (float)0.60, "right");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ bottonRight.addView(IPageLayout.ID_PROP_SHEET);
+ }
+ }
+
+ /**
+ * RCP's window advisor
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class WindowAdvisor extends WorkbenchWindowAdvisor
+ {
+ /**
+ * @see WorkbenchWindowAdvisor#WorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public WindowAdvisor(IWorkbenchWindowConfigurer configurer)
+ {
+ super(configurer);
+ }
+
+ /**
+ * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void preWindowOpen()
+ {
+ IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
+ configurer.setInitialSize(new Point(600, 450));
+ configurer.setShowCoolBar(false);
+ configurer.setShowStatusLine(true);
+ configurer.setTitle(getString("_UI_Application_title"));<%=genModel.getNonNLS()%>
+ }
+
+ /**
+ * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer)
+ {
+ return new WindowActionBarAdvisor(configurer);
+ }
+ }
+
+ /**
+ * RCP's action bar advisor
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class WindowActionBarAdvisor extends ActionBarAdvisor
+ {
+ /**
+ * @see ActionBarAdvisor#ActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public WindowActionBarAdvisor(IActionBarConfigurer configurer)
+ {
+ super(configurer);
+ }
+
+ /**
+ * @see org.eclipse.ui.application.ActionBarAdvisor#fillMenuBar(org.eclipse.jface.action.IMenuManager)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void fillMenuBar(IMenuManager menuBar)
+ {
+ IWorkbenchWindow window = getActionBarConfigurer().getWindowConfigurer().getWindow();
+ menuBar.add(createFileMenu(window));
+ menuBar.add(createEditMenu(window));
+ menuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
+ menuBar.add(createWindowMenu(window));
+ menuBar.add(createHelpMenu(window));
+ }
+
+ /**
+ * Creates the 'File' menu.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IMenuManager createFileMenu(IWorkbenchWindow window)
+ {
+ IMenuManager menu = new MenuManager(getString("_UI_Menu_File_label"),<%=genModel.getNonNLS()%>
+ IWorkbenchActionConstants.M_FILE);
+ menu.add(new GroupMarker(IWorkbenchActionConstants.FILE_START));
+
+ IMenuManager newMenu = new MenuManager(getString("_UI_Menu_New_label"), "new");<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ newMenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
+
+ menu.add(newMenu);
+ menu.add(new Separator());
+ menu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
+ menu.add(new Separator());
+ addToMenuAndRegister(menu, ActionFactory.CLOSE.create(window));
+ addToMenuAndRegister(menu, ActionFactory.CLOSE_ALL.create(window));
+ menu.add(new Separator());
+ addToMenuAndRegister(menu, ActionFactory.SAVE.create(window));
+ addToMenuAndRegister(menu, ActionFactory.SAVE_AS.create(window));
+ addToMenuAndRegister(menu, ActionFactory.SAVE_ALL.create(window));
+ menu.add(new Separator());
+ addToMenuAndRegister(menu, ActionFactory.QUIT.create(window));
+ menu.add(new GroupMarker(IWorkbenchActionConstants.FILE_END));
+ return menu;
+ }
+
+ /**
+ * Creates the 'Edit' menu.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IMenuManager createEditMenu(IWorkbenchWindow window)
+ {
+ IMenuManager menu = new MenuManager(getString("_UI_Menu_Edit_label"),<%=genModel.getNonNLS()%>
+ IWorkbenchActionConstants.M_EDIT);
+ menu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_START));
+
+ addToMenuAndRegister(menu, ActionFactory.UNDO.create(window));
+ addToMenuAndRegister(menu, ActionFactory.REDO.create(window));
+ menu.add(new GroupMarker(IWorkbenchActionConstants.UNDO_EXT));
+ menu.add(new Separator());
+
+ addToMenuAndRegister(menu, ActionFactory.CUT.create(window));
+ addToMenuAndRegister(menu, ActionFactory.COPY.create(window));
+ addToMenuAndRegister(menu, ActionFactory.PASTE.create(window));
+ menu.add(new GroupMarker(IWorkbenchActionConstants.CUT_EXT));
+ menu.add(new Separator());
+
+ addToMenuAndRegister(menu, ActionFactory.DELETE.create(window));
+ addToMenuAndRegister(menu, ActionFactory.SELECT_ALL.create(window));
+ menu.add(new Separator());
+
+ menu.add(new GroupMarker(IWorkbenchActionConstants.ADD_EXT));
+
+ menu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_END));
+ menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
+ return menu;
+ }
+
+ /**
+ * Creates the 'Window' menu.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IMenuManager createWindowMenu(IWorkbenchWindow window)
+ {
+ IMenuManager menu = new MenuManager(getString("_UI_Menu_Window_label"),<%=genModel.getNonNLS()%>
+ IWorkbenchActionConstants.M_WINDOW);
+
+ addToMenuAndRegister(menu, ActionFactory.OPEN_NEW_WINDOW.create(window));
+ menu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
+<%if (!genModel.isRichAjaxPlatform()) {%>
+ menu.add(ContributionItemFactory.OPEN_WINDOWS.create(window));
+<%}%>
+
+ return menu;
+ }
+
+ /**
+ * Creates the 'Help' menu.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IMenuManager createHelpMenu(IWorkbenchWindow window)
+ {
+ IMenuManager menu = new MenuManager(getString("_UI_Menu_Help_label"), IWorkbenchActionConstants.M_HELP);<%=genModel.getNonNLS()%>
+ // Welcome or intro page would go here
+ // Help contents would go here
+ // Tips and tricks page would go here
+ menu.add(new GroupMarker(IWorkbenchActionConstants.HELP_START));
+ menu.add(new GroupMarker(IWorkbenchActionConstants.HELP_END));
+ menu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
+ return menu;
+ }
+
+ /**
+ * Adds the specified action to the given menu and also registers the action with the
+ * action bar configurer, in order to activate its key binding.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addToMenuAndRegister(IMenuManager menuManager, IAction action)
+ {
+ menuManager.add(action);
+ getActionBarConfigurer().registerGlobalAction(action);
+ }
+ }
+
+ /**
+ * About action for the RCP application.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class AboutAction extends WorkbenchWindowActionDelegate
+ {
+ /**
+ * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void run(IAction action)
+ {
+ MessageDialog.openInformation(getWindow().getShell(), getString("_UI_About_title"),<%=genModel.getNonNLS()%>
+ getString("_UI_About_text"));<%=genModel.getNonNLS()%>
+ }
+ }
+
+<%if (!genModel.isRichAjaxPlatform()) {%>
+ /**
+ * Open action for the objects from the <%=genModel.getModelName()%> model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class OpenAction extends WorkbenchWindowActionDelegate
+ {
+ /**
+ * Opens the editors for the files selected using the file dialog.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void run(IAction action)
+ {
+ String[] filePaths = openFilePathDialog(getWindow().getShell(), SWT.OPEN, null);
+ if (filePaths.length > 0)
+ {
+ openEditor(getWindow().getWorkbench(), URI.createFileURI(filePaths[0]));
+ }
+ }
+ }
+<%}%>
+
+ /**
+ * Open URI action for the objects from the <%=genModel.getModelName()%> model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class OpenURIAction extends WorkbenchWindowActionDelegate
+ {
+ /**
+ * Opens the editors for the files selected using the LoadResourceDialog.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void run(IAction action)
+ {
+ LoadResourceAction.LoadResourceDialog loadResourceDialog = new LoadResourceAction.LoadResourceDialog(getWindow().getShell());
+ if (Window.OK == loadResourceDialog.open())
+ {
+<%if (genModel.useGenerics()) {%>
+ for (URI uri : loadResourceDialog.getURIs())
+ {
+ openEditor(getWindow().getWorkbench(), uri);
+ }
+<%} else {%>
+ for (Iterator i = loadResourceDialog.getURIs().iterator(); i.hasNext();)
+ {
+ openEditor(getWindow().getWorkbench(), (URI)i.next());
+ }
+<%}%>
+ }
+ }
+ }
+
+<%if (!genModel.isRichAjaxPlatform()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static String[] openFilePathDialog(Shell shell, int style, String[] fileExtensionFilters)
+ {
+ return openFilePathDialog(shell, style, fileExtensionFilters, (style & SWT.OPEN) != 0, (style & SWT.OPEN) != 0, (style & SWT.SAVE) != 0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static String[] openFilePathDialog(Shell shell, int style, String[] fileExtensionFilters, boolean includeGroupFilter, boolean includeAllFilter, boolean addExtension)
+ {
+ FileDialog fileDialog = new FileDialog(shell, style);
+ if (fileExtensionFilters == null)
+ {
+ fileExtensionFilters = FILE_EXTENSION_FILTERS;
+ }
+
+ // If requested, augment the file extension filters by adding a group of all the other filters (*.ext1;*.ext2;...)
+ // at the beginning and/or an all files wildcard (*.*) at the end.
+ //
+ includeGroupFilter &= fileExtensionFilters.length > 1;
+ int offset = includeGroupFilter ? 1 : 0;
+
+ if (includeGroupFilter || includeAllFilter)
+ {
+ int size = fileExtensionFilters.length + offset + (includeAllFilter ? 1 : 0);
+ String[] allFilters = new String[size];
+ <%=_StringBuilder%> group = includeGroupFilter ? new <%=_StringBuilder%>() : null;
+
+ for (int i = 0; i < fileExtensionFilters.length; i++)
+ {
+ if (includeGroupFilter)
+ {
+ if (i != 0)
+ {
+ group.append(';');
+ }
+ group.append(fileExtensionFilters[i]);
+ }
+ allFilters[i + offset] = fileExtensionFilters[i];
+ }
+
+ if (includeGroupFilter)
+ {
+ allFilters[0] = group.toString();
+ }
+ if (includeAllFilter)
+ {
+ allFilters[allFilters.length - 1] = "*.*";<%=genModel.getNonNLS()%>
+ }
+
+ fileDialog.setFilterExtensions(allFilters);
+ }
+ else
+ {
+ fileDialog.setFilterExtensions(fileExtensionFilters);
+ }
+ fileDialog.open();
+
+ String[] filenames = fileDialog.getFileNames();
+ String[] result = new String[filenames.length];
+ String path = fileDialog.getFilterPath() + File.separator;
+ String extension = null;
+
+ // If extension adding requested, get the dotted extension corresponding to the selected filter.
+ //
+ if (addExtension)
+ {
+ int i = fileDialog.getFilterIndex();
+ if (i != -1 && (!includeAllFilter || i != fileExtensionFilters.length))
+ {
+ i = includeGroupFilter && i == 0 ? 0 : i - offset;
+ String filter = fileExtensionFilters[i];
+ int dot = filter.lastIndexOf('.');
+ if (dot == 1 && filter.charAt(0) == '*')
+ {
+ extension = filter.substring(dot);
+ }
+ }
+ }
+
+ // Build the result by adding the selected path and, if needed, auto-appending the extension.
+ //
+ for (int i = 0; i < filenames.length; i++)
+ {
+ String filename = path + filenames[i];
+ if (extension != null)
+ {
+ int dot = filename.lastIndexOf('.');
+ if (dot == -1 || !Arrays.asList(fileExtensionFilters).contains("*" + filename.substring(dot)))<%=genModel.getNonNLS()%>
+ {
+ filename += extension;
+ }
+ }
+ result[i] = filename;
+ }
+ return result;
+ }
+<%}%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static boolean openEditor(IWorkbench workbench, URI uri)
+ {
+ IWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow();
+ IWorkbenchPage page = workbenchWindow.getActivePage();
+
+ IEditorDescriptor editorDescriptor = EditUIUtil.getDefaultEditor(uri, null);
+ if (editorDescriptor == null)
+ {
+ MessageDialog.openError(
+ workbenchWindow.getShell(),
+ getString("_UI_Error_title"),<%=genModel.getNonNLS()%>
+ getString("_WARN_No_Editor", uri.lastSegment()));<%=genModel.getNonNLS()%>
+ return false;
+ }
+ else
+ {
+ try
+ {
+ page.openEditor(new URIEditorInput(uri), editorDescriptor.getId());
+ }
+ catch (PartInitException exception)
+ {
+ MessageDialog.openError(
+ workbenchWindow.getShell(),
+ getString("_UI_OpenEditorError_label"),<%=genModel.getNonNLS()%>
+ exception.getMessage());
+ return false;
+ }
+ }
+ return true;
+ }
+
+ /**
+ * @see org.eclipse.ui.application.WorkbenchAdvisor#getInitialWindowPerspectiveId()
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public String getInitialWindowPerspectiveId()
+ {
+ return Perspective.ID_PERSPECTIVE;
+ }
+
+ /**
+ * @see org.eclipse.ui.application.WorkbenchAdvisor#initialize(org.eclipse.ui.application.IWorkbenchConfigurer)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public void initialize(IWorkbenchConfigurer configurer)
+ {
+ super.initialize(configurer);
+ configurer.setSaveAndRestore(true);
+ }
+
+ /**
+ * @see org.eclipse.ui.application.WorkbenchAdvisor#createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer)
+ {
+ return new WindowAdvisor(configurer);
+ }
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._Sv7EaGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._Sv7EaGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._Sv7EaGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._-bppFHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._-bppFHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..5bdb29c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._-bppFHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,4 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._1AiVSGKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._1AiVSGKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._1AiVSGKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJBTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJBTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJBTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJCTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJCTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..f5168ad
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJCTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,8 @@
+<%
+GenPackage genPackage = parameter;
+if (genPackage.hasConcreteClasses() && genPackage.isGenerateModelWizard()) {
+new CodegenGeneratorAdapter(parameter).generateGIF("editor/NewModel.gif", genPackage.getModelWizardIconFileName(), genPackage.getPrefix(), null, false);
+}
+ else {
+}
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._-e7mmHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._-e7mmHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..579cb47
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._-e7mmHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+canGenerate = canGenerate && (genModel.isBundleManifest()) && (!genModel.sameModelTestsProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._1BIyOWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._1BIyOWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..7d63b7a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._1BIyOWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b1TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b1TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b1TG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b1zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b1zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..07bdc33
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b1zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getTestsProjectDirectory() + "/META-INF/MANIFEST.MF";
+overwrite = genModel.isUpdateClasspath();
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..517965c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,43 @@
+
+<%
+/**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: <%=genModel.getTestsPluginID()%>;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-ClassPath: <%if (genModel.isRuntimeJar()) {%><%=genModel.getTestsPluginID()%>.jar<%}else{%>.<%}%>
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+<%if (genModel.getComplianceLevel() == GenJDKLevel.JDK50_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK60_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK70_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
+<%} else if (genModel.getComplianceLevel() == GenJDKLevel.JDK80_LITERAL) {%>
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+<%}%>
+<%Iterator<String> packagesIterator = genModel.getTestsQualifiedPackageNames().iterator(); if (packagesIterator.hasNext()) { String pack = packagesIterator.next();%>
+Export-Package: <%=pack%><%while(packagesIterator.hasNext()) { pack = packagesIterator.next();%>,
+ <%=pack%><%}%>
+<%}%>
+<%Iterator<String> requiredPluginIterator = genModel.getTestsRequiredPlugins().iterator(); if (requiredPluginIterator.hasNext()) { String pluginID = requiredPluginIterator.next();%>
+Require-Bundle: <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime")){%>;visibility:=reexport<%} while(requiredPluginIterator.hasNext()) { pluginID = requiredPluginIterator.next();%>,
+ <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime") && !pluginID.equals("org.eclipse.xtext.xbase.lib") && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {%>;visibility:=reexport<%}}%>
+<%}%>
+<%if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {%>
+Eclipse-LazyStart: true
+<%}%>
+Bundle-ActivationPolicy: lazy
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._SxRIOGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._SxRIOGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._SxRIOGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._-pXU9HLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._-pXU9HLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..11b8a25
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._-pXU9HLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) && (!(genModel.isBundleManifest())) && (!genModel.sameModelTestsProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._1A1QOWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._1A1QOWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..7d63b7a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._1A1QOWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5TG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-6DG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-6DG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-6DG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-6jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-6jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..8535ba5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-6jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getTestsProjectDirectory() + "/plugin.xml";
+overwrite = true;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-7DG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-7DG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..6102378
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-7DG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,46 @@
+
+<%
+/**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+<%if (genModel.isBundleManifest()) {%>
+<plugin>
+<%} else {%>
+<plugin
+ name="%pluginName"
+ id="<%=genModel.getTestsPluginID()%>"
+ version="1.0.0"
+ provider-name="%providerName">
+
+ <requires>
+ <%for (String pluginID : genModel.getTestsRequiredPlugins()) {%>
+ <import plugin="<%=pluginID%>"<%if (!pluginID.startsWith("org.eclipse.core.runtime")) {%> export="true"<%}%>/>
+ <%}%>
+ </requires>
+
+ <runtime>
+ <%if (genModel.isRuntimeJar()) {%>
+ <library name="<%=genModel.getTestsPluginID()%>.jar">
+ <%} else {%>
+ <library name=".">
+ <%}%>
+ <export name="*"/>
+ </library>
+ </runtime>
+
+<%}%>
+</plugin>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._SxaSKGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._SxaSKGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._SxaSKGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._-iWuBHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._-iWuBHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e5fc461
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._-iWuBHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+canGenerate = canGenerate && (!genModel.sameModelTestsProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._1AsGTWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._1AsGTWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..7d63b7a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._1AsGTWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4jG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4jG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4jG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv5TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv5TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv5TG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv5zG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv5zG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..33fc1e0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv5zG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getTestsProjectDirectory() + "/build.properties";
+overwrite = false;
+encoding = "ISO-8859-1";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv6TG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv6TG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..4d6aa21
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv6TG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,29 @@
+
+<%
+/**
+ * Copyright (c) 2005-2008 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+<%String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getTestsPluginID()+".jar" : ".";%>
+<%List<String> sourceFolders = genModel.getTestsSourceFolders();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+bin.includes = <%=pluginClassesLocation%>,\
+<%if (genModel.isBundleManifest()) {%>
+ META-INF/,\
+<%} else {%>
+ plugin.xml,\
+<%}%>
+ plugin.properties
+jars.compile.order = <%=pluginClassesLocation%>
+<% boolean first=true; for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) { String sourceFolder = i.next(); if (i.hasNext()){sourceFolder +=",\\";} if (first) {%>
+source.<%=pluginClassesLocation%> = <%=sourceFolder%><%first=false;} else {%><%=sourceFolder%><%}}%>
+output.<%=pluginClassesLocation%> = bin/
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._SxHXPGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._SxHXPGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._SxHXPGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._-w9xxHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._-w9xxHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..beedc08
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._-w9xxHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenClass genClass = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+canGenerate = canGenerate && true;
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._1BuoGWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._1BuoGWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..7d63b7a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._1BuoGWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ojG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ojG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ojG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ozG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ozG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ozG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39pTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39pTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39pTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuoDG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuoDG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e93b9a5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuoDG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenClass genClass = parameter;
+targetPath = genClass.getGenModel().getTestsDirectory();
+packageName = genClass.getGenPackage().getTestsPackageName();
+className = genClass.getTestCaseClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuojG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuojG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..07d1079
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuojG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,186 @@
+
+<%
+/**
+ * Copyright (c) 2005, 2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenClass genClass = (GenClass)argument; GenPackage genPackage = genClass.getGenPackage(); GenModel genModel=genPackage.getGenModel(); /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getTestsPackageName()%>;
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- begin-user-doc -->
+ * A test case for the model object '<em><b><%=genClass.getFormattedName()%></b></em>'.
+ * <!-- end-user-doc -->
+<%if (!genClass.getImplementedGenFeatures().isEmpty()) { boolean first = true;%>
+ <%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {%>
+ <%if (genFeature.isTested() && !genFeature.isSuppressedGetVisibility()) {%>
+ <%if (first) { first = false;%>
+ * <p>
+ * The following features are tested:
+ * <ul>
+ <%}%>
+ * <li>{@link <%=genFeature.getGenClass().getQualifiedInterfaceName()%>#<%=genFeature.getGetAccessor()%>() <em><%=genFeature.getFormattedName()%></em>}</li>
+ <%}%>
+ <%}%>
+ <% if (!first) {%>
+ * </ul>
+ * </p>
+ <%}%>
+<%}%>
+<%if (!genClass.getImplementedGenOperations().isEmpty()) { boolean first = true;%>
+ <%for (GenOperation genOperation : genClass.getImplementedGenOperations()) {%>
+ <%if (first) { first = false;%>
+ * <p>
+ * The following operations are tested:
+ * <ul>
+ <%}%>
+ * <li>{@link <%=genOperation.getGenClass().getQualifiedInterfaceName()%>#<%=genOperation.getName()%>(<%=genOperation.getParameterTypes(", ")%>) <em><%=genOperation.getFormattedName()%></em>}</li>
+ <%}%>
+ <% if (!first) {%>
+ * </ul>
+ * </p>
+ <%}%>
+<%}%>
+ * @generated
+ */
+public<%if (genClass.isAbstract()) {%> abstract<%}%> class <%=genClass.getTestCaseClassName()%> extends <%=genClass.isModelRoot() ? genModel.getImportedName("junit.framework.TestCase") : genClass.getClassExtendsGenClass().getImportedTestCaseClassName()%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+<%}%>
+<%if (genModel.getDriverNumber() != null) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> mofDriverNumber = "<%=genModel.getDriverNumber()%>";<%=genModel.getNonNLS()%>
+<%}%>
+<%if (genClass.isModelRoot()) {%>
+
+ /**
+ * The fixture for this <%=genClass.getFormattedName()%> test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected <%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%> fixture = null;
+<%}%>
+<%if (!genClass.isAbstract()) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static void main(String[] args)
+ {
+ <%=genModel.getImportedName("junit.textui.TestRunner")%>.run(<%=genClass.getTestCaseClassName()%>.class);
+ }
+<%}%>
+
+ /**
+ * Constructs a new <%=genClass.getFormattedName()%> test case with the given name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genClass.getTestCaseClassName()%>(String name)
+ {
+ super(name);
+ }
+<%if (genClass.isModelRoot()) {%>
+
+ /**
+ * Sets the fixture for this <%=genClass.getFormattedName()%> test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void setFixture(<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%> fixture)
+ {
+ this.fixture = fixture;
+ }
+<%}%>
+
+ /**
+ * Returns the fixture for this <%=genClass.getFormattedName()%> test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+<%if (!genClass.isModelRoot() && genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ <%if (genModel.useGenerics()) {%>protected<%} else {%>private<%}%> <%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%> getFixture()
+ {
+<%if (genClass.isModelRoot()) {%>
+ return fixture;
+<%} else {%>
+ return (<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)fixture;
+<%}%>
+ }
+<%if (!genClass.isAbstract()) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see junit.framework.TestCase#setUp()
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+<%if (genModel.useGenerics() && genClass.isMapEntry()) {%>
+ @SuppressWarnings("unchecked")
+<%}%>
+ protected void setUp() throws Exception
+ {
+ <%if (genClass.isMapEntry()) {%>
+ setFixture((<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)<%=genPackage.getQualifiedEFactoryInternalInstanceAccessor()%>.create(<%=genClass.getQualifiedClassifierAccessor()%>));
+ <%} else {%>
+ setFixture(<%=genPackage.getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=genClass.getName()%>());
+ <%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see junit.framework.TestCase#tearDown()
+ * @generated
+ */
+<%if (genModel.useClassOverrideAnnotation()) {%>
+ @Override
+<%}%>
+ protected void tearDown() throws Exception
+ {
+ setFixture(null);
+ }
+<%}%>
+<%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/implementedGenFeature.override.javajetinc%>
+<%}%>
+<%for (GenOperation genOperation : genClass.getImplementedGenOperations()) {%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel"%><%//TestCase/implementedGenOperation.override.javajetinc%>
+<%}%>
+
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.insert" args="genClass:genClass,genPackage:genPackage,genModel:genModel"%>
+} //<%=genClass.getTestCaseClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Sx2-GGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Sx2-GGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..671872d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Sx2-GGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenClass genClass = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._-uRqJHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._-uRqJHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..e5fc461
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._-uRqJHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+canGenerate = canGenerate && (!genModel.sameModelTestsProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._1BR8KWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._1BR8KWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..7d63b7a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._1BR8KWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCsjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCsjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCsjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCszG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCszG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCszG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCtTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCtTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCtTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCtzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCtzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..b98027e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCtzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getTestsProjectDirectory() + "/plugin.properties";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCuTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCuTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d4ad53c
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCuTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,18 @@
+
+<%
+/**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument;%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%>
+
+pluginName = <%=genModel.getModelName()%> Tests
+providerName = www.example.org
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._SxkDKGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._SxkDKGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._SxkDKGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._-7Y5FHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._-7Y5FHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..92700a9
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._-7Y5FHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+canGenerate = canGenerate && (genModel.hasTestSuiteClass());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._1BbtKWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._1BbtKWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..7d63b7a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._1BbtKWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fcjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fcjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fcjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fczG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fczG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fczG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fdTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fdTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fdTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fdzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fdzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..4ef1855
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fdzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPath = genModel.getTestsDirectory();
+packageName = genModel.getTestSuitePackageName();
+className = genModel.getTestSuiteClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6feTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6feTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..c5a2191
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6feTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,75 @@
+
+<%
+/**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genModel.getTestSuitePackageName()%>;
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- begin-user-doc -->
+ * A test suite for the '<em><b><%=genModel.getModelName()%></b></em>' model.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genModel.getTestSuiteClassName()%> extends <%=genModel.getImportedName("junit.framework.TestSuite")%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+<%}%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static void main(String[] args)
+ {
+ <%=genModel.getImportedName("junit.textui.TestRunner")%>.run(suite());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static <%=genModel.getImportedName("junit.framework.Test")%> suite()
+ {
+ <%=genModel.getImportedName("junit.framework.TestSuite")%> suite = new <%=genModel.getTestSuiteClassName()%>("<%=genModel.getModelName()%> Tests");<%=genModel.getNonNLS()%>
+<%for (GenPackage genPackage : genModel.getAllGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.hasTests()) {%>
+ suite.addTest(<%=genModel.getImportedName(genPackage.getImportedTestSuiteClassName())%>.suite());
+ <%}%>
+<%}%>
+ return suite;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genModel.getTestSuiteClassName()%>(String name)
+ {
+ super(name);
+ }
+
+} //<%=genModel.getTestSuiteClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._SyAvGGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._SyAvGGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._SyAvGGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._-0r0JHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._-0r0JHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..41ab56a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._-0r0JHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.isGenerateExampleClass());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._1Bk3GWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._1Bk3GWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..7d63b7a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._1Bk3GWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqealTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqealTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqealTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqealzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqealzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..6faeced
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqealzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getTestsDirectory();
+packageName = genPackage.getTestsPackageName();
+className = genPackage.getExampleClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeamTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeamTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..b5eb1c1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeamTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,201 @@
+
+<%
+/**
+ * Copyright (c) 2005-2007 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel = genPackage.getGenModel();%>
+<%
+String _System = genModel.getImportedName("java.lang.System");
+String _String = genModel.getImportedName("java.lang.String");
+String _RuntimeException = genModel.getImportedName("java.lang.RuntimeException");
+String _File = genModel.getImportedName("java.io.File");
+String _Iterator = null;
+if (!genModel.useGenerics()) {
+ _Iterator = genModel.getImportedName("java.util.Iterator");
+}
+String _Diagnostic = genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic");
+String _URI = genModel.getImportedName("org.eclipse.emf.common.util.URI");
+String _EObject = genModel.getImportedName("org.eclipse.emf.ecore.EObject");
+String _Diagnostician = genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician");
+String _Resource = genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource");
+String _ResourceSet = genModel.getImportedName("org.eclipse.emf.ecore.resource.ResourceSet");
+String _ResourceSetImpl = genModel.getImportedName("org.eclipse.emf.ecore.resource.impl.ResourceSetImpl");
+%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getTestsPackageName()%>;
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- begin-user-doc -->
+ * A sample utility for the '<em><b><%=genPackage.getPackageName()%></b></em>' package.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genPackage.getExampleClassName()%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=_String%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * Load all the argument file paths or URIs as instances of the model.
+ * <!-- end-user-doc -->
+ * @param args the file paths or URIs.
+ * @generated
+ */
+ public static void main(String[] args)
+ {
+ // Create a resource set to hold the resources.
+ //
+ <%=_ResourceSet%> resourceSet = new <%=_ResourceSetImpl%>();
+
+<%if (genPackage.isContentType()) {%>
+ // Register the appropriate resource factory to handle the content type.
+ //
+ resourceSet.getResourceFactoryRegistry().getContentTypeToFactoryMap().put
+ (<%=genPackage.getImportedPackageInterfaceName()%>.eCONTENT_TYPE,
+ new <%=genModel.getImportedName(genPackage.getQualifiedEffectiveResourceFactoryClassName())%>());
+
+ // Register the appropriate content handler for all file extensions and any element from the package's namespace.
+ //
+ resourceSet.getURIConverter().getContentHandlers().add
+ (new <%=genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl")%>(<%=genPackage.getImportedPackageInterfaceName()%>.eCONTENT_TYPE, null, null, <%if (genPackage.hasTargetNamespace()) {%><%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI<%} else {%>(<%=_String%>)null<%}%>, null));
+<%} else {%>
+ // Register the appropriate resource factory to handle all file extensions.
+ //
+ resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put
+ (Resource.Factory.Registry.DEFAULT_EXTENSION,
+ new <%=genModel.getImportedName(genPackage.getQualifiedEffectiveResourceFactoryClassName())%>());
+<%}%>
+
+ // Register the package to ensure it is available during loading.
+ //
+ resourceSet.getPackageRegistry().put
+ (<%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI,
+ <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE);
+
+ // If there are no arguments, emit an appropriate usage message.
+ //
+ if (args.length == 0)
+ {
+<%if (genPackage.getRootClass() != null) { GenClass rootClass = genPackage.getRootClass();%>
+ System.out.println("Enter a list of file paths or URIs that have content like this:");<%=genModel.getNonNLS()%>
+ try
+ {
+ <%if (genPackage.isContentType()) {%>
+ <%=_Resource%> resource = resourceSet.createResource(<%=_URI%>.createURI("http:///My.<%=genPackage.getFileExtension()%>"), <%=genPackage.getImportedPackageInterfaceName()%>.eCONTENT_TYPE);<%=genModel.getNonNLS()%>
+ <%} else {%>
+ <%=_Resource%> resource = resourceSet.createResource(<%=_URI%>.createURI("http:///My.<%=genPackage.getFileExtension()%>"));<%=genModel.getNonNLS()%>
+ <%}%>
+ <%if (genPackage.getRootFeature() != null) { GenFeature rootFeature = genPackage.getRootFeature(); GenClass documentRoot = rootFeature.getGenClass();%>
+ <%=documentRoot.getImportedInterfaceName()%> documentRoot = <%=genPackage.getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=documentRoot.getName()%>();
+ <%=rootClass.getImportedInterfaceName()%> root = <%=rootClass.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=rootClass.getName()%>();
+ <%if (documentRoot.isDynamic()) {%>
+ documentRoot.eSet(<%=rootFeature.getQualifiedFeatureAccessor()%>, root);
+ <%} else {%>
+ documentRoot.set<%=rootFeature.getCapName()%>(root);
+ <%}%>
+ resource.getContents().add(<%if (!documentRoot.isEObjectExtension()){%>(<%=_EObject%>)<%}%>documentRoot);
+ <%} else {%>
+ <%=rootClass.getImportedInterfaceName()%><%=rootClass.getInterfaceWildTypeArguments()%> root = <%=rootClass.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor()%>.create<%=rootClass.getName()%>();
+ resource.getContents().add(<%if (!rootClass.isEObjectExtension()){%>(<%=_EObject%>)<%}%>root);
+ <%}%>
+ resource.save(<%=_System%>.out, null);
+ }
+ catch (<%=genModel.getImportedName("java.io.IOException")%> exception)
+ {
+ exception.printStackTrace();
+ }
+<%} else {%>
+ System.out.println("Enter a list of file paths or URIs");
+<%}%>
+ }
+ else
+ {
+ // Iterate over all the arguments.
+ //
+ for (int i = 0; i < args.length; ++i)
+ {
+ // Construct the URI for the instance file.
+ // The argument is treated as a file path only if it denotes an existing file.
+ // Otherwise, it's directly treated as a URL.
+ //
+ <%=_File%> file = new <%=_File%>(args[i]);
+ <%=_URI%> uri = file.isFile() ? <%=_URI%>.createFileURI(file.getAbsolutePath()): URI.createURI(args[i]);
+
+ try
+ {
+ // Demand load resource for this file.
+ //
+ <%=_Resource%> resource = resourceSet.getResource(uri, true);
+ System.out.println("Loaded " + uri);<%=genModel.getNonNLS()%>
+
+ // Validate the contents of the loaded resource.
+ //
+<%if (genModel.useGenerics()) {%>
+ for (<%=_EObject%> eObject : resource.getContents())
+<%} else {%>
+ for (<%=_Iterator%> j = resource.getContents().iterator(); j.hasNext(); )
+<%}%>
+ {
+<%if (!genModel.useGenerics()) {%>
+ <%=_EObject%> eObject = (<%=_EObject%>)j.next();
+<%}%>
+ <%=_Diagnostic%> diagnostic = <%=_Diagnostician%>.INSTANCE.validate(eObject);
+ if (diagnostic.getSeverity() != Diagnostic.OK)
+ {
+ printDiagnostic(diagnostic, "");<%=genModel.getNonNLS()%>
+ }
+ }
+ }
+ catch (<%=_RuntimeException%> exception)
+ {
+ System.out.println("Problem loading " + uri);<%=genModel.getNonNLS()%>
+ exception.printStackTrace();
+ }
+ }
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * Prints diagnostics with indentation.
+ * <!-- end-user-doc -->
+ * @param diagnostic the diagnostic to print.
+ * @param indent the indentation for printing.
+ * @generated
+ */
+ protected static void printDiagnostic(Diagnostic diagnostic, String indent)
+ {
+ System.out.print(indent);
+ System.out.println(diagnostic.getMessage());
+<%if (genModel.useGenerics()) {%>
+ for (Diagnostic child : diagnostic.getChildren())
+ {
+ printDiagnostic(child, indent + " ");<%=genModel.getNonNLS()%>
+ }
+<%} else {%>
+ for (Iterator i = diagnostic.getChildren().iterator(); i.hasNext(); )
+ {
+ printDiagnostic((Diagnostic)i.next(), indent + " ");<%=genModel.getNonNLS()%>
+ }
+<%}%>
+ }
+
+} //<%=genPackage.getExampleClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._Sxt0KGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._Sxt0KGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._Sxt0KGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._-5ATdHLYEd-09ds9dfYpFw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._-5ATdHLYEd-09ds9dfYpFw.pt
new file mode 100644
index 0000000..cca9836
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._-5ATdHLYEd-09ds9dfYpFw.pt
@@ -0,0 +1,5 @@
+GenPackage genPackage = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+canGenerate = canGenerate && (genPackage.hasClassifiers());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._1B4ZGWKMEd-_wNQtGaQ-lw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._1B4ZGWKMEd-_wNQtGaQ-lw.pt
new file mode 100644
index 0000000..7d63b7a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._1B4ZGWKMEd-_wNQtGaQ-lw.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBcjG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBcjG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBcjG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBczG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBczG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBczG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBdTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBdTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBdTG0Ed-kc8dEZsdm2w.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBdzG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBdzG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..de41b71
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBdzG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,6 @@
+<%
+GenPackage genPackage = parameter;
+targetPath = genPackage.getGenModel().getTestsDirectory();
+packageName = genPackage.getTestsPackageName();
+className = genPackage.getTestSuiteClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBeTG0Ed-kc8dEZsdm2w.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBeTG0Ed-kc8dEZsdm2w.pt
new file mode 100644
index 0000000..5eb112f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBeTG0Ed-kc8dEZsdm2w.pt
@@ -0,0 +1,75 @@
+
+<%
+/**
+ * Copyright (c) 2005 IBM Corporation 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:
+ * IBM - Initial API and implementation
+ */
+%>
+<%GenPackage genPackage = (GenPackage)argument; GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genPackage.getTestsPackageName()%>;
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- begin-user-doc -->
+ * A test suite for the '<em><b><%=genPackage.getPackageName()%></b></em>' package.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genPackage.getTestSuiteClassName()%> extends <%=genModel.getImportedName("junit.framework.TestSuite")%>
+{
+<%if (genModel.hasCopyrightField()) {%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+<%}%>
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static void main(String[] args)
+ {
+ <%=genModel.getImportedName("junit.textui.TestRunner")%>.run(suite());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static <%=genModel.getImportedName("junit.framework.Test")%> suite()
+ {
+ <%=genModel.getImportedName("junit.framework.TestSuite")%> suite = new <%=genPackage.getTestSuiteClassName()%>("<%=genPackage.getPackageName()%> Tests");<%=genModel.getNonNLS()%>
+<%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (!genClass.isExternalInterface() && !genClass.isAbstract() && genClass.hasTests()) {%>
+ suite.addTestSuite(<%=genClass.getImportedTestCaseClassName()%>.class);
+ <%}%>
+<%}%>
+ return suite;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public <%=genPackage.getTestSuiteClassName()%>(String name)
+ {
+ super(name);
+ }
+
+} //<%=genPackage.getTestSuiteClassName()%>
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._SyKgGGKPEd-2a5uccsiuZA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._SyKgGGKPEd-2a5uccsiuZA.pt
new file mode 100644
index 0000000..6c7369f
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._SyKgGGKPEd-2a5uccsiuZA.pt
@@ -0,0 +1,4 @@
+<%
+GenPackage genPackage = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxo37rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxo37rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxo37rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxon7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxon7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxon7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxpH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxpH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..7eeec39
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxpH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT && !genModel.sameModelEditProject() && !genModel.sameModelEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxpn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxpn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxpn7rEd-W9_ZFSEQEPg.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..f6e0339
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getModelDirectory() + "/" + genModel.getQualifiedModelModuleName().replace(".","/")+ ".gwt.xml";
+overwrite = false;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqX7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqX7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqX7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..24cd6fc
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqn7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxrH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxrH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..f4ef199
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxrH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,27 @@
+
+<%
+/**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd">
+
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+<module>
+<%for (String inherits : genModel.getModelModuleInherits()) {%>
+ <inherits name="<%=inherits%>" />
+<%}%>
+<%for (String source : genModel.getModelModuleSources()) {%>
+ <source path="<%=source%>"/>
+<%}%>
+</module>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..731ee31
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditDirectory() + "/" + genModel.getQualifiedEditModuleName().replace(".","/")+ ".gwt.xml";
+overwrite = false;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYX7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYX7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYX7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYn7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YZH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YZH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..6e7ffb0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YZH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,27 @@
+
+<%
+/**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd">
+
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+<module>
+<%for (String inherits : genModel.getEditModuleInherits()) {%>
+ <inherits name="<%=inherits%>" />
+<%}%>
+<%for (String source : genModel.getEditModuleSources()) {%>
+ <source path="<%=source%>"/>
+<%}%>
+</module>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOc37rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOc37rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOc37rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOcn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOcn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOcn7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOdH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOdH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..b4876d2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOdH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT && !genModel.sameModelEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOdn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOdn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOdn7rEd-W9_ZFSEQEPg.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DE37rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DE37rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DE37rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DEn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DEn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DEn7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DFH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DFH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..78d6cb1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DFH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) && (!genModel.sameEditEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DFn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DFn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DFn7rEd-W9_ZFSEQEPg.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..8f73337
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPath = genModel.getEditPluginDirectory();
+packageName = genModel.getEditPluginPackageName();
+className = genModel.getEditPluginClassName() + "Properties";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGX7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGX7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGX7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGn7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DHH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DHH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..2181900
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DHH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,186 @@
+
+<%
+/**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genModel.getEditPluginPackageName()%>;
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public interface <%=genModel.getEditPluginClassName()%>Properties extends <%=genModel.getImportedName("com.google.gwt.i18n.client.Messages")%>
+{
+<%if (genModel.isCreationCommands()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_CreateChild_text")
+ @DefaultMessage("{0}")
+ String createChildText(Object type);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_CreateChild_text2")
+ @DefaultMessage("{1} <%if (genModel.isCreationSubmenus()) {%>| <%}%>{0}")
+ String createChildText2(Object type, Object feature);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_CreateChild_text3")
+ @DefaultMessage("{0}")
+ String createChildText3(Object feature);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_CreateChild_tooltip")
+ @DefaultMessage("Create New {0} Under {1} Feature")
+ String createChildTooltip(Object type, Object feature);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_CreateChild_description")
+ @DefaultMessage("Create a new child of type {0} for the {1} feature of the selected {2}.")
+ String createChildDescripition(Object type, Object feature, Object selection);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_CreateSibling_description")
+ @DefaultMessage("Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.")
+ String createSiblingDescription(Object type, Object feature, Object selection);
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_PropertyDescriptor_description")
+ @DefaultMessage("The {0} of the {1}")
+ String propertyDescriptorDescription(Object feature, Object type);
+
+<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) { %>
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_<%=genClass.getName()%>_type")
+ @DefaultMessage("<%=genClass.getFormattedName()%>")
+ String <%=genClass.getUncapName()%>Type();
+
+ <%}%>
+ <%}%>
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_Unknown_type")
+ @DefaultMessage("Object")
+ String unknownType();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_Unknown_datatype")
+ @DefaultMessage("Value")
+ String unknownDatatype();
+
+<%for (GenFeature genFeature : genModel.getFilteredAllGenFeatures()) { String description = genFeature.getPropertyDescription();%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_feature")
+ @DefaultMessage("<%=genFeature.getFormattedName()%>")
+ String <%=genFeature.getGenClass().getUncapName()%>_<%=genFeature.getCapName()%>Feature();
+
+ <%if (description != null && description.length() > 0) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_<%=genFeature.getGenClass().getName()%>_<%=genFeature.getName()%>_description")
+ @DefaultMessage("<%=description%>")
+ String <%=genFeature.getGenClass().getUncapName()%>_<%=genFeature.getCapName()%>Description();
+
+ <%}%>
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_Unknown_feature")
+ @DefaultMessage("Unspecified")
+ String unknownFeature();
+
+<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ <%if (genPackage.getGenModel() == genModel || !genPackage.getGenModel().hasEditSupport()) {%>
+ <%for (GenEnum genEnum : genPackage.getGenEnums()) {%>
+ <%for (GenEnumLiteral genEnumLiteral : genEnum.getGenEnumLiterals()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("_UI_<%=genEnum.getName()%>_<%=genEnumLiteral.getName()%>_literal")
+ @DefaultMessage("<%=genEnumLiteral.getLiteral()%>")
+ String <%=genEnum.getSafeUncapName()%>_<%=genEnumLiteral.getName()%>Literal();
+
+ <%}%>
+ <%}%>
+ <%}%>
+<%}%>
+<%for (String category : genModel.getPropertyCategories()) {%>
+<%=genModel.getPropertyCategoryKey(category)%> = <%=category%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Key("<%=genModel.getPropertyCategoryKey(category)%>")
+ @DefaultMessage("<%=category%>")
+ String <%=genModel.getPropertyCategoryKey(category)%>();
+
+<%}%>
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpII37rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpII37rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpII37rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIIn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIIn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIIn7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIJH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIJH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..78d6cb1
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIJH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) && (!genModel.sameEditEditorProject());
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIJn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIJn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIJn7rEd-W9_ZFSEQEPg.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..133ed9a
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPath = genModel.getEditPluginDirectory();
+packageName = genModel.getEditPluginPackageName();
+className = genModel.getEditPluginClassName() + "Images";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKX7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKX7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKX7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKn7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKn7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..a3911c8
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKn7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpILH7rEd-W9_ZFSEQEPg.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpILH7rEd-W9_ZFSEQEPg.pt
new file mode 100644
index 0000000..cb1a7be
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpILH7rEd-W9_ZFSEQEPg.pt
@@ -0,0 +1,42 @@
+
+<%
+/**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genModel.getEditPluginPackageName()%>;
+
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public interface <%=genModel.getEditPluginClassName()%>Images extends <%=genModel.getImportedName("com.google.gwt.resources.client.ClientBundle")%>
+{
+<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ <%for (GenClass genClass : genPackage.getGenClasses()) {%>
+ <%if (genClass.isImage()) { String image = genClass.getItemIconFileName(); image = image.substring(image.lastIndexOf("/icons/") + 1); %>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Source("<%=image%>")
+ <%=genModel.getImportedName("com.google.gwt.resources.client.ImageResource")%> <%=genClass.getItemIconAccessorName()%>();
+
+ <%}%>
+ <%}%>
+<%}%>
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-BmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-BmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..f7d1c04
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-BmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPath = genModel.getEditorPluginDirectory();
+packageName = genModel.getEditorPluginPackageName();
+className = genModel.getEditorEntryPointClassName();
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-RmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-RmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-RmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-hmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-hmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-hmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48hmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48hmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48hmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48xmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48xmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48xmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b49BmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b49BmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..c949aa2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b49BmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b49hmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b49hmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b49hmtEeCMbfVQrOfmzQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4_BmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4_BmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..0ee4aa0
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4_BmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,86 @@
+
+<%
+/**
+ * Copyright (c) 20010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
+package <%=genModel.getEditorPluginPackageName()%>;
+
+import org.eclipse.emf.edit.ui.EditorEntryPoint;
+<%genModel.markImportLocation(stringBuffer);%>
+
+/**
+ * This is the entry point.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class <%=genModel.getEditorEntryPointClassName()%> extends EditorEntryPoint
+{
+<%if (genModel.hasCopyrightField()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final <%=genModel.getImportedName("java.lang.String")%> copyright = <%=genModel.getCopyrightFieldLiteral()%>;<%=genModel.getNonNLS()%>
+
+<%}%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void onModuleLoad()
+ {
+ super.onModuleLoad();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void registerPackages(<%=genModel.getImportedName("org.eclipse.emf.ecore.EPackage")%>.Registry packageRegistry)
+ {
+<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ packageRegistry.put(<%=genPackage.getImportedPackageInterfaceName()%>.eNS_URI, <%=genPackage.getImportedPackageInterfaceName()%>.eINSTANCE);
+<%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void configureItemProviderAdapterFactories(<%=genModel.getImportedName("org.eclipse.emf.edit.provider.ComposedAdapterFactory")%> adapterFactory)
+ {
+<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%>
+ adapterFactory.addAdapterFactory(new <%=genPackage.getImportedItemProviderAdapterFactoryClassName()%>());
+<%}%>
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected String getApplicationTitle()
+ {
+ return "<%=genModel.getModelName()%> Application";<%=genModel.getNonNLS()%>
+ }
+}
+<%genModel.emitSortedImports();%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZhmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZhmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZhmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZxmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZxmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZxmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8baBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8baBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..c949aa2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8baBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bahmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bahmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bahmtEeCMbfVQrOfmzQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..6789e1e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditorProjectDirectory() + "/war/WEB-INF/appengine-web.xml";
+overwrite = false;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbRmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbRmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbRmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbhmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbhmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbhmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bcBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bcBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..30a5cd5
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bcBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,20 @@
+
+<%
+/**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<?xml version="1.0" encoding="UTF-8"?>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
+ <application><%=genModel.getModelName().toLowerCase().replaceAll("\\s", "-")%>-editor</application>
+ <version>1</version>
+</appengine-web-app>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQhmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQhmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQhmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQxmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQxmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQxmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zRBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zRBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..c949aa2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zRBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zRhmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zRhmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zRhmtEeCMbfVQrOfmzQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..dae6503
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditorProjectDirectory() + "/war/" + genModel.getEditorHomePageName()+ ".html";
+overwrite = false;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSRmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSRmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSRmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zShmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zShmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zShmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zTBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zTBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..2f0e361
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zTBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,82 @@
+
+<%
+/**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<?xml version="1.0" encoding="UTF-8"?>
+<!doctype html>
+<html style="height : 100%">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+
+ <!-- -->
+ <!-- Any title is fine -->
+ <!-- -->
+ <title><%=genModel.getModelName()%> Application</title>
+
+ <style TYPE="text/css">
+ <!--
+ .ToolBar
+ {
+ background-color: #d0e4f6;
+ }
+ .ToolBarButton
+ {
+ float: left;
+ margin-top: 5px;
+ }
+ .ToolBarButtonLeftMargin
+ {
+ float: left;
+ margin-left: 10px;
+ margin-top: 5px;
+ }
+ .Header
+ {
+ background-color: #628cd5;
+ color: #FFFFFF;
+ float: left;
+ font-weight: bold;
+ font-size: xx-large;
+ }
+ .HeaderLabel
+ {
+ float: left;
+ margin-left: 10px;
+ }
+ .PropertiesTitle
+ {
+ background-color: #628cd5;
+ color: #FFFFFF;
+ font-weight: bold;
+ font-size: large;
+ }
+ .PropertiesTitleLabel
+ {
+ float: left;
+ margin-left: 5px;
+ }
+ -->
+ </style>
+
+ <!-- -->
+ <!-- This script loads your compiled module. -->
+ <!-- If you add any GWT meta tags, they must -->
+ <!-- be added before this line. -->
+ <script type="text/javascript" language="javascript" src="<%=genModel.getQualifiedEditorModuleName()%>/<%=genModel.getQualifiedEditorModuleName()%>.nocache.js"></script>
+ </head>
+
+ <body style="height : 100%">
+ <div id="main" style="height : 100%">
+ </div>
+ </body>
+</html>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAhmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAhmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAhmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAxmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAxmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAxmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQBBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQBBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..c949aa2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQBBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQBhmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQBhmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQBhmtEeCMbfVQrOfmzQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..f004d4e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditorDirectory() + "/" + genModel.getQualifiedEditorModuleName().replace(".","/")+ ".gwt.xml";
+overwrite = false;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCRmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCRmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCRmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQChmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQChmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQChmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQDBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQDBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..e8148eb
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQDBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,31 @@
+
+<%
+/**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd">
+
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+
+<module>
+ <inherits name='com.google.gwt.user.theme.standard.Standard'/>
+<%for (String inherits : genModel.getEditorModuleInherits()) {%>
+ <inherits name="<%=inherits%>" />
+<%}%>
+
+ <entry-point class='<%=genModel.getQualifiedEditorEntryPointClassName()%>'/>
+
+<%for (String source : genModel.getEditorModuleSources()) {%>
+ <source path="<%=source%>"/>
+<%}%>
+</module>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_khmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_khmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_khmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_kxmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_kxmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_kxmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_lBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_lBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..c949aa2
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_lBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,5 @@
+GenModel genModel = parameter;
+genModel = parameter.getGenModel();
+boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
+return canGenerate;
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_lhmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_lhmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_lhmtEeCMbfVQrOfmzQ.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..f7259b7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,6 @@
+<%
+GenModel genModel = parameter;
+targetPathName = genModel.getEditorProjectDirectory() + "/war/WEB-INF/web.xml";
+overwrite = false;
+encoding = "UTF-8";
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mRmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mRmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..76ca0ef
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mRmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,4 @@
+<%
+GenModel genModel = parameter;
+argument = parameter;
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mhmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mhmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..da5fad6
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mhmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,3 @@
+<%
+new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+%>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_nBmtEeCMbfVQrOfmzQ.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_nBmtEeCMbfVQrOfmzQ.pt
new file mode 100644
index 0000000..f4aee72
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_nBmtEeCMbfVQrOfmzQ.pt
@@ -0,0 +1,32 @@
+
+<%
+/**
+ * Copyright (c) 2010 Ed Merks 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:
+ * Ed Merks - Initial API and implementation
+ */
+%>
+<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderXml" args="parameter:argument"%>
+<web-app>
+ <servlet>
+ <servlet-name>uriServlet</servlet-name>
+ <servlet-class>org.eclipse.emf.server.ecore.resource.URIServiceImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>uriServlet</servlet-name>
+ <url-pattern>/<%=genModel.getQualifiedEditorModuleName()%>/uriService</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file><%=genModel.getEditorHomePageName()%>.html</welcome-file>
+ </welcome-file-list>
+</web-app>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp07M-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp07M-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp07M-EeKd56X4hcZPSw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp0rM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp0rM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp0rM-EeKd56X4hcZPSw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1LM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1LM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1LM-EeKd56X4hcZPSw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1rM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1rM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1rM-EeKd56X4hcZPSw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp6LM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp6LM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..9607cf7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp6LM-EeKd56X4hcZPSw.pt
@@ -0,0 +1,103 @@
+
+
+ <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String arrayElementType = genFeature.getArrayItemType(genClass);%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * This is specialized for the more specific element type known in this context.
+ * @generated
+ */
+ <%if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ <%if (classExtendsAllGenFeatures.contains(genFeature)) {%>
+ @Override
+ <%}%>
+ public <%=arrayElementType%>[] <%=genFeature.getGetArrayAccessor()%>()
+ {
+ <%if (genFeature.isVolatile()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>();
+ if (list.isEmpty()) return <%=genFeature.getUpperName()%>_EEMPTY_ARRAY;
+ <%} else {%>
+ if (<%=genFeature.getSafeName()%> == null || <%=genFeature.getSafeName()%>.isEmpty()) return <%=genFeature.getUpperName()%>_EEMPTY_ARRAY;
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getSafeName()%>;
+ <%}%>
+ list.shrink();
+ return (<%=arrayElementType%>[])list.data();
+ }
+
+ <%}%>
+ <%if (genFeature.isGet() && genFeature.isListType()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * This is specialized for the more specific element type known in this context.
+ * @generated
+ */
+<%if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ <%if (genFeature.isListType() && genModel.isVirtualDelegation()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ <%if (classExtendsAllGenFeatures.contains(genFeature)) {%>
+ @Override
+ <%}%>
+ public <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%><%if (genClass.hasCollidingGetAccessorOperation(genFeature)) {%>_<%}%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> == null)
+ {
+ <%if (genModel.isVirtualDelegation()) {%>
+ eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>);
+ <%} else {%>
+ <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>;
+ <%}%>
+ }
+ return <%=genFeature.getSafeName()%><%=genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : ""%>;
+ }
+
+ <%}%>
+ <%if (!genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * This is specialized for the more specific type known in this context.
+ * @generated
+ */
+<%if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ <%if (classExtendsAllGenFeatures.contains(genFeature)) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getImportedInternalType(genClass)%> new<%=genFeature.getCapName()%>, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ return super.basicSet<%=genFeature.getAccessorName()%>(new<%=genFeature.getCapName()%>, msgs);
+ }
+
+ <%}%>
+ <%if (genFeature.isSet() && !(!genModel.isReflectiveDelegation() && genFeature.isBasicSet())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * This is specialized for the more specific type known in this context.
+ * @generated
+ */
+<%if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%{ GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);%>
+ <%if (classExtendsAllGenFeatures.contains(genFeature)) {%>
+ @Override
+ <%}%>
+ public void set<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingSetAccessorOperation(genFeature)) {%>_<%}%>(<%=genFeature.getImportedType(genClass)%> <%=setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()%>)
+ {
+ super.set<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingSetAccessorOperation(genFeature)) {%>_<%}%>(<%=setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()%>);
+ }
+
+<%}%>
+ <%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcoc7M-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcoc7M-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcoc7M-EeKd56X4hcZPSw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcod7M-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcod7M-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcod7M-EeKd56X4hcZPSw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodLM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodLM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodLM-EeKd56X4hcZPSw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodbM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodbM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodbM-EeKd56X4hcZPSw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcof7M-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcof7M-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcof7M-EeKd56X4hcZPSw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQ7M-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQ7M-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQ7M-EeKd56X4hcZPSw.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQrM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQrM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQrM-EeKd56X4hcZPSw.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRLM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRLM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRLM-EeKd56X4hcZPSw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRrM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRrM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRrM-EeKd56X4hcZPSw.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysWLM-EeKd56X4hcZPSw.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysWLM-EeKd56X4hcZPSw.pt
new file mode 100644
index 0000000..e62dd5e
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysWLM-EeKd56X4hcZPSw.pt
@@ -0,0 +1,103 @@
+
+
+ <%if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { String arrayElementType = genFeature.getArrayItemType(genClass);%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * This is specialized for the more specific element type known in this context.
+ * @generated
+ */
+ <%if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ <%if (classExtendsAllGenFeatures.contains(genFeature)) {%>
+ @Override
+ <%}%>
+ public <%=arrayElementType%>[] <%=genFeature.getGetArrayAccessor()%>()
+ {
+ <%if (genFeature.isVolatile()) {%>
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getGetAccessor()%>();
+ if (list.isEmpty()) return <%=genFeature.getUpperName()%>_EEMPTY_ARRAY;
+ <%} else {%>
+ if (<%=genFeature.getSafeName()%> == null || <%=genFeature.getSafeName()%>.isEmpty()) return <%=genFeature.getUpperName()%>_EEMPTY_ARRAY;
+ <%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%> list = (<%=genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")%><%=genFeature.getListTemplateArguments(genClass)%>)<%=genFeature.getSafeName()%>;
+ <%}%>
+ list.shrink();
+ return (<%=arrayElementType%>[])list.data();
+ }
+
+ <%}%>
+ <%if (genFeature.isGet() && genFeature.isListType()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * This is specialized for the more specific element type known in this context.
+ * @generated
+ */
+<%if (isJDK50) { //Class/getGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ <%if (genFeature.isListType() && genModel.isVirtualDelegation()) {%>
+ @SuppressWarnings("unchecked")
+ <%}%>
+ <%if (classExtendsAllGenFeatures.contains(genFeature)) {%>
+ @Override
+ <%}%>
+ public <%=genFeature.getImportedType(genClass)%> <%=genFeature.getGetAccessor()%><%if (genClass.hasCollidingGetAccessorOperation(genFeature)) {%>_<%}%>()
+ {
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+ <%if (genModel.isVirtualDelegation()) {%>
+ <%=genFeature.getImportedType(genClass)%> <%=genFeature.getSafeName()%> = (<%=genFeature.getImportedType(genClass)%>)eVirtualGet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>);
+ <%}%>
+ if (<%=genFeature.getSafeName()%> == null)
+ {
+ <%if (genModel.isVirtualDelegation()) {%>
+ eVirtualSet(<%=genClass.getQualifiedFeatureID(genFeature)%><%=positiveOffsetCorrection%>, <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>);
+ <%} else {%>
+ <%=genFeature.getSafeName()%> = new <%=genClass.getListConstructor(genFeature)%>;
+ <%}%>
+ }
+ return <%=genFeature.getSafeName()%><%=genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : ""%>;
+ }
+
+ <%}%>
+ <%if (!genModel.isReflectiveDelegation() && genFeature.isBasicSet()) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * This is specialized for the more specific type known in this context.
+ * @generated
+ */
+<%if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+ <%if (classExtendsAllGenFeatures.contains(genFeature)) {%>
+ @Override
+ <%}%>
+ public <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> basicSet<%=genFeature.getAccessorName()%>(<%=genFeature.getImportedInternalType(genClass)%> new<%=genFeature.getCapName()%>, <%=genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")%> msgs)
+ {
+ return super.basicSet<%=genFeature.getAccessorName()%>(new<%=genFeature.getCapName()%>, msgs);
+ }
+
+ <%}%>
+ <%if (genFeature.isSet() && !(!genModel.isReflectiveDelegation() && genFeature.isBasicSet())) {%>
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * This is specialized for the more specific type known in this context.
+ * @generated
+ */
+<%if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc%>
+<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
+<%}%>
+<%{ GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature);%>
+ <%if (classExtendsAllGenFeatures.contains(genFeature)) {%>
+ @Override
+ <%}%>
+ public void set<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingSetAccessorOperation(genFeature)) {%>_<%}%>(<%=genFeature.getImportedType(genClass)%> <%=setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()%>)
+ {
+ super.set<%=genFeature.getAccessorName()%><%if (genClass.hasCollidingSetAccessorOperation(genFeature)) {%>_<%}%>(<%=setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()%>);
+ }
+
+<%}%>
+ <%}%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EM6oMEeOCpsO1cKKCxA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EM6oMEeOCpsO1cKKCxA.pt
new file mode 100644
index 0000000..d630053
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EM6oMEeOCpsO1cKKCxA.pt
@@ -0,0 +1 @@
+<%// add initialisation of the pattern variables (declaration has been already done).%>
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EMqoMEeOCpsO1cKKCxA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EMqoMEeOCpsO1cKKCxA.pt
new file mode 100644
index 0000000..1f88a8d
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EMqoMEeOCpsO1cKKCxA.pt
@@ -0,0 +1 @@
+<%@ jet package="PACKAGE" class="CLASS" imports="org.eclipse.egf.emf.pattern.base.* org.eclipse.emf.codegen.ecore.genmodel.* org.eclipse.emf.codegen.ecore.genmodel.impl.* org.eclipse.emf.codegen.ecore.genmodel.generator.* org.eclipse.emf.codegen.util.* org.eclipse.emf.ecore.util.* org.eclipse.emf.common.util.* org.eclipse.egf.common.helper.* java.util.* org.eclipse.emf.ecore.* org.eclipse.egf.model.pattern.* org.eclipse.egf.pattern.execution.* org.eclipse.egf.pattern.query.*" %>
\ No newline at end of file
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENKoMEeOCpsO1cKKCxA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENKoMEeOCpsO1cKKCxA.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENKoMEeOCpsO1cKKCxA.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENqoMEeOCpsO1cKKCxA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENqoMEeOCpsO1cKKCxA.pt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENqoMEeOCpsO1cKKCxA.pt
diff --git a/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt
new file mode 100644
index 0000000..ac53fc7
--- /dev/null
+++ b/deprecated/4.4/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt
@@ -0,0 +1,50 @@
+
+
+<%if (genClass.isMapEntry()) {%>
+ <%=genClass.getImportedInterfaceName()%><%if (genModel.useGenerics()) {%><?, ?><%}%> <%=genClass.getSafeUncapName()%> = (<%=genClass.getImportedInterfaceName()%><%if (genModel.useGenerics()) {%><?, ?><%}%>)object;
+ <%if (!genClass.getMapEntryKeyFeature().isPropertyMultiLine() && !genClass.getMapEntryValueFeature().isPropertyMultiLine()) {%>
+ return new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%>("" + <%=genClass.getSafeUncapName()%>.getKey()).append(" -> ", <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style")%>.QUALIFIER_STYLER).append("" + <%=genClass.getSafeUncapName()%>.getValue());<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ <%} else {%>
+ <%if (genClass.getMapEntryKeyFeature().isPropertyMultiLine()) {%>
+ String key = crop("" + <%=genClass.getSafeUncapName()%>.getKey());<%=genModel.getNonNLS()%>
+ <%} else {%>
+ String key = "" + <%=genClass.getSafeUncapName()%>.getKey();<%=genModel.getNonNLS()%>
+ <%}%>
+ <%if (genClass.getMapEntryValueFeature().isPropertyMultiLine()) {%>
+ String value = crop("" + <%=genClass.getSafeUncapName()%>.getValue());<%=genModel.getNonNLS()%>
+ <%} else {%>
+ String value = "" + <%=genClass.getSafeUncapName()%>.getValue();<%=genModel.getNonNLS()%>
+ <%}%>
+ return new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%>(key).append(" -> ", <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style")%>.QUALIFIER_STYLER).append(value);<%=genModel.getNonNLS()%>
+ <%}%>
+<%} else if (genClass.getLabelFeature() != null) { GenFeature labelFeature = genClass.getLabelFeature();%>
+ <%if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {%>
+ <%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%> <%=genClass.getSafeUncapName()%> = (<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object;
+ return new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%>(getString("_UI_<%=genClass.getName()%>_type"), <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style")%>.QUALIFIER_STYLER).append(" ").append(<%=labelFeature.getObjectType(genClass)%>.toString(<%=genClass.getSafeUncapName()%>.<%=genClass.getLabelFeature().getGetAccessor()%>()));<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ <%} else {%>
+ <%if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {%>
+ <%if (labelFeature.isPropertyMultiLine()) {%>
+ String label = crop(((<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object).<%=labelFeature.getGetAccessor()%>());
+ <%} else {%>
+ String label = ((<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object).<%=labelFeature.getGetAccessor()%>();
+ <%}%>
+ <%} else {%>
+ <%if (labelFeature.isSuppressedGetVisibility() || labelFeature.getGenClass().isDynamic()) {%>
+ <%=genModel.getImportedName("java.lang.Object")%> labelValue = ((<%=genModel.getImportedName("org.eclipse.emf.ecore.EObject")%>)object).eGet(<%=labelFeature.getQualifiedFeatureAccessor()%>);
+ <%} else {%>
+ <%=labelFeature.getRawImportedType()%> labelValue = ((<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object).<%=labelFeature.getGetAccessor()%>();
+ <%}%>
+ String label = labelValue == null ? null : labelValue.toString();
+ <%}%>
+ <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%> styledLabel = new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%>();
+ if (label == null || label.length() == 0)
+ {
+ styledLabel.append(getString("_UI_<%=genClass.getName()%>_type"), <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style")%>.QUALIFIER_STYLER); <%=genModel.getNonNLS()%>
+ } else {
+ styledLabel.append(getString("_UI_<%=genClass.getName()%>_type"), <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style")%>.QUALIFIER_STYLER).append(" " + label);<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ }
+ return styledLabel;
+ <%}%>
+<%} else {%>
+ return new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%>(getString("_UI_<%=genClass.getName()%>_type"));<%=genModel.getNonNLS()%>
+<%}%>
diff --git a/portfolio/org.eclipse.egf.emf.pattern/META-INF/MANIFEST.MF b/portfolio/org.eclipse.egf.emf.pattern/META-INF/MANIFEST.MF
index 4487d02..5948a0a 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/META-INF/MANIFEST.MF
+++ b/portfolio/org.eclipse.egf.emf.pattern/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.egf.emf.pattern;singleton:=true
-Bundle-Version: 1.1.0.2_10_0_qualifier
+Bundle-Version: 1.1.0.2_11_0_qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/portfolio/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore b/portfolio/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore
index e58fc21..d014b8a 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore
+++ b/portfolio/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore
@@ -6,38 +6,38 @@
<fcore:FactoryComponent xmi:id="_Pcm9sDG0Ed-kc8dEZsdm2w" name="EMF Model Pattern">
<contractContainer xmi:id="_Prg8ZDG0Ed-kc8dEZsdm2w">
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prg8ZTG0Ed-kc8dEZsdm2w"
- description="EMF Model Pattern" name="genModel" mandatory="true" invocationContracts="#_xBAwk-p3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeDomain" xmi:id="_xBAwlup3EeOL64M_eEhORw"/>
+ description="EMF Model Pattern" name="genModel" mandatory="true" invocationContracts="#_t49QI7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_t49QJrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_WRxYEFIIEd-eGOdO3WtsxA"
- description="EMF Model Pattern" name="pattern.execution.reporter" invocationContracts="#_xBAwl-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAwmup3EeOL64M_eEhORw"/>
+ description="EMF Model Pattern" name="pattern.execution.reporter" invocationContracts="#_t49QJ7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QKrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_TxwAHVkTEd-bv5aydwO2Qw"
- description="EMF Model Pattern" name="pattern.ids" invocationContracts="#_xBAwm-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternList" xmi:id="_xBAwnup3EeOL64M_eEhORw"/>
+ description="EMF Model Pattern" name="pattern.ids" invocationContracts="#_t49QK7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_t49QLrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_OVsagFHVEd-dr9AWwNwIMQ"
- description="EMF Model Pattern" name="pattern.substitutions" invocationContracts="#_xBAwn-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_xBAwoep3EeOL64M_eEhORw"/>
+ description="EMF Model Pattern" name="pattern.substitutions" invocationContracts="#_t49QL7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_t49QMbBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_RcQCMPI7Ed-Pp8S8RvVOuQ"
- description="EMF Model Pattern" name="usedGenPackages" invocationContracts="#_xBAwoup3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeGenPackages" xmi:id="_xBAwpOp3EeOL64M_eEhORw"/>
+ description="EMF Model Pattern" name="usedGenPackages" invocationContracts="#_t49QMrBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_t49QNLBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_sluXsVLLEd-ZSLMRjxSbVQ"
- description="EMF Model Pattern" name="mergeRulesURI" invocationContracts="#_xBAwpep3EeOL64M_eEhORw">
- <type xmi:type="types:TypeURI" xmi:id="_xBAwp-p3EeOL64M_eEhORw"/>
+ description="EMF Model Pattern" name="mergeRulesURI" invocationContracts="#_t49QNbBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_t49QN7BcEeSqLfQ0kalDug"/>
</contracts>
</contractContainer>
<viewpointContainer xmi:id="_Pcm9sTG0Ed-kc8dEZsdm2w">
<viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_Pcm9sjG0Ed-kc8dEZsdm2w">
<libraries xmi:id="_Pcm9szG0Ed-kc8dEZsdm2w" name="org.eclipse.egf.emf.pattern.model">
- <elements xmi:id="_Pcm9tDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ <elements xmi:id="_Pcm9tDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
name="BuildProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_Pcm9tjG0Ed-kc8dEZsdm2w" conditionMethod="#_8vBvNHLYEd-09ds9dfYpFw"
initMethod="#_Pcm9tzG0Ed-kc8dEZsdm2w" footerMethod="#_Pcm9uTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wJR3Uep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tM_iAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pcm9tjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pcm9tzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Pcm9tzG0Ed-kc8dEZsdm2w.pt"/>
@@ -48,20 +48,20 @@
<methods xmi:id="_Sq2-OGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._Sq2-OGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_06ILSWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._06ILSWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PcwusjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wJR3V-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJR3W-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tM_iB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tM_iC7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJR3Xep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tM_iDbBcEeSqLfQ0kalDug"
called="#_PcwusjG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wJR3Xup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJR3X-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tM_iDrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tM_iD7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PdDpoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/manifest.mfjet"
"
+ <elements xmi:id="_PdDpoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/manifest.mfjet"
"
name="ManifestMF" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PdDpojG0Ed-kc8dEZsdm2w" conditionMethod="#_8qZt5HLYEd-09ds9dfYpFw"
initMethod="#_PdDpozG0Ed-kc8dEZsdm2w" footerMethod="#_PdDppTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wJboUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tMi2EbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PdDpojG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpojG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PdDpozG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpozG0Ed-kc8dEZsdm2w.pt"/>
@@ -72,20 +72,20 @@
<methods xmi:id="_SrAvOGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._SrAvOGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_05rfVmKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._05rfVmKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PdDpqTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wJboV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJboW-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tMi2F7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tMi2G7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJboXep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tMi2HbBcEeSqLfQ0kalDug"
called="#_PdDpqTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wJboXup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJboX-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tMi2HrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tMi2H7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PdNaoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="_PdNaoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="PluginXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PdNaojG0Ed-kc8dEZsdm2w" conditionMethod="#_8mrriXLYEd-09ds9dfYpFw"
initMethod="#_PdNaozG0Ed-kc8dEZsdm2w" footerMethod="#_PdXLoTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wJItZep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tM2YEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PdNaojG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaojG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PdNaozG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdNaozG0Ed-kc8dEZsdm2w.pt"/>
@@ -96,20 +96,20 @@
<methods xmi:id="_SqaSS2KPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._SqaSS2KPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_06R8SWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._06R8SWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PdXLpTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PdNaoDG0Ed-kc8dEZsdm2w/method._PdXLpTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wJIta-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJItb-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tM2YF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tM2YG7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJItcep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tM2YHbBcEeSqLfQ0kalDug"
called="#_PdXLpTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wJItcup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJItc-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tM2YHrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tM2YH7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PdgVkDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ <elements xmi:id="_PdgVkDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
name="PluginProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_xxtwkCg7Ed-ROrlGa8LEeQ"
headerMethod="#_PdgVkjG0Ed-kc8dEZsdm2w" conditionMethod="#_8zCshHLYEd-09ds9dfYpFw"
initMethod="#_PdgVkzG0Ed-kc8dEZsdm2w" footerMethod="#_PdgVlTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wJujQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tNTEAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PdgVkjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PdgVkzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVkzG0Ed-kc8dEZsdm2w.pt"/>
@@ -120,20 +120,20 @@
<methods xmi:id="_SrTqKGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._SrTqKGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_06k3OWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._06k3OWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PdgVmTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PdgVkDG0Ed-kc8dEZsdm2w/method._PdgVmTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wJujR-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJujS-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tNTEB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNTEC7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_pQ16sChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJujTep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNTEDbBcEeSqLfQ0kalDug"
called="#_PdgVmTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wJujTup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJujT-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tNTEDrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNTED7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PdzQgDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/PackageClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PdzQgDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/PackageClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="PackageClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PdzQgjG0Ed-kc8dEZsdm2w" conditionMethod="#_89Lf9HLYEd-09ds9dfYpFw"
initMethod="#_PdzQgzG0Ed-kc8dEZsdm2w" footerMethod="#_PdzQhTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wLOYEep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tPO9sbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PdzQgjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PdzQgzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQgzG0Ed-kc8dEZsdm2w.pt"/>
@@ -144,20 +144,20 @@
<methods xmi:id="_StPj2GKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._StPj2GKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_09HN2WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._09HN2WKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PdzQiTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PdzQgDG0Ed-kc8dEZsdm2w/method._PdzQiTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wLOYF-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLOYG-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tPO9t7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPO9u7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLOYHep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPO9vbBcEeSqLfQ0kalDug"
called="#_PdzQiTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wLOYHup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLOYH-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tPO9vrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPO9v7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PeP8cDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/XMLProcessorClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PeP8cDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/XMLProcessorClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="XMLProcessorClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PeP8cjG0Ed-kc8dEZsdm2w" conditionMethod="#_9hr7NHLYEd-09ds9dfYpFw"
initMethod="#_PeP8czG0Ed-kc8dEZsdm2w" footerMethod="#_PeP8dTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wLqc8ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tPrpobBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PeP8cjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8cjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PeP8czG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8czG0Ed-kc8dEZsdm2w.pt"/>
@@ -168,20 +168,20 @@
<methods xmi:id="_SspG4mKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._SspG4mKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0767AmKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._0767AmKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PeP8eTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PeP8cDG0Ed-kc8dEZsdm2w/method._PeP8eTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wLqc9-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLqc--p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tPrpp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPrpq7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLqc_ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPrprbBcEeSqLfQ0kalDug"
called="#_PeP8eTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wLqc_up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLqc_-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tPrprrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPrpr7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PejecDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PejecDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="Plugin" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
headerMethod="#_PejecjG0Ed-kc8dEZsdm2w" conditionMethod="#_9fJklHLYEd-09ds9dfYpFw"
initMethod="#_PejeczG0Ed-kc8dEZsdm2w" footerMethod="#_PejedTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wLXiAep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tP-kkbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PejecjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejecjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PejeczG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeczG0Ed-kc8dEZsdm2w.pt"/>
@@ -192,20 +192,20 @@
<methods xmi:id="_SsWL8WKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._SsWL8WKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_07nZCWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._07nZCWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PejeeTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PejecDG0Ed-kc8dEZsdm2w/method._PejeeTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wLXiB-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLXiC-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tP-kl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tP-km7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLXiDep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tP-knbBcEeSqLfQ0kalDug"
called="#_PejeeTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wLXiDup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLXiD-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tP-knrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tP-kn7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PesoYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/ResourceFactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass.ResourceFactoryClass.createResource.override
"
+ <elements xmi:id="_PesoYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/ResourceFactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass.ResourceFactoryClass.createResource.override
"
name="ResourceFactoryClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PesoYjG0Ed-kc8dEZsdm2w" conditionMethod="#_9AAxhHLYEd-09ds9dfYpFw"
initMethod="#_PesoYzG0Ed-kc8dEZsdm2w" footerMethod="#_PesoZTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wKVAPOp3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tQHugbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PesoYjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PesoYzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoYzG0Ed-kc8dEZsdm2w.pt"/>
@@ -216,20 +216,20 @@
<methods xmi:id="_StFy12KPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._StFy12KPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_063yImKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._063yImKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PesoaTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PesoYDG0Ed-kc8dEZsdm2w/method._PesoaTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wKVAQup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKVARup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tQHuh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQHui7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKVASOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQHujbBcEeSqLfQ0kalDug"
called="#_PesoaTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wKVASep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKVASup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tQHujrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQHuj7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pe_jUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.interface.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.egfCustom.constructor.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.reflectiveDelegation.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeatureReified.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.eUnset.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.eIsSet.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.insert
"
+ <elements xmi:id="_Pe_jUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.interface.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.egfCustom.constructor.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.reflectiveDelegation.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeatureReified.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.eUnset.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.eIsSet.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.insert
"
name="Class" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_hYG6UCg6Ed-ROrlGa8LEeQ"
headerMethod="#_Pe_jUjG0Ed-kc8dEZsdm2w" conditionMethod="#_9DSvBHLYEd-09ds9dfYpFw"
initMethod="#_Pe_jUzG0Ed-kc8dEZsdm2w" footerMethod="#_Pe_jVTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wLEnEep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tOfW0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pe_jUjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pe_jUzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jUzG0Ed-kc8dEZsdm2w.pt"/>
@@ -240,20 +240,20 @@
<methods xmi:id="_Sr5gCGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Sr5gCGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_08EE9mKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._08EE9mKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pe_jWTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wLEnF-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLEnG-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tOfW17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOfW27BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLEnHep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOfW3bBcEeSqLfQ0kalDug"
called="#_Pe_jWTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wLEnHup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLEnH-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tOfW3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOfW37BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PfcPQDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/FactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PfcPQDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/FactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="FactoryClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PfcPQjG0Ed-kc8dEZsdm2w" conditionMethod="#_9cLJFHLYEd-09ds9dfYpFw"
initMethod="#_PfcPQzG0Ed-kc8dEZsdm2w" footerMethod="#_PfcPRTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wKCFQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tN454bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PfcPQjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PfcPQzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfcPQzG0Ed-kc8dEZsdm2w.pt"/>
@@ -264,20 +264,20 @@
<methods xmi:id="_StZU2GKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._StZU2GKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_07LUKWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._07LUKWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PfmAQTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PfcPQDG0Ed-kc8dEZsdm2w/method._PfmAQTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wKCFR-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKCFS-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tN4557BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tN4567BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKCFTep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tN457bBcEeSqLfQ0kalDug"
called="#_PfmAQTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wKCFTup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKCFT-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tN457rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tN4577BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pf47MDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/EnumClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_Pf47MDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/EnumClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="EnumClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_txlYcCg6Ed-ROrlGa8LEeQ"
headerMethod="#_Pf47MjG0Ed-kc8dEZsdm2w" conditionMethod="#_9QQM9HLYEd-09ds9dfYpFw"
initMethod="#_Pf47MzG0Ed-kc8dEZsdm2w" footerMethod="#_Pf47NTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wK62Eep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tPFMsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pf47MjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pf47MzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47MzG0Ed-kc8dEZsdm2w.pt"/>
@@ -288,20 +288,20 @@
<methods xmi:id="_SrwWGGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._SrwWGGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_07UeGWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._07UeGWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pf47OTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wK62F-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wK62G-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tPFMt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPFMu7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wK62Hep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPFMvbBcEeSqLfQ0kalDug"
called="#_Pf47OTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wK62Hup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wK62H-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tPFMvrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPFMv7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PgCsMDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/PackageClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PgCsMDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/PackageClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="PackageInterface" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PgCsMjG0Ed-kc8dEZsdm2w" conditionMethod="#_9S7thHLYEd-09ds9dfYpFw"
initMethod="#_PgCsMzG0Ed-kc8dEZsdm2w" footerMethod="#_PgCsNTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wKn7Iep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tO7bsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PgCsMjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PgCsMzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgCsMzG0Ed-kc8dEZsdm2w.pt"/>
@@ -312,20 +312,20 @@
<methods xmi:id="_Ssf88WKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._Ssf88WKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_08zr2WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._08zr2WKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PgL2IjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PgCsMDG0Ed-kc8dEZsdm2w/method._PgL2IjG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wKn7J-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKn7K-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tO7bt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tO7bu7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKn7Lep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tO7bvbBcEeSqLfQ0kalDug"
called="#_PgL2IjG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wKn7Lup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKn7L-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tO7bvrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tO7bv7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PgVnIDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/FactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PgVnIDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/FactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="FactoryInterface" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PgVnIjG0Ed-kc8dEZsdm2w" conditionMethod="#_9HAxZHLYEd-09ds9dfYpFw"
initMethod="#_PgVnIzG0Ed-kc8dEZsdm2w" footerMethod="#_PgVnJTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wKLPMep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tOL00bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PgVnIjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PgVnIzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnIzG0Ed-kc8dEZsdm2w.pt"/>
@@ -336,20 +336,20 @@
<methods xmi:id="_StsPyGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._StsPyGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_08N1-WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._08N1-WKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PgVnKTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PgVnIDG0Ed-kc8dEZsdm2w/method._PgVnKTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wKLPN-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKLPO-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tOL017BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOL027BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKLPPep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOL03bBcEeSqLfQ0kalDug"
called="#_PgVnKTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wKLPPup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKLPP-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tOL03rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOL037BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PgoiEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/ResourceClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PgoiEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/ResourceClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="ResourceClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PgoiEjG0Ed-kc8dEZsdm2w" conditionMethod="#_85wYhHLYEd-09ds9dfYpFw"
initMethod="#_PgoiEzG0Ed-kc8dEZsdm2w" footerMethod="#_PgoiFTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wLhTAep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tOyRwbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PgoiEjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PgoiEzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiEzG0Ed-kc8dEZsdm2w.pt"/>
@@ -360,20 +360,20 @@
<methods xmi:id="_SsDRCGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._SsDRCGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_08qh6WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._08qh6WKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PgoiGTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PgoiEDG0Ed-kc8dEZsdm2w/method._PgoiGTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wLhTB-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLhTC-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tOyRx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOyRy7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLhTDep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOyRzbBcEeSqLfQ0kalDug"
called="#_PgoiGTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wLhTDup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wLhTD-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tOyRzrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOyRz7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pg8EEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.interface.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.egfCustom.constructor.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.reflectiveDelegation.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeatureReified.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eUnset.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eIsSet.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.insert
"
+ <elements xmi:id="_Pg8EEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.interface.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.egfCustom.constructor.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.reflectiveDelegation.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeatureReified.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eUnset.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eIsSet.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.insert
"
name="Interface" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_hYG6UCg6Ed-ROrlGa8LEeQ"
headerMethod="#_Pg8EEjG0Ed-kc8dEZsdm2w" conditionMethod="#_9Kva1HLYEd-09ds9dfYpFw"
initMethod="#_Pg8EEzG0Ed-kc8dEZsdm2w" footerMethod="#_Pg8EFTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wKLPQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tOVl0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pg8EEjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pg8EEzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EEzG0Ed-kc8dEZsdm2w.pt"/>
@@ -384,20 +384,20 @@
<methods xmi:id="_SrmlGGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._SrmlGGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_08Xm-WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._08Xm-WKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pg8EGTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wKVAMup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKVANup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tOVl17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOVl27BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKVAOOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOVl3bBcEeSqLfQ0kalDug"
called="#_Pg8EGTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wKVAOep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKVAOup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tOVl3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tOVl37BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PhO_ADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/AdapterFactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PhO_ADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/AdapterFactoryClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="AdapterFactoryClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PhO_AjG0Ed-kc8dEZsdm2w" conditionMethod="#_9Wzg5HLYEd-09ds9dfYpFw"
initMethod="#_PhO_AzG0Ed-kc8dEZsdm2w" footerMethod="#_PhO_BTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wKeKIep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tNcN8bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PhO_AjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PhO_AzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_AzG0Ed-kc8dEZsdm2w.pt"/>
@@ -408,20 +408,20 @@
<methods xmi:id="_Ssy372KPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._Ssy372KPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_089c2WKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._089c2WKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PhO_CTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PhO_ADG0Ed-kc8dEZsdm2w/method._PhO_CTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wKeKJ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKeKK-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tNcN97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNcN-7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKeKLep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNcN_bBcEeSqLfQ0kalDug"
called="#_PhO_CTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wKeKLup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKeKL-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tNcN_rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNcN_7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Phh58DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/SwitchClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_Phh58DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/SwitchClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="SwitchClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_Phh58jG0Ed-kc8dEZsdm2w" conditionMethod="#_82LgFHLYEd-09ds9dfYpFw"
initMethod="#_Phh58zG0Ed-kc8dEZsdm2w" footerMethod="#_Phh59TG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wKxsIep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tNvI4bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Phh58jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58jG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Phh58zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh58zG0Ed-kc8dEZsdm2w.pt"/>
@@ -432,20 +432,20 @@
<methods xmi:id="_StieyGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._StieyGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_07BjKWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._07BjKWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Phh5-TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wKxsJ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKxsK-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tNvI57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNvI67BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKxsLep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNvI7bBcEeSqLfQ0kalDug"
called="#_Phh5-TG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wKxsLup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wKxsL-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tNvI7rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tNvI77BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Ph004DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/ValidatorClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.ValidatorClass.ValidatorClass.insert
"
+ <elements xmi:id="_Ph004DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/ValidatorClass.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.model.call.ValidatorClass.ValidatorClass.insert
"
name="ValidatorClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_Ph004jG0Ed-kc8dEZsdm2w" conditionMethod="#_9Nt2VHLYEd-09ds9dfYpFw"
initMethod="#_Ph004zG0Ed-kc8dEZsdm2w" footerMethod="#_Ph005TG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wK62Iep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tPh4obBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Ph004jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004jG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Ph004zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph004zG0Ed-kc8dEZsdm2w.pt"/>
@@ -456,20 +456,20 @@
<methods xmi:id="_SspG8mKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._SspG8mKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_07ePGWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._07ePGWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Ph006TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Ph004DG0Ed-kc8dEZsdm2w/method._Ph006TG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wK62J-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wK62K-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tPh4p7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPh4q7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wK62Lep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPh4rbBcEeSqLfQ0kalDug"
called="#_Ph006TG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wK62Lup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wK62L-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tPh4rrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tPh4r7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_QIGxoH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="_QIGxoH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="ModuleGWTXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_QIGxon7rEd-W9_ZFSEQEPg" conditionMethod="#_QIGxpH7rEd-W9_ZFSEQEPg"
initMethod="#_QIGxo37rEd-W9_ZFSEQEPg" footerMethod="#_QIGxpn7rEd-W9_ZFSEQEPg">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wJlZUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tMGxNbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_QIGxon7rEd-W9_ZFSEQEPg" name="header" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxon7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QIGxo37rEd-W9_ZFSEQEPg" name="init" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxo37rEd-W9_ZFSEQEPg.pt"/>
@@ -480,3626 +480,3626 @@
<methods xmi:id="_QIGxqX7rEd-W9_ZFSEQEPg" name="setArgument" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqX7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QIGxqn7rEd-W9_ZFSEQEPg" name="ensureProjectExists" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxqn7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QIGxrH7rEd-W9_ZFSEQEPg" name="doGenerate" patternFilePath="templates/pattern._QIGxoH7rEd-W9_ZFSEQEPg/method._QIGxrH7rEd-W9_ZFSEQEPg.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wJlZV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJlZW-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tMGxO7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tMGxP7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJlZXep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tMGxQbBcEeSqLfQ0kalDug"
called="#_QIGxrH7rEd-W9_ZFSEQEPg"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wJlZXup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wJlZX-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tMGxQrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tMGxQ7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
</libraries>
<libraries xmi:id="_0uqqgGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass">
- <elements xmi:id="_0uqqgWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/ResourceFactoryClass.javajet"
"
+ <elements xmi:id="_0uqqgWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/ResourceFactoryClass.javajet"
"
name="ResourceFactoryClass.createResource.override" headerMethod="#_0uqqg2J-Ed-FqczH3ESmRw"
conditionMethod="#_--X7pXLYEd-09ds9dfYpFw" initMethod="#_0uqqhGJ-Ed-FqczH3ESmRw"
footerMethod="#_0uqqhmJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wiK4cup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tzStArBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0uqqg2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqg2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0uqqhGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_--X7pXLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._--X7pXLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0uqqhmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqhmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0uqqimJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0uqqgWJ-Ed-FqczH3ESmRw/method._0uqqimJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wiK4eep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wiK4eup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wiK4eOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wiK4fOp3EeOL64M_eEhORw"
+ <parameters xmi:id="_tzStCbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tzStCrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tzStCLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tzStDLBcEeSqLfQ0kalDug"
called="#_0uqqimJ-Ed-FqczH3ESmRw"/>
</elements>
</libraries>
<libraries xmi:id="_0jpGTWJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.model.call.Class">
- <elements xmi:id="_0jpGTmJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.insert
"
+ <elements xmi:id="_0jpGTmJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.declaredFieldGenFeature.insert
"
name="Class.declaredFieldGenFeature.override" headerMethod="#_0jpGUGJ-Ed-FqczH3ESmRw"
conditionMethod="#__Dly1XLYEd-09ds9dfYpFw" initMethod="#_0jpGUWJ-Ed-FqczH3ESmRw"
footerMethod="#_0jpGU2J-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_widzYep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tk1aQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0jpGUGJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0jpGUWJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGUWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__Dly1XLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method.__Dly1XLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0jpGU2J-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGU2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0jpGYGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0jpGTmJ-Ed-FqczH3ESmRw/method._0jpGYGJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_widzaOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_widzaep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_widzaup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_widza-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_widzbOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_widzbep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_widzbup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_widzb-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_widzcOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tk1aSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tk1aSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tk1aSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tk1aS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tk1aTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tk1aTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tk1aTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tk1aT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tk1aULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_widzcep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_widzcup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tk1aUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tk1aUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_widzc-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tk1aU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_widzdOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tk1aVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_widzdep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tk1aVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_widzZ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_widzd-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tk1aR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tk1aV7BcEeSqLfQ0kalDug"
called="#_0jpGYGJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0jyQMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0jyQMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.declaredFieldGenFeature.insert" headerMethod="#_0jyQMmJ-Ed-FqczH3ESmRw"
conditionMethod="#__Fq2dHLYEd-09ds9dfYpFw" initMethod="#_0jyQM2J-Ed-FqczH3ESmRw"
footerMethod="#_0jyQNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_widzeep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tk_LQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0jyQMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0jyQM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__Fq2dHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method.__Fq2dHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0jyQNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0jyQQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0jyQMGJ-Ed-FqczH3ESmRw/method._0jyQQmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_widzgOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_widzgep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_widzgup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_widzg-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_widzhOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_widzhep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_widzhup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_widzh-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_widziOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tk_LSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tk_LSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tk_LSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tk_LS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tk_LTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tk_LTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tk_LTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tk_LT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tk_LULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_widziep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_widziup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tk_LUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tk_LUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_widzi-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tk_LU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_widzjOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tk_LVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_widzjep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tk_LVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_widzf-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_widzj-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tk_LR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tk_LV7BcEeSqLfQ0kalDug"
called="#_0jyQQmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0kFyMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0kFyMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.reflectiveDelegation.override" headerMethod="#_0kFyMmJ-Ed-FqczH3ESmRw"
conditionMethod="#__IDcFHLYEd-09ds9dfYpFw" initMethod="#_0kFyM2J-Ed-FqczH3ESmRw"
footerMethod="#_0kFyNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_winkeOp3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tlSGMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0kFyMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0kFyM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__IDcFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method.__IDcFHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0kFyNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0kFyQWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0kFyMGJ-Ed-FqczH3ESmRw/method._0kFyQWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_winkf-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_winkgOp3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_winkgep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_winkgup3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_winkg-p3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_winkhOp3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_winkhep3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_winkhup3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tlSGOLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tlSGObBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tlSGOrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tlSGO7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlSGPLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlSGPbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlSGPrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlSGP7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_winkh-p3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_winkiOp3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tlSGQLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tlSGQbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_winkiep3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tlSGQrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_winkiup3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tlSGQ7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_winki-p3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tlSGRLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_winkfup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_winkjep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tlSGN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tlSGRrBcEeSqLfQ0kalDug"
called="#_0kFyQWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0kO8IGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.insert
"
+ <elements xmi:id="_0kO8IGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.insert
"
name="Class.genFeature.override" headerMethod="#_0kO8ImJ-Ed-FqczH3ESmRw"
conditionMethod="#__LCepHLYEd-09ds9dfYpFw" initMethod="#_0kO8I2J-Ed-FqczH3ESmRw"
footerMethod="#_0kO8JWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wvSHYep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tmBtEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0kO8ImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8ImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0kO8I2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8I2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__LCepHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method.__LCepHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0kO8JWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8JWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0kO8MmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0kO8IGJ-Ed-FqczH3ESmRw/method._0kO8MmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wvbRUep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wvbRUup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wvbRU-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wvbRVOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wvbRVep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wvbRVup3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wvbRV-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wvbRWOp3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wvbRWep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tmBtGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tmBtGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tmBtGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tmBtG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tmBtHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmBtHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmBtHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmBtH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmBtILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wvbRWup3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wvbRW-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tmBtIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tmBtIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wvbRXOp3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tmBtI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wvbRXep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tmBtJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wvbRXup3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tmBtJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wvbRUOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wvbRYOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tmBtF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tmBtJ7BcEeSqLfQ0kalDug"
called="#_0kO8MmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0kh3EGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.TODO.override
"
+ <elements xmi:id="_0kh3EGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.TODO.override
"
name="Class.getGenFeature.override" headerMethod="#_0kh3EmJ-Ed-FqczH3ESmRw"
conditionMethod="#__MrdZHLYEd-09ds9dfYpFw" initMethod="#_0kh3E2J-Ed-FqczH3ESmRw"
footerMethod="#_0kh3FWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wwBuQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tmLeEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0kh3EmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3EmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0kh3E2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3E2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__MrdZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method.__MrdZHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0kh3FWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3FWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0kh3ImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0kh3EGJ-Ed-FqczH3ESmRw/method._0kh3ImJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wwBuSOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wwBuSep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wwBuSup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wwBuS-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wwBuTOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wwBuTep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wwBuTup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wwBuT-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wwBuUOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tmLeGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tmLeGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tmLeGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tmLeG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tmLeHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmLeHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmLeHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmLeH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmLeILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wwBuUep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wwBuUup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tmLeIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tmLeIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wwBuU-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tmLeI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wwBuVOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tmLeJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wwBuVep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tmLeJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wwBuR-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wwBuV-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tmLeF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tmLeJ7BcEeSqLfQ0kalDug"
called="#_0kh3ImJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0kroEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.insert
"
+ <elements xmi:id="_0kroEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.javadoc.insert
"
name="Class.getGenFeature.javadoc.override" headerMethod="#_0kroEmJ-Ed-FqczH3ESmRw"
conditionMethod="#__Nt_NHLYEd-09ds9dfYpFw" initMethod="#_0kroE2J-Ed-FqczH3ESmRw"
footerMethod="#_0kroFWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wwLfQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tmUoAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0kroEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroEmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0kroE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__Nt_NHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method.__Nt_NHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0kroFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroFWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0kroImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0kroEGJ-Ed-FqczH3ESmRw/method._0kroImJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wwLfSOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wwLfSep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wwLfSup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wwLfS-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wwLfTOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wwLfTep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wwLfTup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wwLfT-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wwLfUOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tmUoCLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tmUoCbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tmUoCrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tmUoC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tmUoDLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmUoDbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmUoDrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmUoD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tmUoELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wwLfUep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wwLfUup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tmUoEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tmUoErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wwLfU-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tmUoE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wwLfVOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tmUoFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wwLfVep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tmUoFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wwLfR-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wwLfV-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tmUoB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tmUoF7BcEeSqLfQ0kalDug"
called="#_0kroImJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0lIUAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0lIUAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.getGenFeature.javadoc.insert" headerMethod="#_0lIUAmJ-Ed-FqczH3ESmRw"
conditionMethod="#__O6SBHLYEd-09ds9dfYpFw" initMethod="#_0lIUA2J-Ed-FqczH3ESmRw"
footerMethod="#_0lIUBWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w3BuIep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tm7E8bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0lIUAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUAmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lIUA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUA2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__O6SBHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method.__O6SBHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0lIUBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUBWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lIUEmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lIUAGJ-Ed-FqczH3ESmRw/method._0lIUEmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w3BuKOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w3BuKep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w3BuKup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w3BuK-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w3BuLOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3BuLep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3BuLup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3BuL-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3BuMOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tm7E-LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tm7E-bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tm7E-rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tm7E-7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tm7E_LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tm7E_bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tm7E_rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tm7E_7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tm7FALBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w3BuMep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w3BuMup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tm7FAbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tm7FArBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3BuM-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tm7FA7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3BuNOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tm7FBLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3BuNep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tm7FBbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w3BuJ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w3BuN-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tm7E97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tm7FB7BcEeSqLfQ0kalDug"
called="#_0lIUEmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0lIUFGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0lIUFGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.getGenFeature.annotations.insert" headerMethod="#_0lIUFmJ-Ed-FqczH3ESmRw"
conditionMethod="#__P9a5HLYEd-09ds9dfYpFw" initMethod="#_0lIUF2J-Ed-FqczH3ESmRw"
footerMethod="#_0lIUGWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wi6fUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tllBIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0lIUFmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUFmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lIUF2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUF2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__P9a5HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method.__P9a5HLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0lIUGWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lIUGWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lSFCmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lIUFGJ-Ed-FqczH3ESmRw/method._0lSFCmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wi6fWOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wi6fWep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wi6fWup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wi6fW-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wi6fXOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wi6fXep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wi6fXup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wi6fX-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wi6fYOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tllBKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tllBKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tllBKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tllBK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tllBLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tllBLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tllBLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tllBL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tllBMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wi6fYep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wi6fYup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tllBMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tllBMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wi6fY-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tllBM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wi6fZOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tllBNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wi6fZep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tllBNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wi6fV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wi6fZ-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tllBJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tllBN7BcEeSqLfQ0kalDug"
called="#_0lSFCmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0lSFDGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0lSFDGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.getGenFeature.pre.insert" headerMethod="#_0lSFDmJ-Ed-FqczH3ESmRw"
conditionMethod="#__RvjlHLYEd-09ds9dfYpFw" initMethod="#_0lbO8GJ-Ed-FqczH3ESmRw"
footerMethod="#_0lbO8mJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wjEQUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tluyIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0lSFDmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lSFDmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lbO8GJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8GJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__RvjlHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method.__RvjlHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0lbO8mJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lbO_2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lSFDGJ-Ed-FqczH3ESmRw/method._0lbO_2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wjEQWOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wjEQWep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wjEQWup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wjEQW-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wjEQXOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjEQXep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjEQXup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjEQX-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjEQYOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tluyKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tluyKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tluyKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tluyK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tluyLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tluyLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tluyLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tluyL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tluyMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wjEQYep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wjEQYup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tluyMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tluyMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjEQY-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tluyM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjEQZOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tluyNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjEQZep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tluyNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wjEQV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wjEQZ-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tluyJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tluyN7BcEeSqLfQ0kalDug"
called="#_0lbO_2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0lbPAWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0lbPAWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.getGenFeature.TODO.override" headerMethod="#_0lbPA2J-Ed-FqczH3ESmRw"
conditionMethod="#__TiTVHLYEd-09ds9dfYpFw" initMethod="#_0lbPBGJ-Ed-FqczH3ESmRw"
footerMethod="#_0lbPBmJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w3BuOep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tnE18bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0lbPA2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPA2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lbPBGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__TiTVHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method.__TiTVHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0lbPBmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPBmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lbPE2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lbPAWJ-Ed-FqczH3ESmRw/method._0lbPE2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w3BuQOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w3BuQep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w3BuQup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w3BuQ-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w3BuROp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3BuRep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3BuRup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3BuR-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3BuSOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tnE1-LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tnE1-bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tnE1-rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tnE1-7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tnE1_LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnE1_bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnE1_rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnE1_7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnE2ALBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w3BuSep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w3BuSup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tnE2AbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tnE2ArBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3BuS-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tnE2A7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3BuTOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tnE2BLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3BuTep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tnE2BbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w3BuP-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w3BuT-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tnE197BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tnE2B7BcEeSqLfQ0kalDug"
called="#_0lbPE2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0lk_8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.TODO.override
"
+ <elements xmi:id="_0lk_8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicGetGenFeature.TODO.override
"
name="Class.basicGetGenFeature.override" headerMethod="#_0lk_8mJ-Ed-FqczH3ESmRw"
conditionMethod="#__VBhFHLYEd-09ds9dfYpFw" initMethod="#_0lk_82J-Ed-FqczH3ESmRw"
footerMethod="#_0lk_9WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w3LfIep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tnN_4bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0lk_8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0lk_82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_82J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__VBhFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method.__VBhFHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0lk_9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0lk_9WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0llAAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0lk_8GJ-Ed-FqczH3ESmRw/method._0llAAmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w3LfKOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w3LfKep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w3LfKup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w3LfK-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w3LfLOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3LfLep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3LfLup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3LfL-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3LfMOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tnN_6LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tnN_6bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tnN_6rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tnN_67BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tnN_7LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnN_7bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnN_7rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnN_77BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnN_8LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w3LfMep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w3LfMup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tnN_8bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tnN_8rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3LfM-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tnN_87BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3LfNOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tnN_9LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3LfNep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tnN_9bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w3LfJ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w3LfN-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tnN_57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tnN_97BcEeSqLfQ0kalDug"
called="#_0llAAmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0l364GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0l364GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicGetGenFeature.annotations.insert" headerMethod="#_0l364mJ-Ed-FqczH3ESmRw"
conditionMethod="#__XjQpHLYEd-09ds9dfYpFw" initMethod="#_0l3642J-Ed-FqczH3ESmRw"
footerMethod="#_0l365WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w3LfOep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tnXw4bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0l364mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l364mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0l3642J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l3642J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__XjQpHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method.__XjQpHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0l365WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l365WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0l368mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0l364GJ-Ed-FqczH3ESmRw/method._0l368mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w3LfQOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w3LfQep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w3LfQup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w3LfQ-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w3LfROp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3LfRep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3LfRup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3LfR-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3LfSOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tnXw6LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tnXw6bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tnXw6rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tnXw67BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tnXw7LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnXw7bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnXw7rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnXw77BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnXw8LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w3LfSep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w3LfSup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tnXw8bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tnXw8rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3LfS-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tnXw87BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3LfTOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tnXw9LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3LfTep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tnXw9bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w3LfP-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w3LfT-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tnXw57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tnXw97BcEeSqLfQ0kalDug"
called="#_0l368mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0mBr4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0mBr4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicGetGenFeature.pre.insert" headerMethod="#_0mBr4mJ-Ed-FqczH3ESmRw"
conditionMethod="#__ZDFdHLYEd-09ds9dfYpFw" initMethod="#_0mBr42J-Ed-FqczH3ESmRw"
footerMethod="#_0mBr5WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w3VQIep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tng60bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0mBr4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr4mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mBr42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr42J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__ZDFdHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method.__ZDFdHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0mBr5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr5WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mBr8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mBr4GJ-Ed-FqczH3ESmRw/method._0mBr8mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w3VQKOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w3VQKep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w3VQKup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w3VQK-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w3VQLOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3VQLep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3VQLup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3VQL-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3VQMOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tng62LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tng62bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tng62rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tng627BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tng63LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tng63bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tng63rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tng637BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tng64LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w3VQMep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w3VQMup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tng64bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tng64rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3VQM-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tng647BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3VQNOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tng65LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3VQNep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tng65bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w3VQJ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w3VQN-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tng617BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tng657BcEeSqLfQ0kalDug"
called="#_0mBr8mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0mK10GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0mK10GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicGetGenFeature.TODO.override" headerMethod="#_0mK10mJ-Ed-FqczH3ESmRw"
conditionMethod="#__a1OJHLYEd-09ds9dfYpFw" initMethod="#_0mK102J-Ed-FqczH3ESmRw"
footerMethod="#_0mK11WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w3VQOep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tnqr0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0mK10mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK10mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mK102J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK102J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__a1OJHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method.__a1OJHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0mK11WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK11WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mK14mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mK10GJ-Ed-FqczH3ESmRw/method._0mK14mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w3VQQOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w3VQQep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w3VQQup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w3VQQ-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w3VQROp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3VQRep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3VQRup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3VQR-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3VQSOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tnqr2LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tnqr2bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tnqr2rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tnqr27BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tnqr3LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnqr3bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnqr3rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnqr37BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tnqr4LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w3VQSep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w3VQSup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tnqr4bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tnqr4rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3VQS-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tnqr47BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3VQTOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tnqr5LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3VQTep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tnqr5bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w3VQP-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w3VQT-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tnqr17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tnqr57BcEeSqLfQ0kalDug"
called="#_0mK14mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0mUm0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.TODO.override
"
+ <elements xmi:id="_0mUm0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.TODO.override
"
name="Class.basicSetGenFeature.override" headerMethod="#_0mUm0mJ-Ed-FqczH3ESmRw"
conditionMethod="#__d9apHLYEd-09ds9dfYpFw" initMethod="#_0mUm02J-Ed-FqczH3ESmRw"
footerMethod="#_0mUm1WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w3xVAep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tn0c0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0mUm0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm0mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mUm02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm02J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__d9apHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method.__d9apHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0mUm1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm1WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mUm4mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mUm0GJ-Ed-FqczH3ESmRw/method._0mUm4mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w3xVCOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w3xVCep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w3xVCup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w3xVC-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w3xVDOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3xVDep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3xVDup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3xVD-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w3xVEOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tn0c2LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tn0c2bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tn0c2rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tn0c27BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tn0c3LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tn0c3bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tn0c3rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tn0c37BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tn0c4LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w3xVEep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w3xVEup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tn0c4bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tn0c4rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3xVE-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tn0c47BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3xVFOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tn0c5LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w3xVFep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tn0c5bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w3xVB-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w3xVF-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tn0c17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tn0c57BcEeSqLfQ0kalDug"
called="#_0mUm4mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0mnhwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0mnhwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicSetGenFeature.annotations.insert" headerMethod="#_0mnhwmJ-Ed-FqczH3ESmRw"
conditionMethod="#__fJtdHLYEd-09ds9dfYpFw" initMethod="#_0mnhw2J-Ed-FqczH3ESmRw"
footerMethod="#_0mnhxWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wjEQaep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tluyObBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0mnhwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhwmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mnhw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhw2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__fJtdHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method.__fJtdHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0mnhxWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnhxWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mnh0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mnhwGJ-Ed-FqczH3ESmRw/method._0mnh0mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wjEQcOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wjEQcep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wjEQcup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wjEQc-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wjEQdOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjEQdep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjEQdup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjEQd-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjEQeOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tluyQLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tluyQbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tluyQrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tluyQ7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tluyRLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tluyRbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tluyRrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tluyR7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tluySLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wjEQeep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wjEQeup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tluySbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tluySrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjEQe-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tluyS7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjEQfOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tluyTLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjEQfep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tluyTbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wjEQb-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wjEQf-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tluyP7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tluyT7BcEeSqLfQ0kalDug"
called="#_0mnh0mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0mxSwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0mxSwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicSetGenFeature.pre.insert" headerMethod="#_0mxSwmJ-Ed-FqczH3ESmRw"
conditionMethod="#__gDFVHLYEd-09ds9dfYpFw" initMethod="#_0mxSw2J-Ed-FqczH3ESmRw"
footerMethod="#_0mxSxWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w4OA8ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tn9mwbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0mxSwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSwmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mxSw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSw2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__gDFVHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method.__gDFVHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0mxSxWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxSxWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mxS0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mxSwGJ-Ed-FqczH3ESmRw/method._0mxS0mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w4OA-Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w4OA-ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w4OA-up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w4OA--p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w4OA_Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4OA_ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4OA_up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4OA_-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4OBAOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tn9myLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tn9mybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tn9myrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tn9my7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tn9mzLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tn9mzbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tn9mzrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tn9mz7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tn9m0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w4OBAep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w4OBAup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tn9m0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tn9m0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4OBA-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tn9m07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4OBBOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tn9m1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4OBBep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tn9m1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w4OA9-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w4OBB-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tn9mx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tn9m17BcEeSqLfQ0kalDug"
called="#_0mxS0mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0mxS1GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0mxS1GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicSetGenFeature.post.insert" headerMethod="#_0mxS1mJ-Ed-FqczH3ESmRw"
conditionMethod="#__gysNHLYEd-09ds9dfYpFw" initMethod="#_0mxS12J-Ed-FqczH3ESmRw"
footerMethod="#_0m6csWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w4Xx8ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_toHXwbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0mxS1mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS1mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0mxS12J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0mxS12J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__gysNHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method.__gysNHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0m6csWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6csWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0m6cvmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0mxS1GJ-Ed-FqczH3ESmRw/method._0m6cvmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w4Xx-Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w4Xx-ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w4Xx-up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w4Xx--p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w4Xx_Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4Xx_ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4Xx_up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4Xx_-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4XyAOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_toHXyLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_toHXybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_toHXyrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_toHXy7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_toHXzLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toHXzbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toHXzrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toHXz7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toHX0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w4XyAep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w4XyAup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_toHX0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_toHX0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4XyA-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_toHX07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4XyBOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_toHX1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4XyBep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_toHX1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w4Xx9-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w4XyB-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_toHXx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_toHX17BcEeSqLfQ0kalDug"
called="#_0m6cvmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0m6cwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0m6cwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicSetGenFeature.TODO.override" headerMethod="#_0m6cwmJ-Ed-FqczH3ESmRw"
conditionMethod="#__hsEFHLYEd-09ds9dfYpFw" initMethod="#_0m6cw2J-Ed-FqczH3ESmRw"
footerMethod="#_0m6cxWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w4XyCep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_toRIwbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0m6cwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cwmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0m6cw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cw2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__hsEFHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method.__hsEFHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0m6cxWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6cxWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0m6c0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0m6cwGJ-Ed-FqczH3ESmRw/method._0m6c0mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w4hi9Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w4hi9ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w4hi9up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w4hi9-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w4hi-Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4hi-ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4hi-up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4hi--p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w4hi_Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_toRIyLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_toRIybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_toRIyrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_toRIy7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_toRIzLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toRIzbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toRIzrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toRIz7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toRI0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w4hi_ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w4hi_up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_toRI0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_toRI0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4hi_-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_toRI07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4hjAOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_toRI1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w4hjAep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_toRI1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w4hi8-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w4hjA-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_toRIx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_toRI17BcEeSqLfQ0kalDug"
called="#_0m6c0mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0nN-sGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.TODO.override
"
+ <elements xmi:id="_0nN-sGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.TODO.override
"
name="Class.setGenFeature.override" headerMethod="#_0nN-smJ-Ed-FqczH3ESmRw"
conditionMethod="#__jLR1HLYEd-09ds9dfYpFw" initMethod="#_0nN-s2J-Ed-FqczH3ESmRw"
footerMethod="#_0nN-tWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w40d4ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_toaSsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0nN-smJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-smJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0nN-s2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-s2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__jLR1HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method.__jLR1HLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0nN-tWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-tWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0nN-wmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0nN-sGJ-Ed-FqczH3ESmRw/method._0nN-wmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w40d6Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w40d6ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w40d6up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w40d6-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w40d7Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w40d7ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w40d7up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w40d7-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w40d8Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_toaSuLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_toaSubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_toaSurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_toaSu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_toaSvLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toaSvbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toaSvrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toaSv7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_toaSwLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w40d8ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w40d8up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_toaSwbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_toaSwrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w40d8-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_toaSw7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w40d9Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_toaSxLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w40d9ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_toaSxbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w40d5-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w40d9-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_toaSt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_toaSx7BcEeSqLfQ0kalDug"
called="#_0nN-wmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0nXIoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.insert
"
+ <elements xmi:id="_0nXIoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.javadoc.insert
"
name="Class.setGenFeature.javadoc.override" headerMethod="#_0nXIomJ-Ed-FqczH3ESmRw"
conditionMethod="#__m57RHLYEd-09ds9dfYpFw" initMethod="#_0nXIo2J-Ed-FqczH3ESmRw"
footerMethod="#_0nXIpWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w49n0ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tokDsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0nXIomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIomJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0nXIo2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIo2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__m57RHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method.__m57RHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0nXIpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIpWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0nXIsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0nXIoGJ-Ed-FqczH3ESmRw/method._0nXIsmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w49n2Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w49n2ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w49n2up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w49n2-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w49n3Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w49n3ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w49n3up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w49n3-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w49n4Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tokDuLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tokDubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tokDurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tokDu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tokDvLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tokDvbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tokDvrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tokDv7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tokDwLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w49n4ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w49n4up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tokDwbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tokDwrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w49n4-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tokDw7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w49n5Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tokDxLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w49n5ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tokDxbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w49n1-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w49n5-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tokDt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tokDx7BcEeSqLfQ0kalDug"
called="#_0nXIsmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0ng5oGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0ng5oGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.setGenFeature.javadoc.insert" headerMethod="#_0ng5omJ-Ed-FqczH3ESmRw"
conditionMethod="#__oi6BHLYEd-09ds9dfYpFw" initMethod="#_0ng5o2J-Ed-FqczH3ESmRw"
footerMethod="#_0ng5pWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w5RJ0ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_totNobBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0ng5omJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5omJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0ng5o2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5o2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__oi6BHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method.__oi6BHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0ng5pWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5pWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0ng5smJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0ng5oGJ-Ed-FqczH3ESmRw/method._0ng5smJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w5RJ2Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w5RJ2ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w5RJ2up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w5RJ2-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w5RJ3Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5RJ3ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5RJ3up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5RJ3-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5RJ4Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_totNqLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_totNqbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_totNqrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_totNq7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_totNrLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_totNrbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_totNrrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_totNr7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_totNsLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w5RJ4ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w5RJ4up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_totNsbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_totNsrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5RJ4-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_totNs7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5RJ5Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_totNtLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5RJ5ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_totNtbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w5RJ1-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w5RJ5-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_totNp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_totNt7BcEeSqLfQ0kalDug"
called="#_0ng5smJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0nqqoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0nqqoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.setGenFeature.annotations.insert" headerMethod="#_0nqqomJ-Ed-FqczH3ESmRw"
conditionMethod="#__pvM1HLYEd-09ds9dfYpFw" initMethod="#_0nqqo2J-Ed-FqczH3ESmRw"
footerMethod="#_0nqqpWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wjNaQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tl4jIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0nqqomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqomJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0nqqo2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqo2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__pvM1HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method.__pvM1HLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0nqqpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqpWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0nqqsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0nqqoGJ-Ed-FqczH3ESmRw/method._0nqqsmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wjNaSOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wjNaSep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wjNaSup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wjNaS-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wjNaTOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjNaTep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjNaTup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjNaT-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wjNaUOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tl4jKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tl4jKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tl4jKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tl4jK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tl4jLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tl4jLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tl4jLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tl4jL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tl4jMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wjNaUep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wjNaUup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tl4jMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tl4jMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjNaU-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tl4jM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjNaVOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tl4jNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wjNaVep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tl4jNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wjNaR-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wjNaV-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tl4jJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tl4jN7BcEeSqLfQ0kalDug"
called="#_0nqqsmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0nz0kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0nz0kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.setGenFeature.pre.insert" headerMethod="#_0nz0kmJ-Ed-FqczH3ESmRw"
conditionMethod="#__rEplHLYEd-09ds9dfYpFw" initMethod="#_0nz0k2J-Ed-FqczH3ESmRw"
footerMethod="#_0nz0lWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w5aTwep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_to2-obBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0nz0kmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0kmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0nz0k2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0k2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__rEplHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method.__rEplHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0nz0lWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0lWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0nz0o2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0nz0kGJ-Ed-FqczH3ESmRw/method._0nz0o2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w5aTyOp3EeOL64M_eEhORw" name="setAccessorOperation"
+ <parameters xmi:id="_to2-qLBcEeSqLfQ0kalDug" name="setAccessorOperation"
type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w5aTyep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w5aTyup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w5aTy-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w5aTzOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w5aTzep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5aTzup3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5aTz-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5aT0Op3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5aT0ep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_to2-qbBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_to2-qrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_to2-q7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_to2-rLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_to2-rbBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_to2-rrBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_to2-r7BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_to2-sLBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_to2-sbBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w5aT0up3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w5aT0-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_to2-srBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_to2-s7BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5aT1Op3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_to2-tLBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5aT1ep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_to2-tbBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5aT1up3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_to2-trBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w5aTx-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w5aT2Op3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_to2-p7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_to2-uLBcEeSqLfQ0kalDug"
called="#_0nz0o2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0qMaMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0qMaMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.setGenFeature.post.insert" headerMethod="#_0qMaMmJ-Ed-FqczH3ESmRw"
conditionMethod="#__sQ8ZHLYEd-09ds9dfYpFw" initMethod="#_0qMaM2J-Ed-FqczH3ESmRw"
footerMethod="#_0qMaNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w5aT2up3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tpJ5kbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0qMaMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qMaM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__sQ8ZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method.__sQ8ZHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0qMaNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qMaQ2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qMaMGJ-Ed-FqczH3ESmRw/method._0qMaQ2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w5aT4ep3EeOL64M_eEhORw" name="setAccessorOperation"
+ <parameters xmi:id="_tpJ5mLBcEeSqLfQ0kalDug" name="setAccessorOperation"
type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w5aT4up3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w5aT4-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w5aT5Op3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w5aT5ep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w5aT5up3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5aT5-p3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5aT6Op3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5aT6ep3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5aT6up3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tpJ5mbBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tpJ5mrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tpJ5m7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tpJ5nLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tpJ5nbBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpJ5nrBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpJ5n7BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpJ5oLBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpJ5obBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w5aT6-p3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w5aT7Op3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tpJ5orBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tpJ5o7BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5aT7ep3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tpJ5pLBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5aT7up3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tpJ5pbBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5aT7-p3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tpJ5prBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w5aT4Op3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w5aT8ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tpJ5l7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tpJ5qLBcEeSqLfQ0kalDug"
called="#_0qMaQ2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0qMaRWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0qMaRWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.setGenFeature.TODO.override" headerMethod="#_0qMaR2J-Ed-FqczH3ESmRw"
conditionMethod="#__tAjRHLYEd-09ds9dfYpFw" initMethod="#_0qMaSGJ-Ed-FqczH3ESmRw"
footerMethod="#_0qWLMWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w5kEwep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tpTqkbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0qMaR2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaR2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qMaSGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qMaSGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__tAjRHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method.__tAjRHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0qWLMWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLMWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qWLP2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qMaRWJ-Ed-FqczH3ESmRw/method._0qWLP2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w5kEyOp3EeOL64M_eEhORw" name="setAccessorOperation"
+ <parameters xmi:id="_tpTqmLBcEeSqLfQ0kalDug" name="setAccessorOperation"
type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w5kEyep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w5kEyup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w5kEy-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w5kEzOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w5kEzep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5kEzup3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5kEz-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5kE0Op3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5kE0ep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tpTqmbBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tpTqmrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tpTqm7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tpTqnLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tpTqnbBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpTqnrBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpTqn7BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpTqoLBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpTqobBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w5kE0up3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w5kE0-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tpTqorBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tpTqo7BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5kE1Op3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tpTqpLBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5kE1ep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tpTqpbBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5kE1up3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tpTqprBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w5kEx-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w5kE2Op3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tpTql7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tpTqqLBcEeSqLfQ0kalDug"
called="#_0qWLP2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0qfVIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.TODO.override
"
+ <elements xmi:id="_0qfVIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicUnsetGenFeature.TODO.override
"
name="Class.basicUnsetGenFeature.override" headerMethod="#_0qfVImJ-Ed-FqczH3ESmRw"
conditionMethod="#__v101HLYEd-09ds9dfYpFw" initMethod="#_0qfVI2J-Ed-FqczH3ESmRw"
footerMethod="#_0qfVJWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w5kE2up3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tpmlgbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0qfVImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qfVI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__v101HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method.__v101HLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0qfVJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVJWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qfVMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qfVIGJ-Ed-FqczH3ESmRw/method._0qfVMmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w5kE4ep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w5kE4up3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w5kE4-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w5kE5Op3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w5kE5ep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5kE5up3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5kE5-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5kE6Op3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w5kE6ep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tpmliLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tpmlibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tpmlirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tpmli7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tpmljLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpmljbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpmljrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpmlj7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tpmlkLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w5kE6up3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w5kE6-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tpmlkbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tpmlkrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5kE7Op3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tpmlk7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5kE7ep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tpmllLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w5kE7up3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tpmllbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w5kE4Op3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w5kE8Op3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tpmlh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tpmll7BcEeSqLfQ0kalDug"
called="#_0qfVMmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0qpGIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0qpGIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicUnsetGenFeature.annotations.insert" headerMethod="#_0qpGImJ-Ed-FqczH3ESmRw"
conditionMethod="#__xezlHLYEd-09ds9dfYpFw" initMethod="#_0qpGI2J-Ed-FqczH3ESmRw"
footerMethod="#_0qpGJWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6Awsep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tp5gcbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0qpGImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qpGI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__xezlHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method.__xezlHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0qpGJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGJWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qpGMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qpGIGJ-Ed-FqczH3ESmRw/method._0qpGMmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6AwuOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6Awuep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6Awuup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6Awu-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6AwvOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Awvep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Awvup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Awv-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6AwwOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tp5geLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tp5gebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tp5gerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tp5ge7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tp5gfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tp5gfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tp5gfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tp5gf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tp5ggLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6Awwep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6Awwup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tp5ggbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tp5ggrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6Aww-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tp5gg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6AwxOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tp5ghLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6Awxep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tp5ghbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6Awt-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6Awx-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tp5gd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tp5gh7BcEeSqLfQ0kalDug"
called="#_0qpGMmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0qy3IGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0qy3IGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.basicUnsetGenFeature.TODO.override" headerMethod="#_0qy3ImJ-Ed-FqczH3ESmRw"
conditionMethod="#__yrGZHLYEd-09ds9dfYpFw" initMethod="#_0qy3I2J-Ed-FqczH3ESmRw"
footerMethod="#_0qy3JWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6J6oep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tqDRcbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0qy3ImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3ImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qy3I2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3I2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__yrGZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method.__yrGZHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0qy3JWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3JWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0qy3MmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0qy3IGJ-Ed-FqczH3ESmRw/method._0qy3MmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6J6qOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6J6qep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6J6qup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6J6q-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6J6rOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6J6rep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6J6rup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6J6r-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6J6sOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tqDReLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tqDRebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tqDRerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tqDRe7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tqDRfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqDRfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqDRfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqDRf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqDRgLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6J6sep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6J6sup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tqDRgbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tqDRgrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6J6s-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tqDRg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6J6tOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tqDRhLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6J6tep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tqDRhbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6J6p-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6J6t-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tqDRd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tqDRh7BcEeSqLfQ0kalDug"
called="#_0qy3MmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0q8BEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.TODO.override
"
+ <elements xmi:id="_0q8BEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.TODO.override
"
name="Class.unsetGenFeature.override" headerMethod="#_0q8BEmJ-Ed-FqczH3ESmRw"
conditionMethod="#__0BKNHLYEd-09ds9dfYpFw" initMethod="#_0q8BE2J-Ed-FqczH3ESmRw"
footerMethod="#_0q8BFWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6J6uep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tqNCcbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0q8BEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BEmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0q8BE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__0BKNHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method.__0BKNHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0q8BFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BFWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0q8BImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0q8BEGJ-Ed-FqczH3ESmRw/method._0q8BImJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6J6wOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6J6wep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6J6wup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6J6w-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6J6xOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6J6xep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6J6xup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6J6x-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6J6yOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tqNCeLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tqNCebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tqNCerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tqNCe7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tqNCfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqNCfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqNCfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqNCf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqNCgLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6J6yep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6J6yup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tqNCgbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tqNCgrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6J6y-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tqNCg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6J6zOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tqNChLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6J6zep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tqNChbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6J6v-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6J6z-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tqNCd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tqNCh7BcEeSqLfQ0kalDug"
called="#_0q8BImJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0rPjEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.insert
"
+ <elements xmi:id="_0rPjEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.unsetGenFeature.javadoc.insert
"
name="Class.unsetGenFeature.javadoc.override" headerMethod="#_0rPjEmJ-Ed-FqczH3ESmRw"
conditionMethod="#__1gX9HLYEd-09ds9dfYpFw" initMethod="#_0rPjE2J-Ed-FqczH3ESmRw"
footerMethod="#_0rPjFWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6Troep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tqf9YbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0rPjEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjEmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0rPjE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__1gX9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method.__1gX9HLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0rPjFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjFWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0rPjImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0rPjEGJ-Ed-FqczH3ESmRw/method._0rPjImJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6TrqOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6Trqep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6Trqup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6Trq-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6TrrOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Trrep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Trrup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Trr-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6TrsOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tqf9aLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tqf9abBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tqf9arBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tqf9a7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tqf9bLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqf9bbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqf9brBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqf9b7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tqf9cLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6Trsep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6Trsup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tqf9cbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tqf9crBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6Trs-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tqf9c7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6TrtOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tqf9dLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6Trtep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tqf9dbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6Trp-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6Trt-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tqf9Z7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tqf9d7BcEeSqLfQ0kalDug"
called="#_0rPjImJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0rieAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0rieAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.unsetGenFeature.javadoc.insert" headerMethod="#_0rieAmJ-Ed-FqczH3ESmRw"
conditionMethod="#__349lHLYEd-09ds9dfYpFw" initMethod="#_0rieA2J-Ed-FqczH3ESmRw"
footerMethod="#_0rieBWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6Truep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ts4jAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0rieAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieAmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0rieA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieA2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__349lHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method.__349lHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0rieBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieBWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0rieEmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0rieAGJ-Ed-FqczH3ESmRw/method._0rieEmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6TrwOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6Trwep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6Trwup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6Trw-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6TrxOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Trxep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Trxup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6Trx-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6TryOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_ts4jCLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ts4jCbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ts4jCrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ts4jC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_ts4jDLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ts4jDbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ts4jDrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ts4jD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ts4jELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6Tryep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6Tryup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_ts4jEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_ts4jErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6Try-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_ts4jE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6TrzOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_ts4jFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6Trzep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_ts4jFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6Trv-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6Trz-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ts4jB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ts4jF7BcEeSqLfQ0kalDug"
called="#_0rieEmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0rrn8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0rrn8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.unsetGenFeature.annotations.insert" headerMethod="#_0rrn8mJ-Ed-FqczH3ESmRw"
conditionMethod="#__5rtVHLYEd-09ds9dfYpFw" initMethod="#_0rrn82J-Ed-FqczH3ESmRw"
footerMethod="#_0rrn9WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6dcoep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ttCUAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0rrn8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0rrn82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn82J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__5rtVHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method.__5rtVHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0rrn9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rrn9WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0rroAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0rrn8GJ-Ed-FqczH3ESmRw/method._0rroAmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6dcqOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6dcqep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6dcqup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6dcq-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6dcrOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6dcrep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6dcrup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6dcr-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6dcsOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_ttCUCLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ttCUCbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ttCUCrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ttCUC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_ttCUDLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ttCUDbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ttCUDrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ttCUD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ttCUELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6dcsep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6dcsup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_ttCUEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_ttCUErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6dcs-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_ttCUE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6dctOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_ttCUFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6dctep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_ttCUFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6dcp-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6dct-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ttCUB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ttCUF7BcEeSqLfQ0kalDug"
called="#_0rroAmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0r_J8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0r_J8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.unsetGenFeature.TODO.override" headerMethod="#_0r_J8mJ-Ed-FqczH3ESmRw"
conditionMethod="#__6keJHLYEd-09ds9dfYpFw" initMethod="#_0r_J82J-Ed-FqczH3ESmRw"
footerMethod="#_0r_J9WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6mmkep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_twwWYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0r_J8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0r_J82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J82J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__6keJHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method.__6keJHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0r_J9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_J9WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0r_KAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0r_J8GJ-Ed-FqczH3ESmRw/method._0r_KAmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6mmmOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6mmmep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6mmmup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6mmm-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6mmnOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6mmnep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6mmnup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6mmn-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6mmoOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_twwWaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_twwWabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_twwWarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_twwWa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_twwWbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_twwWbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_twwWbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_twwWb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_twwWcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6mmoep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6mmoup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_twwWcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_twwWcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6mmo-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_twwWc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6mmpOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_twwWdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6mmpep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_twwWdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6mml-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6mmp-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_twwWZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_twwWd7BcEeSqLfQ0kalDug"
called="#_0r_KAmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0sIT4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.TODO.override
"
+ <elements xmi:id="_0sIT4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.TODO.override
"
name="Class.isSetGenFeature.override" headerMethod="#_0sIT4mJ-Ed-FqczH3ESmRw"
conditionMethod="#__8ES9HLYEd-09ds9dfYpFw" initMethod="#_0sIT42J-Ed-FqczH3ESmRw"
footerMethod="#_0sIT5WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6mmqep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tw6HYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0sIT4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT4mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0sIT42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT42J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__8ES9HLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method.__8ES9HLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0sIT5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT5WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0sIT8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0sIT4GJ-Ed-FqczH3ESmRw/method._0sIT8mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6mmsOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6mmsep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6mmsup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6mms-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6mmtOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6mmtep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6mmtup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6mmt-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6mmuOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tw6HaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tw6HabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tw6HarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tw6Ha7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tw6HbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tw6HbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tw6HbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tw6Hb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tw6HcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6mmuep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6mmuup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tw6HcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tw6HcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6mmu-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tw6Hc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6mmvOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tw6HdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6mmvep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tw6HdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6mmr-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6mmv-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tw6HZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tw6Hd7BcEeSqLfQ0kalDug"
called="#_0sIT8mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0sSE4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.insert
"
+ <elements xmi:id="_0sSE4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.isSetGenFeature.javadoc.insert
"
name="Class.isSetGenFeature.javadoc.override" headerMethod="#_0sSE4mJ-Ed-FqczH3ESmRw"
conditionMethod="#__9sqpHLYEd-09ds9dfYpFw" initMethod="#_0sSE42J-Ed-FqczH3ESmRw"
footerMethod="#_0sSE5WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6wXkep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_txDRUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0sSE4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE4mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0sSE42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE42J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__9sqpHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method.__9sqpHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0sSE5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE5WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0sSE8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0sSE4GJ-Ed-FqczH3ESmRw/method._0sSE8mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6wXmOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6wXmep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6wXmup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6wXm-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6wXnOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6wXnep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6wXnup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6wXn-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6wXoOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_txDRWLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_txDRWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_txDRWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_txDRW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_txDRXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txDRXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txDRXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txDRX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txDRYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6wXoep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6wXoup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_txDRYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_txDRYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6wXo-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_txDRY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6wXpOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_txDRZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6wXpep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_txDRZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6wXl-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6wXp-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_txDRV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_txDRZ7BcEeSqLfQ0kalDug"
called="#_0sSE8mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0sb14GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0sb14GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.isSetGenFeature.javadoc.insert" headerMethod="#_0sb14mJ-Ed-FqczH3ESmRw"
conditionMethod="#__-mChHLYEd-09ds9dfYpFw" initMethod="#_0sb142J-Ed-FqczH3ESmRw"
footerMethod="#_0sb15WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w6wXqep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_txNCUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0sb14mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb14mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0sb142J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb142J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="__-mChHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method.__-mChHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0sb15WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb15WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0sb18mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0sb14GJ-Ed-FqczH3ESmRw/method._0sb18mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w6wXsOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w6wXsep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w6wXsup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w6wXs-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w6wXtOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6wXtep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6wXtup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6wXt-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w6wXuOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_txNCWLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_txNCWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_txNCWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_txNCW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_txNCXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txNCXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txNCXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txNCX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txNCYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w6wXuep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w6wXuup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_txNCYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_txNCYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6wXu-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_txNCY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6wXvOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_txNCZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w6wXvep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_txNCZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w6wXr-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w6wXv-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_txNCV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_txNCZ7BcEeSqLfQ0kalDug"
called="#_0sb18mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0sk_0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0sk_0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.isSetGenFeature.annotations.insert" headerMethod="#_0sk_0mJ-Ed-FqczH3ESmRw"
conditionMethod="#___faZHLYEd-09ds9dfYpFw" initMethod="#_0sk_02J-Ed-FqczH3ESmRw"
footerMethod="#_0sk_1WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w66Ikep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_txWzUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0sk_0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_0mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0sk_02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_02J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="___faZHLYEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method.___faZHLYEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0sk_1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_1WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0sk_4mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0sk_0GJ-Ed-FqczH3ESmRw/method._0sk_4mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w66ImOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w66Imep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w66Imup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w66Im-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w66InOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w66Inep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w66Inup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w66In-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w66IoOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_txWzWLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_txWzWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_txWzWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_txWzW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_txWzXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txWzXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txWzXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txWzX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txWzYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w66Ioep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w66Ioup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_txWzYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_txWzYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w66Io-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_txWzY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w66IpOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_txWzZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w66Ipep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_txWzZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w66Il-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w66Ip-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_txWzV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_txWzZ7BcEeSqLfQ0kalDug"
called="#_0sk_4mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0suw0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0suw0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.isSetGenFeature.TODO.override" headerMethod="#_0suw0mJ-Ed-FqczH3ESmRw"
conditionMethod="#_AAYyRHLZEd-09ds9dfYpFw" initMethod="#_0suw02J-Ed-FqczH3ESmRw"
footerMethod="#_0suw1WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w66Iqep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_txf9QbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0suw0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw0mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0suw02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw02J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AAYyRHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._AAYyRHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0suw1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw1WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0suw4mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0suw0GJ-Ed-FqczH3ESmRw/method._0suw4mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w66IsOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w66Isep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w66Isup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w66Is-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w66ItOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w66Itep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w66Itup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w66It-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w66IuOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_txf9SLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_txf9SbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_txf9SrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_txf9S7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_txf9TLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txf9TbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txf9TrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txf9T7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txf9ULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w66Iuep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w66Iuup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_txf9UbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_txf9UrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w66Iu-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_txf9U7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w66IvOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_txf9VLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w66Ivep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_txf9VbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w66Ir-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w66Iv-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_txf9R7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_txf9V7BcEeSqLfQ0kalDug"
called="#_0suw4mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0s36wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0s36wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.genFeature.insert" headerMethod="#_0s36wmJ-Ed-FqczH3ESmRw"
conditionMethod="#_ADOD1HLZEd-09ds9dfYpFw" initMethod="#_0s36w2J-Ed-FqczH3ESmRw"
footerMethod="#_0s36xWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7DSgep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_txpuQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0s36wmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36wmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0s36w2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36w2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_ADOD1HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._ADOD1HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0s36xWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s36xWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0s360mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0s36wGJ-Ed-FqczH3ESmRw/method._0s360mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7DSiOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w7DSiep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7DSiup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7DSi-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7DSjOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7DSjep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7DSjup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7DSj-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7DSkOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_txpuSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_txpuSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_txpuSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_txpuS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_txpuTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txpuTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txpuTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txpuT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txpuULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7DSkep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7DSkup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_txpuUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_txpuUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7DSk-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_txpuU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7DSlOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_txpuVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7DSlep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_txpuVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7DSh-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7DSl-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_txpuR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_txpuV7BcEeSqLfQ0kalDug"
called="#_0s360mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0tBrwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.insert
"
+ <elements xmi:id="_0tBrwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.insert
"
name="Class.genOperation.override" headerMethod="#_0tLcwGJ-Ed-FqczH3ESmRw"
conditionMethod="#_AD9qtHLZEd-09ds9dfYpFw" initMethod="#_0tLcwWJ-Ed-FqczH3ESmRw"
footerMethod="#_0tLcw2J-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7DSmep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_txzfQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0tLcwGJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0tLcwWJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcwWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AD9qtHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._AD9qtHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0tLcw2J-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLcw2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0tLc0GJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0tBrwGJ-Ed-FqczH3ESmRw/method._0tLc0GJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7DSoOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w7DSoep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7DSoup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7DSo-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7DSpOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7DSpep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7DSpup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7DSp-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7DSqOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_txzfSLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_txzfSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_txzfSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_txzfS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_txzfTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txzfTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txzfTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txzfT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txzfULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7DSqep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7DSqup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_txzfUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_txzfUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7DSq-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_txzfU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7DSrOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_txzfVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7DSrep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_txzfVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7DSn-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7DSr-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_txzfR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_txzfV7BcEeSqLfQ0kalDug"
called="#_0tLc0GJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0tUmsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.insert
"
+ <elements xmi:id="_0tUmsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.javadoc.insert
"
name="Class.genOperation.javadoc.override" headerMethod="#_0tUmsmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AFJ9hHLZEd-09ds9dfYpFw" initMethod="#_0tUms2J-Ed-FqczH3ESmRw"
footerMethod="#_0tUmtWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7NDgep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_txzfWbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0tUmsmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmsmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0tUms2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUms2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AFJ9hHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._AFJ9hHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0tUmtWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmtWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0tUmwmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0tUmsGJ-Ed-FqczH3ESmRw/method._0tUmwmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7NDiOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w7NDiep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7NDiup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7NDi-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7NDjOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7NDjep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7NDjup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7NDj-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7NDkOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_txzfYLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_txzfYbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_txzfYrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_txzfY7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_txzfZLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txzfZbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txzfZrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txzfZ7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_txzfaLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7NDkep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7NDkup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_txzfabBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_txzfarBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7NDk-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_txzfa7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7NDlOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_txzfbLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7NDlep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_txzfbbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7NDh-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7NDl-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_txzfX7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_txzfb7BcEeSqLfQ0kalDug"
called="#_0tUmwmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0toIsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0toIsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.genOperation.javadoc.insert" headerMethod="#_0toIsmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AG8GNHLZEd-09ds9dfYpFw" initMethod="#_0toIs2J-Ed-FqczH3ESmRw"
footerMethod="#_0toItWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7NDmep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tx8pMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0toIsmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIsmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0toIs2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIs2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AG8GNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._AG8GNHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0toItWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toItWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0toIwmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0toIsGJ-Ed-FqczH3ESmRw/method._0toIwmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7NDoOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w7NDoep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7NDoup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7NDo-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7NDpOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7NDpep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7NDpup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7NDp-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7NDqOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tx8pOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tx8pObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tx8pOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tx8pO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tx8pPLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tx8pPbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tx8pPrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tx8pP7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tx8pQLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7NDqep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7NDqup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tx8pQbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tx8pQrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7NDq-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tx8pQ7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7NDrOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tx8pRLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7NDrep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tx8pRbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7NDn-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7NDr-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tx8pN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tx8pR7BcEeSqLfQ0kalDug"
called="#_0toIwmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0txSoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0txSoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.genOperation.annotations.insert" headerMethod="#_0txSomJ-Ed-FqczH3ESmRw"
conditionMethod="#_AIbT9HLZEd-09ds9dfYpFw" initMethod="#_0txSo2J-Ed-FqczH3ESmRw"
footerMethod="#_0txSpWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7WNcep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tyGaMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0txSomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSomJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0txSo2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSo2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AIbT9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._AIbT9HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0txSpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSpWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0txSsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0txSoGJ-Ed-FqczH3ESmRw/method._0txSsmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7WNeOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w7WNeep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7WNeup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7WNe-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7WNfOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7WNfep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7WNfup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7WNf-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7WNgOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tyGaOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tyGaObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tyGaOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tyGaO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tyGaPLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyGaPbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyGaPrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyGaP7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyGaQLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7WNgep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7WNgup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tyGaQbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tyGaQrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7WNg-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tyGaQ7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7WNhOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tyGaRLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7WNhep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tyGaRbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7WNd-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7WNh-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tyGaN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tyGaR7BcEeSqLfQ0kalDug"
called="#_0txSsmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0t7DoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0t7DoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.implementedGenOperation.TODO.override" headerMethod="#_0t7DomJ-Ed-FqczH3ESmRw"
conditionMethod="#_AKODtHLZEd-09ds9dfYpFw" initMethod="#_0t7Do2J-Ed-FqczH3ESmRw"
footerMethod="#_0t7DpWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7WNiep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tyPkIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0t7DomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DomJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0t7Do2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7Do2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AKODtHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._AKODtHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0t7DpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DpWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0t7DsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0t7DoGJ-Ed-FqczH3ESmRw/method._0t7DsmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7WNkOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w7WNkep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7WNkup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7WNk-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7WNlOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7WNlep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7WNlup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7WNl-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7WNmOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tyPkKLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tyPkKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tyPkKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tyPkK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tyPkLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyPkLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyPkLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyPkL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyPkMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7WNmep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7WNmup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tyPkMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tyPkMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7WNm-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tyPkM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7WNnOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tyPkNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7WNnep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tyPkNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7WNj-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7WNn-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tyPkJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tyPkN7BcEeSqLfQ0kalDug"
called="#_0t7DsmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0uENkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0uENkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.genOperation.insert" headerMethod="#_0uENkmJ-Ed-FqczH3ESmRw"
conditionMethod="#_ALaWhHLZEd-09ds9dfYpFw" initMethod="#_0uENk2J-Ed-FqczH3ESmRw"
footerMethod="#_0uENlWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7f-cep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tyZVIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0uENkmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENkmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0uENk2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENk2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_ALaWhHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._ALaWhHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0uENlWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENlWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0uENomJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0uENkGJ-Ed-FqczH3ESmRw/method._0uENomJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7f-eOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_w7f-eep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7f-eup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7f-e-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7f-fOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7f-fep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7f-fup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7f-f-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7f-gOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tyZVKLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tyZVKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tyZVKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tyZVK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tyZVLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyZVLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyZVLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyZVL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyZVMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7f-gep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7f-gup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tyZVMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tyZVMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7f-g-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tyZVM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7f-hOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tyZVNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7f-hep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tyZVNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7f-d-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7f-h-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tyZVJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tyZVN7BcEeSqLfQ0kalDug"
called="#_0uENomJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0uN-kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0uN-kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.eUnset.override" headerMethod="#_0uN-kmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AMmpVHLZEd-09ds9dfYpFw" initMethod="#_0uN-k2J-Ed-FqczH3ESmRw"
footerMethod="#_0uN-lWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7f-iep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tyjGIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0uN-kmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-kmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0uN-k2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-k2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AMmpVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._AMmpVHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0uN-lWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-lWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0uN-oWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0uN-kGJ-Ed-FqczH3ESmRw/method._0uN-oWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7pvcup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7pvc-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7pvdOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7pvdep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7pvdup3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7pvd-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7pveOp3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7pveep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tyjGKLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tyjGKbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tyjGKrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tyjGK7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyjGLLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyjGLbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyjGLrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tyjGL7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7pveup3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7pve-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tyjGMLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tyjGMbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7pvfOp3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tyjGMrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7pvfep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tyjGM7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7pvfup3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tyjGNLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7pvcep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7pvgOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tyjGJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tyjGNrBcEeSqLfQ0kalDug"
called="#_0uN-oWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0uXvkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0uXvkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.eIsSet.override" headerMethod="#_0uXvkmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AN8tJHLZEd-09ds9dfYpFw" initMethod="#_0uXvk2J-Ed-FqczH3ESmRw"
footerMethod="#_0uXvlWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7pvgup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tysQEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0uXvkmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvkmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0uXvk2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvk2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AN8tJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._AN8tJHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0uXvlWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvlWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0uXvoWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0uXvkGJ-Ed-FqczH3ESmRw/method._0uXvoWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7pviep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7pviup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7pvi-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7pvjOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7pvjep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7pvjup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7pvj-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7pvkOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tysQGLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tysQGbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tysQGrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tysQG7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tysQHLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tysQHbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tysQHrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tysQH7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7pvkep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7pvkup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tysQILBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tysQIbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7pvk-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tysQIrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7pvlOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tysQI7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7pvlep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tysQJLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7pviOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7pvl-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tysQF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tysQJrBcEeSqLfQ0kalDug"
called="#_0uXvoWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0ug5gGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0ug5gGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.insert" headerMethod="#_0ug5gmJ-Ed-FqczH3ESmRw" conditionMethod="#_AO_O9HLZEd-09ds9dfYpFw"
initMethod="#_0ug5g2J-Ed-FqczH3ESmRw" footerMethod="#_0ug5hWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w7y5Yep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ty2BEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0ug5gmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5gmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0ug5g2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5g2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AO_O9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._AO_O9HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0ug5hWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5hWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0ug5kWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0ug5gGJ-Ed-FqczH3ESmRw/method._0ug5kWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w7y5aOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w7y5aep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w7y5aup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w7y5a-p3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7y5bOp3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7y5bep3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7y5bup3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_w7y5b-p3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_ty2BGLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ty2BGbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ty2BGrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_ty2BG7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ty2BHLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ty2BHbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ty2BHrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ty2BH7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_w7y5cOp3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_w7y5cep3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_ty2BILBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_ty2BIbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7y5cup3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_ty2BIrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7y5c-p3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_ty2BI7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_w7y5dOp3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_ty2BJLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w7y5Z-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w7y5dup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ty2BF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ty2BJrBcEeSqLfQ0kalDug"
called="#_0ug5kWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_JLBM0HroEeC0XN9kbwkPYQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_JLBM0HroEeC0XN9kbwkPYQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.egfCustom.constructor.override" headerMethod="#_JLBM0nroEeC0XN9kbwkPYQ"
conditionMethod="#_JLBM1HroEeC0XN9kbwkPYQ" initMethod="#_JLBM03roEeC0XN9kbwkPYQ"
footerMethod="#_JLBM1nroEeC0XN9kbwkPYQ">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_winkYep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tlIVMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_JLBM0nroEeC0XN9kbwkPYQ" name="header" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM0nroEeC0XN9kbwkPYQ.pt"/>
<methods xmi:id="_JLBM03roEeC0XN9kbwkPYQ" name="init" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM03roEeC0XN9kbwkPYQ.pt"/>
<methods xmi:id="_JLBM1HroEeC0XN9kbwkPYQ" name="preCondition" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1HroEeC0XN9kbwkPYQ.pt"/>
<methods xmi:id="_JLBM1nroEeC0XN9kbwkPYQ" name="footer" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM1nroEeC0XN9kbwkPYQ.pt"/>
<methods xmi:id="_JLBM4XroEeC0XN9kbwkPYQ" name="doGenerate" patternFilePath="templates/pattern._JLBM0HroEeC0XN9kbwkPYQ/method._JLBM4XroEeC0XN9kbwkPYQ.pt"/>
- <parameters xmi:id="_winkaOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_winkaep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_winkaup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_winka-p3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_winkbOp3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_winkbep3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_winkbup3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_winkb-p3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tlIVOLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tlIVObBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tlIVOrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tlIVO7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlIVPLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlIVPbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlIVPrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlIVP7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_winkcOp3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_winkcep3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tlIVQLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tlIVQbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_winkcup3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tlIVQrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_winkc-p3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tlIVQ7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_winkdOp3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tlIVRLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_winkZ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_winkdup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tlIVN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tlIVRrBcEeSqLfQ0kalDug"
called="#_JLBM4XroEeC0XN9kbwkPYQ"/>
</elements>
- <elements xmi:id="_C2iO4eXDEeCxnsoQRwU99Q" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_C2iO4eXDEeCxnsoQRwU99Q" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Class.interface.javadoc.override" headerMethod="#_C2iO4-XDEeCxnsoQRwU99Q"
conditionMethod="#_C2iO5eXDEeCxnsoQRwU99Q" initMethod="#_C2iO5OXDEeCxnsoQRwU99Q"
footerMethod="#_C2iO5-XDEeCxnsoQRwU99Q">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wiUCc-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tksQUrBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_C2iO4-XDEeCxnsoQRwU99Q" name="header" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO4-XDEeCxnsoQRwU99Q.pt"/>
<methods xmi:id="_C2iO5OXDEeCxnsoQRwU99Q" name="init" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5OXDEeCxnsoQRwU99Q.pt"/>
<methods xmi:id="_C2iO5eXDEeCxnsoQRwU99Q" name="preCondition" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5eXDEeCxnsoQRwU99Q.pt"/>
<methods xmi:id="_C2iO5-XDEeCxnsoQRwU99Q" name="footer" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO5-XDEeCxnsoQRwU99Q.pt"/>
<methods xmi:id="_C2iO9uXDEeCxnsoQRwU99Q" name="doGenerate" patternFilePath="templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt"/>
- <parameters xmi:id="_wiUCeup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wiUCe-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wiUCfOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wiUCfep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wiUCfup3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wiUCf-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wiUCgOp3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wiUCgep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tksQWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tksQWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tksQW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tksQXLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tksQXbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tksQXrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tksQX7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tksQYLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wiUCgup3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wiUCg-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tksQYbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tksQYrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wiUChOp3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tksQY7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wiUChep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tksQZLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wiUChup3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tksQZbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wiUCeep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wiUCiOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tksQWLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tksQZ7BcEeSqLfQ0kalDug"
called="#_C2iO9uXDEeCxnsoQRwU99Q"/>
</elements>
- <elements xmi:id="_odzp0LM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert
"
+ <elements xmi:id="_odzp0LM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Class.Class.setGenFeature.annotations.insert
"
name="Class.genFeatureReified.override" headerMethod="#_odzp0rM-EeKd56X4hcZPSw"
conditionMethod="#_odzp1LM-EeKd56X4hcZPSw" initMethod="#_odzp07M-EeKd56X4hcZPSw"
footerMethod="#_odzp1rM-EeKd56X4hcZPSw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wiwuUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tlb3MbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_odzp0rM-EeKd56X4hcZPSw" name="header" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp0rM-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_odzp07M-EeKd56X4hcZPSw" name="init" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp07M-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_odzp1LM-EeKd56X4hcZPSw" name="preCondition" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1LM-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_odzp1rM-EeKd56X4hcZPSw" name="footer" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp1rM-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_odzp6LM-EeKd56X4hcZPSw" name="doGenerate" patternFilePath="templates/pattern._odzp0LM-EeKd56X4hcZPSw/method._odzp6LM-EeKd56X4hcZPSw.pt"/>
- <parameters xmi:id="_wiwuWOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wiwuWep3EeOL64M_eEhORw" name="classExtendsGenClass"
+ <parameters xmi:id="_tlb3OLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tlb3ObBcEeSqLfQ0kalDug" name="classExtendsGenClass"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wiwuWup3EeOL64M_eEhORw" name="classExtendsAllGenFeatures"
+ <parameters xmi:id="_tlb3OrBcEeSqLfQ0kalDug" name="classExtendsAllGenFeatures"
type="java.util.List"/>
- <parameters xmi:id="_wiwuW-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wiwuXOp3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wiwuXep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wiwuXup3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wiwuX-p3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wiwuYOp3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wiwuYep3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wiwuYup3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tlb3O7BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tlb3PLBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tlb3PbBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tlb3PrBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlb3P7BcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlb3QLBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlb3QbBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tlb3QrBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wiwuY-p3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wiwuZOp3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tlb3Q7BcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tlb3RLBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wiwuZep3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tlb3RbBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wiwuZup3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tlb3RrBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wiwuZ-p3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tlb3R7BcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wiwuV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wiwuaep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tlb3N7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tlb3SbBcEeSqLfQ0kalDug"
called="#_odzp6LM-EeKd56X4hcZPSw"/>
</elements>
</libraries>
<libraries xmi:id="_0u0bgGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.model.call.Interface">
- <elements xmi:id="_0u0bgWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.insert
"
+ <elements xmi:id="_0u0bgWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.declaredFieldGenFeature.insert
"
name="Interface.declaredFieldGenFeature.override" headerMethod="#_0u0bg2J-Ed-FqczH3ESmRw"
conditionMethod="#_AQBwxXLZEd-09ds9dfYpFw" initMethod="#_0u0bhGJ-Ed-FqczH3ESmRw"
footerMethod="#_0u0bhmJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQItWep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tdifcbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0u0bg2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bg2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0u0bhGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AQBwxXLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._AQBwxXLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0u0bhmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bhmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0u0bk2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0u0bgWJ-Ed-FqczH3ESmRw/method._0u0bk2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQItYOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQItYep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQItYup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQItY-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQItZOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQItZep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQItZup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQItZ-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQItaOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tdifeLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tdifebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tdiferBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tdife7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tdiffLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdiffbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdiffrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdiff7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdifgLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQItaep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQItaup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tdifgbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tdifgrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQIta-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tdifg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQItbOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tdifhLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQItbep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tdifhbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQItX-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQItb-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tdifd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdifh7BcEeSqLfQ0kalDug"
called="#_0u0bk2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0vHWcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0vHWcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.declaredFieldGenFeature.insert" headerMethod="#_0vHWcmJ-Ed-FqczH3ESmRw"
conditionMethod="#_ARX0lHLZEd-09ds9dfYpFw" initMethod="#_0vHWc2J-Ed-FqczH3ESmRw"
footerMethod="#_0vHWdWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQSeQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tdrpYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0vHWcmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWcmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vHWc2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWc2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_ARX0lHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._ARX0lHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0vHWdWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWdWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vHWgmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vHWcGJ-Ed-FqczH3ESmRw/method._0vHWgmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQSeSOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQSeSep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQSeSup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQSeS-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQSeTOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQSeTep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQSeTup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQSeT-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQSeUOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tdrpaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tdrpabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tdrparBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tdrpa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tdrpbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdrpbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdrpbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdrpb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdrpcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQSeUep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQSeUup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tdrpcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tdrpcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQSeU-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tdrpc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQSeVOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tdrpdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQSeVep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tdrpdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQSeR-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQSeV-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tdrpZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdrpd7BcEeSqLfQ0kalDug"
called="#_0vHWgmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0vQgYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0vQgYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.reflectiveDelegation.override" headerMethod="#_0vQgYmJ-Ed-FqczH3ESmRw"
conditionMethod="#_ASkHZHLZEd-09ds9dfYpFw" initMethod="#_0vQgY2J-Ed-FqczH3ESmRw"
footerMethod="#_0vQgZWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQboMep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_teIVaLBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0vQgYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgYmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vQgY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgY2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_ASkHZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._ASkHZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0vQgZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgZWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vQgcWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vQgYGJ-Ed-FqczH3ESmRw/method._0vQgcWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQboOOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQboOep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQboOup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQboO-p3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQboPOp3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQboPep3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQboPup3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQboP-p3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_teIVb7BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_teIVcLBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_teIVcbBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_teIVcrBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teIVc7BcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teIVdLBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teIVdbBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teIVdrBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQboQOp3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQboQep3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_teIVd7BcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_teIVeLBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQboQup3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_teIVebBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQboQ-p3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_teIVerBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQboROp3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_teIVe7BcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQboN-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQboRup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_teIVbrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_teIVfbBcEeSqLfQ0kalDug"
called="#_0vQgcWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0vaRYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.insert
"
+ <elements xmi:id="_0vaRYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.insert
"
name="Interface.genFeature.override" headerMethod="#_0vaRYmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AUpyFHLZEd-09ds9dfYpFw" initMethod="#_0vaRY2J-Ed-FqczH3ESmRw"
footerMethod="#_0vaRZWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQ4UIep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tfBtMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0vaRYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRYmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vaRY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRY2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AUpyFHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._AUpyFHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0vaRZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRZWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vaRcmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vaRYGJ-Ed-FqczH3ESmRw/method._0vaRcmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQ4UKOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQ4UKep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQ4UKup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQ4UK-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQ4ULOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQ4ULep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQ4ULup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQ4UL-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQ4UMOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tfBtOLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tfBtObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tfBtOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tfBtO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tfBtPLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfBtPbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfBtPrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfBtP7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfBtQLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQ4UMep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQ4UMup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tfBtQbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tfBtQrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQ4UM-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tfBtQ7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQ4UNOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tfBtRLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQ4UNep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tfBtRbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQ4UJ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQ4UN-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tfBtN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tfBtR7BcEeSqLfQ0kalDug"
called="#_0vaRcmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0vkCYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.TODO.override
"
+ <elements xmi:id="_0vkCYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.TODO.override
"
name="Interface.getGenFeature.override" headerMethod="#_0vkCYmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AWlrxHLZEd-09ds9dfYpFw" initMethod="#_0vkCY2J-Ed-FqczH3ESmRw"
footerMethod="#_0vkCZWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQ4UOep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tfLeMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0vkCYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCYmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vkCY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCY2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AWlrxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._AWlrxHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0vkCZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCZWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vkCcmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vkCYGJ-Ed-FqczH3ESmRw/method._0vkCcmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQ4UQOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQ4UQep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQ4UQup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQ4UQ-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQ4UROp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQ4URep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQ4URup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQ4UR-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQ4USOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tfLeOLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tfLeObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tfLeOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tfLeO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tfLePLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfLePbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfLePrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfLeP7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfLeQLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQ4USep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQ4USup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tfLeQbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tfLeQrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQ4US-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tfLeQ7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQ4UTOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tfLeRLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQ4UTep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tfLeRbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQ4UP-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQ4UT-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tfLeN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tfLeR7BcEeSqLfQ0kalDug"
called="#_0vkCcmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0vtMUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.insert
"
+ <elements xmi:id="_0vtMUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.javadoc.insert
"
name="Interface.getGenFeature.javadoc.override" headerMethod="#_0vtMUmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AXx-lHLZEd-09ds9dfYpFw" initMethod="#_0vtMU2J-Ed-FqczH3ESmRw"
footerMethod="#_0vtMVWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRCFIep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tfUoIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0vtMUmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMUmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vtMU2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMU2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AXx-lHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._AXx-lHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0vtMVWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMVWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0vtMYmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0vtMUGJ-Ed-FqczH3ESmRw/method._0vtMYmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRCFKOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRCFKep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRCFKup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRCFK-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRCFLOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRCFLep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRCFLup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRCFL-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRCFMOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tfUoKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tfUoKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tfUoKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tfUoK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tfUoLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfUoLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfUoLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfUoL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfUoMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRCFMep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRCFMup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tfUoMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tfUoMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRCFM-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tfUoM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRCFNOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tfUoNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRCFNep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tfUoNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRCFJ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRCFN-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tfUoJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tfUoN7BcEeSqLfQ0kalDug"
called="#_0vtMYmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0wJ4QGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0wJ4QGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.getGenFeature.javadoc.insert" headerMethod="#_0wJ4QmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AZkHRHLZEd-09ds9dfYpFw" initMethod="#_0wJ4Q2J-Ed-FqczH3ESmRw"
footerMethod="#_0wJ4RWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRCFOep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tfeZIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0wJ4QmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4QmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wJ4Q2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4Q2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AZkHRHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._AZkHRHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0wJ4RWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4RWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wJ4UmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wJ4QGJ-Ed-FqczH3ESmRw/method._0wJ4UmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRCFQOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRCFQep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRCFQup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRCFQ-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRCFROp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRCFRep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRCFRup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRCFR-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRCFSOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tfeZKLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tfeZKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tfeZKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tfeZK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tfeZLLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfeZLbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfeZLrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfeZL7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfeZMLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRCFSep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRCFSup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tfeZMbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tfeZMrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRCFS-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tfeZM7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRCFTOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tfeZNLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRCFTep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tfeZNbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRCFP-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRCFT-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tfeZJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tfeZN7BcEeSqLfQ0kalDug"
called="#_0wJ4UmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0wTpQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0wTpQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.getGenFeature.annotations.insert" headerMethod="#_0wTpQmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AawaFHLZEd-09ds9dfYpFw" initMethod="#_0wTpQ2J-Ed-FqczH3ESmRw"
footerMethod="#_0wTpRWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQlZMep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tebQQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0wTpQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wTpQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpQ2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AawaFHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._AawaFHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0wTpRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpRWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wTpUmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wTpQGJ-Ed-FqczH3ESmRw/method._0wTpUmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQlZOOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQlZOep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQlZOup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQlZO-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQlZPOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQlZPep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQlZPup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQlZP-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQlZQOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tebQSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tebQSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tebQSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tebQS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tebQTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tebQTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tebQTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tebQT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tebQULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQlZQep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQlZQup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tebQUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tebQUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQlZQ-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tebQU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQlZROp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tebQVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQlZRep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tebQVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQlZN-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQlZR-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tebQR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tebQV7BcEeSqLfQ0kalDug"
called="#_0wTpUmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0wczMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0wczMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.getGenFeature.pre.insert" headerMethod="#_0wczMmJ-Ed-FqczH3ESmRw"
conditionMethod="#_Ab8s5HLZEd-09ds9dfYpFw" initMethod="#_0wczM2J-Ed-FqczH3ESmRw"
footerMethod="#_0wczNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQlZSep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_telBQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0wczMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wczM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Ab8s5HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._Ab8s5HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0wczNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wczQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wczMGJ-Ed-FqczH3ESmRw/method._0wczQmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQlZUOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQlZUep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQlZUup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQlZU-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQlZVOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQlZVep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQlZVup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQlZV-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQlZWOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_telBSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_telBSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_telBSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_telBS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_telBTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_telBTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_telBTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_telBT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_telBULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQlZWep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQlZWup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_telBUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_telBUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQlZW-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_telBU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQlZXOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_telBVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQlZXep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_telBVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQlZT-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQlZX-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_telBR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_telBV7BcEeSqLfQ0kalDug"
called="#_0wczQmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0wmkMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0wmkMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.getGenFeature.TODO.override" headerMethod="#_0wmkMmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AdvcpHLZEd-09ds9dfYpFw" initMethod="#_0wmkM2J-Ed-FqczH3ESmRw"
footerMethod="#_0wmkNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRL2Iep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tfnjEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0wmkMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wmkM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AdvcpHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._AdvcpHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0wmkNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wmkQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wmkMGJ-Ed-FqczH3ESmRw/method._0wmkQmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRL2KOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRL2Kep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRL2Kup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRL2K-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRL2LOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRL2Lep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRL2Lup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRL2L-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRL2MOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tfnjGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tfnjGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tfnjGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tfnjG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tfnjHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfnjHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfnjHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfnjH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfnjILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRL2Mep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRL2Mup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tfnjIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tfnjIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRL2M-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tfnjI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRL2NOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tfnjJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRL2Nep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tfnjJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRL2J-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRL2N-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tfnjF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tfnjJ7BcEeSqLfQ0kalDug"
called="#_0wmkQmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0wwVMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.TODO.override
"
+ <elements xmi:id="_0wwVMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicGetGenFeature.TODO.override
"
name="Interface.basicGetGenFeature.override" headerMethod="#_0wwVMmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AfhlVHLZEd-09ds9dfYpFw" initMethod="#_0wwVM2J-Ed-FqczH3ESmRw"
footerMethod="#_0wwVNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRL2Oep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tfxUEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0wwVMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wwVM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AfhlVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._AfhlVHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0wwVNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0wwVQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0wwVMGJ-Ed-FqczH3ESmRw/method._0wwVQmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRVAEOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRVAEep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRVAEup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRVAE-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRVAFOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVAFep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVAFup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVAF-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVAGOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tfxUGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tfxUGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tfxUGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tfxUG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tfxUHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfxUHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfxUHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfxUH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tfxUILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRVAGep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRVAGup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tfxUIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tfxUIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVAG-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tfxUI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVAHOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tfxUJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVAHep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tfxUJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRL2P-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRVAH-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tfxUF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tfxUJ7BcEeSqLfQ0kalDug"
called="#_0wwVQmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0w5fIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0w5fIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicGetGenFeature.annotations.insert" headerMethod="#_0w5fImJ-Ed-FqczH3ESmRw"
conditionMethod="#_Ag3pJHLZEd-09ds9dfYpFw" initMethod="#_0w5fI2J-Ed-FqczH3ESmRw"
footerMethod="#_0w5fJWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRVAIep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tf7FEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0w5fImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0w5fI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Ag3pJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._Ag3pJHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0w5fJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fJWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0w5fMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0w5fIGJ-Ed-FqczH3ESmRw/method._0w5fMmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRVAKOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRVAKep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRVAKup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRVAK-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRVALOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVALep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVALup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVAL-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVAMOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tf7FGLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tf7FGbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tf7FGrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tf7FG7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tf7FHLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tf7FHbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tf7FHrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tf7FH7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tf7FILBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRVAMep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRVAMup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tf7FIbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tf7FIrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVAM-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tf7FI7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVANOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tf7FJLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVANep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tf7FJbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRVAJ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRVAN-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tf7FF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tf7FJ7BcEeSqLfQ0kalDug"
called="#_0w5fMmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0xDQIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0xDQIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicGetGenFeature.pre.insert" headerMethod="#_0xDQImJ-Ed-FqczH3ESmRw"
conditionMethod="#_Ah6K9HLZEd-09ds9dfYpFw" initMethod="#_0xDQI2J-Ed-FqczH3ESmRw"
footerMethod="#_0xDQJWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRVAOep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tf7FKbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0xDQImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xDQI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Ah6K9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._Ah6K9HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0xDQJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQJWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xDQMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xDQIGJ-Ed-FqczH3ESmRw/method._0xDQMmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRVAQOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRVAQep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRVAQup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRVAQ-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRVAROp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVARep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVARup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVAR-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRVASOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tf7FMLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tf7FMbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tf7FMrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tf7FM7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tf7FNLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tf7FNbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tf7FNrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tf7FN7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tf7FOLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRVASep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRVASup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tf7FObBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tf7FOrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVAS-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tf7FO7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVATOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tf7FPLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRVATep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tf7FPbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRVAP-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRVAT-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tf7FL7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tf7FP7BcEeSqLfQ0kalDug"
called="#_0xDQMmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0xNBIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0xNBIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicGetGenFeature.TODO.override" headerMethod="#_0xNBImJ-Ed-FqczH3ESmRw"
conditionMethod="#_Aizi1HLZEd-09ds9dfYpFw" initMethod="#_0xNBI2J-Ed-FqczH3ESmRw"
footerMethod="#_0xNBJWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRexEep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tgEPAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0xNBImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xNBI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Aizi1HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._Aizi1HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0xNBJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBJWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xNBMmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xNBIGJ-Ed-FqczH3ESmRw/method._0xNBMmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRexGOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRexGep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRexGup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRexG-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRexHOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRexHep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRexHup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRexH-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRexIOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tgEPCLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tgEPCbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tgEPCrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tgEPC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tgEPDLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgEPDbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgEPDrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgEPD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgEPELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRexIep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRexIup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tgEPEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tgEPErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRexI-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tgEPE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRexJOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tgEPFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRexJep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tgEPFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRexF-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRexJ-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tgEPB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tgEPF7BcEeSqLfQ0kalDug"
called="#_0xNBMmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0xWLEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.TODO.override
"
+ <elements xmi:id="_0xWLEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.TODO.override
"
name="Interface.basicSetGenFeature.override" headerMethod="#_0xWLEmJ-Ed-FqczH3ESmRw"
conditionMethod="#_Aj_1pHLZEd-09ds9dfYpFw" initMethod="#_0xWLE2J-Ed-FqczH3ESmRw"
footerMethod="#_0xWLFWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRn7Aep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tgOAAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0xWLEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLEmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xWLE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Aj_1pHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._Aj_1pHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0xWLFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLFWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xWLImJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xWLEGJ-Ed-FqczH3ESmRw/method._0xWLImJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRn7COp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRn7Cep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRn7Cup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRn7C-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRn7DOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRn7Dep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRn7Dup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRn7D-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRn7EOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tgOACLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tgOACbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tgOACrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tgOAC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tgOADLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgOADbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgOADrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgOAD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgOAELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRn7Eep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRn7Eup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tgOAEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tgOAErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRn7E-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tgOAE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRn7FOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tgOAFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRn7Fep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tgOAFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRn7B-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRn7F-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tgOAB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tgOAF7BcEeSqLfQ0kalDug"
called="#_0xWLImJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0xpGAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0xpGAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicSetGenFeature.annotations.insert" headerMethod="#_0xpGAmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AmYbRHLZEd-09ds9dfYpFw" initMethod="#_0xpGA2J-Ed-FqczH3ESmRw"
footerMethod="#_0xpGBWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQvKMep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_teuyQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0xpGAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGAmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xpGA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGA2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AmYbRHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._AmYbRHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0xpGBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGBWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xpGEmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xpGAGJ-Ed-FqczH3ESmRw/method._0xpGEmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQvKOOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQvKOep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQvKOup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQvKO-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQvKPOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQvKPep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQvKPup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQvKP-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQvKQOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_teuySLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_teuySbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_teuySrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_teuyS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_teuyTLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teuyTbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teuyTrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teuyT7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teuyULBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQvKQep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQvKQup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_teuyUbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_teuyUrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQvKQ-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_teuyU7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQvKROp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_teuyVLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQvKRep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_teuyVbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQvKN-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQvKR-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_teuyR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_teuyV7BcEeSqLfQ0kalDug"
called="#_0xpGEmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0xy3AGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0xy3AGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicSetGenFeature.pre.insert" headerMethod="#_0xy3AmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AsC-ZHLZEd-09ds9dfYpFw" initMethod="#_0xy3A2J-Ed-FqczH3ESmRw"
footerMethod="#_0xy3BWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRn7Gep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tgXxAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0xy3AmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3AmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xy3A2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3A2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AsC-ZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._AsC-ZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0xy3BWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3BWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0xy3EmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0xy3AGJ-Ed-FqczH3ESmRw/method._0xy3EmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRn7IOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRn7Iep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRn7Iup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRn7I-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRn7JOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRn7Jep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRn7Jup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRn7J-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRn7KOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tgXxCLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tgXxCbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tgXxCrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tgXxC7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tgXxDLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgXxDbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgXxDrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgXxD7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgXxELBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRn7Kep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRn7Kup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tgXxEbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tgXxErBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRn7K-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tgXxE7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRn7LOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tgXxFLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRn7Lep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tgXxFbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRn7H-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRn7L-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tgXxB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tgXxF7BcEeSqLfQ0kalDug"
called="#_0xy3EmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0x8oAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0x8oAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicSetGenFeature.post.insert" headerMethod="#_0x8oAmJ-Ed-FqczH3ESmRw"
conditionMethod="#_AtPRNHLZEd-09ds9dfYpFw" initMethod="#_0x8oA2J-Ed-FqczH3ESmRw"
footerMethod="#_0x8oBWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRxsAep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tgg68bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0x8oAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oAmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0x8oA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oA2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AtPRNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._AtPRNHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0x8oBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oBWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0x8oEmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0x8oAGJ-Ed-FqczH3ESmRw/method._0x8oEmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRxsCOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRxsCep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRxsCup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRxsC-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRxsDOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRxsDep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRxsDup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRxsD-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRxsEOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tgg6-LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tgg6-bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tgg6-rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tgg6-7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tgg6_LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgg6_bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgg6_rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgg6_7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgg7ALBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRxsEep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRxsEup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tgg7AbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tgg7ArBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRxsE-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tgg7A7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRxsFOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tgg7BLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRxsFep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tgg7BbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRxsB-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRxsF-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tgg697BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tgg7B7BcEeSqLfQ0kalDug"
called="#_0x8oEmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0x8oFGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0x8oFGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicSetGenFeature.TODO.override" headerMethod="#_0x8oFmJ-Ed-FqczH3ESmRw"
conditionMethod="#_Aukt9HLZEd-09ds9dfYpFw" initMethod="#_0x8oF2J-Ed-FqczH3ESmRw"
footerMethod="#_0x8oGWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wRxsGep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tgqr8bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0x8oFmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oFmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0x8oF2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oF2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Aukt9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._Aukt9HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0x8oGWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0x8oGWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0yFx-2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0x8oFGJ-Ed-FqczH3ESmRw/method._0yFx-2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wRxsIOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wRxsIep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wRxsIup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wRxsI-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wRxsJOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRxsJep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRxsJup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRxsJ-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wRxsKOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tgqr-LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tgqr-bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tgqr-rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tgqr-7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tgqr_LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgqr_bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgqr_rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgqr_7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgqsALBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wRxsKep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wRxsKup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tgqsAbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tgqsArBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRxsK-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tgqsA7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRxsLOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tgqsBLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wRxsLep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tgqsBbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wRxsH-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wRxsL-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tgqr97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tgqsB7BcEeSqLfQ0kalDug"
called="#_0yFx-2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0yPi8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.TODO.override
"
+ <elements xmi:id="_0yPi8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.post.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.TODO.override
"
name="Interface.setGenFeature.override" headerMethod="#_0yPi8mJ-Ed-FqczH3ESmRw"
conditionMethod="#_AvxAxHLZEd-09ds9dfYpFw" initMethod="#_0yPi82J-Ed-FqczH3ESmRw"
footerMethod="#_0yPi9WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wR7dAep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tgz14bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0yPi8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0yPi82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi82J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_AvxAxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._AvxAxHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0yPi9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPi9WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0yPjAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0yPi8GJ-Ed-FqczH3ESmRw/method._0yPjAmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wR7dCOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wR7dCep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wR7dCup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wR7dC-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wR7dDOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wR7dDep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wR7dDup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wR7dD-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wR7dEOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tgz16LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tgz16bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tgz16rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tgz167BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tgz17LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgz17bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgz17rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgz177BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tgz18LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wR7dEep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wR7dEup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tgz18bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tgz18rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wR7dE-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tgz187BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wR7dFOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tgz19LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wR7dFep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tgz19bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wR7dB-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wR7dF-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tgz157BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tgz197BcEeSqLfQ0kalDug"
called="#_0yPjAmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0yZT8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.insert
"
+ <elements xmi:id="_0yZT8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.javadoc.insert
"
name="Interface.setGenFeature.javadoc.override" headerMethod="#_0yZT8mJ-Ed-FqczH3ESmRw"
conditionMethod="#_BAT-NHLZEd-09ds9dfYpFw" initMethod="#_0yZT82J-Ed-FqczH3ESmRw"
footerMethod="#_0yZT9WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wSEm8ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tg9m4bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0yZT8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0yZT82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT82J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BAT-NHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._BAT-NHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0yZT9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZT9WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0yZUAmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0yZT8GJ-Ed-FqczH3ESmRw/method._0yZUAmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wSEm-Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wSEm-ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wSEm-up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wSEm--p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wSEm_Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSEm_ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSEm_up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSEm_-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSEnAOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tg9m6LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tg9m6bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tg9m6rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tg9m67BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tg9m7LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tg9m7bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tg9m7rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tg9m77BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tg9m8LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wSEnAep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wSEnAup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tg9m8bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tg9m8rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSEnA-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tg9m87BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSEnBOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tg9m9LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSEnBep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tg9m9bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wSEm9-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wSEnB-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tg9m57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tg9m97BcEeSqLfQ0kalDug"
called="#_0yZUAmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0yid4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0yid4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.setGenFeature.javadoc.insert" headerMethod="#_0yid4mJ-Ed-FqczH3ESmRw"
conditionMethod="#_BGamNHLZEd-09ds9dfYpFw" initMethod="#_0yid42J-Ed-FqczH3ESmRw"
footerMethod="#_0yid5WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wSEnCep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_thHX4bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0yid4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid4mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0yid42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid42J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BGamNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._BGamNHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0yid5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid5WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0yid8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0yid4GJ-Ed-FqczH3ESmRw/method._0yid8mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wSEnEOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wSEnEep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wSEnEup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wSEnE-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wSEnFOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSEnFep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSEnFup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSEnF-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSEnGOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_thHX6LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_thHX6bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_thHX6rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_thHX67BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_thHX7LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thHX7bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thHX7rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thHX77BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thHX8LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wSEnGep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wSEnGup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_thHX8bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_thHX8rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSEnG-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_thHX87BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSEnHOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_thHX9LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSEnHep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_thHX9bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wSEnD-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wSEnH-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_thHX57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_thHX97BcEeSqLfQ0kalDug"
called="#_0yid8mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0ysO4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0ysO4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.setGenFeature.annotations.insert" headerMethod="#_0ysO4mJ-Ed-FqczH3ESmRw"
conditionMethod="#_BH6bBHLZEd-09ds9dfYpFw" initMethod="#_0ysO42J-Ed-FqczH3ESmRw"
footerMethod="#_0ysO5WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQvKSep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_te38MbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0ysO4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO4mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0ysO42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO42J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BH6bBHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._BH6bBHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0ysO5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO5WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0ysO8mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0ysO4GJ-Ed-FqczH3ESmRw/method._0ysO8mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wQvKUOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQvKUep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQvKUup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQvKU-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQvKVOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQvKVep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQvKVup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQvKV-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQvKWOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_te38OLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_te38ObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_te38OrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_te38O7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_te38PLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_te38PbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_te38PrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_te38P7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_te38QLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQvKWep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQvKWup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_te38QbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_te38QrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQvKW-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_te38Q7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQvKXOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_te38RLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQvKXep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_te38RbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQvKT-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQvKX-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_te38N7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_te38R7BcEeSqLfQ0kalDug"
called="#_0ysO8mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0y1Y0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0y1Y0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.setGenFeature.pre.insert" headerMethod="#_0y1Y0mJ-Ed-FqczH3ESmRw"
conditionMethod="#_BI881HLZEd-09ds9dfYpFw" initMethod="#_0y1Y02J-Ed-FqczH3ESmRw"
footerMethod="#_0y1Y1WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wSOX8ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_thQh0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0y1Y0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y0mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0y1Y02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y02J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BI881HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._BI881HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0y1Y1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y1WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0y1Y42J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0y1Y0GJ-Ed-FqczH3ESmRw/method._0y1Y42J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wSOX-Op3EeOL64M_eEhORw" name="setAccessorOperation"
+ <parameters xmi:id="_thQh2LBcEeSqLfQ0kalDug" name="setAccessorOperation"
type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wSOX-ep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wSOX-up3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wSOX--p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wSOX_Op3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wSOX_ep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSOX_up3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSOX_-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSOYAOp3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSOYAep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_thQh2bBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_thQh2rBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_thQh27BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_thQh3LBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_thQh3bBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thQh3rBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thQh37BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thQh4LBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thQh4bBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wSOYAup3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wSOYA-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_thQh4rBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_thQh47BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSOYBOp3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_thQh5LBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSOYBep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_thQh5bBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSOYBup3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_thQh5rBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wSOX9-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wSOYCOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_thQh17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_thQh6LBcEeSqLfQ0kalDug"
called="#_0y1Y42J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0y_J0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0y_J0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.setGenFeature.post.insert" headerMethod="#_0y_J0mJ-Ed-FqczH3ESmRw"
conditionMethod="#_BKJPpHLZEd-09ds9dfYpFw" initMethod="#_0y_J02J-Ed-FqczH3ESmRw"
footerMethod="#_0y_J1WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wSOYCup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_thaS0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0y_J0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J0mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0y_J02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J02J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BKJPpHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._BKJPpHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0y_J1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J1WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0y_J42J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0y_J0GJ-Ed-FqczH3ESmRw/method._0y_J42J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wSOYEep3EeOL64M_eEhORw" name="setAccessorOperation"
+ <parameters xmi:id="_thaS2LBcEeSqLfQ0kalDug" name="setAccessorOperation"
type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wSOYEup3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wSOYE-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wSOYFOp3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wSOYFep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wSOYFup3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSOYF-p3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSOYGOp3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSOYGep3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSOYGup3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_thaS2bBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_thaS2rBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_thaS27BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_thaS3LBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_thaS3bBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thaS3rBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thaS37BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thaS4LBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thaS4bBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wSOYG-p3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wSOYHOp3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_thaS4rBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_thaS47BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSOYHep3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_thaS5LBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSOYHup3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_thaS5bBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSOYH-p3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_thaS5rBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wSOYEOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wSOYIep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_thaS17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_thaS6LBcEeSqLfQ0kalDug"
called="#_0y_J42J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0y_J5WJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0y_J5WJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.setGenFeature.TODO.override" headerMethod="#_0y_J52J-Ed-FqczH3ESmRw"
conditionMethod="#_BQGttHLZEd-09ds9dfYpFw" initMethod="#_0y_J6GJ-Ed-FqczH3ESmRw"
footerMethod="#_0zI60GJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wSOYI-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_thkD0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0y_J52J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J52J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0y_J6GJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0y_J6GJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BQGttHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._BQGttHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0zI60GJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI60GJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0zI63mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0y_J5WJ-Ed-FqczH3ESmRw/method._0zI63mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wSYI8Op3EeOL64M_eEhORw" name="setAccessorOperation"
+ <parameters xmi:id="_thkD2LBcEeSqLfQ0kalDug" name="setAccessorOperation"
type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wSYI8ep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wSYI8up3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wSYI8-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wSYI9Op3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wSYI9ep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYI9up3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYI9-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYI-Op3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYI-ep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_thkD2bBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_thkD2rBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_thkD27BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_thkD3LBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_thkD3bBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thkD3rBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thkD37BcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thkD4LBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thkD4bBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wSYI-up3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wSYI--p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_thkD4rBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_thkD47BcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYI_Op3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_thkD5LBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYI_ep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_thkD5bBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYI_up3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_thkD5rBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wSOYKep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wSYJAOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_thkD17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_thkD6LBcEeSqLfQ0kalDug"
called="#_0zI63mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0zSEwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.TODO.override
"
+ <elements xmi:id="_0zSEwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicUnsetGenFeature.TODO.override
"
name="Interface.basicUnsetGenFeature.override" headerMethod="#_0zSEwmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BR5ddHLZEd-09ds9dfYpFw" initMethod="#_0zSEw2J-Ed-FqczH3ESmRw"
footerMethod="#_0zSExWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wSYJAup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_thtNwbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0zSEwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEwmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0zSEw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSEw2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BR5ddHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._BR5ddHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0zSExWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSExWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0zSE0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0zSEwGJ-Ed-FqczH3ESmRw/method._0zSE0mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wSYJCep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wSYJCup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wSYJC-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wSYJDOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wSYJDep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYJDup3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYJD-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYJEOp3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYJEep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_thtNyLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_thtNybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_thtNyrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_thtNy7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_thtNzLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thtNzbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thtNzrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thtNz7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_thtN0LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wSYJEup3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wSYJE-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_thtN0bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_thtN0rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYJFOp3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_thtN07BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYJFep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_thtN1LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYJFup3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_thtN1bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wSYJCOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wSYJGOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_thtNx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_thtN17BcEeSqLfQ0kalDug"
called="#_0zSE0mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0zb1wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0zb1wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicUnsetGenFeature.annotations.insert" headerMethod="#_0zb1wmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BS7_RHLZEd-09ds9dfYpFw" initMethod="#_0zb1w2J-Ed-FqczH3ESmRw"
footerMethod="#_0zb1xWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wSYJGup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_thtN2bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0zb1wmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1wmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0zb1w2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1w2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BS7_RHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._BS7_RHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0zb1xWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb1xWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0zb10mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0zb1wGJ-Ed-FqczH3ESmRw/method._0zb10mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wSYJIep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wSYJIup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wSYJI-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wSYJJOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wSYJJep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYJJup3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYJJ-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYJKOp3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSYJKep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_th2-wLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_th2-wbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_th2-wrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_th2-w7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_th2-xLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_th2-xbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_th2-xrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_th2-x7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_th2-yLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wSYJKup3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wSYJK-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_th2-ybBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_th2-yrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYJLOp3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_th2-y7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYJLep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_th2-zLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSYJLup3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_th2-zbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wSYJIOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wSYJMOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_thtN37BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_th2-z7BcEeSqLfQ0kalDug"
called="#_0zb10mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0zlmwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0zlmwGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.basicUnsetGenFeature.TODO.override" headerMethod="#_0zlmwmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BUISFHLZEd-09ds9dfYpFw" initMethod="#_0zlmw2J-Ed-FqczH3ESmRw"
footerMethod="#_0zlmxWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wShS4ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_th2-0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0zlmwmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmwmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0zlmw2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmw2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BUISFHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._BUISFHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0zlmxWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlmxWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0zlm0mJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0zlmwGJ-Ed-FqczH3ESmRw/method._0zlm0mJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wShS6Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wShS6ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wShS6up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wShS6-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wShS7Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wShS7ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wShS7up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wShS7-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wShS8Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_th2-2LBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_th2-2bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_th2-2rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_th2-27BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_th2-3LBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_th2-3bBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_th2-3rBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_th2-37BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_th2-4LBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wShS8ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wShS8up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_th2-4bBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_th2-4rBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wShS8-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_th2-47BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wShS9Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_th2-5LBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wShS9ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_th2-5bBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wShS5-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wShS9-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_th2-17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_th2-57BcEeSqLfQ0kalDug"
called="#_0zlm0mJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0z4hsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.TODO.override
"
+ <elements xmi:id="_0z4hsGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.TODO.override
"
name="Interface.unsetGenFeature.override" headerMethod="#_0z4hsmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BVnf1HLZEd-09ds9dfYpFw" initMethod="#_0z4hs2J-Ed-FqczH3ESmRw"
footerMethod="#_0z4htWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wShS-ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tiAIsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0z4hsmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hsmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0z4hs2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hs2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BVnf1HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._BVnf1HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0z4htWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4htWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0z4hwmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0z4hsGJ-Ed-FqczH3ESmRw/method._0z4hwmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wShTAOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wShTAep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wShTAup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wShTA-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wShTBOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wShTBep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wShTBup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wShTB-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wShTCOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tiAIuLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tiAIubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tiAIurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tiAIu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tiAIvLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiAIvbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiAIvrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiAIv7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiAIwLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wShTCep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wShTCup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tiAIwbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tiAIwrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wShTC-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tiAIw7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wShTDOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tiAIxLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wShTDep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tiAIxbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wShS_-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wShTD-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tiAIt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tiAIx7BcEeSqLfQ0kalDug"
called="#_0z4hwmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_00BroGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.insert
"
+ <elements xmi:id="_00BroGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.unsetGenFeature.javadoc.insert
"
name="Interface.unsetGenFeature.javadoc.override" headerMethod="#_00BromJ-Ed-FqczH3ESmRw"
conditionMethod="#_BW9jpHLZEd-09ds9dfYpFw" initMethod="#_00Bro2J-Ed-FqczH3ESmRw"
footerMethod="#_00BrpWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wSrD4ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tiJ5sbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_00BromJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BromJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00Bro2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00Bro2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BW9jpHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._BW9jpHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_00BrpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrpWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00BrsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00BroGJ-Ed-FqczH3ESmRw/method._00BrsmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wSrD6Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wSrD6ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wSrD6up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wSrD6-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wSrD7Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSrD7ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSrD7up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSrD7-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wSrD8Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tiJ5uLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tiJ5ubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tiJ5urBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tiJ5u7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tiJ5vLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiJ5vbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiJ5vrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiJ5v7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiJ5wLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wSrD8ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wSrD8up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tiJ5wbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tiJ5wrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSrD8-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tiJ5w7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSrD9Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tiJ5xLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wSrD9ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tiJ5xbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wSrD5-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wSrD9-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tiJ5t7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tiJ5x7BcEeSqLfQ0kalDug"
called="#_00BrsmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_00LcoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_00LcoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.unsetGenFeature.javadoc.insert" headerMethod="#_00LcomJ-Ed-FqczH3ESmRw"
conditionMethod="#_BX27hHLZEd-09ds9dfYpFw" initMethod="#_00Lco2J-Ed-FqczH3ESmRw"
footerMethod="#_00LcpWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTHv0ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tiTqsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_00LcomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcomJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00Lco2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00Lco2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BX27hHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._BX27hHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_00LcpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcpWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00LcsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00LcoGJ-Ed-FqczH3ESmRw/method._00LcsmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTHv2Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTHv2ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTHv2up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTHv2-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTHv3Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTHv3ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTHv3up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTHv3-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTHv4Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tiTquLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tiTqubBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tiTqurBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tiTqu7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tiTqvLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiTqvbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiTqvrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiTqv7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiTqwLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTHv4ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTHv4up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tiTqwbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tiTqwrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTHv4-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tiTqw7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTHv5Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tiTqxLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTHv5ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tiTqxbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTHv1-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTHv5-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tiTqt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tiTqx7BcEeSqLfQ0kalDug"
called="#_00LcsmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_00VNoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_00VNoGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.unsetGenFeature.annotations.insert" headerMethod="#_00VNomJ-Ed-FqczH3ESmRw"
conditionMethod="#_BY5dVHLZEd-09ds9dfYpFw" initMethod="#_00VNo2J-Ed-FqczH3ESmRw"
footerMethod="#_00VNpWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTHv6ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tic0obBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_00VNomJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNomJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00VNo2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNo2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BY5dVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._BY5dVHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_00VNpWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNpWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00VNsmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00VNoGJ-Ed-FqczH3ESmRw/method._00VNsmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTHv8Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTHv8ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTHv8up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTHv8-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTHv9Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTHv9ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTHv9up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTHv9-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTHv-Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tic0qLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tic0qbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tic0qrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tic0q7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tic0rLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tic0rbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tic0rrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tic0r7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tic0sLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTHv-ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTHv-up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tic0sbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tic0srBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTHv--p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tic0s7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTHv_Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tic0tLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTHv_ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tic0tbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTHv7-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTHv_-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tic0p7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tic0t7BcEeSqLfQ0kalDug"
called="#_00VNsmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_00eXkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_00eXkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.unsetGenFeature.TODO.override" headerMethod="#_00eXkmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BZy1NHLZEd-09ds9dfYpFw" initMethod="#_00eXk2J-Ed-FqczH3ESmRw"
footerMethod="#_00eXlWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTQ5wep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tic0ubBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_00eXkmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXkmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00eXk2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXk2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BZy1NHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._BZy1NHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_00eXlWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXlWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00eXomJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00eXkGJ-Ed-FqczH3ESmRw/method._00eXomJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTQ5yOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTQ5yep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTQ5yup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTQ5y-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTQ5zOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTQ5zep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTQ5zup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTQ5z-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTQ50Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tic0wLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tic0wbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tic0wrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tic0w7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tic0xLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tic0xbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tic0xrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tic0x7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tic0yLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTQ50ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTQ50up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tic0ybBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tic0yrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTQ50-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tic0y7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTQ51Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tic0zLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTQ51ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tic0zbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTQ5x-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTQ51-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tic0v7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tic0z7BcEeSqLfQ0kalDug"
called="#_00eXomJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_00oIkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.TODO.override
"
+ <elements xmi:id="_00oIkGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.TODO.override
"
name="Interface.isSetGenFeature.override" headerMethod="#_00oIkmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BaPhJHLZEd-09ds9dfYpFw" initMethod="#_00oIk2J-Ed-FqczH3ESmRw"
footerMethod="#_00oIlWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTQ52ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_timlobBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_00oIkmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIkmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00oIk2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIk2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BaPhJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._BaPhJHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_00oIlWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIlWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00oIomJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00oIkGJ-Ed-FqczH3ESmRw/method._00oIomJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTQ54Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTQ54ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTQ54up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTQ54-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTQ55Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTQ55ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTQ55up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTQ55-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTQ56Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_timlqLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_timlqbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_timlqrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_timlq7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_timlrLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_timlrbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_timlrrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_timlr7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_timlsLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTQ56ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTQ56up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_timlsbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_timlsrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTQ56-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_timls7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTQ57Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_timltLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTQ57ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_timltbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTQ53-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTQ57-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_timlp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_timlt7BcEeSqLfQ0kalDug"
called="#_00oIomJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_00x5kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.insert
"
+ <elements xmi:id="_00x5kGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.isSetGenFeature.javadoc.insert
"
name="Interface.isSetGenFeature.javadoc.override" headerMethod="#_00x5kmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BbSC9HLZEd-09ds9dfYpFw" initMethod="#_00x5k2J-Ed-FqczH3ESmRw"
footerMethod="#_00x5lWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTaqwep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tiwWobBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_00x5kmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5kmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00x5k2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5k2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BbSC9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._BbSC9HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_00x5lWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5lWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_00x5omJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._00x5kGJ-Ed-FqczH3ESmRw/method._00x5omJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTaqyOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTaqyep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTaqyup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTaqy-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTaqzOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTaqzep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTaqzup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTaqz-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTaq0Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tiwWqLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tiwWqbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tiwWqrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tiwWq7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tiwWrLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiwWrbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiwWrrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiwWr7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tiwWsLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTaq0ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTaq0up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tiwWsbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tiwWsrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTaq0-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tiwWs7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTaq1Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tiwWtLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTaq1ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tiwWtbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTaqx-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTaq1-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tiwWp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tiwWt7BcEeSqLfQ0kalDug"
called="#_00x5omJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_01N-cGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_01N-cGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.isSetGenFeature.javadoc.insert" headerMethod="#_01N-cmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BcoGxHLZEd-09ds9dfYpFw" initMethod="#_01N-c2J-Ed-FqczH3ESmRw"
footerMethod="#_01N-dWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTkbwep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ti5gkbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_01N-cmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-cmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_01N-c2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-c2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BcoGxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._BcoGxHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_01N-dWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-dWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_01N-gmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._01N-cGJ-Ed-FqczH3ESmRw/method._01N-gmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTkbyOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTkbyep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTkbyup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTkby-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTkbzOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTkbzep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTkbzup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTkbz-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTkb0Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_ti5gmLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_ti5gmbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_ti5gmrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_ti5gm7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_ti5gnLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ti5gnbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ti5gnrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ti5gn7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_ti5goLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTkb0ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTkb0up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_ti5gobBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_ti5gorBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTkb0-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_ti5go7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTkb1Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_ti5gpLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTkb1ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_ti5gpbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTkbx-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTkb1-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ti5gl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ti5gp7BcEeSqLfQ0kalDug"
called="#_01N-gmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_01hgcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_01hgcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.isSetGenFeature.annotations.insert" headerMethod="#_01hgcmJ-Ed-FqczH3ESmRw"
conditionMethod="#_Bd9jhHLZEd-09ds9dfYpFw" initMethod="#_01hgc2J-Ed-FqczH3ESmRw"
footerMethod="#_01hgdWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTkb2ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tjDRkbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_01hgcmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgcmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_01hgc2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgc2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Bd9jhHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._Bd9jhHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_01hgdWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hgdWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_01hggmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._01hgcGJ-Ed-FqczH3ESmRw/method._01hggmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTkb4Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTkb4ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTkb4up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTkb4-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTkb5Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTkb5ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTkb5up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTkb5-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTkb6Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tjDRmLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tjDRmbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tjDRmrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tjDRm7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tjDRnLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjDRnbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjDRnrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjDRn7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjDRoLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTkb6ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTkb6up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tjDRobBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tjDRorBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTkb6-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tjDRo7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTkb7Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tjDRpLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTkb7ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tjDRpbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTkb3-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTkb7-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tjDRl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tjDRp7BcEeSqLfQ0kalDug"
called="#_01hggmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_01qqYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_01qqYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.isSetGenFeature.TODO.override" headerMethod="#_01qqYmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BfAsZHLZEd-09ds9dfYpFw" initMethod="#_01qqY2J-Ed-FqczH3ESmRw"
footerMethod="#_01qqZWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTtlsep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tjMbgbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_01qqYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqYmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_01qqY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqY2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BfAsZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._BfAsZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_01qqZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqZWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_01qqcmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._01qqYGJ-Ed-FqczH3ESmRw/method._01qqcmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTtluOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTtluep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTtluup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTtlu-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTtlvOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTtlvep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTtlvup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTtlv-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTtlwOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tjMbiLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tjMbibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tjMbirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tjMbi7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tjMbjLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjMbjbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjMbjrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjMbj7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjMbkLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTtlwep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTtlwup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tjMbkbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tjMbkrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTtlw-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tjMbk7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTtlxOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tjMblLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTtlxep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tjMblbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTtlt-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTtlx-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tjMbh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tjMbl7BcEeSqLfQ0kalDug"
called="#_01qqcmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_010bYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_010bYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.genFeature.insert" headerMethod="#_010bYmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BgWJJHLZEd-09ds9dfYpFw" initMethod="#_010bY2J-Ed-FqczH3ESmRw"
footerMethod="#_010bZWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wTtlyep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tjWMgbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_010bYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bYmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_010bY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bY2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BgWJJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._BgWJJHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_010bZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bZWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_010bcmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._010bYGJ-Ed-FqczH3ESmRw/method._010bcmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wTtl0Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wTtl0ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wTtl0up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wTtl0-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wTtl1Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTtl1ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTtl1up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTtl1-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wTtl2Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tjWMiLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tjWMibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tjWMirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tjWMi7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tjWMjLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjWMjbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjWMjrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjWMj7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjWMkLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wTtl2ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wTtl2up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tjWMkbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tjWMkrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTtl2-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tjWMk7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTtl3Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tjWMlLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wTtl3ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tjWMlbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wTtlz-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wTtl3-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tjWMh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tjWMl7BcEeSqLfQ0kalDug"
called="#_010bcmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_01-MYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.insert
"
+ <elements xmi:id="_01-MYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.insert
"
name="Interface.genOperation.override" headerMethod="#_01-MYmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BiI45HLZEd-09ds9dfYpFw" initMethod="#_01-MY2J-Ed-FqczH3ESmRw"
footerMethod="#_01-MZWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wT3Wsep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tjf9gbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_01-MYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MYmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_01-MY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MY2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BiI45HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._BiI45HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_01-MZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-MZWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_01-McmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._01-MYGJ-Ed-FqczH3ESmRw/method._01-McmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wT3WuOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wT3Wuep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wT3Wuup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wT3Wu-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wT3WvOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wT3Wvep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wT3Wvup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wT3Wv-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wT3WwOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tjf9iLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tjf9ibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tjf9irBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tjf9i7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tjf9jLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjf9jbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjf9jrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjf9j7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjf9kLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wT3Wwep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wT3Wwup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tjf9kbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tjf9krBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wT3Ww-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tjf9k7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wT3WxOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tjf9lLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wT3Wxep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tjf9lbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wT3Wt-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wT3Wx-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tjf9h7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tjf9l7BcEeSqLfQ0kalDug"
called="#_01-McmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_02HWUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.insert
"
+ <elements xmi:id="_02HWUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.javadoc.insert
"
name="Interface.genOperation.javadoc.override" headerMethod="#_02HWUmJ-Ed-FqczH3ESmRw"
conditionMethod="#_Bjx3pHLZEd-09ds9dfYpFw" initMethod="#_02HWU2J-Ed-FqczH3ESmRw"
footerMethod="#_02HWVWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wT3Wyep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tjpHcbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_02HWUmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWUmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_02HWU2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWU2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Bjx3pHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._Bjx3pHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_02HWVWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWVWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_02HWYmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._02HWUGJ-Ed-FqczH3ESmRw/method._02HWYmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wT3W0Op3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wT3W0ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wT3W0up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wT3W0-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wT3W1Op3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wT3W1ep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wT3W1up3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wT3W1-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wT3W2Op3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tjpHeLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tjpHebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tjpHerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tjpHe7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tjpHfLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjpHfbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjpHfrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjpHf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjpHgLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wT3W2ep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wT3W2up3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tjpHgbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tjpHgrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wT3W2-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tjpHg7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wT3W3Op3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tjpHhLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wT3W3ep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tjpHhbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wT3Wz-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wT3W3-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tjpHd7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tjpHh7BcEeSqLfQ0kalDug"
called="#_02HWYmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_02kCQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_02kCQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.genOperation.javadoc.insert" headerMethod="#_02kCQmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BlkAVHLZEd-09ds9dfYpFw" initMethod="#_02kCQ2J-Ed-FqczH3ESmRw"
footerMethod="#_02kCRWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wUAgoep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tjy4cbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_02kCQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_02kCQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCQ2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BlkAVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._BlkAVHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_02kCRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCRWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_02kCUmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._02kCQGJ-Ed-FqczH3ESmRw/method._02kCUmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wUAgqOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wUAgqep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wUAgqup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wUAgq-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wUAgrOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUAgrep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUAgrup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUAgr-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUAgsOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tjy4eLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tjy4ebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tjy4erBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tjy4e7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tjy4fLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjy4fbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjy4frBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjy4f7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjy4gLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wUAgsep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wUAgsup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tjy4gbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tjy4grBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUAgs-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tjy4g7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUAgtOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tjy4hLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUAgtep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tjy4hbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wUAgp-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wUAgt-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tjy4d7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tjy4h7BcEeSqLfQ0kalDug"
called="#_02kCUmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_02tzQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_02tzQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.genOperation.annotations.insert" headerMethod="#_02tzQmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BnDOFHLZEd-09ds9dfYpFw" initMethod="#_02tzQ2J-Ed-FqczH3ESmRw"
footerMethod="#_02tzRWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wUAguep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tjy4ibBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_02tzQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_02tzQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzQ2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BnDOFHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._BnDOFHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_02tzRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzRWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_02tzUmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._02tzQGJ-Ed-FqczH3ESmRw/method._02tzUmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wUAgwOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wUAgwep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wUAgwup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wUAgw-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wUAgxOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUAgxep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUAgxup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUAgx-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUAgyOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tjy4kLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tjy4kbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tjy4krBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tjy4k7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tjy4lLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjy4lbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjy4lrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjy4l7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tjy4mLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wUAgyep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wUAgyup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tjy4mbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tjy4mrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUAgy-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tjy4m7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUAgzOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tjy4nLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUAgzep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tjy4nbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wUAgv-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wUAgz-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tjy4j7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tjy4n7BcEeSqLfQ0kalDug"
called="#_02tzUmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0229MGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_0229MGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.implementedGenOperation.TODO.override" headerMethod="#_0229MmJ-Ed-FqczH3ESmRw"
conditionMethod="#_Bn8l9HLZEd-09ds9dfYpFw" initMethod="#_0229M2J-Ed-FqczH3ESmRw"
footerMethod="#_0229NWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wUdMkep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tj8CYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0229MmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229MmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0229M2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229M2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Bn8l9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._Bn8l9HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0229NWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229NWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0229QmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0229MGJ-Ed-FqczH3ESmRw/method._0229QmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wUdMmOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wUdMmep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wUdMmup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wUdMm-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wUdMnOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUdMnep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUdMnup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUdMn-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUdMoOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tj8CaLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tj8CabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tj8CarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tj8Ca7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tj8CbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tj8CbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tj8CbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tj8Cb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tj8CcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wUdMoep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wUdMoup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tj8CcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tj8CcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUdMo-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tj8Cc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUdMpOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tj8CdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUdMpep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tj8CdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wUdMl-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wUdMp-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tj8CZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tj8Cd7BcEeSqLfQ0kalDug"
called="#_0229QmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_03AuMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_03AuMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.genOperation.insert" headerMethod="#_03AuMmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BpSpxHLZEd-09ds9dfYpFw" initMethod="#_03AuM2J-Ed-FqczH3ESmRw"
footerMethod="#_03AuNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wUdMqep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tkFzYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_03AuMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03AuM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BpSpxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._BpSpxHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_03AuNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03AuQmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03AuMGJ-Ed-FqczH3ESmRw/method._03AuQmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wUdMsOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_wUdMsep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wUdMsup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wUdMs-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wUdMtOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUdMtep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUdMtup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUdMt-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUdMuOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tkFzaLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_tkFzabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tkFzarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tkFza7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tkFzbLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkFzbbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkFzbrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkFzb7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkFzcLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wUdMuep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wUdMuup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tkFzcbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tkFzcrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUdMu-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tkFzc7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUdMvOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tkFzdLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUdMvep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tkFzdbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wUdMr-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wUdMv-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tkFzZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tkFzd7BcEeSqLfQ0kalDug"
called="#_03AuQmJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_03KfMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_03KfMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.eUnset.override" headerMethod="#_03KfMmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BqoGhHLZEd-09ds9dfYpFw" initMethod="#_03KfM2J-Ed-FqczH3ESmRw"
footerMethod="#_03KfNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wUm9kep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tkPkYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_03KfMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03KfM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BqoGhHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._BqoGhHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_03KfNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03KfQWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03KfMGJ-Ed-FqczH3ESmRw/method._03KfQWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wUm9mOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wUm9mep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wUm9mup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wUm9m-p3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUm9nOp3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUm9nep3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUm9nup3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUm9n-p3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tkPkaLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tkPkabBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tkPkarBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tkPka7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkPkbLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkPkbbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkPkbrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkPkb7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wUm9oOp3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wUm9oep3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tkPkcLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tkPkcbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUm9oup3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tkPkcrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUm9o-p3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tkPkc7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUm9pOp3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tkPkdLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wUm9l-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wUm9pup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tkPkZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tkPkdrBcEeSqLfQ0kalDug"
called="#_03KfQWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_03TpIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_03TpIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.eIsSet.override" headerMethod="#_03TpImJ-Ed-FqczH3ESmRw"
conditionMethod="#_BsH7VHLZEd-09ds9dfYpFw" initMethod="#_03TpI2J-Ed-FqczH3ESmRw"
footerMethod="#_03TpJWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wUwukep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tkYuUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_03TpImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03TpI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BsH7VHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._BsH7VHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_03TpJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpJWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03TpMWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03TpIGJ-Ed-FqczH3ESmRw/method._03TpMWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wUwumOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wUwumep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wUwumup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wUwum-p3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUwunOp3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUwunep3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUwunup3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wUwun-p3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tkYuWLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tkYuWbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tkYuWrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tkYuW7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkYuXLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkYuXbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkYuXrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkYuX7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wUwuoOp3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wUwuoep3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tkYuYLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tkYuYbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUwuoup3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tkYuYrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUwuo-p3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tkYuY7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wUwupOp3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tkYuZLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wUwul-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wUwupup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tkYuV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tkYuZrBcEeSqLfQ0kalDug"
called="#_03TpMWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_03daIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_03daIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.insert" headerMethod="#_03daImJ-Ed-FqczH3ESmRw" conditionMethod="#_BtAsJHLZEd-09ds9dfYpFw"
initMethod="#_03daI2J-Ed-FqczH3ESmRw" footerMethod="#_03daJWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wU54gep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tkifUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_03daImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03daI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BtAsJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._BtAsJHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_03daJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daJWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03daMWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03daIGJ-Ed-FqczH3ESmRw/method._03daMWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_wU54iOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wU54iep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wU54iup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wU54i-p3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wU54jOp3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wU54jep3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wU54jup3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wU54j-p3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tkifWLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tkifWbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tkifWrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tkifW7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkifXLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkifXbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkifXrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tkifX7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wU54kOp3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wU54kep3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tkifYLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tkifYbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wU54kup3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tkifYrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wU54k-p3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tkifY7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wU54lOp3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tkifZLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wU54h-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wU54lup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tkifV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tkifZrBcEeSqLfQ0kalDug"
called="#_03daMWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_K9da0HroEeC0XN9kbwkPYQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_K9da0HroEeC0XN9kbwkPYQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.egfCustom.constructor.override" headerMethod="#_K9da0nroEeC0XN9kbwkPYQ"
conditionMethod="#_K9da1HroEeC0XN9kbwkPYQ" initMethod="#_K9da03roEeC0XN9kbwkPYQ"
footerMethod="#_K9da1nroEeC0XN9kbwkPYQ">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQSeWep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_teIVUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_K9da0nroEeC0XN9kbwkPYQ" name="header" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da0nroEeC0XN9kbwkPYQ.pt"/>
<methods xmi:id="_K9da03roEeC0XN9kbwkPYQ" name="init" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da03roEeC0XN9kbwkPYQ.pt"/>
<methods xmi:id="_K9da1HroEeC0XN9kbwkPYQ" name="preCondition" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1HroEeC0XN9kbwkPYQ.pt"/>
<methods xmi:id="_K9da1nroEeC0XN9kbwkPYQ" name="footer" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da1nroEeC0XN9kbwkPYQ.pt"/>
<methods xmi:id="_K9da4XroEeC0XN9kbwkPYQ" name="doGenerate" patternFilePath="templates/pattern._K9da0HroEeC0XN9kbwkPYQ/method._K9da4XroEeC0XN9kbwkPYQ.pt"/>
- <parameters xmi:id="_wQSeYOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQSeYep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQSeYup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQSeY-p3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQSeZOp3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQSeZep3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQSeZup3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQSeZ-p3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_teIVWLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_teIVWbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_teIVWrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_teIVW7BcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teIVXLBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teIVXbBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teIVXrBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teIVX7BcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQSeaOp3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQSeaep3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_teIVYLBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_teIVYbBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQSeaup3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_teIVYrBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQSea-p3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_teIVY7BcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQSebOp3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_teIVZLBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQSeX-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQSebup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_teIVV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_teIVZrBcEeSqLfQ0kalDug"
called="#_K9da4XroEeC0XN9kbwkPYQ"/>
</elements>
- <elements xmi:id="_BsLUkeXDEeCxnsoQRwU99Q" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
+ <elements xmi:id="_BsLUkeXDEeCxnsoQRwU99Q" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
"
name="Interface.interface.javadoc.override" headerMethod="#_BsLUk-XDEeCxnsoQRwU99Q"
conditionMethod="#_BsVFkeXDEeCxnsoQRwU99Q" initMethod="#_BsVFkOXDEeCxnsoQRwU99Q"
footerMethod="#_BsVFk-XDEeCxnsoQRwU99Q">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQItQup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tdYucrBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_BsLUk-XDEeCxnsoQRwU99Q" name="header" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsLUk-XDEeCxnsoQRwU99Q.pt"/>
<methods xmi:id="_BsVFkOXDEeCxnsoQRwU99Q" name="init" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkOXDEeCxnsoQRwU99Q.pt"/>
<methods xmi:id="_BsVFkeXDEeCxnsoQRwU99Q" name="preCondition" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFkeXDEeCxnsoQRwU99Q.pt"/>
<methods xmi:id="_BsVFk-XDEeCxnsoQRwU99Q" name="footer" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFk-XDEeCxnsoQRwU99Q.pt"/>
<methods xmi:id="_BsVFouXDEeCxnsoQRwU99Q" name="doGenerate" patternFilePath="templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt"/>
- <parameters xmi:id="_wQItSep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQItSup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQItS-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQItTOp3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQItTep3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQItTup3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQItT-p3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQItUOp3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_tdYuebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tdYuerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tdYue7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tdYufLBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdYufbBcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdYufrBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdYuf7BcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_tdYugLBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQItUep3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQItUup3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_tdYugbBcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tdYugrBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQItU-p3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_tdYug7BcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQItVOp3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_tdYuhLBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQItVep3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_tdYuhbBcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQItSOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQItV-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tdYueLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdYuh7BcEeSqLfQ0kalDug"
called="#_BsVFouXDEeCxnsoQRwU99Q"/>
</elements>
- <elements xmi:id="_onysQLM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert
"
+ <elements xmi:id="_onysQLM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/Class.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.getGenFeature.pre.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.basicSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.model.call.Interface.Interface.setGenFeature.annotations.insert
"
name="Interface.genFeatureReified.override" headerMethod="#_onysQrM-EeKd56X4hcZPSw"
conditionMethod="#_onysRLM-EeKd56X4hcZPSw" initMethod="#_onysQ7M-EeKd56X4hcZPSw"
footerMethod="#_onysRrM-EeKd56X4hcZPSw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wQboSOp3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_teSGUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_onysQrM-EeKd56X4hcZPSw" name="header" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQrM-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_onysQ7M-EeKd56X4hcZPSw" name="init" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysQ7M-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_onysRLM-EeKd56X4hcZPSw" name="preCondition" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRLM-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_onysRrM-EeKd56X4hcZPSw" name="footer" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysRrM-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_onysWLM-EeKd56X4hcZPSw" name="doGenerate" patternFilePath="templates/pattern._onysQLM-EeKd56X4hcZPSw/method._onysWLM-EeKd56X4hcZPSw.pt"/>
- <parameters xmi:id="_wQboT-p3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_wQboUOp3EeOL64M_eEhORw" name="classExtendsGenClass"
+ <parameters xmi:id="_teSGWLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_teSGWbBcEeSqLfQ0kalDug" name="classExtendsGenClass"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQboUep3EeOL64M_eEhORw" name="classExtendsAllGenFeatures"
+ <parameters xmi:id="_teSGWrBcEeSqLfQ0kalDug" name="classExtendsAllGenFeatures"
type="java.util.List"/>
- <parameters xmi:id="_wQboUup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_wQboU-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wQboVOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wQboVep3EeOL64M_eEhORw" name="isJDK50" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQboVup3EeOL64M_eEhORw" name="isInterface" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQboV-p3EeOL64M_eEhORw" name="isImplementation" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQboWOp3EeOL64M_eEhORw" name="isGWT" type="java.lang.Boolean"/>
- <parameters xmi:id="_wQboWep3EeOL64M_eEhORw" name="publicStaticFinalFlag"
+ <parameters xmi:id="_teSGW7BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_teSGXLBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_teSGXbBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_teSGXrBcEeSqLfQ0kalDug" name="isJDK50" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teSGX7BcEeSqLfQ0kalDug" name="isInterface" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teSGYLBcEeSqLfQ0kalDug" name="isImplementation" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teSGYbBcEeSqLfQ0kalDug" name="isGWT" type="java.lang.Boolean"/>
+ <parameters xmi:id="_teSGYrBcEeSqLfQ0kalDug" name="publicStaticFinalFlag"
type="java.lang.String"/>
- <parameters xmi:id="_wQboWup3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wQboW-p3EeOL64M_eEhORw" name="negativeOffsetCorrection"
+ <parameters xmi:id="_teSGY7BcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_teSGZLBcEeSqLfQ0kalDug" name="negativeOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQboXOp3EeOL64M_eEhORw" name="positiveOffsetCorrection"
+ <parameters xmi:id="_teSGZbBcEeSqLfQ0kalDug" name="positiveOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQboXep3EeOL64M_eEhORw" name="negativeOperationOffsetCorrection"
+ <parameters xmi:id="_teSGZrBcEeSqLfQ0kalDug" name="negativeOperationOffsetCorrection"
type="java.lang.String"/>
- <parameters xmi:id="_wQboXup3EeOL64M_eEhORw" name="positiveOperationOffsetCorrection"
+ <parameters xmi:id="_teSGZ7BcEeSqLfQ0kalDug" name="positiveOperationOffsetCorrection"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wQboTup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wQboYOp3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_teSGV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_teSGabBcEeSqLfQ0kalDug"
called="#_onysWLM-EeKd56X4hcZPSw"/>
</elements>
</libraries>
<libraries xmi:id="_omcocLM-EeKd56X4hcZPSw" name="org.eclipse.egf.emf.pattern.model.call.ValidatorClass">
- <elements xmi:id="_omcocbM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model/ValidatorClass.javajet"
"
+ <elements xmi:id="_omcocbM-EeKd56X4hcZPSw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model/ValidatorClass.javajet"
"
name="ValidatorClass.insert" headerMethod="#_omcoc7M-EeKd56X4hcZPSw"
conditionMethod="#_omcodbM-EeKd56X4hcZPSw" initMethod="#_omcodLM-EeKd56X4hcZPSw"
footerMethod="#_omcod7M-EeKd56X4hcZPSw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wiUCYup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tzI8ArBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_omcoc7M-EeKd56X4hcZPSw" name="header" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcoc7M-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_omcodLM-EeKd56X4hcZPSw" name="init" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodLM-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_omcodbM-EeKd56X4hcZPSw" name="preCondition" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcodbM-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_omcod7M-EeKd56X4hcZPSw" name="footer" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcod7M-EeKd56X4hcZPSw.pt"/>
<methods xmi:id="_omcof7M-EeKd56X4hcZPSw" name="doGenerate" patternFilePath="templates/pattern._omcocbM-EeKd56X4hcZPSw/method._omcof7M-EeKd56X4hcZPSw.pt"/>
- <parameters xmi:id="_wiUCaep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_wiUCaup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_wiUCa-p3EeOL64M_eEhORw" name="singleWildcard" type="java.lang.String"/>
- <parameters xmi:id="_wiUCbOp3EeOL64M_eEhORw" name="_Map" type="java.lang.String"/>
- <parameters xmi:id="_wiUCbep3EeOL64M_eEhORw" name="objectArgument" type="java.lang.String"/>
- <parameters xmi:id="_wiUCbup3EeOL64M_eEhORw" name="count" type="java.lang.Integer"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wiUCaOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wiUCcOp3EeOL64M_eEhORw"
+ <parameters xmi:id="_tzI8CbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tzI8CrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_tzI8C7BcEeSqLfQ0kalDug" name="singleWildcard" type="java.lang.String"/>
+ <parameters xmi:id="_tzI8DLBcEeSqLfQ0kalDug" name="_Map" type="java.lang.String"/>
+ <parameters xmi:id="_tzI8DbBcEeSqLfQ0kalDug" name="objectArgument" type="java.lang.String"/>
+ <parameters xmi:id="_tzI8DrBcEeSqLfQ0kalDug" name="count" type="java.lang.Integer"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tzI8CLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tzI8ELBcEeSqLfQ0kalDug"
called="#_omcof7M-EeKd56X4hcZPSw"/>
</elements>
</libraries>
</viewpoints>
</viewpointContainer>
<orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prg8YDG0Ed-kc8dEZsdm2w">
- <invocations xmi:id="_xBAwkep3EeOL64M_eEhORw" name="EMF Model Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
- <invocationContractContainer xmi:id="_xBAwkup3EeOL64M_eEhORw">
- <invocationContracts xmi:id="_xBAwk-p3EeOL64M_eEhORw" factoryComponentContract="#_Prg8ZTG0Ed-kc8dEZsdm2w"
+ <invocations xmi:id="_t49QIbBcEeSqLfQ0kalDug" name="EMF Model Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
+ <invocationContractContainer xmi:id="_t49QIrBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_t49QI7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prg8ZTG0Ed-kc8dEZsdm2w"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_DgB2IP6fEd64XaYPo3s6sPg"/>
- <invocationContracts xmi:id="_xBAwl-p3EeOL64M_eEhORw" factoryComponentContract="#_WRxYEFIIEd-eGOdO3WtsxA"
+ <invocationContracts xmi:id="_t49QJ7BcEeSqLfQ0kalDug" factoryComponentContract="#_WRxYEFIIEd-eGOdO3WtsxA"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_L6JSwAHAEd-4faJMEplCjxw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAwmOp3EeOL64M_eEhORw"
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QKLBcEeSqLfQ0kalDug"
value="org.eclipse.egf.emf.pattern.base.ContentTypePatternExecutionReporter"/>
</invocationContracts>
- <invocationContracts xmi:id="_xBAwm-p3EeOL64M_eEhORw" factoryComponentContract="#_TxwAHVkTEd-bv5aydwO2Qw"
+ <invocationContracts xmi:id="_t49QK7BcEeSqLfQ0kalDug" factoryComponentContract="#_TxwAHVkTEd-bv5aydwO2Qw"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_nz1HkSCaEd-Sse0r9LJWbA">
- <type xmi:type="pattern:TypePatternList" xmi:id="_xBAwnOp3EeOL64M_eEhORw"
+ <type xmi:type="pattern:TypePatternList" xmi:id="_t49QLLBcEeSqLfQ0kalDug"
elements="#_Pcm9szG0Ed-kc8dEZsdm2w"/>
</invocationContracts>
- <invocationContracts xmi:id="_xBAwn-p3EeOL64M_eEhORw" factoryComponentContract="#_OVsagFHVEd-dr9AWwNwIMQ"
+ <invocationContracts xmi:id="_t49QL7BcEeSqLfQ0kalDug" factoryComponentContract="#_OVsagFHVEd-dr9AWwNwIMQ"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_NFhJ4UMgEd-Ixul1H5ANhg"/>
- <invocationContracts xmi:id="_xBAwoup3EeOL64M_eEhORw" factoryComponentContract="#_RcQCMPI7Ed-Pp8S8RvVOuQ"
+ <invocationContracts xmi:id="_t49QMrBcEeSqLfQ0kalDug" factoryComponentContract="#_RcQCMPI7Ed-Pp8S8RvVOuQ"
invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_JWI2sPI7Ed-Pp8S8RvVOuQ"/>
- <invocationContracts xmi:id="_xBAwpep3EeOL64M_eEhORw" factoryComponentContract="#_sluXsVLLEd-ZSLMRjxSbVQ"
+ <invocationContracts xmi:id="_t49QNbBcEeSqLfQ0kalDug" factoryComponentContract="#_sluXsVLLEd-ZSLMRjxSbVQ"
invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_vtlEAFLMEd-ZSLMRjxSbVQ"/>
</invocationContractContainer>
</invocations>
@@ -4108,38 +4108,38 @@
<fcore:FactoryComponent xmi:id="_PiIW4DG0Ed-kc8dEZsdm2w" name="EMF Edit Pattern">
<contractContainer xmi:id="_Prg8bzG0Ed-kc8dEZsdm2w">
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prg8cDG0Ed-kc8dEZsdm2w"
- description="EMF Edit Pattern" name="genModel" mandatory="true" invocationContracts="#_xBAwq-p3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeDomain" xmi:id="_xBAwrup3EeOL64M_eEhORw"/>
+ description="EMF Edit Pattern" name="genModel" mandatory="true" invocationContracts="#_t49QO7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_t49QPrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_jzYi8FIIEd-eGOdO3WtsxA"
- description="EMF Edit Pattern" name="pattern.execution.reporter" invocationContracts="#_xBAwr-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAwsup3EeOL64M_eEhORw"/>
+ description="EMF Edit Pattern" name="pattern.execution.reporter" invocationContracts="#_t49QP7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QQrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Tx5xHVkTEd-bv5aydwO2Qw"
- description="EMF Edit Pattern" name="pattern.ids" invocationContracts="#_xBAws-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternList" xmi:id="_xBAwtup3EeOL64M_eEhORw"/>
+ description="EMF Edit Pattern" name="pattern.ids" invocationContracts="#_t49QQ7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_t49QRrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_UCnhEFHVEd-dr9AWwNwIMQ"
- description="EMF Edit Pattern" name="pattern.substitutions" invocationContracts="#_xBAwt-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_xBAwuep3EeOL64M_eEhORw"/>
+ description="EMF Edit Pattern" name="pattern.substitutions" invocationContracts="#_t49QR7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_t49QSbBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_dgkvsPI7Ed-Pp8S8RvVOuQ"
- description="EMF Edit Pattern" name="usedGenPackages" invocationContracts="#_xBAwuup3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeGenPackages" xmi:id="_xBAwvOp3EeOL64M_eEhORw"/>
+ description="EMF Edit Pattern" name="usedGenPackages" invocationContracts="#_t49QSrBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_t49QTLBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_9wHxsFLMEd-ZSLMRjxSbVQ"
- description="EMF Edit Pattern" name="mergeRulesURI" invocationContracts="#_xBAwvep3EeOL64M_eEhORw">
- <type xmi:type="types:TypeURI" xmi:id="_xBAwv-p3EeOL64M_eEhORw"/>
+ description="EMF Edit Pattern" name="mergeRulesURI" invocationContracts="#_t49QTbBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_t49QT7BcEeSqLfQ0kalDug"/>
</contracts>
</contractContainer>
<viewpointContainer xmi:id="_PiIW4TG0Ed-kc8dEZsdm2w">
<viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_PiIW4jG0Ed-kc8dEZsdm2w">
<libraries xmi:id="_PiIW4zG0Ed-kc8dEZsdm2w" name="org.eclipse.egf.emf.pattern.edit">
- <elements xmi:id="_PiIW5DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="_PiIW5DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="PluginXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PiIW5jG0Ed-kc8dEZsdm2w" conditionMethod="#_9qU51HLYEd-09ds9dfYpFw"
initMethod="#_PiIW5zG0Ed-kc8dEZsdm2w" footerMethod="#_PiIW6TG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wL0OBep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tRBGYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PiIW5jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5jG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PiIW5zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW5zG0Ed-kc8dEZsdm2w.pt"/>
@@ -4150,20 +4150,20 @@
<methods xmi:id="_SuSFqGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._SuSFqGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_09tDuWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._09tDuWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PiIW7TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PiIW5DG0Ed-kc8dEZsdm2w/method._PiIW7TG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wL9-9ep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL9--ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tRBGZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRBGa7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL9---p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRBGbbBcEeSqLfQ0kalDug"
called="#_PiIW7TG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wL9-_Op3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL9-_ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tRBGbrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRBGb7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PibR0DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ <elements xmi:id="_PibR0DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
name="BuildProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PibR0jG0Ed-kc8dEZsdm2w" conditionMethod="#_9kEg2HLYEd-09ds9dfYpFw"
initMethod="#_PibR0zG0Ed-kc8dEZsdm2w" footerMethod="#_PibR1TG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wL0N9ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tQ38cbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PibR0jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0jG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PibR0zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR0zG0Ed-kc8dEZsdm2w.pt"/>
@@ -4174,20 +4174,20 @@
<methods xmi:id="_St_KvGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._St_KvGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_09QXzWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._09QXzWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PibR2TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PibR0DG0Ed-kc8dEZsdm2w/method._PibR2TG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wL0N--p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL0N_-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tQ38d7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQ38e7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL0OAep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQ38fbBcEeSqLfQ0kalDug"
called="#_PibR2TG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wL0OAup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL0OA-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tQ38frBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQ38f7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PiuMwDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/manifest.mfjet"
"
+ <elements xmi:id="_PiuMwDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/manifest.mfjet"
"
name="ManifestMF" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PiuMwjG0Ed-kc8dEZsdm2w" conditionMethod="#_9nWeVHLYEd-09ds9dfYpFw"
initMethod="#_PiuMwzG0Ed-kc8dEZsdm2w" footerMethod="#_PiuMxTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wL9-_-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tQkacbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PiuMwjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PiuMwzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMwzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4198,20 +4198,20 @@
<methods xmi:id="_SuI7uGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._SuI7uGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_09j5yWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._09j5yWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PiuMyTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wL9_Bep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL9_Cep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tQkad7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQkae7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL9_C-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQkafbBcEeSqLfQ0kalDug"
called="#_PiuMyTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wL9_DOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wL9_Dep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tQkafrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQkaf7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pi39wDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ <elements xmi:id="_Pi39wDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
name="PluginProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_xxtwkCg7Ed-ROrlGa8LEeQ"
headerMethod="#_Pi39wjG0Ed-kc8dEZsdm2w" conditionMethod="#_9tdGVHLYEd-09ds9dfYpFw"
initMethod="#_Pi39wzG0Ed-kc8dEZsdm2w" footerMethod="#_Pi39xTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wMQ54ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tRUBUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pi39wjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pi39wzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39wzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4222,20 +4222,20 @@
<methods xmi:id="_Sub2qGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Sub2qGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0920uWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._0920uWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pi39yTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pi39wDG0Ed-kc8dEZsdm2w/method._Pi39yTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wMQ55-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMQ56-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tRUBV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRUBW7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_pQ16sChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMQ57ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRUBXbBcEeSqLfQ0kalDug"
called="#_Pi39yTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wMQ57up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMQ57-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tRUBXrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRUBX7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PjK4sDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.addPropertyDescriptor.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getText.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getStyledText.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.insert
"
+ <elements xmi:id="_PjK4sDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.addPropertyDescriptor.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getText.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.getStyledText.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.insert
"
name="ItemProvider" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_hYG6UCg6Ed-ROrlGa8LEeQ"
headerMethod="#_PjK4sjG0Ed-kc8dEZsdm2w" conditionMethod="#_9wJN9HLYEd-09ds9dfYpFw"
initMethod="#_PjK4szG0Ed-kc8dEZsdm2w" footerMethod="#_PjK4tTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wMtl2ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tRnjUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PjK4sjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4sjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PjK4szG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4szG0Ed-kc8dEZsdm2w.pt"/>
@@ -4246,20 +4246,20 @@
<methods xmi:id="_SuuxqGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._SuuxqGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0-TgqWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._0-TgqWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PjK4uTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PjK4sDG0Ed-kc8dEZsdm2w/method._PjK4uTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wMtl3-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMtl4-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tRnjV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRnjW7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMtl5ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRnjXbBcEeSqLfQ0kalDug"
called="#_PjK4uTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wMtl5up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMtl5-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tRnjXrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRnjX7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PjdzoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override
"
+ <elements xmi:id="_PjdzoDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.override
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.override
"
name="ItemProviderAdapterFactory" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PjdzojG0Ed-kc8dEZsdm2w" conditionMethod="#_92_c1HLYEd-09ds9dfYpFw"
initMethod="#_PjdzozG0Ed-kc8dEZsdm2w" footerMethod="#_PjdzpTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wMj00ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tRdyUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PjdzojG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzojG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PjdzozG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzozG0Ed-kc8dEZsdm2w.pt"/>
@@ -4270,20 +4270,20 @@
<methods xmi:id="_SulnpGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._SulnpGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_09_-qWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._09_-qWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PjdzqTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PjdzoDG0Ed-kc8dEZsdm2w/method._PjdzqTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wMj01-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMj02-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tRdyV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRdyW7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMj03ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRdyXbBcEeSqLfQ0kalDug"
called="#_PjdzqTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wMj03up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMj03-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tRdyXrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tRdyX7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PjwukDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PjwukDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="Plugin" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
headerMethod="#_PjwukjG0Ed-kc8dEZsdm2w" conditionMethod="#_9y-fhHLYEd-09ds9dfYpFw"
initMethod="#_PjwukzG0Ed-kc8dEZsdm2w" footerMethod="#_PjwulTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wMaq4ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tSXKMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PjwukjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PjwukzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwukzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4294,20 +4294,20 @@
<methods xmi:id="_SuuxmGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._SuuxmGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0-JvqWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._0-JvqWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PjwumTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PjwukDG0Ed-kc8dEZsdm2w/method._PjwumTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wMaq5-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMaq6-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tSXKN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSXKO7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMaq7ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSXKPbBcEeSqLfQ0kalDug"
called="#_PjwumTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wMaq7up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMaq7-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tSXKPrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSXKP7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pj6fkDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * 
"
+ <elements xmi:id="_Pj6fkDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * 
"
name="CreateChildIconsForGenPackage" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_HODPICrVEd-81OQ8yF10Og"
headerMethod="#_PkEQkDG0Ed-kc8dEZsdm2w" conditionMethod="#_97KyNHLYEd-09ds9dfYpFw"
initMethod="#_PkEQkTG0Ed-kc8dEZsdm2w" footerMethod="#_PkEQkzG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNAgz-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tSqFIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PkEQkDG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkDG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PkEQkTG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkTG0Ed-kc8dEZsdm2w.pt"/>
@@ -4315,20 +4315,20 @@
<methods xmi:id="_PkEQkzG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQkzG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_0-wMmGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._0-wMmGKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PkEQlzG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pj6fkDG0Ed-kc8dEZsdm2w/method._PkEQlzG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wNAg1ep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNAg1-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tSqFJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSqFKbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_yLcWwCt-Ed-D6YqMf1n1Bg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNAg2ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSqFK7BcEeSqLfQ0kalDug"
called="#_PkEQlzG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wNAg2up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNAg2-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tSqFLLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSqFLbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_0yyMcCt-Ed-D6YqMf1n1Bg"/>
</elements>
- <elements xmi:id="_PkNagDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * 
"
+ <elements xmi:id="_PkNagDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * 
"
name="ItemIcon" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_IzJSwCrXEd-81OQ8yF10Og"
headerMethod="#_PkNagjG0Ed-kc8dEZsdm2w" conditionMethod="#_99Zm1HLYEd-09ds9dfYpFw"
initMethod="#_PkNagzG0Ed-kc8dEZsdm2w" footerMethod="#_PkNahTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNAgwep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tSz2IbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PkNagjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PkNagzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNagzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4336,20 +4336,20 @@
<methods xmi:id="_PkNahTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNahTG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_0-mbmGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._0-mbmGKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PkNaiTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PkNagDG0Ed-kc8dEZsdm2w/method._PkNaiTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wNAgx-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNAgyep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tSz2J7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSz2KbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNAgy-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSz2K7BcEeSqLfQ0kalDug"
called="#_PkNaiTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wNAgzOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNAgzep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tSz2LLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSz2LbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pkg8gDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * 
"
+ <elements xmi:id="_Pkg8gDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * 
"
name="CreateChildIconsForGenClass" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_IzJSwCrXEd-81OQ8yF10Og"
headerMethod="#_Pkg8gjG0Ed-kc8dEZsdm2w" conditionMethod="#_9_MWlHLYEd-09ds9dfYpFw"
initMethod="#_Pkg8gzG0Ed-kc8dEZsdm2w" footerMethod="#_Pkg8hTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNKRwep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tSgUIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pkg8gjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pkg8gzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8gzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4357,20 +4357,20 @@
<methods xmi:id="_Pkg8hTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8hTG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_0-cqmGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._0-cqmGKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pkg8iTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pkg8gDG0Ed-kc8dEZsdm2w/method._Pkg8iTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wNKRx-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNKRyep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tSgUJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSgUKbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNKRy-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSgUK7BcEeSqLfQ0kalDug"
called="#_Pkg8iTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wNKRzOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNKRzep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tSgULLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSgULbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_QPtOcH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="_QPtOcH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="ModuleGWTXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_QPtOcn7rEd-W9_ZFSEQEPg" conditionMethod="#_QPtOdH7rEd-W9_ZFSEQEPg"
initMethod="#_QPtOc37rEd-W9_ZFSEQEPg" footerMethod="#_QPtOdn7rEd-W9_ZFSEQEPg">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wMHI4ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tQbQhbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_QPtOcn7rEd-W9_ZFSEQEPg" name="header" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOcn7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QPtOc37rEd-W9_ZFSEQEPg" name="init" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QPtOc37rEd-W9_ZFSEQEPg.pt"/>
@@ -4381,20 +4381,20 @@
<methods xmi:id="_QP2YYX7rEd-W9_ZFSEQEPg" name="setArgument" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYX7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QP2YYn7rEd-W9_ZFSEQEPg" name="ensureProjectExists" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YYn7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QP2YZH7rEd-W9_ZFSEQEPg" name="doGenerate" patternFilePath="templates/pattern._QPtOcH7rEd-W9_ZFSEQEPg/method._QP2YZH7rEd-W9_ZFSEQEPg.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wMHI5-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMHI6-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tQbQi7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQbQj7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMHI7ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQbQkbBcEeSqLfQ0kalDug"
called="#_QP2YZH7rEd-W9_ZFSEQEPg"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wMHI7up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMHI7-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tQbQkrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tQbQk7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_QRpIIH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/Images.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_QRpIIH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/Images.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="Images" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
headerMethod="#_QRpIIn7rEd-W9_ZFSEQEPg" conditionMethod="#_QRpIJH7rEd-W9_ZFSEQEPg"
initMethod="#_QRpII37rEd-W9_ZFSEQEPg" footerMethod="#_QRpIJn7rEd-W9_ZFSEQEPg">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wM2vwep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tR6eQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_QRpIIn7rEd-W9_ZFSEQEPg" name="header" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIIn7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QRpII37rEd-W9_ZFSEQEPg" name="init" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpII37rEd-W9_ZFSEQEPg.pt"/>
@@ -4405,20 +4405,20 @@
<methods xmi:id="_QRpIKX7rEd-W9_ZFSEQEPg" name="setArgument" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKX7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QRpIKn7rEd-W9_ZFSEQEPg" name="ensureProjectExists" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpIKn7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QRpILH7rEd-W9_ZFSEQEPg" name="doGenerate" patternFilePath="templates/pattern._QRpIIH7rEd-W9_ZFSEQEPg/method._QRpILH7rEd-W9_ZFSEQEPg.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wM2vx-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wM2vy-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tR6eR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tR6eS7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wM2vzep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tR6eTbBcEeSqLfQ0kalDug"
called="#_QRpILH7rEd-W9_ZFSEQEPg"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wM2vzup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wM2vz-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tR6eTrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tR6eT7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_QR8DEH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/Properties.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_QR8DEH7rEd-W9_ZFSEQEPg" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/Properties.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="Properties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
headerMethod="#_QR8DEn7rEd-W9_ZFSEQEPg" conditionMethod="#_QR8DFH7rEd-W9_ZFSEQEPg"
initMethod="#_QR8DE37rEd-W9_ZFSEQEPg" footerMethod="#_QR8DFn7rEd-W9_ZFSEQEPg">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wMj04ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tSNZMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_QR8DEn7rEd-W9_ZFSEQEPg" name="header" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DEn7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QR8DE37rEd-W9_ZFSEQEPg" name="init" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DE37rEd-W9_ZFSEQEPg.pt"/>
@@ -4429,308 +4429,308 @@
<methods xmi:id="_QR8DGX7rEd-W9_ZFSEQEPg" name="setArgument" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGX7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QR8DGn7rEd-W9_ZFSEQEPg" name="ensureProjectExists" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DGn7rEd-W9_ZFSEQEPg.pt"/>
<methods xmi:id="_QR8DHH7rEd-W9_ZFSEQEPg" name="doGenerate" patternFilePath="templates/pattern._QR8DEH7rEd-W9_ZFSEQEPg/method._QR8DHH7rEd-W9_ZFSEQEPg.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wMj05-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMtl0-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tSNZN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSNZO7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMtl1ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSNZPbBcEeSqLfQ0kalDug"
called="#_QR8DHH7rEd-W9_ZFSEQEPg"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wMtl1up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wMtl1-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tSNZPrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tSNZP7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
</libraries>
<libraries xmi:id="_03mkEGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.edit.call.ItemProvider">
- <elements xmi:id="_03mkEWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ <elements xmi:id="_03mkEWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
name="ItemProvider.addPropertyDescriptor.override" headerMethod="#_03mkE2J-Ed-FqczH3ESmRw"
conditionMethod="#_BuWv9XLZEd-09ds9dfYpFw" initMethod="#_03mkFGJ-Ed-FqczH3ESmRw"
footerMethod="#_03mkFmJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-VQAep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t07rwbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_03mkE2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03mkFGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BuWv9XLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._BuWv9XLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_03mkFmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkFmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03mkHWJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03mkEWJ-Ed-FqczH3ESmRw/method._03mkHWJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-VQCOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w-VQCep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w-VQCup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-VQC-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w-VQDOp3EeOL64M_eEhORw" name="_List" type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-VQB-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-VQDup3EeOL64M_eEhORw"
+ <parameters xmi:id="_t07ryLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t07rybBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t07ryrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t07ry7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_t07rzLBcEeSqLfQ0kalDug" name="_List" type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t07rx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t07rzrBcEeSqLfQ0kalDug"
called="#_03mkHWJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_03wVEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ <elements xmi:id="_03wVEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
name="ItemProvider.getText.override" headerMethod="#_03wVEmJ-Ed-FqczH3ESmRw"
conditionMethod="#_BvZRxHLZEd-09ds9dfYpFw" initMethod="#_03wVE2J-Ed-FqczH3ESmRw"
footerMethod="#_03wVFWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-VQEOp3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t1E1sbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_03wVEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVEmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03wVE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_BvZRxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._BvZRxHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_03wVFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVFWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_03wVG2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._03wVEGJ-Ed-FqczH3ESmRw/method._03wVG2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-VQF-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w-VQGOp3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-VQGep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w-VQGup3EeOL64M_eEhORw" name="_List" type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-VQFup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-VQHOp3EeOL64M_eEhORw"
+ <parameters xmi:id="_t1E1uLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t1E1ubBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t1E1urBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_t1E1u7BcEeSqLfQ0kalDug" name="_List" type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t1E1t7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t1E1vbBcEeSqLfQ0kalDug"
called="#_03wVG2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_036GEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.insert
"
+ <elements xmi:id="_036GEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceDelegatedFeature.insert
"
name="ItemProvider.newChildDescriptorsReferenceDelegatedFeature.override"
headerMethod="#_036GEmJ-Ed-FqczH3ESmRw" conditionMethod="#_Bx7oZHLZEd-09ds9dfYpFw"
initMethod="#_036GE2J-Ed-FqczH3ESmRw" footerMethod="#_036GFWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w8GbYup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tzb28rBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_036GEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GEmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_036GE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Bx7oZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._Bx7oZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_036GFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GFWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_036GIGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._036GEGJ-Ed-FqczH3ESmRw/method._036GIGJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w8Gbaep3EeOL64M_eEhORw" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8Gbaup3EeOL64M_eEhORw" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8Gba-p3EeOL64M_eEhORw" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8GbbOp3EeOL64M_eEhORw" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
- <parameters xmi:id="_w8Gbbep3EeOL64M_eEhORw" name="childCreationData"
+ <parameters xmi:id="_tzb2-bBcEeSqLfQ0kalDug" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tzb2-rBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tzb2-7BcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tzb2_LBcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_tzb2_bBcEeSqLfQ0kalDug" name="childCreationData"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
- <parameters xmi:id="_w8Gbbup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8Gbb-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w8GbcOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w8GbaOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w8Gbcup3EeOL64M_eEhORw"
+ <parameters xmi:id="_tzb2_rBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tzb2_7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tzb3ALBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tzb2-LBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tzb3ArBcEeSqLfQ0kalDug"
called="#_036GIGJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_04NBAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
"
+ <elements xmi:id="_04NBAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
"
name="ItemProvider.newChildDescriptorsReferenceDelegatedFeature.insert"
headerMethod="#_04NBAmJ-Ed-FqczH3ESmRw" conditionMethod="#_B2Z4tHLZEd-09ds9dfYpFw"
initMethod="#_04NBA2J-Ed-FqczH3ESmRw" footerMethod="#_04NBBWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w8GbdOp3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tzln8bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_04NBAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBAmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04NBA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBA2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_B2Z4tHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._B2Z4tHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_04NBBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBBWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04NBEGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04NBAGJ-Ed-FqczH3ESmRw/method._04NBEGJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w8Gbe-p3EeOL64M_eEhORw" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8GbfOp3EeOL64M_eEhORw" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8Gbfep3EeOL64M_eEhORw" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8Gbfup3EeOL64M_eEhORw" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
- <parameters xmi:id="_w8Gbf-p3EeOL64M_eEhORw" name="childCreationData"
+ <parameters xmi:id="_tzln-LBcEeSqLfQ0kalDug" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tzln-bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tzln-rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tzln-7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_tzln_LBcEeSqLfQ0kalDug" name="childCreationData"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
- <parameters xmi:id="_w8GbgOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8Gbgep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w8Gbgup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w8Gbeup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w8GbhOp3EeOL64M_eEhORw"
+ <parameters xmi:id="_tzln_bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tzln_rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tzln_7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tzln97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tzloAbBcEeSqLfQ0kalDug"
called="#_04NBEGJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_04WyAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.insert
"
+ <elements xmi:id="_04WyAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeDelegatedFeature.insert
"
name="ItemProvider.newChildDescriptorsAttributeDelegatedFeature.override"
headerMethod="#_04WyAmJ-Ed-FqczH3ESmRw" conditionMethod="#_B3vVdHLZEd-09ds9dfYpFw"
initMethod="#_04WyA2J-Ed-FqczH3ESmRw" footerMethod="#_04WyBWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w8PlUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tzvY8bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_04WyAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyAmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04WyA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyA2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_B3vVdHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._B3vVdHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_04WyBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyBWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04WyEGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04WyAGJ-Ed-FqczH3ESmRw/method._04WyEGJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w8PlWOp3EeOL64M_eEhORw" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
- <parameters xmi:id="_w8PlWep3EeOL64M_eEhORw" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8PlWup3EeOL64M_eEhORw" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8PlW-p3EeOL64M_eEhORw" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
- <parameters xmi:id="_w8PlXOp3EeOL64M_eEhORw" name="childCreationData"
+ <parameters xmi:id="_tzvY-LBcEeSqLfQ0kalDug" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
+ <parameters xmi:id="_tzvY-bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tzvY-rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_tzvY-7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_tzvY_LBcEeSqLfQ0kalDug" name="childCreationData"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
- <parameters xmi:id="_w8PlXep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8PlXup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w8PlX-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w8PlV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w8PlYep3EeOL64M_eEhORw"
+ <parameters xmi:id="_tzvY_bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_tzvY_rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_tzvY_7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tzvY97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tzvZAbBcEeSqLfQ0kalDug"
called="#_04WyEGJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_04f78GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
"
+ <elements xmi:id="_04f78GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
"
name="ItemProvider.newChildDescriptorsAttributeDelegatedFeature.insert"
headerMethod="#_04f78mJ-Ed-FqczH3ESmRw" conditionMethod="#_B4yeVHLZEd-09ds9dfYpFw"
initMethod="#_04f782J-Ed-FqczH3ESmRw" footerMethod="#_04f79WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w8PlY-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t0CT4bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_04f78mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f78mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04f782J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f782J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_B4yeVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._B4yeVHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_04f79WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f79WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04f8AGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04f78GJ-Ed-FqczH3ESmRw/method._04f8AGJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w8Plaup3EeOL64M_eEhORw" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
- <parameters xmi:id="_w8Pla-p3EeOL64M_eEhORw" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8PlbOp3EeOL64M_eEhORw" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8Plbep3EeOL64M_eEhORw" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
- <parameters xmi:id="_w8Plbup3EeOL64M_eEhORw" name="childCreationData"
+ <parameters xmi:id="_t0CT6LBcEeSqLfQ0kalDug" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
+ <parameters xmi:id="_t0CT6bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0CT6rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0CT67BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_t0CT7LBcEeSqLfQ0kalDug" name="childCreationData"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
- <parameters xmi:id="_w8Plb-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8PlcOp3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w8Plcep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w8Plaep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w8Plc-p3EeOL64M_eEhORw"
+ <parameters xmi:id="_t0CT7bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t0CT7rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t0CT77BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t0CT57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t0CT8bBcEeSqLfQ0kalDug"
called="#_04f8AGJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_04ps8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.insert
"
+ <elements xmi:id="_04ps8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsReferenceFeature.insert
"
name="ItemProvider.newChildDescriptorsReferenceFeature.override" headerMethod="#_04ps8mJ-Ed-FqczH3ESmRw"
conditionMethod="#_B63h9HLZEd-09ds9dfYpFw" initMethod="#_04ps82J-Ed-FqczH3ESmRw"
footerMethod="#_04ps9WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w8igQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t0ME4bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_04ps8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04ps82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps82J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_B63h9HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._B63h9HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_04ps9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ps9WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04ptAGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04ps8GJ-Ed-FqczH3ESmRw/method._04ptAGJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w8igSOp3EeOL64M_eEhORw" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8igSep3EeOL64M_eEhORw" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8igSup3EeOL64M_eEhORw" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8igS-p3EeOL64M_eEhORw" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
- <parameters xmi:id="_w8igTOp3EeOL64M_eEhORw" name="childCreationData"
+ <parameters xmi:id="_t0ME6LBcEeSqLfQ0kalDug" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t0ME6bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0ME6rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0ME67BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_t0ME7LBcEeSqLfQ0kalDug" name="childCreationData"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
- <parameters xmi:id="_w8igTep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8igTup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w8igT-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w8igR-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w8igUep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t0ME7bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t0ME7rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t0ME77BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t0ME57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t0ME8bBcEeSqLfQ0kalDug"
called="#_04ptAGJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_04y24GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
"
+ <elements xmi:id="_04y24GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
"
name="ItemProvider.newChildDescriptorsReferenceFeature.insert" headerMethod="#_04y24mJ-Ed-FqczH3ESmRw"
conditionMethod="#_B-caZHLZEd-09ds9dfYpFw" initMethod="#_04y242J-Ed-FqczH3ESmRw"
footerMethod="#_04y25WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w8sRQep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t0VO0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_04y24mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y24mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04y242J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y242J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_B-caZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._B-caZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_04y25WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y25WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_04y28GJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._04y24GJ-Ed-FqczH3ESmRw/method._04y28GJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w8sRSOp3EeOL64M_eEhORw" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8sRSep3EeOL64M_eEhORw" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8sRSup3EeOL64M_eEhORw" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w8sRS-p3EeOL64M_eEhORw" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
- <parameters xmi:id="_w8sRTOp3EeOL64M_eEhORw" name="childCreationData"
+ <parameters xmi:id="_t0VO2LBcEeSqLfQ0kalDug" name="createClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t0VO2bBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0VO2rBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0VO27BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_t0VO3LBcEeSqLfQ0kalDug" name="childCreationData"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
- <parameters xmi:id="_w8sRTep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w8sRTup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w8sRT-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w8sRR-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w8sRUep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t0VO3bBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t0VO3rBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t0VO37BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t0VO17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t0VO4bBcEeSqLfQ0kalDug"
called="#_04y28GJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_048n4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.insert
"
+ <elements xmi:id="_048n4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.edit.call.ItemProvider.ItemProvider.newChildDescriptorsAttributeFeature.insert
"
name="ItemProvider.newChildDescriptorsAttributeFeature.override" headerMethod="#_048n4mJ-Ed-FqczH3ESmRw"
conditionMethod="#_B_otNHLZEd-09ds9dfYpFw" initMethod="#_048n42J-Ed-FqczH3ESmRw"
footerMethod="#_048n5WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w9uzEep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t0oJwbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_048n4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n4mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_048n42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n42J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_B_otNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._B_otNHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_048n5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n5WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_048n8GJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._048n4GJ-Ed-FqczH3ESmRw/method._048n8GJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w9uzGOp3EeOL64M_eEhORw" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
- <parameters xmi:id="_w9uzGep3EeOL64M_eEhORw" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w9uzGup3EeOL64M_eEhORw" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w9uzG-p3EeOL64M_eEhORw" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
- <parameters xmi:id="_w9uzHOp3EeOL64M_eEhORw" name="childCreationData"
+ <parameters xmi:id="_t0oJyLBcEeSqLfQ0kalDug" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
+ <parameters xmi:id="_t0oJybBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0oJyrBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0oJy7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_t0oJzLBcEeSqLfQ0kalDug" name="childCreationData"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
- <parameters xmi:id="_w9uzHep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w9uzHup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w9uzH-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w9uzF-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w9uzIep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t0oJzbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t0oJzrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t0oJz7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t0oJx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t0oJ0bBcEeSqLfQ0kalDug"
called="#_048n8GJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_05ZT0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
"
+ <elements xmi:id="_05ZT0GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProviderAdapterFactory.javajet"
"
name="ItemProvider.newChildDescriptorsAttributeFeature.insert" headerMethod="#_05ZT0mJ-Ed-FqczH3ESmRw"
conditionMethod="#_CBIiBHLZEd-09ds9dfYpFw" initMethod="#_05ZT02J-Ed-FqczH3ESmRw"
footerMethod="#_05ZT1WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-LfAep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t0x6wbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_05ZT0mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT0mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_05ZT02J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT02J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CBIiBHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._CBIiBHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_05ZT1WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT1WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_05ZT4GJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._05ZT0GJ-Ed-FqczH3ESmRw/method._05ZT4GJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-LfCOp3EeOL64M_eEhORw" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
- <parameters xmi:id="_w-LfCep3EeOL64M_eEhORw" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w-LfCup3EeOL64M_eEhORw" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w-LfC-p3EeOL64M_eEhORw" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
- <parameters xmi:id="_w-LfDOp3EeOL64M_eEhORw" name="childCreationData"
+ <parameters xmi:id="_t0x6yLBcEeSqLfQ0kalDug" name="createDataType" type="org.eclipse.emf.codegen.ecore.genmodel.GenDataType"/>
+ <parameters xmi:id="_t0x6ybBcEeSqLfQ0kalDug" name="createFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0x6yrBcEeSqLfQ0kalDug" name="delegatedFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t0x6y7BcEeSqLfQ0kalDug" name="createClassifier" type="org.eclipse.emf.codegen.ecore.genmodel.GenClassifier"/>
+ <parameters xmi:id="_t0x6zLBcEeSqLfQ0kalDug" name="childCreationData"
type="org.eclipse.emf.codegen.ecore.genmodel.GenClass$ChildCreationData"/>
- <parameters xmi:id="_w-LfDep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w-LfDup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-LfD-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-LfB-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-LfEep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t0x6zbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t0x6zrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t0x6z7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t0x6x7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t0x60bBcEeSqLfQ0kalDug"
called="#_05ZT4GJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_051_wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ <elements xmi:id="_051_wGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
name="ItemProvider.insert" headerMethod="#_051_wmJ-Ed-FqczH3ESmRw" conditionMethod="#_CCU01HLZEd-09ds9dfYpFw"
initMethod="#_051_w2J-Ed-FqczH3ESmRw" footerMethod="#_051_xWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-oK8ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t1hhobBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_051_wmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_wmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_051_w2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_w2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CCU01HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._CCU01HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_051_xWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_xWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_051_y2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._051_wGJ-Ed-FqczH3ESmRw/method._051_y2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-oK-Op3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w-oK-ep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-oK-up3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w-oK--p3EeOL64M_eEhORw" name="_List" type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-oK9-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-oK_ep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t1hhqLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t1hhqbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t1hhqrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_t1hhq7BcEeSqLfQ0kalDug" name="_List" type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t1hhp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t1hhrbBcEeSqLfQ0kalDug"
called="#_051_y2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_sd5EMKoMEeOCpsO1cKKCxA" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
+ <elements xmi:id="_sd5EMKoMEeOCpsO1cKKCxA" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/edit/ItemProvider.javajet"
"
name="ItemProvider.getStyledText.override" headerMethod="#_sd5EMqoMEeOCpsO1cKKCxA"
conditionMethod="#_sd5ENKoMEeOCpsO1cKKCxA" initMethod="#_sd5EM6oMEeOCpsO1cKKCxA"
footerMethod="#_sd5ENqoMEeOCpsO1cKKCxA">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-fBAep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t1YXsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_sd5EMqoMEeOCpsO1cKKCxA" name="header" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EMqoMEeOCpsO1cKKCxA.pt"/>
<methods xmi:id="_sd5EM6oMEeOCpsO1cKKCxA" name="init" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EM6oMEeOCpsO1cKKCxA.pt"/>
<methods xmi:id="_sd5ENKoMEeOCpsO1cKKCxA" name="preCondition" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENKoMEeOCpsO1cKKCxA.pt"/>
<methods xmi:id="_sd5ENqoMEeOCpsO1cKKCxA" name="footer" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5ENqoMEeOCpsO1cKKCxA.pt"/>
<methods xmi:id="_sd5EPKoMEeOCpsO1cKKCxA" name="doGenerate" patternFilePath="templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt"/>
- <parameters xmi:id="_w-fBCOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w-fBCep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-fBCup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w-fBC-p3EeOL64M_eEhORw" name="_List" type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-fBB-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-fBDep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t1YXuLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t1YXubBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t1YXurBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_t1YXu7BcEeSqLfQ0kalDug" name="_List" type="java.lang.String"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t1YXt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t1YXvbBcEeSqLfQ0kalDug"
called="#_sd5EPKoMEeOCpsO1cKKCxA"/>
</elements>
</libraries>
</viewpoints>
</viewpointContainer>
<orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prg8azG0Ed-kc8dEZsdm2w">
- <invocations xmi:id="_xBAwqep3EeOL64M_eEhORw" name="EMF Edit Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
- <invocationContractContainer xmi:id="_xBAwqup3EeOL64M_eEhORw">
- <invocationContracts xmi:id="_xBAwq-p3EeOL64M_eEhORw" factoryComponentContract="#_Prg8cDG0Ed-kc8dEZsdm2w"
+ <invocations xmi:id="_t49QObBcEeSqLfQ0kalDug" name="EMF Edit Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
+ <invocationContractContainer xmi:id="_t49QOrBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_t49QO7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prg8cDG0Ed-kc8dEZsdm2w"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_DgB2IP6fEd64XaYPo3s6sPg"/>
- <invocationContracts xmi:id="_xBAwr-p3EeOL64M_eEhORw" factoryComponentContract="#_jzYi8FIIEd-eGOdO3WtsxA"
+ <invocationContracts xmi:id="_t49QP7BcEeSqLfQ0kalDug" factoryComponentContract="#_jzYi8FIIEd-eGOdO3WtsxA"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_L6JSwAHAEd-4faJMEplCjxw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAwsOp3EeOL64M_eEhORw"
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QQLBcEeSqLfQ0kalDug"
value="org.eclipse.egf.emf.pattern.base.ContentTypePatternExecutionReporter"/>
</invocationContracts>
- <invocationContracts xmi:id="_xBAws-p3EeOL64M_eEhORw" factoryComponentContract="#_Tx5xHVkTEd-bv5aydwO2Qw"
+ <invocationContracts xmi:id="_t49QQ7BcEeSqLfQ0kalDug" factoryComponentContract="#_Tx5xHVkTEd-bv5aydwO2Qw"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_nz1HkSCaEd-Sse0r9LJWbA">
- <type xmi:type="pattern:TypePatternList" xmi:id="_xBAwtOp3EeOL64M_eEhORw"
+ <type xmi:type="pattern:TypePatternList" xmi:id="_t49QRLBcEeSqLfQ0kalDug"
elements="#_PiIW4zG0Ed-kc8dEZsdm2w"/>
</invocationContracts>
- <invocationContracts xmi:id="_xBAwt-p3EeOL64M_eEhORw" factoryComponentContract="#_UCnhEFHVEd-dr9AWwNwIMQ"
+ <invocationContracts xmi:id="_t49QR7BcEeSqLfQ0kalDug" factoryComponentContract="#_UCnhEFHVEd-dr9AWwNwIMQ"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_NFhJ4UMgEd-Ixul1H5ANhg"/>
- <invocationContracts xmi:id="_xBAwuup3EeOL64M_eEhORw" factoryComponentContract="#_dgkvsPI7Ed-Pp8S8RvVOuQ"
+ <invocationContracts xmi:id="_t49QSrBcEeSqLfQ0kalDug" factoryComponentContract="#_dgkvsPI7Ed-Pp8S8RvVOuQ"
invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_JWI2sPI7Ed-Pp8S8RvVOuQ"/>
- <invocationContracts xmi:id="_xBAwvep3EeOL64M_eEhORw" factoryComponentContract="#_9wHxsFLMEd-ZSLMRjxSbVQ"
+ <invocationContracts xmi:id="_t49QTbBcEeSqLfQ0kalDug" factoryComponentContract="#_9wHxsFLMEd-ZSLMRjxSbVQ"
invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_vtlEAFLMEd-ZSLMRjxSbVQ"/>
</invocationContractContainer>
</invocations>
@@ -4739,38 +4739,38 @@
<fcore:FactoryComponent xmi:id="_PkqGcDG0Ed-kc8dEZsdm2w" name="EMF Editor Pattern">
<contractContainer xmi:id="_Prg8ejG0Ed-kc8dEZsdm2w">
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prg8ezG0Ed-kc8dEZsdm2w"
- description="EMF Editor Pattern" name="genModel" mandatory="true" invocationContracts="#_xBAww-p3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeDomain" xmi:id="_xBAwxup3EeOL64M_eEhORw"/>
+ description="EMF Editor Pattern" name="genModel" mandatory="true" invocationContracts="#_t49QU7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_t49QVrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_pCqEMFIIEd-eGOdO3WtsxA"
- description="EMF Editor Pattern" name="pattern.execution.reporter" invocationContracts="#_xBAwx-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAwyup3EeOL64M_eEhORw"/>
+ description="EMF Editor Pattern" name="pattern.execution.reporter" invocationContracts="#_t49QV7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QWrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Tx5xMlkTEd-bv5aydwO2Qw"
- description="EMF Editor Pattern" name="pattern.ids" invocationContracts="#_xBAwy-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternList" xmi:id="_xBAwzup3EeOL64M_eEhORw"/>
+ description="EMF Editor Pattern" name="pattern.ids" invocationContracts="#_t49QW7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_t49QXrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Y3EukFHVEd-dr9AWwNwIMQ"
- description="EMF Editor Pattern" name="pattern.substitutions" invocationContracts="#_xBAwz-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_xBAw0ep3EeOL64M_eEhORw"/>
+ description="EMF Editor Pattern" name="pattern.substitutions" invocationContracts="#_t49QX7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_t49QYbBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_NcZ6I_MqEd-6tr0C8ZV8Ew"
- description="EMF Editor Pattern" name="usedGenPackages" invocationContracts="#_xBAw0up3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeGenPackages" xmi:id="_xBAw1Op3EeOL64M_eEhORw"/>
+ description="EMF Editor Pattern" name="usedGenPackages" invocationContracts="#_t49QYrBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_t49QZLBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_FqdyEFLNEd-ZSLMRjxSbVQ"
- description="EMF Editor Pattern" name="mergeRulesURI" invocationContracts="#_xBAw1ep3EeOL64M_eEhORw">
- <type xmi:type="types:TypeURI" xmi:id="_xBAw1-p3EeOL64M_eEhORw"/>
+ description="EMF Editor Pattern" name="mergeRulesURI" invocationContracts="#_t49QZbBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_t49QZ7BcEeSqLfQ0kalDug"/>
</contracts>
</contractContainer>
<viewpointContainer xmi:id="_PkqGcTG0Ed-kc8dEZsdm2w">
<viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_PkqGcjG0Ed-kc8dEZsdm2w">
<libraries xmi:id="_PkqGczG0Ed-kc8dEZsdm2w" name="org.eclipse.egf.emf.pattern.editor">
- <elements xmi:id="_PkqGdDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="_PkqGdDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="PluginXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PkqGdjG0Ed-kc8dEZsdm2w" conditionMethod="#_-G79VHLYEd-09ds9dfYpFw"
initMethod="#_PkqGdzG0Ed-kc8dEZsdm2w" footerMethod="#_PkqGeTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNwHsep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tUJS4bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PkqGdjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PkqGdzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._PkqGdzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4781,20 +4781,20 @@
<methods xmi:id="_SvoJeGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._SvoJeGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0_MReWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._0_MReWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pkz3cjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PkqGdDG0Ed-kc8dEZsdm2w/method._Pkz3cjG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wN54o-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wN54p-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tUJS57BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUTD47BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wN54qep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUTD5bBcEeSqLfQ0kalDug"
called="#_Pkz3cjG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wN54qup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wN54q-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tUTD5rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUTD57BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pk9BYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/manifest.mfjet"
"
+ <elements xmi:id="_Pk9BYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/manifest.mfjet"
"
name="ManifestMF" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_Pk9BYjG0Ed-kc8dEZsdm2w" conditionMethod="#_-A1VWHLYEd-09ds9dfYpFw"
initMethod="#_Pk9BYzG0Ed-kc8dEZsdm2w" footerMethod="#_Pk9BZTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wN54rep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tTQiEbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pk9BYjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pk9BYzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BYzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4805,20 +4805,20 @@
<methods xmi:id="_SveYeGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._SveYeGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0_DHiWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._0_DHiWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pk9BaTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wN54s-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wN54t-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tTQiF7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTQiG7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wN54uep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTQiHbBcEeSqLfQ0kalDug"
called="#_Pk9BaTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wN54uup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wN54u-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tTQiHrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTQiH7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PlQjYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ <elements xmi:id="_PlQjYDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
name="BuildProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PlQjYjG0Ed-kc8dEZsdm2w" conditionMethod="#_-DEJ9HLYEd-09ds9dfYpFw"
initMethod="#_PlQjYzG0Ed-kc8dEZsdm2w" footerMethod="#_PlQjZTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNdMsep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tTjdAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PlQjYjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PlQjYzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjYzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4829,20 +4829,20 @@
<methods xmi:id="_SvVOjGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._SvVOjGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0-5WjWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._0-5WjWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PlQjaTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PlQjYDG0Ed-kc8dEZsdm2w/method._PlQjaTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wNdMt-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNdMu-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tTjdB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTjdC7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNdMvep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTjdDbBcEeSqLfQ0kalDug"
called="#_PlQjaTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wNdMvup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNdMv-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tTjdDrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTjdD7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PljeUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ <elements xmi:id="_PljeUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
name="PluginProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_xxtwkCg7Ed-ROrlGa8LEeQ"
headerMethod="#_PljeUjG0Ed-kc8dEZsdm2w" conditionMethod="#_-K9htHLYEd-09ds9dfYpFw"
initMethod="#_PljeUzG0Ed-kc8dEZsdm2w" footerMethod="#_PljeVTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wODCkep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tUc04bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PljeUjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PljeUzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeUzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4853,20 +4853,20 @@
<methods xmi:id="_Svx6eGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._Svx6eGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0_WCeWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._0_WCeWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PljeWTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PljeUDG0Ed-kc8dEZsdm2w/method._PljeWTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wODCl-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wODCm-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tUc057BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUc067BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_pQ16sChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wODCnep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUc07bBcEeSqLfQ0kalDug"
called="#_PljeWTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wODCnup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wODCn-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tUc07rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUc077BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PltPUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/ActionBarContributor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PltPUDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/ActionBarContributor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="ActionBarContributor" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PltPUjG0Ed-kc8dEZsdm2w" conditionMethod="#_-VjBFHLYEd-09ds9dfYpFw"
initMethod="#_PltPUzG0Ed-kc8dEZsdm2w" footerMethod="#_PltPVTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wOfukep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tVpHsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PltPUjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PltPUzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._PltPUzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4877,20 +4877,20 @@
<methods xmi:id="_SwhhWGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._SwhhWGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1AFpWWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._1AFpWWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pl2ZQjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PltPUDG0Ed-kc8dEZsdm2w/method._Pl2ZQjG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wOful-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOfum-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tVpHt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVpHu7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOfunep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVpHvbBcEeSqLfQ0kalDug"
called="#_Pl2ZQjG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wOfunup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOfun-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tVpHvrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVpHv7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pmc2MDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.override
"
+ <elements xmi:id="_Pmc2MDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.override
"
name="Editor" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PmmAIDG0Ed-kc8dEZsdm2w" conditionMethod="#_-SaNhHLYEd-09ds9dfYpFw"
initMethod="#_PmmAITG0Ed-kc8dEZsdm2w" footerMethod="#_PmmAIzG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wOWkkep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tUl-0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PmmAIDG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAIDG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PmmAITG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAITG0Ed-kc8dEZsdm2w.pt"/>
@@ -4901,20 +4901,20 @@
<methods xmi:id="_SwqrSGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._SwqrSGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1APaWWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._1APaWWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PmmAJzG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pmc2MDG0Ed-kc8dEZsdm2w/method._PmmAJzG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wOWkl-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOWkm-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tUl-17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUl-27BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOWknep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUl-3bBcEeSqLfQ0kalDug"
called="#_PmmAJzG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wOWknup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOWkn-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tUl-3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUl-37BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PmvxIDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/ModelWizard.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PmvxIDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/ModelWizard.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="ModelWizard" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PmvxIjG0Ed-kc8dEZsdm2w" conditionMethod="#_-Y0XhHLYEd-09ds9dfYpFw"
initMethod="#_PmvxIzG0Ed-kc8dEZsdm2w" footerMethod="#_PmvxJTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wOMzkep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tU45wbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PmvxIjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PmvxIzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._PmvxIzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4925,20 +4925,20 @@
<methods xmi:id="_SwN_WGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._SwN_WGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0_yuaWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._0_yuaWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pm5iIjG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PmvxIDG0Ed-kc8dEZsdm2w/method._Pm5iIjG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wOMzl-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOMzm-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tU45x7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tU45y7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOMznep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tU45zbBcEeSqLfQ0kalDug"
called="#_Pm5iIjG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wOMznup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOMzn-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tU45zrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tU45z7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PnCsEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PnCsEDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/Plugin.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="Plugin" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
headerMethod="#_PnCsEjG0Ed-kc8dEZsdm2w" conditionMethod="#_-NpCRHLYEd-09ds9dfYpFw"
initMethod="#_PnCsEzG0Ed-kc8dEZsdm2w" footerMethod="#_PnCsFTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wOfugep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tUvv0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PnCsEjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PnCsEzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsEzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4949,20 +4949,20 @@
<methods xmi:id="_SwE1aGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._SwE1aGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0_fzeWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._0_fzeWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PnCsGTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PnCsEDG0Ed-kc8dEZsdm2w/method._PnCsGTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wOfuh-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOfui-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tUvv17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUvv27BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOfujep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUvv3bBcEeSqLfQ0kalDug"
called="#_PnCsGTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wOfujup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOfuj-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tUvv3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUvv37BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PnVnADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/Advisor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PnVnADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/Advisor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="Advisor" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
headerMethod="#_PnVnAjG0Ed-kc8dEZsdm2w" conditionMethod="#_-P4d9HLYEd-09ds9dfYpFw"
initMethod="#_PnVnAzG0Ed-kc8dEZsdm2w" footerMethod="#_PnVnBTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wOzQgep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tVMbwbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PnVnAjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PnVnAzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnAzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4973,20 +4973,20 @@
<methods xmi:id="_Sv7EaGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._Sv7EaGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_0_o9aWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._0_o9aWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PnVnCTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PnVnADG0Ed-kc8dEZsdm2w/method._PnVnCTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wOzQh-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOzQi-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tVMbx7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVMby7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOzQjep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVMbzbBcEeSqLfQ0kalDug"
called="#_PnVnCTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wOzQjup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOzQj-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tVMbzrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVMbz7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PnpJADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * 
"
+ <elements xmi:id="_PnpJADG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * 
"
name="ModelWizardIcon" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_HODPICrVEd-81OQ8yF10Og"
headerMethod="#_PnpJAjG0Ed-kc8dEZsdm2w" conditionMethod="#_-bppFHLYEd-09ds9dfYpFw"
initMethod="#_PnpJAzG0Ed-kc8dEZsdm2w" footerMethod="#_PnpJBTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wO8acep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tVyRobBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PnpJAjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PnpJAzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJAzG0Ed-kc8dEZsdm2w.pt"/>
@@ -4994,20 +4994,20 @@
<methods xmi:id="_PnpJBTG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJBTG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_1AiVSGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._1AiVSGKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PnpJCTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PnpJADG0Ed-kc8dEZsdm2w/method._PnpJCTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wO8ad-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wO8aeep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tVyRp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVyRqbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_yLcWwCt-Ed-D6YqMf1n1Bg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wO8ae-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVyRq7BcEeSqLfQ0kalDug"
called="#_PnpJCTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wO8afOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wO8afep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tVyRrLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVyRrbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_0yyMcCt-Ed-D6YqMf1n1Bg"/>
</elements>
- <elements xmi:id="_Pn8D8DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * 
"
+ <elements xmi:id="_Pn8D8DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * 
"
name="ModelIcon" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_HODPICrVEd-81OQ8yF10Og"
headerMethod="#_Pn8D8jG0Ed-kc8dEZsdm2w" conditionMethod="#_-dcY1HLYEd-09ds9dfYpFw"
initMethod="#_Pn8D8zG0Ed-kc8dEZsdm2w" footerMethod="#_Pn8D9TG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wO8af-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tV8CobBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pn8D8jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8jG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pn8D8zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D8zG0Ed-kc8dEZsdm2w.pt"/>
@@ -5015,20 +5015,20 @@
<methods xmi:id="_Pn8D9TG0Ed-kc8dEZsdm2w" name="footer" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D9TG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_1AYkSGKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._1AYkSGKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pn8D-TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pn8D8DG0Ed-kc8dEZsdm2w/method._Pn8D-TG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wO8ahep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wO8ah-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tV8Cp7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tV8CqbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_yLcWwCt-Ed-D6YqMf1n1Bg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wO8aiep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tV8Cq7BcEeSqLfQ0kalDug"
called="#_Pn8D-TG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wO8aiup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wO8ai-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tV8CrLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tV8CrbBcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_0yyMcCt-Ed-D6YqMf1n1Bg"/>
</elements>
- <elements xmi:id="__H8bZBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/appengine-web.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="__H8bZBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/appengine-web.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="AppEngineWebXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#__H8bZhmtEeCMbfVQrOfmzQ" conditionMethod="#__H8baBmtEeCMbfVQrOfmzQ"
initMethod="#__H8bZxmtEeCMbfVQrOfmzQ" footerMethod="#__H8bahmtEeCMbfVQrOfmzQ">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNm9sep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tS9AFbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="__H8bZhmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZhmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__H8bZxmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bZxmtEeCMbfVQrOfmzQ.pt"/>
@@ -5039,20 +5039,20 @@
<methods xmi:id="__H8bbRmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbRmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__H8bbhmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bbhmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__H8bcBmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__H8bZBmtEeCMbfVQrOfmzQ/method.__H8bcBmtEeCMbfVQrOfmzQ.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wNm9t-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNm9u-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tS9AG7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tS9AH7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNm9vep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tS9AIbBcEeSqLfQ0kalDug"
called="#__H8bcBmtEeCMbfVQrOfmzQ"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wNm9vup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNm9v-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tS9AIrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tS9AI7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="__I1zQBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/home.htmljet"
"
+ <elements xmi:id="__I1zQBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/home.htmljet"
"
name="HomeHTML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#__I1zQhmtEeCMbfVQrOfmzQ" conditionMethod="#__I1zRBmtEeCMbfVQrOfmzQ"
initMethod="#__I1zQxmtEeCMbfVQrOfmzQ" footerMethod="#__I1zRhmtEeCMbfVQrOfmzQ">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNwHoep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tUAI8bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="__I1zQhmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQhmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__I1zQxmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zQxmtEeCMbfVQrOfmzQ.pt"/>
@@ -5063,20 +5063,20 @@
<methods xmi:id="__I1zSRmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zSRmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__I1zShmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zShmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__I1zTBmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__I1zQBmtEeCMbfVQrOfmzQ/method.__I1zTBmtEeCMbfVQrOfmzQ.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wNwHp-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNwHq-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tUAI97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUAI-7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNwHrep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUAI_bBcEeSqLfQ0kalDug"
called="#__I1zTBmtEeCMbfVQrOfmzQ"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wNwHrup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNwHr-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tUAI_rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tUAI_7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="__KLQABmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="__KLQABmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/module.gwt.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="ModuleGWTXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#__KLQAhmtEeCMbfVQrOfmzQ" conditionMethod="#__KLQBBmtEeCMbfVQrOfmzQ"
initMethod="#__KLQAxmtEeCMbfVQrOfmzQ" footerMethod="#__KLQBhmtEeCMbfVQrOfmzQ">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNTbxep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tTZsAbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="__KLQAhmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAhmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__KLQAxmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQAxmtEeCMbfVQrOfmzQ.pt"/>
@@ -5087,20 +5087,20 @@
<methods xmi:id="__KLQCRmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQCRmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__KLQChmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQChmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__KLQDBmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__KLQABmtEeCMbfVQrOfmzQ/method.__KLQDBmtEeCMbfVQrOfmzQ.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wNTby-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNTbz-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tTZsB7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTZsC7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNTb0ep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTZsDbBcEeSqLfQ0kalDug"
called="#__KLQDBmtEeCMbfVQrOfmzQ"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wNTb0up3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNTb0-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tTZsDrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tTZsD7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="__gO_kBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/web.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="__gO_kBmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/web.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="WebXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#__gO_khmtEeCMbfVQrOfmzQ" conditionMethod="#__gO_lBmtEeCMbfVQrOfmzQ"
initMethod="#__gO_kxmtEeCMbfVQrOfmzQ" footerMethod="#__gO_lhmtEeCMbfVQrOfmzQ">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wNTbtep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tT2X8bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="__gO_khmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_khmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__gO_kxmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_kxmtEeCMbfVQrOfmzQ.pt"/>
@@ -5111,20 +5111,20 @@
<methods xmi:id="__gO_mRmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mRmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__gO_mhmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_mhmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__gO_nBmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__gO_kBmtEeCMbfVQrOfmzQ/method.__gO_nBmtEeCMbfVQrOfmzQ.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wNTbu-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNTbv-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tT2X97BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tT2X-7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNTbwep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tT2X_bBcEeSqLfQ0kalDug"
called="#__gO_nBmtEeCMbfVQrOfmzQ"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wNTbwup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wNTbw-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tT2X_rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tT2X_7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="__9b48BmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/EntryPoint.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="__9b48BmtEeCMbfVQrOfmzQ" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/EntryPoint.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="EntryPoint" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
headerMethod="#__9b48hmtEeCMbfVQrOfmzQ" conditionMethod="#__9b49BmtEeCMbfVQrOfmzQ"
initMethod="#__9b48xmtEeCMbfVQrOfmzQ" footerMethod="#__9b49hmtEeCMbfVQrOfmzQ">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wOpfgep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tVVlsbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="__9b48hmtEeCMbfVQrOfmzQ" name="header" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48hmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__9b48xmtEeCMbfVQrOfmzQ" name="init" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b48xmtEeCMbfVQrOfmzQ.pt"/>
@@ -5135,166 +5135,166 @@
<methods xmi:id="__9b4-RmtEeCMbfVQrOfmzQ" name="setArgument" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-RmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__9b4-hmtEeCMbfVQrOfmzQ" name="ensureProjectExists" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4-hmtEeCMbfVQrOfmzQ.pt"/>
<methods xmi:id="__9b4_BmtEeCMbfVQrOfmzQ" name="doGenerate" patternFilePath="templates/pattern.__9b48BmtEeCMbfVQrOfmzQ/method.__9b4_BmtEeCMbfVQrOfmzQ.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wOpfh-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOpfi-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tVVlt7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVVlu7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOpfjep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVVlvbBcEeSqLfQ0kalDug"
called="#__9b4_BmtEeCMbfVQrOfmzQ"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wOpfjup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wOpfj-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tVVlvrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tVVlv7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
</libraries>
<libraries xmi:id="_08-MQGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.editor.call.Editor">
- <elements xmi:id="_08-MQWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.insert
"
+ <elements xmi:id="_08-MQWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.editor.call.Editor.Editor.addItemProviderFactories.insert
"
name="Editor.addItemProviderFactories.override" headerMethod="#_08-MQ2J-Ed-FqczH3ESmRw"
conditionMethod="#_CC6qtXLZEd-09ds9dfYpFw" initMethod="#_08-MRGJ-Ed-FqczH3ESmRw"
footerMethod="#_08-MRmJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-oLAOp3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t1rSorBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_08-MQ2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MQ2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_08-MRGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CC6qtXLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._CC6qtXLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_08-MRmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MRmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_08-MXGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._08-MQWJ-Ed-FqczH3ESmRw/method._08-MXGJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-oLB-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-oLCOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w-oLCep3EeOL64M_eEhORw" name="importedOperationClassName"
+ <parameters xmi:id="_t1rSqbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t1rSqrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_t1rSq7BcEeSqLfQ0kalDug" name="importedOperationClassName"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLCup3EeOL64M_eEhORw" name="operationMethodName"
+ <parameters xmi:id="_t1rSrLBcEeSqLfQ0kalDug" name="operationMethodName"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLC-p3EeOL64M_eEhORw" name="_ArrayListOfObject"
+ <parameters xmi:id="_t1rSrbBcEeSqLfQ0kalDug" name="_ArrayListOfObject"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLDOp3EeOL64M_eEhORw" name="_ArrayListOfSelectionChangedListener"
+ <parameters xmi:id="_t1rSrrBcEeSqLfQ0kalDug" name="_ArrayListOfSelectionChangedListener"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLDep3EeOL64M_eEhORw" name="_CollectionOfSelectionChangedListener"
+ <parameters xmi:id="_t1rSr7BcEeSqLfQ0kalDug" name="_CollectionOfSelectionChangedListener"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLDup3EeOL64M_eEhORw" name="_ArrayListOfResource"
+ <parameters xmi:id="_t1rSsLBcEeSqLfQ0kalDug" name="_ArrayListOfResource"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLD-p3EeOL64M_eEhORw" name="_CollectionOfResource"
+ <parameters xmi:id="_t1rSsbBcEeSqLfQ0kalDug" name="_CollectionOfResource"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLEOp3EeOL64M_eEhORw" name="_MapOfResourceToDiagnostic"
+ <parameters xmi:id="_t1rSsrBcEeSqLfQ0kalDug" name="_MapOfResourceToDiagnostic"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLEep3EeOL64M_eEhORw" name="_HashMapOfResourceToBoolean"
+ <parameters xmi:id="_t1rSs7BcEeSqLfQ0kalDug" name="_HashMapOfResourceToBoolean"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLEup3EeOL64M_eEhORw" name="_MapOfObjectToObject"
+ <parameters xmi:id="_t1rStLBcEeSqLfQ0kalDug" name="_MapOfObjectToObject"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLE-p3EeOL64M_eEhORw" name="_HashMapOfObjectToObject"
+ <parameters xmi:id="_t1rStbBcEeSqLfQ0kalDug" name="_HashMapOfObjectToObject"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLFOp3EeOL64M_eEhORw" name="_LinkedHashMapOfResourceToDiagnostic"
+ <parameters xmi:id="_t1rStrBcEeSqLfQ0kalDug" name="_LinkedHashMapOfResourceToDiagnostic"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLFep3EeOL64M_eEhORw" name="_CollectionOfAnything"
+ <parameters xmi:id="_t1rSt7BcEeSqLfQ0kalDug" name="_CollectionOfAnything"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLFup3EeOL64M_eEhORw" name="_ListOfAnything" type="java.lang.String"/>
- <parameters xmi:id="_w-oLF-p3EeOL64M_eEhORw" name="useExtendedLabelProvider"
+ <parameters xmi:id="_t1rSuLBcEeSqLfQ0kalDug" name="_ListOfAnything" type="java.lang.String"/>
+ <parameters xmi:id="_t1rSubBcEeSqLfQ0kalDug" name="useExtendedLabelProvider"
type="java.lang.Boolean"/>
- <parameters xmi:id="_w-oLGOp3EeOL64M_eEhORw" name="useStyledLabelProvider"
+ <parameters xmi:id="_t1rSurBcEeSqLfQ0kalDug" name="useStyledLabelProvider"
type="java.lang.Boolean"/>
- <parameters xmi:id="_w-oLGep3EeOL64M_eEhORw" name="_AdapterFactoryLabelProvider"
+ <parameters xmi:id="_t1rSu7BcEeSqLfQ0kalDug" name="_AdapterFactoryLabelProvider"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLGup3EeOL64M_eEhORw" name="_DelegatingAdapterFactoryLabelProvider"
+ <parameters xmi:id="_t1rSvLBcEeSqLfQ0kalDug" name="_DelegatingAdapterFactoryLabelProvider"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLG-p3EeOL64M_eEhORw" name="_DecoratingColumLabelProvider"
+ <parameters xmi:id="_t1rSvbBcEeSqLfQ0kalDug" name="_DecoratingColumLabelProvider"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLHOp3EeOL64M_eEhORw" name="_DiagnosticDecorator"
+ <parameters xmi:id="_t1rSvrBcEeSqLfQ0kalDug" name="_DiagnosticDecorator"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLHep3EeOL64M_eEhORw" name="_ArrayListOfString"
+ <parameters xmi:id="_t1rSv7BcEeSqLfQ0kalDug" name="_ArrayListOfString"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLHup3EeOL64M_eEhORw" name="_ListOfString" type="java.lang.String"/>
- <parameters xmi:id="_w-oLH-p3EeOL64M_eEhORw" name="_ListOfPropertySheetPage"
+ <parameters xmi:id="_t1rSwLBcEeSqLfQ0kalDug" name="_ListOfString" type="java.lang.String"/>
+ <parameters xmi:id="_t1rSwbBcEeSqLfQ0kalDug" name="_ListOfPropertySheetPage"
type="java.lang.String"/>
- <parameters xmi:id="_w-oLIOp3EeOL64M_eEhORw" name="_ArrayListOfPropertySheetPage"
+ <parameters xmi:id="_t1rSwrBcEeSqLfQ0kalDug" name="_ArrayListOfPropertySheetPage"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-oLBup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-oLIup3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t1rSqLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t1rSxLBcEeSqLfQ0kalDug"
called="#_08-MXGJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_09RHMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
"
+ <elements xmi:id="_09RHMGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/editor/Editor.javajet"
"
name="Editor.addItemProviderFactories.insert" headerMethod="#_09RHMmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CHY7BHLZEd-09ds9dfYpFw" initMethod="#_09RHM2J-Ed-FqczH3ESmRw"
footerMethod="#_09RHNWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-x78ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t10ckbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_09RHMmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHMmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_09RHM2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHM2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CHY7BHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._CHY7BHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_09RHNWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHNWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_09RHS2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._09RHMGJ-Ed-FqczH3ESmRw/method._09RHS2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-x7-Op3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-x7-ep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <parameters xmi:id="_w-x7-up3EeOL64M_eEhORw" name="importedOperationClassName"
+ <parameters xmi:id="_t10cmLBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t10cmbBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <parameters xmi:id="_t10cmrBcEeSqLfQ0kalDug" name="importedOperationClassName"
type="java.lang.String"/>
- <parameters xmi:id="_w-x7--p3EeOL64M_eEhORw" name="operationMethodName"
+ <parameters xmi:id="_t10cm7BcEeSqLfQ0kalDug" name="operationMethodName"
type="java.lang.String"/>
- <parameters xmi:id="_w-x7_Op3EeOL64M_eEhORw" name="_ArrayListOfObject"
+ <parameters xmi:id="_t10cnLBcEeSqLfQ0kalDug" name="_ArrayListOfObject"
type="java.lang.String"/>
- <parameters xmi:id="_w-x7_ep3EeOL64M_eEhORw" name="_ArrayListOfSelectionChangedListener"
+ <parameters xmi:id="_t10cnbBcEeSqLfQ0kalDug" name="_ArrayListOfSelectionChangedListener"
type="java.lang.String"/>
- <parameters xmi:id="_w-x7_up3EeOL64M_eEhORw" name="_CollectionOfSelectionChangedListener"
+ <parameters xmi:id="_t10cnrBcEeSqLfQ0kalDug" name="_CollectionOfSelectionChangedListener"
type="java.lang.String"/>
- <parameters xmi:id="_w-x7_-p3EeOL64M_eEhORw" name="_ArrayListOfResource"
+ <parameters xmi:id="_t10cn7BcEeSqLfQ0kalDug" name="_ArrayListOfResource"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8AOp3EeOL64M_eEhORw" name="_CollectionOfResource"
+ <parameters xmi:id="_t10coLBcEeSqLfQ0kalDug" name="_CollectionOfResource"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8Aep3EeOL64M_eEhORw" name="_MapOfResourceToDiagnostic"
+ <parameters xmi:id="_t10cobBcEeSqLfQ0kalDug" name="_MapOfResourceToDiagnostic"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8Aup3EeOL64M_eEhORw" name="_HashMapOfResourceToBoolean"
+ <parameters xmi:id="_t10corBcEeSqLfQ0kalDug" name="_HashMapOfResourceToBoolean"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8A-p3EeOL64M_eEhORw" name="_MapOfObjectToObject"
+ <parameters xmi:id="_t10co7BcEeSqLfQ0kalDug" name="_MapOfObjectToObject"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8BOp3EeOL64M_eEhORw" name="_HashMapOfObjectToObject"
+ <parameters xmi:id="_t10cpLBcEeSqLfQ0kalDug" name="_HashMapOfObjectToObject"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8Bep3EeOL64M_eEhORw" name="_LinkedHashMapOfResourceToDiagnostic"
+ <parameters xmi:id="_t10cpbBcEeSqLfQ0kalDug" name="_LinkedHashMapOfResourceToDiagnostic"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8Bup3EeOL64M_eEhORw" name="_CollectionOfAnything"
+ <parameters xmi:id="_t10cprBcEeSqLfQ0kalDug" name="_CollectionOfAnything"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8B-p3EeOL64M_eEhORw" name="_ListOfAnything" type="java.lang.String"/>
- <parameters xmi:id="_w-x8COp3EeOL64M_eEhORw" name="useExtendedLabelProvider"
+ <parameters xmi:id="_t10cp7BcEeSqLfQ0kalDug" name="_ListOfAnything" type="java.lang.String"/>
+ <parameters xmi:id="_t10cqLBcEeSqLfQ0kalDug" name="useExtendedLabelProvider"
type="java.lang.Boolean"/>
- <parameters xmi:id="_w-x8Cep3EeOL64M_eEhORw" name="useStyledLabelProvider"
+ <parameters xmi:id="_t10cqbBcEeSqLfQ0kalDug" name="useStyledLabelProvider"
type="java.lang.Boolean"/>
- <parameters xmi:id="_w-x8Cup3EeOL64M_eEhORw" name="_AdapterFactoryLabelProvider"
+ <parameters xmi:id="_t10cqrBcEeSqLfQ0kalDug" name="_AdapterFactoryLabelProvider"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8C-p3EeOL64M_eEhORw" name="_DelegatingAdapterFactoryLabelProvider"
+ <parameters xmi:id="_t10cq7BcEeSqLfQ0kalDug" name="_DelegatingAdapterFactoryLabelProvider"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8DOp3EeOL64M_eEhORw" name="_DecoratingColumLabelProvider"
+ <parameters xmi:id="_t10crLBcEeSqLfQ0kalDug" name="_DecoratingColumLabelProvider"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8Dep3EeOL64M_eEhORw" name="_DiagnosticDecorator"
+ <parameters xmi:id="_t10crbBcEeSqLfQ0kalDug" name="_DiagnosticDecorator"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8Dup3EeOL64M_eEhORw" name="_ArrayListOfString"
+ <parameters xmi:id="_t10crrBcEeSqLfQ0kalDug" name="_ArrayListOfString"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8D-p3EeOL64M_eEhORw" name="_ListOfString" type="java.lang.String"/>
- <parameters xmi:id="_w-x8EOp3EeOL64M_eEhORw" name="_ListOfPropertySheetPage"
+ <parameters xmi:id="_t10cr7BcEeSqLfQ0kalDug" name="_ListOfString" type="java.lang.String"/>
+ <parameters xmi:id="_t10csLBcEeSqLfQ0kalDug" name="_ListOfPropertySheetPage"
type="java.lang.String"/>
- <parameters xmi:id="_w-x8Eep3EeOL64M_eEhORw" name="_ArrayListOfPropertySheetPage"
+ <parameters xmi:id="_t10csbBcEeSqLfQ0kalDug" name="_ArrayListOfPropertySheetPage"
type="java.lang.String"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-x79-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-x8E-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t10cl7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t10cs7BcEeSqLfQ0kalDug"
called="#_09RHS2J-Ed-FqczH3ESmRw"/>
</elements>
</libraries>
</viewpoints>
</viewpointContainer>
<orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prg8djG0Ed-kc8dEZsdm2w">
- <invocations xmi:id="_xBAwwep3EeOL64M_eEhORw" name="EMF Editor Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
- <invocationContractContainer xmi:id="_xBAwwup3EeOL64M_eEhORw">
- <invocationContracts xmi:id="_xBAww-p3EeOL64M_eEhORw" factoryComponentContract="#_Prg8ezG0Ed-kc8dEZsdm2w"
+ <invocations xmi:id="_t49QUbBcEeSqLfQ0kalDug" name="EMF Editor Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
+ <invocationContractContainer xmi:id="_t49QUrBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_t49QU7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prg8ezG0Ed-kc8dEZsdm2w"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_DgB2IP6fEd64XaYPo3s6sPg"/>
- <invocationContracts xmi:id="_xBAwx-p3EeOL64M_eEhORw" factoryComponentContract="#_pCqEMFIIEd-eGOdO3WtsxA"
+ <invocationContracts xmi:id="_t49QV7BcEeSqLfQ0kalDug" factoryComponentContract="#_pCqEMFIIEd-eGOdO3WtsxA"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_L6JSwAHAEd-4faJMEplCjxw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAwyOp3EeOL64M_eEhORw"
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QWLBcEeSqLfQ0kalDug"
value="org.eclipse.egf.emf.pattern.base.ContentTypePatternExecutionReporter"/>
</invocationContracts>
- <invocationContracts xmi:id="_xBAwy-p3EeOL64M_eEhORw" factoryComponentContract="#_Tx5xMlkTEd-bv5aydwO2Qw"
+ <invocationContracts xmi:id="_t49QW7BcEeSqLfQ0kalDug" factoryComponentContract="#_Tx5xMlkTEd-bv5aydwO2Qw"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_nz1HkSCaEd-Sse0r9LJWbA">
- <type xmi:type="pattern:TypePatternList" xmi:id="_xBAwzOp3EeOL64M_eEhORw"
+ <type xmi:type="pattern:TypePatternList" xmi:id="_t49QXLBcEeSqLfQ0kalDug"
elements="#_PkqGczG0Ed-kc8dEZsdm2w"/>
</invocationContracts>
- <invocationContracts xmi:id="_xBAwz-p3EeOL64M_eEhORw" factoryComponentContract="#_Y3EukFHVEd-dr9AWwNwIMQ"
+ <invocationContracts xmi:id="_t49QX7BcEeSqLfQ0kalDug" factoryComponentContract="#_Y3EukFHVEd-dr9AWwNwIMQ"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_NFhJ4UMgEd-Ixul1H5ANhg"/>
- <invocationContracts xmi:id="_xBAw0up3EeOL64M_eEhORw" factoryComponentContract="#_NcZ6I_MqEd-6tr0C8ZV8Ew"
+ <invocationContracts xmi:id="_t49QYrBcEeSqLfQ0kalDug" factoryComponentContract="#_NcZ6I_MqEd-6tr0C8ZV8Ew"
invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_JWI2sPI7Ed-Pp8S8RvVOuQ"/>
- <invocationContracts xmi:id="_xBAw1ep3EeOL64M_eEhORw" factoryComponentContract="#_FqdyEFLNEd-ZSLMRjxSbVQ"
+ <invocationContracts xmi:id="_t49QZbBcEeSqLfQ0kalDug" factoryComponentContract="#_FqdyEFLNEd-ZSLMRjxSbVQ"
invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_vtlEAFLMEd-ZSLMRjxSbVQ"/>
</invocationContractContainer>
</invocations>
@@ -5303,38 +5303,38 @@
<fcore:FactoryComponent xmi:id="_PoF08DG0Ed-kc8dEZsdm2w" name="EMF Tests Pattern">
<contractContainer xmi:id="_Prg8hTG0Ed-kc8dEZsdm2w">
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prg8hjG0Ed-kc8dEZsdm2w"
- description="EMF Tests Pattern" name="genModel" mandatory="true" invocationContracts="#_xBAw2-p3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeDomain" xmi:id="_xBAw3up3EeOL64M_eEhORw"/>
+ description="EMF Tests Pattern" name="genModel" mandatory="true" invocationContracts="#_t49Qa7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_t49QbrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_tvg04FIIEd-eGOdO3WtsxA"
- description="EMF Tests Pattern" name="pattern.execution.reporter" invocationContracts="#_xBAw3-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAw4up3EeOL64M_eEhORw"/>
+ description="EMF Tests Pattern" name="pattern.execution.reporter" invocationContracts="#_t49Qb7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QcrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Tx5xR1kTEd-bv5aydwO2Qw"
- description="EMF Tests Pattern" name="pattern.ids" invocationContracts="#_xBAw4-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternList" xmi:id="_xBAw5up3EeOL64M_eEhORw"/>
+ description="EMF Tests Pattern" name="pattern.ids" invocationContracts="#_t49Qc7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternList" xmi:id="_t49QdrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_eYFgEFHVEd-dr9AWwNwIMQ"
- description="EMF Tests Pattern" name="pattern.substitutions" invocationContracts="#_xBAw5-p3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_xBAw6ep3EeOL64M_eEhORw"/>
+ description="EMF Tests Pattern" name="pattern.substitutions" invocationContracts="#_t49Qd7BcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_t49QebBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_NcjD0vMqEd-6tr0C8ZV8Ew"
- description="EMF Tests Pattern" name="usedGenPackages" invocationContracts="#_xBAw6up3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeGenPackages" xmi:id="_xBAw7Op3EeOL64M_eEhORw"/>
+ description="EMF Tests Pattern" name="usedGenPackages" invocationContracts="#_t49QerBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_t49QfLBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_LnCeMFLNEd-ZSLMRjxSbVQ"
- description="EMF Tests Pattern" name="mergeRulesURI" invocationContracts="#_xBAw7ep3EeOL64M_eEhORw">
- <type xmi:type="types:TypeURI" xmi:id="_xBAw7-p3EeOL64M_eEhORw"/>
+ description="EMF Tests Pattern" name="mergeRulesURI" invocationContracts="#_t49QfbBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_t49Qf7BcEeSqLfQ0kalDug"/>
</contracts>
</contractContainer>
<viewpointContainer xmi:id="_PoO-4DG0Ed-kc8dEZsdm2w">
<viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_PoO-4TG0Ed-kc8dEZsdm2w">
<libraries xmi:id="_PoO-4jG0Ed-kc8dEZsdm2w" name="org.eclipse.egf.emf.pattern.tests">
- <elements xmi:id="_PoO-4zG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
+ <elements xmi:id="_PoO-4zG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/plugin.xmljet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderXml
"
name="PluginXML" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PoO-5TG0Ed-kc8dEZsdm2w" conditionMethod="#_-pXU9HLYEd-09ds9dfYpFw"
initMethod="#_PoO-5jG0Ed-kc8dEZsdm2w" footerMethod="#_PoO-6DG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wPPVYep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tWYulbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PoO-5TG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5TG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PoO-5jG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-5jG0Ed-kc8dEZsdm2w.pt"/>
@@ -5345,20 +5345,20 @@
<methods xmi:id="_SxaSKGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._SxaSKGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1A1QOWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._1A1QOWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PoO-7DG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PoO-4zG0Ed-kc8dEZsdm2w/method._PoO-7DG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wPPVZ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPPVa-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tWYum7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWYun7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPPVbep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWYuobBcEeSqLfQ0kalDug"
called="#_PoO-7DG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wPPVbup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPPVb-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tWYuorBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWYuo7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PoYv4DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ <elements xmi:id="_PoYv4DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/build.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
name="BuildProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_PoYv4jG0Ed-kc8dEZsdm2w" conditionMethod="#_-iWuBHLYEd-09ds9dfYpFw"
initMethod="#_PoYv4zG0Ed-kc8dEZsdm2w" footerMethod="#_PoYv5TG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wPGLdep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tWrpgbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PoYv4jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4jG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PoYv4zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv4zG0Ed-kc8dEZsdm2w.pt"/>
@@ -5369,20 +5369,20 @@
<methods xmi:id="_SxHXPGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._SxHXPGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1AsGTWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._1AsGTWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PoYv6TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PoYv4DG0Ed-kc8dEZsdm2w/method._PoYv6TG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wPGLe-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPGLf-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tWrph7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWrpi7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPGLgep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWrpjbBcEeSqLfQ0kalDug"
called="#_PoYv6TG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wPGLgup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPGLg-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tWrpjrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWrpj7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Po1b0DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/manifest.mfjet"
"
+ <elements xmi:id="_Po1b0DG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/manifest.mfjet"
"
name="ManifestMF" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_ZTUvECg7Ed-ROrlGa8LEeQ"
headerMethod="#_Po1b0jG0Ed-kc8dEZsdm2w" conditionMethod="#_-e7mmHLYEd-09ds9dfYpFw"
initMethod="#_Po1b0zG0Ed-kc8dEZsdm2w" footerMethod="#_Po1b1TG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wPZGYep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tWh4gbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Po1b0jG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0jG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Po1b0zG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b0zG0Ed-kc8dEZsdm2w.pt"/>
@@ -5393,20 +5393,20 @@
<methods xmi:id="_SxRIOGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._SxRIOGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1BIyOWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._1BIyOWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Po1b2TG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wPZGZ-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPZGa-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tWh4h7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWh4i7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_mwzm4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPZGbep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWh4jbBcEeSqLfQ0kalDug"
called="#_Po1b2TG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wPZGbup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPZGb-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tWh4jrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tWh4j7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PplCsDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
+ <elements xmi:id="_PplCsDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/plugin.propertiesjet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderProperties
"
name="PluginProperties" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_xxtwkCg7Ed-ROrlGa8LEeQ"
headerMethod="#_PplCsjG0Ed-kc8dEZsdm2w" conditionMethod="#_-uRqJHLYEd-09ds9dfYpFw"
initMethod="#_PplCszG0Ed-kc8dEZsdm2w" footerMethod="#_PplCtTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wPi3Yep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tXRfYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PplCsjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCsjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PplCszG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCszG0Ed-kc8dEZsdm2w.pt"/>
@@ -5417,20 +5417,20 @@
<methods xmi:id="_SxkDKGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._SxkDKGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1BR8KWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._1BR8KWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PplCuTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PplCsDG0Ed-kc8dEZsdm2w/method._PplCuTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wPi3Z-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPi3a-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tXRfZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tXRfa7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_pQ16sChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPi3bep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tXRfbbBcEeSqLfQ0kalDug"
called="#_PplCuTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wPi3bup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPi3b-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tXRfbrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tXRfb7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pp39oDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.insert
"
+ <elements xmi:id="_Pp39oDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.insert
"
name="TestCase" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_hYG6UCg6Ed-ROrlGa8LEeQ"
headerMethod="#_Pp39ojG0Ed-kc8dEZsdm2w" conditionMethod="#_-w9xxHLYEd-09ds9dfYpFw"
initMethod="#_Pp39ozG0Ed-kc8dEZsdm2w" footerMethod="#_Pp39pTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wP1yUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tcy4kbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pp39ojG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ojG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pp39ozG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Pp39ozG0Ed-kc8dEZsdm2w.pt"/>
@@ -5441,20 +5441,20 @@
<methods xmi:id="_Sx2-GGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._Sx2-GGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1BuoGWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._1BuoGWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PqBuojG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pp39oDG0Ed-kc8dEZsdm2w/method._PqBuojG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wP1yV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wP1yW-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tcy4l7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tcy4m7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_Chxo4ChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wP1yXep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tcy4nbBcEeSqLfQ0kalDug"
called="#_PqBuojG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wP1yXup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wP1yX-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tcy4nrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tcy4n7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PqeakDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/PackageExample.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PqeakDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/PackageExample.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="PackageExample" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PqeakjG0Ed-kc8dEZsdm2w" conditionMethod="#_-0r0JHLYEd-09ds9dfYpFw"
initMethod="#_PqeakzG0Ed-kc8dEZsdm2w" footerMethod="#_PqealTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wP_jUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tdFzgbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PqeakjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PqeakzG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeakzG0Ed-kc8dEZsdm2w.pt"/>
@@ -5465,20 +5465,20 @@
<methods xmi:id="_Sxt0KGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._Sxt0KGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1Bk3GWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._1Bk3GWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PqeamTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PqeakDG0Ed-kc8dEZsdm2w/method._PqeamTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wP_jV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wP_jW-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tdFzh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdFzi7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wP_jXep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdFzjbBcEeSqLfQ0kalDug"
called="#_PqeamTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wP_jXup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wP_jX-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tdFzjrBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdFzj7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_Pq6fcDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/ModelTestSuite.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_Pq6fcDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/ModelTestSuite.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="ModelTestSuite" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_F0In8Cg6Ed-ROrlGa8LEeQ"
headerMethod="#_Pq6fcjG0Ed-kc8dEZsdm2w" conditionMethod="#_-7Y5FHLYEd-09ds9dfYpFw"
initMethod="#_Pq6fczG0Ed-kc8dEZsdm2w" footerMethod="#_Pq6fdTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wPi3cep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_ta2X0bBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_Pq6fcjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fcjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_Pq6fczG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6fczG0Ed-kc8dEZsdm2w.pt"/>
@@ -5489,20 +5489,20 @@
<methods xmi:id="_SyAvGGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._SyAvGGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1BbtKWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._1BbtKWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_Pq6feTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._Pq6fcDG0Ed-kc8dEZsdm2w/method._Pq6feTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wPi3d-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPi3e-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_ta2X17BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ta2X27BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_cjQNwChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPi3fep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ta2X3bBcEeSqLfQ0kalDug"
called="#_Pq6feTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wPi3fup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPi3f-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_ta2X3rBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_ta2X37BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_DrPLUChGEd-zj5CV40Ozyg"/>
</elements>
- <elements xmi:id="_PrOBcDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/PackageTestSuite.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
+ <elements xmi:id="_PrOBcDG0Ed-kc8dEZsdm2w" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/PackageTestSuite.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.base.HeaderJava
"
name="PackageTestSuite" superPattern="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_VlOiICg6Ed-ROrlGa8LEeQ"
headerMethod="#_PrOBcjG0Ed-kc8dEZsdm2w" conditionMethod="#_-5ATdHLYEd-09ds9dfYpFw"
initMethod="#_PrOBczG0Ed-kc8dEZsdm2w" footerMethod="#_PrOBdTG0Ed-kc8dEZsdm2w">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_wPsBUep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_tdO9cbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_PrOBcjG0Ed-kc8dEZsdm2w" name="header" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBcjG0Ed-kc8dEZsdm2w.pt"/>
<methods xmi:id="_PrOBczG0Ed-kc8dEZsdm2w" name="init" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBczG0Ed-kc8dEZsdm2w.pt"/>
@@ -5513,399 +5513,399 @@
<methods xmi:id="_SyKgGGKPEd-2a5uccsiuZA" name="setArgument" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._SyKgGGKPEd-2a5uccsiuZA.pt"/>
<methods xmi:id="_1B4ZGWKMEd-_wNQtGaQ-lw" name="ensureProjectExists" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._1B4ZGWKMEd-_wNQtGaQ-lw.pt"/>
<methods xmi:id="_PrOBeTG0Ed-kc8dEZsdm2w" name="doGenerate" patternFilePath="templates/pattern._PrOBcDG0Ed-kc8dEZsdm2w/method._PrOBeTG0Ed-kc8dEZsdm2w.pt"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_wPsBV-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPsBW-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_tdO9d7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdO9e7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_QRYMcChGEd-zj5CV40Ozyg"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPsBXep3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdO9fbBcEeSqLfQ0kalDug"
called="#_PrOBeTG0Ed-kc8dEZsdm2w"/>
- <orchestration xmi:type="pattern:BackCall" xmi:id="_wPsBXup3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_wPsBX-p3EeOL64M_eEhORw"
+ <orchestration xmi:type="pattern:BackCall" xmi:id="_tdO9frBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_tdO9f7BcEeSqLfQ0kalDug"
called="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_MeyroChGEd-zj5CV40Ozyg"/>
</elements>
</libraries>
<libraries xmi:id="_09kCIGJ-Ed-FqczH3ESmRw" name="org.eclipse.egf.emf.pattern.tests.call.TestCase">
- <elements xmi:id="_09kCIWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.insert
"
+ <elements xmi:id="_09kCIWJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenFeature.insert
"
name="TestCase.implementedGenFeature.override" headerMethod="#_09kCI2J-Ed-FqczH3ESmRw"
conditionMethod="#_CIbc1XLZEd-09ds9dfYpFw" initMethod="#_09kCJGJ-Ed-FqczH3ESmRw"
footerMethod="#_09kCJmJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-x8Fup3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t2H-krBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_09kCI2J-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_09kCJGJ-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJGJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CIbc1XLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._CIbc1XLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_09kCJmJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCJmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_09kCLGJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._09kCIWJ-Ed-FqczH3ESmRw/method._09kCLGJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-x8Hep3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w-x8Hup3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w-x8H-p3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-x8IOp3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-x8HOp3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-x8Iup3EeOL64M_eEhORw"
+ <parameters xmi:id="_t2H-mbBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t2H-mrBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t2H-m7BcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t2H-nLBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t2H-mLBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t2H-nrBcEeSqLfQ0kalDug"
called="#_09kCLGJ-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_093kIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.TODO.override
"
+ <elements xmi:id="_093kIGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.getGenFeature.TODO.override
"
name="TestCase.getGenFeature.override" headerMethod="#_093kImJ-Ed-FqczH3ESmRw"
conditionMethod="#_CKEblHLZEd-09ds9dfYpFw" initMethod="#_093kI2J-Ed-FqczH3ESmRw"
footerMethod="#_093kJWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-7F4ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t2RIgbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_093kImJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kImJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_093kI2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kI2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CKEblHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._CKEblHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_093kJWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kJWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_093kK2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._093kIGJ-Ed-FqczH3ESmRw/method._093kK2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-7F6Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w-7F6ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w-7F6up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-7F6-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-7F5-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-7F7ep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t2RIiLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t2RIibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t2RIirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t2RIi7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t2RIh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t2RIjbBcEeSqLfQ0kalDug"
called="#_093kK2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0-KfEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_0-KfEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.getGenFeature.annotations.insert" headerMethod="#_0-KfEmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CLQuZHLZEd-09ds9dfYpFw" initMethod="#_0-KfE2J-Ed-FqczH3ESmRw"
footerMethod="#_0-KfFWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w-7F7-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t2a5gbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0-KfEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfEmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-KfE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CLQuZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._CLQuZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0-KfFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfFWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-KfG2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-KfEGJ-Ed-FqczH3ESmRw/method._0-KfG2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w-7F9up3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w-7F9-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w-7F-Op3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w-7F-ep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w-7F9ep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w-7F--p3EeOL64M_eEhORw"
+ <parameters xmi:id="_t2a5iLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t2a5ibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t2a5irBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t2a5i7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t2a5h7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t2a5jbBcEeSqLfQ0kalDug"
called="#_0-KfG2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0-UQEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_0-UQEGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.getGenFeature.TODO.override" headerMethod="#_0-UQEmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CMmyNHLZEd-09ds9dfYpFw" initMethod="#_0-UQE2J-Ed-FqczH3ESmRw"
footerMethod="#_0-UQFWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_E24ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t2kqgbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0-UQEmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQEmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-UQE2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQE2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CMmyNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._CMmyNHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0-UQFWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQFWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-UQG2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-UQEGJ-Ed-FqczH3ESmRw/method._0-UQG2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_E26Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_E26ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_E26up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_E26-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_E25-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_E27ep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t2kqiLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t2kqibBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t2kqirBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t2kqi7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t2kqh7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t2kqjbBcEeSqLfQ0kalDug"
called="#_0-UQG2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0-daAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.TODO.override
"
+ <elements xmi:id="_0-daAGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.setGenFeature.TODO.override
"
name="TestCase.setGenFeature.override" headerMethod="#_0-daAmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CPu-tHLZEd-09ds9dfYpFw" initMethod="#_0-daA2J-Ed-FqczH3ESmRw"
footerMethod="#_0-daBWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_E27-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t2t0cbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0-daAmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daAmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-daA2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daA2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CPu-tHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._CPu-tHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0-daBWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daBWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-daC2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-daAGJ-Ed-FqczH3ESmRw/method._0-daC2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_E29up3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_E29-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_E2-Op3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_E2-ep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_E29ep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_E2--p3EeOL64M_eEhORw"
+ <parameters xmi:id="_t2t0eLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t2t0ebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t2t0erBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t2t0e7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t2t0d7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t2t0fbBcEeSqLfQ0kalDug"
called="#_0-daC2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0-wU8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_0-wU8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.setGenFeature.annotations.insert" headerMethod="#_0-wU8mJ-Ed-FqczH3ESmRw"
conditionMethod="#_CRq4ZHLZEd-09ds9dfYpFw" initMethod="#_0-wU82J-Ed-FqczH3ESmRw"
footerMethod="#_0-wU9WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_On4ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t23lcbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0-wU8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-wU82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU82J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CRq4ZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._CRq4ZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0-wU9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU9WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-wU-2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-wU8GJ-Ed-FqczH3ESmRw/method._0-wU-2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_On6Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_On6ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_On6up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_On6-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_On5-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_On7ep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t23leLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t23lebBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t23lerBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t23le7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t23ld7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t23lfbBcEeSqLfQ0kalDug"
called="#_0-wU-2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0-6F8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_0-6F8GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.setGenFeature.TODO.override" headerMethod="#_0-6F8mJ-Ed-FqczH3ESmRw"
conditionMethod="#_CStaNHLZEd-09ds9dfYpFw" initMethod="#_0-6F82J-Ed-FqczH3ESmRw"
footerMethod="#_0-6F9WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_On7-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t3AvYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0-6F8mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F8mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-6F82J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F82J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CStaNHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._CStaNHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0-6F9WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F9WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0-6F-2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0-6F8GJ-Ed-FqczH3ESmRw/method._0-6F-2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_On9up3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_On9-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_On-Op3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_On-ep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_On9ep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_On--p3EeOL64M_eEhORw"
+ <parameters xmi:id="_t3AvaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t3AvabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t3AvarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t3Ava7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t3AvZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t3AvbbBcEeSqLfQ0kalDug"
called="#_0-6F-2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_0_NA4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.TODO.override
"
+ <elements xmi:id="_0_NA4GJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.unsetGenFeature.TODO.override
"
name="TestCase.unsetGenFeature.override" headerMethod="#_0_NA4mJ-Ed-FqczH3ESmRw"
conditionMethod="#_CUDeBHLZEd-09ds9dfYpFw" initMethod="#_0_NA42J-Ed-FqczH3ESmRw"
footerMethod="#_0_NA5WJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_Xx0ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t3Avb7BcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_0_NA4mJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA4mJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0_NA42J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA42J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CUDeBHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._CUDeBHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_0_NA5WJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA5WJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_0_NA62J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._0_NA4GJ-Ed-FqczH3ESmRw/method._0_NA62J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_Xx2Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_Xx2ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_Xx2up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_Xx2-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_Xx1-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_Xx3ep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t3AvdrBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t3Avd7BcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t3AveLBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t3AvebBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t3AvdbBcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t3Ave7BcEeSqLfQ0kalDug"
called="#_0_NA62J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1BcckGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1BcckGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.unsetGenFeature.annotations.insert" headerMethod="#_1BcckmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CVZh1HLZEd-09ds9dfYpFw" initMethod="#_1Bcck2J-Ed-FqczH3ESmRw"
footerMethod="#_1BcclWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_rT0ep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t3KgYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1BcckmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcckmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Bcck2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bcck2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CVZh1HLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._CVZh1HLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1BcclWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1BcclWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Bccm2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1BcckGJ-Ed-FqczH3ESmRw/method._1Bccm2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_rT2Op3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_rT2ep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_rT2up3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_rT2-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_rT1-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_rT3ep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t3KgaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t3KgabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t3KgarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t3Kga7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t3KgZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t3KgbbBcEeSqLfQ0kalDug"
called="#_1Bccm2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1BlmgGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1BlmgGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.unsetGenFeature.TODO.override" headerMethod="#_1BlmgmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CWSSpHLZEd-09ds9dfYpFw" initMethod="#_1Blmg2J-Ed-FqczH3ESmRw"
footerMethod="#_1BlmhWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_0dwep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t3URYbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1BlmgmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmgmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Blmg2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmg2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CWSSpHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._CWSSpHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1BlmhWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1BlmhWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Blmi2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1BlmgGJ-Ed-FqczH3ESmRw/method._1Blmi2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_0dyOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_0dyep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_0dyup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_0dy-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_0dx-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_0dzep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t3URaLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t3URabBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t3URarBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t3URa7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t3URZ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t3URbbBcEeSqLfQ0kalDug"
called="#_1Blmi2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1BvXgGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.TODO.override
"
+ <elements xmi:id="_1BvXgGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.isSetGenFeature.TODO.override
"
name="TestCase.isSetGenFeature.override" headerMethod="#_1BvXgmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CY-aRHLZEd-09ds9dfYpFw" initMethod="#_1BvXg2J-Ed-FqczH3ESmRw"
footerMethod="#_1BvXhWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_0dz-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t3nMUbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1BvXgmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXgmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1BvXg2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXg2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CY-aRHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._CY-aRHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1BvXhWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXhWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1BvXi2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1BvXgGJ-Ed-FqczH3ESmRw/method._1BvXi2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_0d1up3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_0d1-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_0d2Op3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_0d2ep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_0d1ep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_0d2-p3EeOL64M_eEhORw"
+ <parameters xmi:id="_t3nMWLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t3nMWbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t3nMWrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t3nMW7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t3nMV7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t3nMXbBcEeSqLfQ0kalDug"
called="#_1BvXi2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1CMDcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1CMDcGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.isSetGenFeature.annotations.insert" headerMethod="#_1CMDcmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CanZBHLZEd-09ds9dfYpFw" initMethod="#_1CMDc2J-Ed-FqczH3ESmRw"
footerMethod="#_1CMDdWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_w_-Owep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t3w9UbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1CMDcmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDcmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1CMDc2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDc2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CanZBHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._CanZBHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1CMDdWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDdWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1CMDe2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1CMDcGJ-Ed-FqczH3ESmRw/method._1CMDe2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_w_-OyOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_w_-Oyep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_w_-Oyup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_w_-Oy-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_w_-Ox-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_w_-Ozep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t3w9WLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t3w9WbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t3w9WrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t3w9W7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t3w9V7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t3w9XbBcEeSqLfQ0kalDug"
called="#_1CMDe2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1Ce-YGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1Ce-YGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.isSetGenFeature.TODO.override" headerMethod="#_1Ce-YmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CcGmxHLZEd-09ds9dfYpFw" initMethod="#_1Ce-Y2J-Ed-FqczH3ESmRw"
footerMethod="#_1Ce-ZWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_xAHYsep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t36HQbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1Ce-YmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-YmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Ce-Y2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-Y2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CcGmxHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._CcGmxHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1Ce-ZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-ZWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Ce-a2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1Ce-YGJ-Ed-FqczH3ESmRw/method._1Ce-a2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_xAHYuOp3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_xAHYuep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_xAHYuup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_xAHYu-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_xAHYt-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_xAHYvep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t36HSLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t36HSbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t36HSrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t36HS7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t36HR7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t36HTbBcEeSqLfQ0kalDug"
called="#_1Ce-a2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1CovYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1CovYGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.implementedGenFeature.insert" headerMethod="#_1CovYmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CdcDhHLZEd-09ds9dfYpFw" initMethod="#_1CovY2J-Ed-FqczH3ESmRw"
footerMethod="#_1CovZWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_xAHYv-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t4D4QbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1CovYmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovYmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1CovY2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovY2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CdcDhHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._CdcDhHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1CovZWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1CovZWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Cova2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1CovYGJ-Ed-FqczH3ESmRw/method._1Cova2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_xAHYxup3EeOL64M_eEhORw" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
- <parameters xmi:id="_xAHYx-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_xAHYyOp3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_xAHYyep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_xAHYxep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_xAHYy-p3EeOL64M_eEhORw"
+ <parameters xmi:id="_t4D4SLBcEeSqLfQ0kalDug" name="genFeature" type="org.eclipse.emf.codegen.ecore.genmodel.GenFeature"/>
+ <parameters xmi:id="_t4D4SbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t4D4SrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t4D4S7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t4D4R7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t4D4TbBcEeSqLfQ0kalDug"
called="#_1Cova2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1Cx5UGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.insert
"
+ <elements xmi:id="_1Cx5UGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
This pattern calls:
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.genOperation.annotations.insert
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.TODO.override
 * org.eclipse.egf.emf.pattern.tests.call.TestCase.TestCase.implementedGenOperation.insert
"
name="TestCase.implementedGenOperation.override" headerMethod="#_1Cx5UmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CeVbZHLZEd-09ds9dfYpFw" initMethod="#_1Cx5U2J-Ed-FqczH3ESmRw"
footerMethod="#_1Cx5VWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_xARJsep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t4NCMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1Cx5UmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5UmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Cx5U2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5U2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CeVbZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._CeVbZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1Cx5VWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5VWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1Cx5W2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1Cx5UGJ-Ed-FqczH3ESmRw/method._1Cx5W2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_xARJuOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_xARJuep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_xARJuup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_xARJu-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_xARJt-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_xARJvep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t4NCOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_t4NCObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t4NCOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t4NCO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t4NCN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t4NCPbBcEeSqLfQ0kalDug"
called="#_1Cx5W2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1C7qUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1C7qUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.genOperation.annotations.insert" headerMethod="#_1C7qUmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CgILJHLZEd-09ds9dfYpFw" initMethod="#_1C7qU2J-Ed-FqczH3ESmRw"
footerMethod="#_1C7qVWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_xAkEoep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t4WzMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1C7qUmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qUmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1C7qU2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qU2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CgILJHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._CgILJHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1C7qVWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qVWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1C7qW2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1C7qUGJ-Ed-FqczH3ESmRw/method._1C7qW2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_xAkEqOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_xAkEqep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_xAkEqup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_xAkEq-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_xAkEp-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_xAkErep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t4WzOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_t4WzObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t4WzOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t4WzO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t4WzN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t4WzPbBcEeSqLfQ0kalDug"
called="#_1C7qW2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1DFbUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1DFbUGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.implementedGenOperation.TODO.override" headerMethod="#_1DFbUmJ-Ed-FqczH3ESmRw"
conditionMethod="#_CjtDlHLZEd-09ds9dfYpFw" initMethod="#_1DFbU2J-Ed-FqczH3ESmRw"
footerMethod="#_1DFbVWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_xAt1oep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t4gkMbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1DFbUmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbUmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1DFbU2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbU2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_CjtDlHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._CjtDlHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1DFbVWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbVWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1DFbW2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1DFbUGJ-Ed-FqczH3ESmRw/method._1DFbW2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_xAt1qOp3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_xAt1qep3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_xAt1qup3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_xAt1q-p3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_xAt1p-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_xAt1rep3EeOL64M_eEhORw"
+ <parameters xmi:id="_t4gkOLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_t4gkObBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t4gkOrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t4gkO7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t4gkN7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t4gkPbBcEeSqLfQ0kalDug"
called="#_1DFbW2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1DOlQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1DOlQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.implementedGenOperation.insert" headerMethod="#_1DOlQmJ-Ed-FqczH3ESmRw"
conditionMethod="#_Ckl0ZHLZEd-09ds9dfYpFw" initMethod="#_1DOlQ2J-Ed-FqczH3ESmRw"
footerMethod="#_1DOlRWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_xAt1r-p3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t4puIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1DOlQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1DOlQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlQ2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_Ckl0ZHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._Ckl0ZHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1DOlRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlRWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1DOlS2J-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1DOlQGJ-Ed-FqczH3ESmRw/method._1DOlS2J-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_xAt1tup3EeOL64M_eEhORw" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
- <parameters xmi:id="_xAt1t-p3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_xAt1uOp3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_xAt1uep3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_xAt1tep3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_xAt1u-p3EeOL64M_eEhORw"
+ <parameters xmi:id="_t4puKLBcEeSqLfQ0kalDug" name="genOperation" type="org.eclipse.emf.codegen.ecore.genmodel.GenOperation"/>
+ <parameters xmi:id="_t4puKbBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t4puKrBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t4puK7BcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t4puJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t4puLbBcEeSqLfQ0kalDug"
called="#_1DOlS2J-Ed-FqczH3ESmRw"/>
</elements>
- <elements xmi:id="_1DYWQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.10.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
+ <elements xmi:id="_1DYWQGJ-Ed-FqczH3ESmRw" description="This pattern was generated from : 
 * Bundle org.eclipse.emf.codegen.ecore 2.11.0.qualifier from EMF org.e
 * Template "templates/model.tests/TestCase.javajet"
"
name="TestCase.insert" headerMethod="#_1DYWQmJ-Ed-FqczH3ESmRw" conditionMethod="#_ClCgVHLZEd-09ds9dfYpFw"
initMethod="#_1DYWQ2J-Ed-FqczH3ESmRw" footerMethod="#_1DYWRWJ-Ed-FqczH3ESmRw">
- <nature xmi:type="jetpattern:JetNature" xmi:id="_xA3moep3EeOL64M_eEhORw"
+ <nature xmi:type="jetpattern:JetNature" xmi:id="_t4zfIbBcEeSqLfQ0kalDug"
name="JET"/>
<methods xmi:id="_1DYWQmJ-Ed-FqczH3ESmRw" name="header" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQmJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1DYWQ2J-Ed-FqczH3ESmRw" name="init" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWQ2J-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_ClCgVHLZEd-09ds9dfYpFw" name="preCondition" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._ClCgVHLZEd-09ds9dfYpFw.pt"/>
<methods xmi:id="_1DYWRWJ-Ed-FqczH3ESmRw" name="footer" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWRWJ-Ed-FqczH3ESmRw.pt"/>
<methods xmi:id="_1DYWSmJ-Ed-FqczH3ESmRw" name="doGenerate" patternFilePath="templates/pattern._1DYWQGJ-Ed-FqczH3ESmRw/method._1DYWSmJ-Ed-FqczH3ESmRw.pt"/>
- <parameters xmi:id="_xA3mqOp3EeOL64M_eEhORw" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
- <parameters xmi:id="_xA3mqep3EeOL64M_eEhORw" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
- <parameters xmi:id="_xA3mqup3EeOL64M_eEhORw" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
- <orchestration xmi:type="pattern:SuperCall" xmi:id="_xA3mp-p3EeOL64M_eEhORw"/>
- <orchestration xmi:type="pattern:MethodCall" xmi:id="_xA3mrOp3EeOL64M_eEhORw"
+ <parameters xmi:id="_t4zfKLBcEeSqLfQ0kalDug" name="genClass" type="org.eclipse.emf.codegen.ecore.genmodel.GenClass"/>
+ <parameters xmi:id="_t4zfKbBcEeSqLfQ0kalDug" name="genPackage" type="org.eclipse.emf.codegen.ecore.genmodel.GenPackage"/>
+ <parameters xmi:id="_t4zfKrBcEeSqLfQ0kalDug" name="genModel" type="org.eclipse.emf.codegen.ecore.genmodel.GenModel"/>
+ <orchestration xmi:type="pattern:SuperCall" xmi:id="_t4zfJ7BcEeSqLfQ0kalDug"/>
+ <orchestration xmi:type="pattern:MethodCall" xmi:id="_t4zfLLBcEeSqLfQ0kalDug"
called="#_1DYWSmJ-Ed-FqczH3ESmRw"/>
</elements>
</libraries>
</viewpoints>
</viewpointContainer>
<orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prg8gTG0Ed-kc8dEZsdm2w">
- <invocations xmi:id="_xBAw2ep3EeOL64M_eEhORw" name="EMF Tests Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
- <invocationContractContainer xmi:id="_xBAw2up3EeOL64M_eEhORw">
- <invocationContracts xmi:id="_xBAw2-p3EeOL64M_eEhORw" factoryComponentContract="#_Prg8hjG0Ed-kc8dEZsdm2w"
+ <invocations xmi:id="_t49QabBcEeSqLfQ0kalDug" name="EMF Tests Pattern" invokedActivity="ftask:Task platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_jT-SgD1hEd-m5uHrCQ1Jew">
+ <invocationContractContainer xmi:id="_t49QarBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_t49Qa7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prg8hjG0Ed-kc8dEZsdm2w"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_DgB2IP6fEd64XaYPo3s6sPg"/>
- <invocationContracts xmi:id="_xBAw3-p3EeOL64M_eEhORw" factoryComponentContract="#_tvg04FIIEd-eGOdO3WtsxA"
+ <invocationContracts xmi:id="_t49Qb7BcEeSqLfQ0kalDug" factoryComponentContract="#_tvg04FIIEd-eGOdO3WtsxA"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_L6JSwAHAEd-4faJMEplCjxw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAw4Op3EeOL64M_eEhORw"
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QcLBcEeSqLfQ0kalDug"
value="org.eclipse.egf.emf.pattern.base.ContentTypePatternExecutionReporter"/>
</invocationContracts>
- <invocationContracts xmi:id="_xBAw4-p3EeOL64M_eEhORw" factoryComponentContract="#_Tx5xR1kTEd-bv5aydwO2Qw"
+ <invocationContracts xmi:id="_t49Qc7BcEeSqLfQ0kalDug" factoryComponentContract="#_Tx5xR1kTEd-bv5aydwO2Qw"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_nz1HkSCaEd-Sse0r9LJWbA">
- <type xmi:type="pattern:TypePatternList" xmi:id="_xBAw5Op3EeOL64M_eEhORw"
+ <type xmi:type="pattern:TypePatternList" xmi:id="_t49QdLBcEeSqLfQ0kalDug"
elements="#_PoO-4jG0Ed-kc8dEZsdm2w"/>
</invocationContracts>
- <invocationContracts xmi:id="_xBAw5-p3EeOL64M_eEhORw" factoryComponentContract="#_eYFgEFHVEd-dr9AWwNwIMQ"
+ <invocationContracts xmi:id="_t49Qd7BcEeSqLfQ0kalDug" factoryComponentContract="#_eYFgEFHVEd-dr9AWwNwIMQ"
invokedContract="platform:/plugin/org.eclipse.egf.pattern.ftask/egf/Model_driven_pattern_strategy_task.fcore#_NFhJ4UMgEd-Ixul1H5ANhg"/>
- <invocationContracts xmi:id="_xBAw6up3EeOL64M_eEhORw" factoryComponentContract="#_NcjD0vMqEd-6tr0C8ZV8Ew"
+ <invocationContracts xmi:id="_t49QerBcEeSqLfQ0kalDug" factoryComponentContract="#_NcjD0vMqEd-6tr0C8ZV8Ew"
invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_JWI2sPI7Ed-Pp8S8RvVOuQ"/>
- <invocationContracts xmi:id="_xBAw7ep3EeOL64M_eEhORw" factoryComponentContract="#_LnCeMFLNEd-ZSLMRjxSbVQ"
+ <invocationContracts xmi:id="_t49QfbBcEeSqLfQ0kalDug" factoryComponentContract="#_LnCeMFLNEd-ZSLMRjxSbVQ"
invokedContract="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_vtlEAFLMEd-ZSLMRjxSbVQ"/>
</invocationContractContainer>
</invocations>
@@ -5914,80 +5914,80 @@
<fcore:FactoryComponent xmi:id="_Prz3UDG0Ed-kc8dEZsdm2w" name="EMF Pattern">
<contractContainer xmi:id="_Prz3UTG0Ed-kc8dEZsdm2w">
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Prz3UjG0Ed-kc8dEZsdm2w"
- description="EMF Pattern" name="genModel" mandatory="true" invocationContracts="#_xBAw9-p3EeOL64M_eEhORw #_xBAxBup3EeOL64M_eEhORw #_xBAxDep3EeOL64M_eEhORw #_xBAxFOp3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeDomain" xmi:id="_xBAw9up3EeOL64M_eEhORw"/>
+ description="EMF Pattern" name="genModel" mandatory="true" invocationContracts="#_t49Qh7BcEeSqLfQ0kalDug #_t49QlrBcEeSqLfQ0kalDug #_t49QnbBcEeSqLfQ0kalDug #_t49QpLBcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeDomain" xmi:id="_t49QhrBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_yqrHUFIIEd-eGOdO3WtsxA"
- description="EMF Pattern" name="pattern.execution.reporter" invocationContracts="#_xBAw-up3EeOL64M_eEhORw #_xBAxB-p3EeOL64M_eEhORw #_xBAxDup3EeOL64M_eEhORw #_xBAxFep3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_xBAw-ep3EeOL64M_eEhORw"/>
+ description="EMF Pattern" name="pattern.execution.reporter" invocationContracts="#_t49QirBcEeSqLfQ0kalDug #_t49Ql7BcEeSqLfQ0kalDug #_t49QnrBcEeSqLfQ0kalDug #_t49QpbBcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternExecutionReporter" xmi:id="_t49QibBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_JBH151eTEd-ExtSXfVloug"
- description="EMF Pattern" name="pattern.substitutions" invocationContracts="#_xBAw_ep3EeOL64M_eEhORw #_xBAxCOp3EeOL64M_eEhORw #_xBAxD-p3EeOL64M_eEhORw #_xBAxFup3EeOL64M_eEhORw">
- <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_xBAw_Op3EeOL64M_eEhORw"/>
+ description="EMF Pattern" name="pattern.substitutions" invocationContracts="#_t49QjbBcEeSqLfQ0kalDug #_t49QmLBcEeSqLfQ0kalDug #_t49Qn7BcEeSqLfQ0kalDug #_t49QprBcEeSqLfQ0kalDug">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_t49QjLBcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_k-TskPI7Ed-Pp8S8RvVOuQ"
- description="EMF Pattern" name="usedGenPackages" invocationContracts="#_xBAxAOp3EeOL64M_eEhORw #_xBAxCep3EeOL64M_eEhORw #_xBAxEOp3EeOL64M_eEhORw #_xBAxF-p3EeOL64M_eEhORw">
- <type xmi:type="domain:TypeGenPackages" xmi:id="_xBAw_-p3EeOL64M_eEhORw"/>
+ description="EMF Pattern" name="usedGenPackages" invocationContracts="#_t49QkLBcEeSqLfQ0kalDug #_t49QmbBcEeSqLfQ0kalDug #_t49QoLBcEeSqLfQ0kalDug #_t49Qp7BcEeSqLfQ0kalDug">
+ <type xmi:type="domain:TypeGenPackages" xmi:id="_t49Qj7BcEeSqLfQ0kalDug"/>
</contracts>
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_TK4DEFLNEd-ZSLMRjxSbVQ"
- description="EMF Pattern" name="mergeRulesURI" invocationContracts="#_xBAxA-p3EeOL64M_eEhORw #_xBAxCup3EeOL64M_eEhORw #_xBAxEep3EeOL64M_eEhORw #_xBAxGOp3EeOL64M_eEhORw">
- <type xmi:type="types:TypeURI" xmi:id="_xBAxAup3EeOL64M_eEhORw"/>
+ description="EMF Pattern" name="mergeRulesURI" invocationContracts="#_t49Qk7BcEeSqLfQ0kalDug #_t49QmrBcEeSqLfQ0kalDug #_t49QobBcEeSqLfQ0kalDug #_t49QqLBcEeSqLfQ0kalDug">
+ <type xmi:type="types:TypeURI" xmi:id="_t49QkrBcEeSqLfQ0kalDug"/>
</contracts>
</contractContainer>
<orchestration xmi:type="fprod:ProductionPlan" xmi:id="_Prz3VDG0Ed-kc8dEZsdm2w">
- <invocations xmi:id="_xBAw8up3EeOL64M_eEhORw" invokedActivity="#_Pcm9sDG0Ed-kc8dEZsdm2w">
- <invocationContractContainer xmi:id="_xBAw8-p3EeOL64M_eEhORw">
- <invocationContracts xmi:id="_xBAw9-p3EeOL64M_eEhORw" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
+ <invocations xmi:id="_t49QgrBcEeSqLfQ0kalDug" invokedActivity="#_Pcm9sDG0Ed-kc8dEZsdm2w">
+ <invocationContractContainer xmi:id="_t49Qg7BcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_t49Qh7BcEeSqLfQ0kalDug" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
invokedContract="#_Prg8ZTG0Ed-kc8dEZsdm2w"/>
- <invocationContracts xmi:id="_xBAw-up3EeOL64M_eEhORw" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
+ <invocationContracts xmi:id="_t49QirBcEeSqLfQ0kalDug" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
invokedContract="#_WRxYEFIIEd-eGOdO3WtsxA"/>
- <invocationContracts xmi:id="_xBAw_ep3EeOL64M_eEhORw" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
+ <invocationContracts xmi:id="_t49QjbBcEeSqLfQ0kalDug" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
invokedContract="#_OVsagFHVEd-dr9AWwNwIMQ"/>
- <invocationContracts xmi:id="_xBAxAOp3EeOL64M_eEhORw" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
+ <invocationContracts xmi:id="_t49QkLBcEeSqLfQ0kalDug" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
invokedContract="#_RcQCMPI7Ed-Pp8S8RvVOuQ"/>
- <invocationContracts xmi:id="_xBAxA-p3EeOL64M_eEhORw" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
+ <invocationContracts xmi:id="_t49Qk7BcEeSqLfQ0kalDug" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
invokedContract="#_sluXsVLLEd-ZSLMRjxSbVQ"/>
</invocationContractContainer>
</invocations>
- <invocations xmi:id="_xBAxBOp3EeOL64M_eEhORw" invokedActivity="#_PiIW4DG0Ed-kc8dEZsdm2w">
- <invocationContractContainer xmi:id="_xBAxBep3EeOL64M_eEhORw">
- <invocationContracts xmi:id="_xBAxBup3EeOL64M_eEhORw" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
+ <invocations xmi:id="_t49QlLBcEeSqLfQ0kalDug" invokedActivity="#_PiIW4DG0Ed-kc8dEZsdm2w">
+ <invocationContractContainer xmi:id="_t49QlbBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_t49QlrBcEeSqLfQ0kalDug" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
invokedContract="#_Prg8cDG0Ed-kc8dEZsdm2w"/>
- <invocationContracts xmi:id="_xBAxB-p3EeOL64M_eEhORw" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
+ <invocationContracts xmi:id="_t49Ql7BcEeSqLfQ0kalDug" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
invokedContract="#_jzYi8FIIEd-eGOdO3WtsxA"/>
- <invocationContracts xmi:id="_xBAxCOp3EeOL64M_eEhORw" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
+ <invocationContracts xmi:id="_t49QmLBcEeSqLfQ0kalDug" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
invokedContract="#_UCnhEFHVEd-dr9AWwNwIMQ"/>
- <invocationContracts xmi:id="_xBAxCep3EeOL64M_eEhORw" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
+ <invocationContracts xmi:id="_t49QmbBcEeSqLfQ0kalDug" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
invokedContract="#_dgkvsPI7Ed-Pp8S8RvVOuQ"/>
- <invocationContracts xmi:id="_xBAxCup3EeOL64M_eEhORw" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
+ <invocationContracts xmi:id="_t49QmrBcEeSqLfQ0kalDug" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
invokedContract="#_9wHxsFLMEd-ZSLMRjxSbVQ"/>
</invocationContractContainer>
</invocations>
- <invocations xmi:id="_xBAxC-p3EeOL64M_eEhORw" invokedActivity="#_PkqGcDG0Ed-kc8dEZsdm2w">
- <invocationContractContainer xmi:id="_xBAxDOp3EeOL64M_eEhORw">
- <invocationContracts xmi:id="_xBAxDep3EeOL64M_eEhORw" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
+ <invocations xmi:id="_t49Qm7BcEeSqLfQ0kalDug" invokedActivity="#_PkqGcDG0Ed-kc8dEZsdm2w">
+ <invocationContractContainer xmi:id="_t49QnLBcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_t49QnbBcEeSqLfQ0kalDug" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
invokedContract="#_Prg8ezG0Ed-kc8dEZsdm2w"/>
- <invocationContracts xmi:id="_xBAxDup3EeOL64M_eEhORw" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
+ <invocationContracts xmi:id="_t49QnrBcEeSqLfQ0kalDug" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
invokedContract="#_pCqEMFIIEd-eGOdO3WtsxA"/>
- <invocationContracts xmi:id="_xBAxD-p3EeOL64M_eEhORw" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
+ <invocationContracts xmi:id="_t49Qn7BcEeSqLfQ0kalDug" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
invokedContract="#_Y3EukFHVEd-dr9AWwNwIMQ"/>
- <invocationContracts xmi:id="_xBAxEOp3EeOL64M_eEhORw" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
+ <invocationContracts xmi:id="_t49QoLBcEeSqLfQ0kalDug" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
invokedContract="#_NcZ6I_MqEd-6tr0C8ZV8Ew"/>
- <invocationContracts xmi:id="_xBAxEep3EeOL64M_eEhORw" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
+ <invocationContracts xmi:id="_t49QobBcEeSqLfQ0kalDug" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
invokedContract="#_FqdyEFLNEd-ZSLMRjxSbVQ"/>
</invocationContractContainer>
</invocations>
- <invocations xmi:id="_xBAxEup3EeOL64M_eEhORw" invokedActivity="#_PoF08DG0Ed-kc8dEZsdm2w">
- <invocationContractContainer xmi:id="_xBAxE-p3EeOL64M_eEhORw">
- <invocationContracts xmi:id="_xBAxFOp3EeOL64M_eEhORw" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
+ <invocations xmi:id="_t49QorBcEeSqLfQ0kalDug" invokedActivity="#_PoF08DG0Ed-kc8dEZsdm2w">
+ <invocationContractContainer xmi:id="_t49Qo7BcEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_t49QpLBcEeSqLfQ0kalDug" factoryComponentContract="#_Prz3UjG0Ed-kc8dEZsdm2w"
invokedContract="#_Prg8hjG0Ed-kc8dEZsdm2w"/>
- <invocationContracts xmi:id="_xBAxFep3EeOL64M_eEhORw" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
+ <invocationContracts xmi:id="_t49QpbBcEeSqLfQ0kalDug" factoryComponentContract="#_yqrHUFIIEd-eGOdO3WtsxA"
invokedContract="#_tvg04FIIEd-eGOdO3WtsxA"/>
- <invocationContracts xmi:id="_xBAxFup3EeOL64M_eEhORw" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
+ <invocationContracts xmi:id="_t49QprBcEeSqLfQ0kalDug" factoryComponentContract="#_JBH151eTEd-ExtSXfVloug"
invokedContract="#_eYFgEFHVEd-dr9AWwNwIMQ"/>
- <invocationContracts xmi:id="_xBAxF-p3EeOL64M_eEhORw" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
+ <invocationContracts xmi:id="_t49Qp7BcEeSqLfQ0kalDug" factoryComponentContract="#_k-TskPI7Ed-Pp8S8RvVOuQ"
invokedContract="#_NcjD0vMqEd-6tr0C8ZV8Ew"/>
- <invocationContracts xmi:id="_xBAxGOp3EeOL64M_eEhORw" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
+ <invocationContracts xmi:id="_t49QqLBcEeSqLfQ0kalDug" factoryComponentContract="#_TK4DEFLNEd-ZSLMRjxSbVQ"
invokedContract="#_LnCeMFLNEd-ZSLMRjxSbVQ"/>
</invocationContractContainer>
</invocations>
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/BuildProperties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/BuildProperties.java
index 14acc68..4c74a1c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/BuildProperties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/BuildProperties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -111,11 +111,14 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditProjectDirectory() + "/build.properties";
- overwrite = genModel.isUpdateClasspath() && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(genModel.getEditProjectDirectory()).appendSegment("plugin.xml"));
+ overwrite = genModel.isUpdateClasspath()
+ && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(
+ genModel.getEditProjectDirectory()).appendSegment("plugin.xml"));
encoding = "ISO-8859-1";
InternalPatternContext ictx = (InternalPatternContext) ctx;
@@ -131,9 +134,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -165,7 +170,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -209,7 +217,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
canGenerate = canGenerate && true;
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenClass.java
index aa29308..f03d12c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -100,9 +100,11 @@
return parameters;
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -115,7 +117,9 @@
if (genModel.isCreationCommands() && genModel.isCreationIcons()) {
for (GenFeature feature : genClass.getCreateChildFeaturesIncludingDelegation()) {
for (GenClass childClass : genClass.getChildrenClasses(feature)) {
- new CodegenGeneratorAdapter(parameter).generateGIF("edit/CreateChild.gif", genClass.getCreateChildIconFileName(feature, childClass), genClass.getName(), childClass.getName(), false);
+ new CodegenGeneratorAdapter(parameter).generateGIF("edit/CreateChild.gif",
+ genClass.getCreateChildIconFileName(feature, childClass), genClass.getName(),
+ childClass.getName(), false);
}
}
}
@@ -127,7 +131,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenClass genClass = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenPackage.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenPackage.java
index ff29951..1b3227d 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenPackage.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/CreateChildIconsForGenPackage.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -100,9 +100,11 @@
return parameters;
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -113,14 +115,20 @@
GenPackage genPackage = parameter;
GenModel genModel = genPackage.getGenModel();
if (genModel.isCreationCommands() && genModel.isCreationIcons() && genPackage.isChildCreationExtenders()) {
- for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> packageEntry : genPackage.getExtendedChildCreationData().entrySet()) {
- for (Map.Entry<GenClass, List<GenClass.ChildCreationData>> classEntry : packageEntry.getValue().entrySet()) {
+ for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> packageEntry : genPackage
+ .getExtendedChildCreationData().entrySet()) {
+ for (Map.Entry<GenClass, List<GenClass.ChildCreationData>> classEntry : packageEntry.getValue()
+ .entrySet()) {
GenClass genClass = classEntry.getKey();
for (GenClass.ChildCreationData childCreationData : classEntry.getValue()) {
- if (childCreationData.createClassifier instanceof GenClass && (childCreationData.delegatedFeature == null || classEntry.getKey().getAllGenFeatures().contains(childCreationData.delegatedFeature))) {
+ if (childCreationData.createClassifier instanceof GenClass
+ && (childCreationData.delegatedFeature == null || classEntry.getKey()
+ .getAllGenFeatures().contains(childCreationData.delegatedFeature))) {
GenClass childClass = (GenClass) childCreationData.createClassifier;
GenFeature feature = childCreationData.createFeature;
- new CodegenGeneratorAdapter(parameter).generateGIF("edit/CreateChild.gif", genClass.getCreateChildIconFileName(genModel, feature, childClass), genClass.getName(), childClass.getName(), false);
+ new CodegenGeneratorAdapter(parameter).generateGIF("edit/CreateChild.gif",
+ genClass.getCreateChildIconFileName(genModel, feature, childClass),
+ genClass.getName(), childClass.getName(), false);
}
}
}
@@ -134,7 +142,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Images.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Images.java
index 21a91bc..668166c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Images.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Images.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,10 +29,12 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public interface ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public interface ";
protected final String TEXT_5 = "Images extends ";
protected final String TEXT_6 = NL + "{";
- protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Source(\"";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Source(\"";
protected final String TEXT_8 = "\")" + NL + "\t";
protected final String TEXT_9 = " ";
protected final String TEXT_10 = "();" + NL;
@@ -112,7 +114,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPath = genModel.getEditPluginDirectory();
@@ -132,9 +135,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -165,7 +170,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -203,8 +211,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
- canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) && (!genModel.sameEditEditorProject());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT)
+ && (!genModel.sameEditEditorProject());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemIcon.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemIcon.java
index 6f2d08b..d421c77 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemIcon.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemIcon.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -100,9 +100,11 @@
return parameters;
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -112,7 +114,8 @@
GenClass genClass = parameter;
if (genClass.isImage()) {
- new CodegenGeneratorAdapter(parameter).generateGIF("edit/Item.gif", genClass.getItemIconFileName(), genClass.getName(), null, false);
+ new CodegenGeneratorAdapter(parameter).generateGIF("edit/Item.gif", genClass.getItemIconFileName(),
+ genClass.getName(), null, false);
} else {
}
@@ -123,7 +126,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenClass genClass = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProvider.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProvider.java
index d26f7cb..9b36975 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProvider.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProvider.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,7 +30,8 @@
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL + NL;
protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the item provider adapter for a {@link ";
- protected final String TEXT_5 = "} object." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_5 = "} object." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->"
+ + NL + " * @generated" + NL + " */" + NL + "public class ";
protected final String TEXT_6 = " ";
protected final String TEXT_7 = "extends ";
protected final String TEXT_8 = NL + "\textends ";
@@ -38,104 +39,156 @@
protected final String TEXT_10 = NL + "\t\t";
protected final String TEXT_11 = ",";
protected final String TEXT_12 = NL + "{";
- protected final String TEXT_13 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_13 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_14 = " copyright = ";
protected final String TEXT_15 = ";";
protected final String TEXT_16 = NL;
- protected final String TEXT_17 = NL + "\t/**" + NL + "\t * This constructs an instance from a factory and a notifier." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_18 = "(AdapterFactory adapterFactory)" + NL + "\t{" + NL + "\t\tsuper(adapterFactory);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This returns the property descriptors for the adapted class." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_17 = NL + "\t/**" + NL
+ + "\t * This constructs an instance from a factory and a notifier." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_18 = "(AdapterFactory adapterFactory)" + NL + "\t{" + NL + "\t\tsuper(adapterFactory);"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This returns the property descriptors for the adapted class." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_19 = NL + "\t@Override";
protected final String TEXT_20 = NL + "\tpublic ";
- protected final String TEXT_21 = " getPropertyDescriptors(Object object)" + NL + "\t{" + NL + "\t\tif (itemPropertyDescriptors == null)" + NL + "\t\t{" + NL + "\t\t\tsuper.getPropertyDescriptors(object);" + NL;
+ protected final String TEXT_21 = " getPropertyDescriptors(Object object)" + NL + "\t{" + NL
+ + "\t\tif (itemPropertyDescriptors == null)" + NL + "\t\t{" + NL
+ + "\t\t\tsuper.getPropertyDescriptors(object);" + NL;
protected final String TEXT_22 = NL + "\t\t\tadd";
protected final String TEXT_23 = "PropertyDescriptor(object);";
protected final String TEXT_24 = NL + "\t\t}" + NL + "\t\treturn itemPropertyDescriptors;" + NL + "\t}" + NL;
protected final String TEXT_25 = NL + "\t/**" + NL + "\t * This adds a property descriptor for the ";
- protected final String TEXT_26 = " feature." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void add";
+ protected final String TEXT_26 = " feature." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void add";
protected final String TEXT_27 = "PropertyDescriptor(Object object)" + NL + "\t{";
protected final String TEXT_28 = NL;
protected final String TEXT_29 = NL + "\t}" + NL;
- protected final String TEXT_30 = NL + "\t/**" + NL + "\t * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an" + NL
- + "\t * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or" + NL + "\t * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_30 = NL
+ + "\t/**"
+ + NL
+ + "\t * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an"
+ + NL
+ + "\t * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or"
+ + NL + "\t * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_31 = NL + "\t@Override";
protected final String TEXT_32 = NL + "\tpublic ";
- protected final String TEXT_33 = " getChildrenFeatures(Object object)" + NL + "\t{" + NL + "\t\tif (childrenFeatures == null)" + NL + "\t\t{" + NL + "\t\t\tsuper.getChildrenFeatures(object);";
+ protected final String TEXT_33 = " getChildrenFeatures(Object object)" + NL + "\t{" + NL
+ + "\t\tif (childrenFeatures == null)" + NL + "\t\t{" + NL + "\t\t\tsuper.getChildrenFeatures(object);";
protected final String TEXT_34 = NL + "\t\t\tchildrenFeatures.add(";
protected final String TEXT_35 = ");";
protected final String TEXT_36 = NL + "\t\t}" + NL + "\t\treturn childrenFeatures;" + NL + "\t}" + NL;
- protected final String TEXT_37 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_37 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_38 = NL + "\t@Override";
protected final String TEXT_39 = NL + "\tprotected ";
- protected final String TEXT_40 = " getChildFeature(Object object, Object child)" + NL + "\t{" + NL + "\t\t// Check the type of the specified child object and return the proper feature to use for" + NL + "\t\t// adding (see {@link AddCommand}) it as a child." + NL + "" + NL
+ protected final String TEXT_40 = " getChildFeature(Object object, Object child)" + NL + "\t{" + NL
+ + "\t\t// Check the type of the specified child object and return the proper feature to use for" + NL
+ + "\t\t// adding (see {@link AddCommand}) it as a child." + NL + "" + NL
+ "\t\treturn super.getChildFeature(object, child);" + NL + "\t}" + NL;
- protected final String TEXT_41 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_41 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_42 = NL + "\t@Override";
- protected final String TEXT_43 = NL + "\tpublic boolean hasChildren(Object object)" + NL + "\t{" + NL + "\t\treturn hasChildren(object, ";
+ protected final String TEXT_43 = NL + "\tpublic boolean hasChildren(Object object)" + NL + "\t{" + NL
+ + "\t\treturn hasChildren(object, ";
protected final String TEXT_44 = ");" + NL + "\t}" + NL;
protected final String TEXT_45 = NL + "\t/**" + NL + "\t * This returns ";
- protected final String TEXT_46 = ".gif." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_46 = ".gif." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_47 = NL + "\t@Override";
- protected final String TEXT_48 = NL + "\tpublic Object getImage(Object object)" + NL + "\t{" + NL + "\t\treturn overlayImage(object, getResourceLocator().getImage(\"full/obj16/";
+ protected final String TEXT_48 = NL + "\tpublic Object getImage(Object object)" + NL + "\t{" + NL
+ + "\t\treturn overlayImage(object, getResourceLocator().getImage(\"full/obj16/";
protected final String TEXT_49 = "\"));";
protected final String TEXT_50 = NL + "\t}" + NL;
- protected final String TEXT_51 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_51 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_52 = NL + "\t@Override";
- protected final String TEXT_53 = NL + "\tprotected boolean shouldComposeCreationImage() " + NL + "\t{" + NL + "\t\treturn true;" + NL + "\t}" + NL;
- protected final String TEXT_54 = NL + "\t/**" + NL + "\t * This returns the label text for the adapted class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_53 = NL + "\tprotected boolean shouldComposeCreationImage() " + NL + "\t{" + NL
+ + "\t\treturn true;" + NL + "\t}" + NL;
+ protected final String TEXT_54 = NL + "\t/**" + NL + "\t * This returns the label text for the adapted class." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_55 = NL + "\t@Override";
protected final String TEXT_56 = NL + "\tpublic String getText(Object object)" + NL + "\t{";
protected final String TEXT_57 = NL;
protected final String TEXT_58 = NL + "\t}" + NL + "\t";
- protected final String TEXT_59 = NL + "\t/**" + NL + "\t * This returns the label styled text for the adapted class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_59 = NL + "\t/**" + NL
+ + "\t * This returns the label styled text for the adapted class." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_60 = NL + "\t@Override";
protected final String TEXT_61 = NL + "\tpublic Object getStyledText(Object object)" + NL + "\t{";
protected final String TEXT_62 = NL;
protected final String TEXT_63 = NL + "\t}\t";
- protected final String TEXT_64 = NL + NL + "\t/**" + NL + "\t * This handles model notifications by calling {@link #updateChildren} to update any cached" + NL + "\t * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_64 = NL + NL + "\t/**" + NL
+ + "\t * This handles model notifications by calling {@link #updateChildren} to update any cached" + NL
+ + "\t * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_65 = NL + "\t@Override";
- protected final String TEXT_66 = NL + "\tpublic void notifyChanged(Notification notification)" + NL + "\t{" + NL + "\t\tupdateChildren(notification);";
+ protected final String TEXT_66 = NL + "\tpublic void notifyChanged(Notification notification)" + NL + "\t{" + NL
+ + "\t\tupdateChildren(notification);";
protected final String TEXT_67 = NL + NL + "\t\tswitch (notification.getFeatureID(";
protected final String TEXT_68 = ".class))" + NL + "\t\t{";
protected final String TEXT_69 = NL + "\t\t\tcase ";
protected final String TEXT_70 = ":";
protected final String TEXT_71 = NL + "\t\t\t\tfireNotifyChanged(new ";
- protected final String TEXT_72 = "(notification, notification.getNotifier(), false, true));" + NL + "\t\t\t\treturn;";
+ protected final String TEXT_72 = "(notification, notification.getNotifier(), false, true));" + NL
+ + "\t\t\t\treturn;";
protected final String TEXT_73 = NL + "\t\t\tcase ";
protected final String TEXT_74 = ":";
protected final String TEXT_75 = NL + "\t\t\t\tfireNotifyChanged(new ";
- protected final String TEXT_76 = "(notification, notification.getNotifier(), true, false));" + NL + "\t\t\t\treturn;";
+ protected final String TEXT_76 = "(notification, notification.getNotifier(), true, false));" + NL
+ + "\t\t\t\treturn;";
protected final String TEXT_77 = NL + "\t\t\tcase ";
protected final String TEXT_78 = ":";
protected final String TEXT_79 = NL + "\t\t\t\tfireNotifyChanged(new ";
- protected final String TEXT_80 = "(notification, notification.getNotifier(), true, true));" + NL + "\t\t\t\treturn;";
+ protected final String TEXT_80 = "(notification, notification.getNotifier(), true, true));" + NL
+ + "\t\t\t\treturn;";
protected final String TEXT_81 = NL + "\t\t}";
protected final String TEXT_82 = NL + "\t\tsuper.notifyChanged(notification);" + NL + "\t}" + NL;
- protected final String TEXT_83 = NL + "\t/**" + NL + "\t * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children" + NL + "\t * that can be created under this object." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
- + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_83 = NL + "\t/**" + NL
+ + "\t * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children" + NL
+ + "\t * that can be created under this object." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_84 = NL + "\t@Override";
protected final String TEXT_85 = NL + "\tprotected void collectNewChildDescriptors(";
- protected final String TEXT_86 = " newChildDescriptors, Object object)" + NL + "\t{" + NL + "\t\tsuper.collectNewChildDescriptors(newChildDescriptors, object);";
+ protected final String TEXT_86 = " newChildDescriptors, Object object)" + NL + "\t{" + NL
+ + "\t\tsuper.collectNewChildDescriptors(newChildDescriptors, object);";
protected final String TEXT_87 = NL;
protected final String TEXT_88 = NL;
protected final String TEXT_89 = NL;
protected final String TEXT_90 = NL;
protected final String TEXT_91 = NL + "\t}" + NL;
- protected final String TEXT_92 = NL + "\t/**" + NL + "\t * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_92 = NL + "\t/**" + NL
+ + "\t * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_93 = NL + "\t@Override";
- protected final String TEXT_94 = NL + "\tpublic String getCreateChildText(Object owner, Object feature, Object child, ";
- protected final String TEXT_95 = " selection)" + NL + "\t{" + NL + "\t\tObject childFeature = feature;" + NL + "\t\tObject childObject = child;" + NL;
+ protected final String TEXT_94 = NL
+ + "\tpublic String getCreateChildText(Object owner, Object feature, Object child, ";
+ protected final String TEXT_95 = " selection)" + NL + "\t{" + NL + "\t\tObject childFeature = feature;" + NL
+ + "\t\tObject childObject = child;" + NL;
protected final String TEXT_96 = NL + "\t\tif (childFeature instanceof ";
protected final String TEXT_97 = " && ";
protected final String TEXT_98 = ".isFeatureMap((EStructuralFeature)childFeature))" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_99 = ".Entry entry = (FeatureMap.Entry)childObject;" + NL + "\t\t\tchildFeature = entry.getEStructuralFeature();" + NL + "\t\t\tchildObject = entry.getValue();" + NL + "\t\t}" + NL;
+ protected final String TEXT_99 = ".Entry entry = (FeatureMap.Entry)childObject;" + NL
+ + "\t\t\tchildFeature = entry.getEStructuralFeature();" + NL + "\t\t\tchildObject = entry.getValue();" + NL
+ + "\t\t}" + NL;
protected final String TEXT_100 = NL + "\t\tboolean qualify =";
protected final String TEXT_101 = NL + "\t\t\tchildFeature == ";
- protected final String TEXT_102 = NL + NL + "\t\tif (qualify)" + NL + "\t\t{" + NL + "\t\t\treturn getString" + NL + "\t\t\t\t(\"_UI_CreateChild_text2\",";
- protected final String TEXT_103 = NL + "\t\t\t\t new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });" + NL + "\t\t}" + NL + "\t\treturn super.getCreateChildText(owner, feature, child, selection);" + NL + "\t}" + NL;
- protected final String TEXT_104 = NL + "\t/**" + NL + "\t * Return the resource locator for this item provider's resources." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_102 = NL + NL + "\t\tif (qualify)" + NL + "\t\t{" + NL + "\t\t\treturn getString" + NL
+ + "\t\t\t\t(\"_UI_CreateChild_text2\",";
+ protected final String TEXT_103 = NL
+ + "\t\t\t\t new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });"
+ + NL + "\t\t}" + NL + "\t\treturn super.getCreateChildText(owner, feature, child, selection);" + NL + "\t}"
+ + NL;
+ protected final String TEXT_104 = NL + "\t/**" + NL
+ + "\t * Return the resource locator for this item provider's resources." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_105 = NL + "\t@Override";
protected final String TEXT_106 = NL + "\tpublic ";
protected final String TEXT_107 = " getResourceLocator()" + NL + "\t{";
@@ -221,7 +274,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenClass genClass = parameter;
targetPath = genClass.getGenModel().getEditDirectory();
@@ -241,9 +295,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -275,7 +331,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -284,7 +343,9 @@
stringBuffer.append(TEXT_3);
genModel.addImport("org.eclipse.emf.common.notify.AdapterFactory");
genModel.addImport("org.eclipse.emf.common.notify.Notification");
- String _List = genModel.getImportedName(genModel.useGenerics() ? "java.util.List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor>" : "java.util.List");
+ String _List = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor>"
+ : "java.util.List");
genModel.markImportLocation(stringBuffer);
stringBuffer.append(TEXT_4);
stringBuffer.append(genClass.getQualifiedInterfaceName());
@@ -293,11 +354,13 @@
stringBuffer.append(TEXT_6);
if (genClass.getProviderImplementsClassNames().isEmpty()) {
stringBuffer.append(TEXT_7);
- stringBuffer.append(genClass.getProviderBaseClassName() != null ? genClass.getProviderBaseClassName() : genModel.getImportedName("org.eclipse.emf.edit.provider.ItemProviderAdapter"));
+ stringBuffer.append(genClass.getProviderBaseClassName() != null ? genClass.getProviderBaseClassName()
+ : genModel.getImportedName("org.eclipse.emf.edit.provider.ItemProviderAdapter"));
}
if (!genClass.getProviderImplementsClassNames().isEmpty()) {
stringBuffer.append(TEXT_8);
- stringBuffer.append(genClass.getProviderBaseClassName() != null ? genClass.getProviderBaseClassName() : genModel.getImportedName("org.eclipse.emf.edit.provider.ItemProviderAdapter"));
+ stringBuffer.append(genClass.getProviderBaseClassName() != null ? genClass.getProviderBaseClassName()
+ : genModel.getImportedName("org.eclipse.emf.edit.provider.ItemProviderAdapter"));
stringBuffer.append(TEXT_9);
for (Iterator<String> i = genClass.getProviderImplementsClassNames().iterator(); i.hasNext();) {
stringBuffer.append(TEXT_10);
@@ -352,7 +415,9 @@
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
callParameters.put("_List", _List);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03mkEWJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03mkEWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -365,7 +430,9 @@
stringBuffer.append(TEXT_31);
}
stringBuffer.append(TEXT_32);
- stringBuffer.append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<? extends org.eclipse.emf.ecore.EStructuralFeature>" : "java.util.Collection"));
+ stringBuffer
+ .append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<? extends org.eclipse.emf.ecore.EStructuralFeature>"
+ : "java.util.Collection"));
stringBuffer.append(TEXT_33);
for (GenFeature genFeature : genClass.getChildrenFeatures()) {
stringBuffer.append(TEXT_34);
@@ -430,7 +497,9 @@
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
callParameters.put("_List", _List);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03wVEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03wVEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -455,7 +524,9 @@
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
callParameters.put("_List", _List);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_sd5EMKoMEeOCpsO1cKKCxA", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_sd5EMKoMEeOCpsO1cKKCxA",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -467,7 +538,8 @@
stringBuffer.append(TEXT_65);
}
stringBuffer.append(TEXT_66);
- if (!genClass.getLabelNotifyFeatures().isEmpty() || !genClass.getContentNotifyFeatures().isEmpty() || !genClass.getLabelAndContentNotifyFeatures().isEmpty()) {
+ if (!genClass.getLabelNotifyFeatures().isEmpty() || !genClass.getContentNotifyFeatures().isEmpty()
+ || !genClass.getLabelAndContentNotifyFeatures().isEmpty()) {
stringBuffer.append(TEXT_67);
stringBuffer.append(genClass.getRawImportedInterfaceName());
stringBuffer.append(TEXT_68);
@@ -510,7 +582,9 @@
stringBuffer.append(TEXT_84);
}
stringBuffer.append(TEXT_85);
- stringBuffer.append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<java.lang.Object>" : "java.util.Collection"));
+ stringBuffer
+ .append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<java.lang.Object>"
+ : "java.util.Collection"));
stringBuffer.append(TEXT_86);
for (GenClass.ChildCreationData childCreationData : genClass.getChildCreationData()) {
GenFeature createFeature = childCreationData.createFeature;
@@ -536,7 +610,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_036GEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_036GEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -560,7 +637,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04WyAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04WyAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -585,7 +665,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04ps8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04ps8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -609,7 +692,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_048n4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_048n4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -623,7 +709,8 @@
stringBuffer.append(TEXT_93);
}
stringBuffer.append(TEXT_94);
- stringBuffer.append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<?>" : "java.util.Collection"));
+ stringBuffer.append(genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<?>"
+ : "java.util.Collection"));
stringBuffer.append(TEXT_95);
if (genClass.hasFeatureMapCreateChildFeatures()) {
stringBuffer.append(TEXT_96);
@@ -646,8 +733,10 @@
stringBuffer.append(TEXT_103);
}
}
- if (genClass.getProviderExtendsGenClass() == null || genClass.getProviderExtendsGenClass().getGenPackage() != genPackage
- && (!genPackage.isExtensibleProviderFactory() || genClass.getProviderExtendsGenClass().getGenPackage().isExtensibleProviderFactory() != genPackage.isExtensibleProviderFactory())) {
+ if (genClass.getProviderExtendsGenClass() == null
+ || genClass.getProviderExtendsGenClass().getGenPackage() != genPackage
+ && (!genPackage.isExtensibleProviderFactory() || genClass.getProviderExtendsGenClass().getGenPackage()
+ .isExtensibleProviderFactory() != genPackage.isExtensibleProviderFactory())) {
stringBuffer.append(TEXT_104);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_105);
@@ -679,7 +768,9 @@
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
callParameters.put("_List", _List);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_051_wGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_051_wGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -693,7 +784,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenClass genClass = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
canGenerate = canGenerate && true;
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProviderAdapterFactory.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProviderAdapterFactory.java
index 3bd9a6c..4f02a55 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProviderAdapterFactory.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ItemProviderAdapterFactory.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,56 +29,90 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the factory that is used to provide the interfaces needed to support Viewers." + NL
- + " * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}." + NL + " * The adapters also support Eclipse property sheets." + NL
- + " * Note that most of the adapters are shared among multiple instances." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_4 = NL
+ + NL
+ + "/**"
+ + NL
+ + " * This is the factory that is used to provide the interfaces needed to support Viewers."
+ + NL
+ + " * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}."
+ + NL + " * The adapters also support Eclipse property sheets." + NL
+ + " * Note that most of the adapters are shared among multiple instances." + NL
+ + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL
+ + "public class ";
protected final String TEXT_5 = " extends ";
protected final String TEXT_6 = " implements ComposeableAdapterFactory, IChangeNotifier";
protected final String TEXT_7 = ", ";
protected final String TEXT_8 = ", ";
protected final String TEXT_9 = NL + "{";
- protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_11 = " copyright = ";
protected final String TEXT_12 = ";";
protected final String TEXT_13 = NL;
- protected final String TEXT_14 = NL + "\t/**" + NL + "\t * This keeps track of the root adapter factory that delegates to this adapter factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected ComposedAdapterFactory parentAdapterFactory;" + NL + "" + NL + "\t/**" + NL + "\t * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprotected IChangeNotifier changeNotifier = new ChangeNotifier();" + NL;
- protected final String TEXT_15 = NL + "\t/**" + NL + "\t * This keeps track of all the item providers created, so that they can be {@link #dispose disposed}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tprotected ";
+ protected final String TEXT_14 = NL + "\t/**" + NL
+ + "\t * This keeps track of the root adapter factory that delegates to this adapter factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ComposedAdapterFactory parentAdapterFactory;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected IChangeNotifier changeNotifier = new ChangeNotifier();" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL
+ + "\t * This keeps track of all the item providers created, so that they can be {@link #dispose disposed}."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_16 = " disposable = new Disposable();" + NL;
- protected final String TEXT_17 = NL + "\t/**" + NL + "\t * This helps manage the child creation extenders." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_17 = NL + "\t/**" + NL + "\t * This helps manage the child creation extenders." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_18 = " childCreationExtenderManager = new ";
protected final String TEXT_19 = "(";
protected final String TEXT_20 = ".INSTANCE, ";
protected final String TEXT_21 = ".eNS_URI);" + NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tprotected ";
+ protected final String TEXT_22 = NL + "\t/**" + NL
+ + "\t * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_23 = " supportedTypes = new ";
- protected final String TEXT_24 = "();" + NL + "" + NL + "\t/**" + NL + "\t * This constructs an instance." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_24 = "();" + NL + "" + NL + "\t/**" + NL + "\t * This constructs an instance." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
protected final String TEXT_25 = "()" + NL + "\t{";
protected final String TEXT_26 = NL + "\t\tsupportedTypes.add(";
protected final String TEXT_27 = ".class);";
protected final String TEXT_28 = NL + "\t}" + NL;
- protected final String TEXT_29 = NL + "\t/**" + NL + "\t * This keeps track of the factory to which to delegate adapter creation for objects from that package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tprotected ";
+ protected final String TEXT_29 = NL
+ + "\t/**"
+ + NL
+ + "\t * This keeps track of the factory to which to delegate adapter creation for objects from that package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_30 = " ";
- protected final String TEXT_31 = " = null;" + NL + "" + NL + "\t/**" + NL + "\t * This determines the delegate factory for the package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_31 = " = null;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This determines the delegate factory for the package." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_32 = " get";
protected final String TEXT_33 = "()" + NL + "\t{" + NL + "\t\tif (";
protected final String TEXT_34 = " == null)" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_35 = " rootAdapterFactory = getRootAdapterFactory();" + NL + "\t\t\tif (rootAdapterFactory instanceof ComposedAdapterFactory)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
- protected final String TEXT_36 = " delegateAdapterFactory =" + NL + "\t\t\t\t\t((ComposedAdapterFactory)rootAdapterFactory).getFactoryForType(";
+ protected final String TEXT_35 = " rootAdapterFactory = getRootAdapterFactory();" + NL
+ + "\t\t\tif (rootAdapterFactory instanceof ComposedAdapterFactory)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_36 = " delegateAdapterFactory =" + NL
+ + "\t\t\t\t\t((ComposedAdapterFactory)rootAdapterFactory).getFactoryForType(";
protected final String TEXT_37 = ".getPackage());" + NL + "\t\t\t\tif (delegateAdapterFactory instanceof ";
protected final String TEXT_38 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
protected final String TEXT_39 = " = (";
- protected final String TEXT_40 = ")delegateAdapterFactory;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn ";
+ protected final String TEXT_40 = ")delegateAdapterFactory;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL
+ + "\t\treturn ";
protected final String TEXT_41 = ";" + NL + "\t}" + NL;
- protected final String TEXT_42 = NL + "\t/**" + NL + "\t * This keeps track of the one adapter used for all {@link ";
- protected final String TEXT_43 = "} instances." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_42 = NL + "\t/**" + NL
+ + "\t * This keeps track of the one adapter used for all {@link ";
+ protected final String TEXT_43 = "} instances." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_44 = " ";
- protected final String TEXT_45 = "ItemProvider;" + NL + "" + NL + "\t/**" + NL + "\t * This creates an adapter for a {@link ";
- protected final String TEXT_46 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_45 = "ItemProvider;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This creates an adapter for a {@link ";
+ protected final String TEXT_46 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_47 = NL + "\t@Override";
protected final String TEXT_48 = NL + "\tpublic Adapter create";
protected final String TEXT_49 = "Adapter()" + NL + "\t{" + NL + "\t\tif (";
@@ -87,31 +121,47 @@
protected final String TEXT_52 = "(this);" + NL + "\t\t}" + NL + "" + NL + "\t\treturn ";
protected final String TEXT_53 = "ItemProvider;" + NL + "\t}" + NL;
protected final String TEXT_54 = NL + "\t/**" + NL + "\t * This creates an adapter for a {@link ";
- protected final String TEXT_55 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_55 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_56 = NL + "\t@Override";
protected final String TEXT_57 = NL + "\tpublic Adapter create";
protected final String TEXT_58 = "Adapter()" + NL + "\t{" + NL + "\t\treturn new ";
protected final String TEXT_59 = "(this);" + NL + "\t}" + NL;
protected final String TEXT_60 = NL + "\t/**" + NL + "\t * ";
protected final String TEXT_61 = " of ";
- protected final String TEXT_62 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Adapter create";
+ protected final String TEXT_62 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic Adapter create";
protected final String TEXT_63 = "Adapter()" + NL + "\t{" + NL + "\t\treturn" + NL + "\t\t\tget";
protected final String TEXT_64 = "() == null ?" + NL + "\t\t\t\tnull :" + NL + "\t\t\t\tget";
protected final String TEXT_65 = "().create";
protected final String TEXT_66 = "Adapter();" + NL + "\t}" + NL;
- protected final String TEXT_67 = NL + "\t/**" + NL + "\t * This returns the root adapter factory that contains this factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic ComposeableAdapterFactory getRootAdapterFactory()" + NL + "\t{" + NL + "\t\treturn parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This sets the composed adapter factory that contains this factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)" + NL + "\t{" + NL + "\t\tthis.parentAdapterFactory = parentAdapterFactory;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
- protected final String TEXT_68 = NL + "\t@Override";
- protected final String TEXT_69 = NL + "\tpublic boolean isFactoryForType(Object type)" + NL + "\t{" + NL + "\t\treturn supportedTypes.contains(type) || super.isFactoryForType(type);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This implementation substitutes the factory itself as the key for the adapter." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
- protected final String TEXT_70 = NL + "\t@Override";
- protected final String TEXT_71 = NL + "\tpublic Adapter adapt(Notifier notifier, Object type)" + NL + "\t{" + NL + "\t\treturn super.adapt(notifier, this);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ protected final String TEXT_67 = NL + "\t/**" + NL
+ + "\t * This returns the root adapter factory that contains this factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ComposeableAdapterFactory getRootAdapterFactory()" + NL + "\t{" + NL
+ + "\t\treturn parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This sets the composed adapter factory that contains this factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)" + NL
+ + "\t{" + NL + "\t\tthis.parentAdapterFactory = parentAdapterFactory;" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ "\t * @generated" + NL + "\t */";
+ protected final String TEXT_68 = NL + "\t@Override";
+ protected final String TEXT_69 = NL + "\tpublic boolean isFactoryForType(Object type)" + NL + "\t{" + NL
+ + "\t\treturn supportedTypes.contains(type) || super.isFactoryForType(type);" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * This implementation substitutes the factory itself as the key for the adapter." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_70 = NL + "\t@Override";
+ protected final String TEXT_71 = NL + "\tpublic Adapter adapt(Notifier notifier, Object type)" + NL + "\t{" + NL
+ + "\t\treturn super.adapt(notifier, this);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_72 = NL + "\t@Override";
- protected final String TEXT_73 = NL + "\tpublic Object adapt(Object object, Object type)" + NL + "\t{" + NL + "\t\tif (isFactoryForType(type))" + NL + "\t\t{" + NL + "\t\t\tObject adapter = super.adapt(object, type);" + NL + "\t\t\tif (!(type instanceof Class";
+ protected final String TEXT_73 = NL + "\tpublic Object adapt(Object object, Object type)" + NL + "\t{" + NL
+ + "\t\tif (isFactoryForType(type))" + NL + "\t\t{" + NL
+ + "\t\t\tObject adapter = super.adapt(object, type);" + NL + "\t\t\tif (!(type instanceof Class";
protected final String TEXT_74 = "<?>";
protected final String TEXT_75 = ") || ";
protected final String TEXT_76 = ".isInstance((Class";
@@ -120,46 +170,80 @@
protected final String TEXT_79 = "(((Class";
protected final String TEXT_80 = "<?>";
protected final String TEXT_81 = ")type).isInstance(adapter))";
- protected final String TEXT_82 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\treturn adapter;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "" + NL + "\t\treturn null;" + NL + "\t}" + NL;
- protected final String TEXT_83 = NL + "\t/**" + NL + "\t * Associates an adapter with a notifier via the base implementation, then records it to ensure it will be disposed." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated"
- + NL + "\t */";
+ protected final String TEXT_82 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\treturn adapter;" + NL + "\t\t\t}" + NL
+ + "\t\t}" + NL + "" + NL + "\t\treturn null;" + NL + "\t}" + NL;
+ protected final String TEXT_83 = NL
+ + "\t/**"
+ + NL
+ + "\t * Associates an adapter with a notifier via the base implementation, then records it to ensure it will be disposed."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_84 = NL + "\t@Override";
- protected final String TEXT_85 = NL + "\tprotected void associate(Adapter adapter, Notifier target)" + NL + "\t{" + NL + "\t\tsuper.associate(adapter, target);" + NL + "\t\tif (adapter != null)" + NL + "\t\t{" + NL + "\t\t\tdisposable.add(adapter);" + NL + "\t\t}" + NL
- + "\t}" + NL;
- protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_87 = " getChildCreationExtenders()" + NL + "\t{" + NL + "\t\treturn childCreationExtenderManager.getChildCreationExtenders();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ protected final String TEXT_85 = NL + "\tprotected void associate(Adapter adapter, Notifier target)" + NL + "\t{"
+ + NL + "\t\tsuper.associate(adapter, target);" + NL + "\t\tif (adapter != null)" + NL + "\t\t{" + NL
+ + "\t\t\tdisposable.add(adapter);" + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_87 = " getChildCreationExtenders()" + NL + "\t{" + NL
+ + "\t\treturn childCreationExtenderManager.getChildCreationExtenders();" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_88 = " getNewChildDescriptors(Object object, ";
- protected final String TEXT_89 = " editingDomain)" + NL + "\t{" + NL + "\t\treturn childCreationExtenderManager.getNewChildDescriptors(object, editingDomain);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
- + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_90 = " getResourceLocator()" + NL + "\t{" + NL + "\t\treturn childCreationExtenderManager;" + NL + "\t}" + NL;
- protected final String TEXT_91 = NL + "\t/**" + NL + "\t * This adds a listener." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void addListener(INotifyChangedListener notifyChangedListener)" + NL + "\t{" + NL + "\t\tchangeNotifier.addListener(notifyChangedListener);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This removes a listener." + NL + "\t * <!-- begin-user-doc -->"
- + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void removeListener(INotifyChangedListener notifyChangedListener)" + NL + "\t{" + NL + "\t\tchangeNotifier.removeListener(notifyChangedListener);" + NL + "\t}" + NL + "" + NL
- + "\t/**" + NL + "\t * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void fireNotifyChanged(Notification notification)" + NL + "\t{" + NL + "\t\tchangeNotifier.fireNotifyChanged(notification);" + NL + "" + NL + "\t\tif (parentAdapterFactory != null)" + NL + "\t\t{" + NL
+ protected final String TEXT_89 = " editingDomain)" + NL + "\t{" + NL
+ + "\t\treturn childCreationExtenderManager.getNewChildDescriptors(object, editingDomain);" + NL + "\t}"
+ + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_90 = " getResourceLocator()" + NL + "\t{" + NL
+ + "\t\treturn childCreationExtenderManager;" + NL + "\t}" + NL;
+ protected final String TEXT_91 = NL + "\t/**" + NL + "\t * This adds a listener." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void addListener(INotifyChangedListener notifyChangedListener)" + NL + "\t{"
+ + NL + "\t\tchangeNotifier.addListener(notifyChangedListener);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This removes a listener." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void removeListener(INotifyChangedListener notifyChangedListener)" + NL + "\t{" + NL
+ + "\t\tchangeNotifier.removeListener(notifyChangedListener);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void fireNotifyChanged(Notification notification)" + NL + "\t{" + NL
+ + "\t\tchangeNotifier.fireNotifyChanged(notification);" + NL + "" + NL
+ + "\t\tif (parentAdapterFactory != null)" + NL + "\t\t{" + NL
+ "\t\t\tparentAdapterFactory.fireNotifyChanged(notification);" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_92 = NL + "\t/**" + NL + "\t * This disposes all of the item providers created by this factory. " + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void dispose()"
- + NL + "\t{";
+ protected final String TEXT_92 = NL + "\t/**" + NL
+ + "\t * This disposes all of the item providers created by this factory. " + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void dispose()" + NL + "\t{";
protected final String TEXT_93 = NL + "\t\tdisposable.dispose();";
protected final String TEXT_94 = NL + "\t\tif (";
protected final String TEXT_95 = "ItemProvider != null) ";
protected final String TEXT_96 = "ItemProvider.dispose();";
protected final String TEXT_97 = NL + "\t}" + NL;
protected final String TEXT_98 = NL + "\t/**" + NL + "\t * A child creation extender for the {@link ";
- protected final String TEXT_99 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class ";
+ protected final String TEXT_99 = "}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class ";
protected final String TEXT_100 = " implements ";
- protected final String TEXT_101 = NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * The switch for creating child descriptors specific to each extended class." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */"
- + NL + "\t\tprotected static class CreationSwitch extends ";
- protected final String TEXT_102 = NL + "\t\t{" + NL + "\t\t\t/**" + NL + "\t\t\t * The child descriptors being populated." + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ protected final String TEXT_101 = NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * The switch for creating child descriptors specific to each extended class." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tprotected static class CreationSwitch extends ";
+ protected final String TEXT_102 = NL + "\t\t{" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * The child descriptors being populated." + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ "\t\t\tprotected ";
- protected final String TEXT_103 = " newChildDescriptors;" + NL + "" + NL + "\t\t\t/**" + NL + "\t\t\t * The domain in which to create the children." + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL
- + "\t\t\t */" + NL + "\t\t\tprotected ";
- protected final String TEXT_104 = " editingDomain;" + NL + "" + NL + "\t\t\t/**" + NL + "\t\t\t * Creates the a switch for populating child descriptors in the given domain." + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL
- + "\t\t\t * @generated" + NL + "\t\t\t */" + NL + "\t\t\tCreationSwitch(";
+ protected final String TEXT_103 = " newChildDescriptors;" + NL + "" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * The domain in which to create the children." + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
+ protected final String TEXT_104 = " editingDomain;" + NL + "" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * Creates the a switch for populating child descriptors in the given domain." + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */" + NL + "\t\t\tCreationSwitch(";
protected final String TEXT_105 = " newChildDescriptors, ";
- protected final String TEXT_106 = " editingDomain) " + NL + "\t\t\t{" + NL + "\t\t\t\tthis.newChildDescriptors = newChildDescriptors;" + NL + "\t\t\t\tthis.editingDomain = editingDomain;" + NL + "\t\t\t}";
- protected final String TEXT_107 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
+ protected final String TEXT_106 = " editingDomain) " + NL + "\t\t\t{" + NL
+ + "\t\t\t\tthis.newChildDescriptors = newChildDescriptors;" + NL
+ + "\t\t\t\tthis.editingDomain = editingDomain;" + NL + "\t\t\t}";
+ protected final String TEXT_107 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
protected final String TEXT_108 = NL + "\t\t\t@Override";
protected final String TEXT_109 = NL + "\t\t\tpublic ";
protected final String TEXT_110 = "Object case";
@@ -171,14 +255,21 @@
protected final String TEXT_116 = NL;
protected final String TEXT_117 = NL;
protected final String TEXT_118 = NL + "\t\t\t\treturn null;" + NL + "\t\t\t}" + NL + " ";
- protected final String TEXT_119 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL + "\t\t\tprotected ";
- protected final String TEXT_120 = " createChildParameter(Object feature, Object child)" + NL + "\t\t\t{" + NL + "\t\t\t\treturn new ";
- protected final String TEXT_121 = "(null, feature, child);" + NL + "\t\t\t}" + NL + "" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_119 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
+ protected final String TEXT_120 = " createChildParameter(Object feature, Object child)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn new ";
+ protected final String TEXT_121 = "(null, feature, child);" + NL + "\t\t\t}" + NL + "" + NL + "\t\t}" + NL + ""
+ + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
protected final String TEXT_122 = " getNewChildDescriptors(Object object, ";
protected final String TEXT_123 = " editingDomain)" + NL + "\t\t{" + NL + "\t\t\t";
protected final String TEXT_124 = " result = new ";
protected final String TEXT_125 = "();" + NL + "\t\t\tnew CreationSwitch(result, editingDomain).doSwitch((";
- protected final String TEXT_126 = ")object);" + NL + "\t\t\treturn result;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_126 = ")object);" + NL + "\t\t\treturn result;" + NL + "\t\t}" + NL + "" + NL
+ + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
protected final String TEXT_127 = " getResourceLocator()" + NL + "\t\t{" + NL + "\t\t\treturn ";
protected final String TEXT_128 = ".INSTANCE;" + NL + "\t\t}" + NL + "\t}" + NL;
protected final String TEXT_129 = NL + "}";
@@ -257,7 +348,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getEditDirectory();
@@ -277,9 +369,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -311,7 +405,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -332,8 +429,10 @@
genModel.addImport("org.eclipse.emf.edit.provider.IStructuredItemContentProvider");
genModel.addImport("org.eclipse.emf.edit.provider.ITreeItemContentProvider");
boolean useGenerics = genModel.useGenerics();
- String _ArrayList = genModel.getImportedName(useGenerics ? "java.util.ArrayList<java.lang.Object>" : "java.util.ArrayList");
- String _Collection = genModel.getImportedName(useGenerics ? "java.util.Collection<java.lang.Object>" : "java.util.Collection");
+ String _ArrayList = genModel.getImportedName(useGenerics ? "java.util.ArrayList<java.lang.Object>"
+ : "java.util.ArrayList");
+ String _Collection = genModel.getImportedName(useGenerics ? "java.util.Collection<java.lang.Object>"
+ : "java.util.Collection");
genModel.markImportLocation(stringBuffer);
stringBuffer.append(TEXT_4);
stringBuffer.append(genPackage.getItemProviderAdapterFactoryClassName());
@@ -512,9 +611,13 @@
}
if (genPackage.isExtensibleProviderFactory()) {
stringBuffer.append(TEXT_86);
- stringBuffer.append(genModel.getImportedName(useGenerics ? "java.util.List<org.eclipse.emf.edit.provider.IChildCreationExtender>" : "java.util.List"));
+ stringBuffer
+ .append(genModel
+ .getImportedName(useGenerics ? "java.util.List<org.eclipse.emf.edit.provider.IChildCreationExtender>"
+ : "java.util.List"));
stringBuffer.append(TEXT_87);
- stringBuffer.append(genModel.getImportedName(useGenerics ? "java.util.Collection<?>" : "java.util.Collection"));
+ stringBuffer.append(genModel.getImportedName(useGenerics ? "java.util.Collection<?>"
+ : "java.util.Collection"));
stringBuffer.append(TEXT_88);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain"));
stringBuffer.append(TEXT_89);
@@ -540,7 +643,8 @@
stringBuffer.append(TEXT_97);
}
if (genPackage.isChildCreationExtenders()) {
- for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> packageEntry : genPackage.getExtendedChildCreationData().entrySet()) {
+ for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> packageEntry : genPackage
+ .getExtendedChildCreationData().entrySet()) {
stringBuffer.append(TEXT_98);
stringBuffer.append(packageEntry.getKey().getImportedPackageInterfaceName());
stringBuffer.append(TEXT_99);
@@ -551,15 +655,18 @@
stringBuffer.append(genModel.getImportedName(packageEntry.getKey().getQualifiedSwitchClassName()));
stringBuffer.append(useGenerics ? "<Object>" : "");
stringBuffer.append(TEXT_102);
- stringBuffer.append(genModel.getImportedName(useGenerics ? "java.util.List<Object>" : "java.util.List"));
+ stringBuffer
+ .append(genModel.getImportedName(useGenerics ? "java.util.List<Object>" : "java.util.List"));
stringBuffer.append(TEXT_103);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain"));
stringBuffer.append(TEXT_104);
- stringBuffer.append(genModel.getImportedName(useGenerics ? "java.util.List<Object>" : "java.util.List"));
+ stringBuffer
+ .append(genModel.getImportedName(useGenerics ? "java.util.List<Object>" : "java.util.List"));
stringBuffer.append(TEXT_105);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.domain.EditingDomain"));
stringBuffer.append(TEXT_106);
- for (Map.Entry<GenClass, List<GenClass.ChildCreationData>> classEntry : packageEntry.getValue().entrySet()) {
+ for (Map.Entry<GenClass, List<GenClass.ChildCreationData>> classEntry : packageEntry.getValue()
+ .entrySet()) {
GenClass genClass = classEntry.getKey();
stringBuffer.append(TEXT_107);
if (genModel.useClassOverrideAnnotation()) {
@@ -597,7 +704,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_036GEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_036GEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -621,7 +731,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04WyAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04WyAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -646,7 +759,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04ps8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04ps8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -670,7 +786,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_048n4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_048n4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -711,7 +830,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
canGenerate = canGenerate && (!genPackage.getGenClasses().isEmpty());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ManifestMF.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ManifestMF.java
index f73e52e..3a8eab9 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ManifestMF.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ManifestMF.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,8 +26,10 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
- protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL + "Bundle-ClassPath: ";
+ protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL
+ + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
+ protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL
+ + "Bundle-ClassPath: ";
protected final String TEXT_3 = ".jar";
protected final String TEXT_4 = ".";
protected final String TEXT_5 = NL + "Bundle-Activator: ";
@@ -125,7 +127,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditProjectDirectory() + "/META-INF/MANIFEST.MF";
@@ -145,9 +148,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -227,7 +232,8 @@
if (genModel.isOSGiCompatible()) {
stringBuffer.append(TEXT_21);
}
- } else {
+ } else if (!pluginID.equals("org.eclipse.xtext.xbase.lib")
+ && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {
stringBuffer.append(TEXT_22);
}
}
@@ -235,7 +241,8 @@
if (genModel.isOSGiCompatible()) {
stringBuffer.append(TEXT_23);
}
- if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
+ if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22
+ || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
stringBuffer.append(TEXT_24);
}
stringBuffer.append(TEXT_25);
@@ -246,7 +253,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
canGenerate = canGenerate && (genModel.isBundleManifest()) && (!genModel.sameEditEditorProject());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ModuleGWTXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ModuleGWTXML.java
index 8eebf3e..d40d040 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ModuleGWTXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/ModuleGWTXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,10 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">" + NL;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ + NL
+ + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">"
+ + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL + NL + "<module>";
protected final String TEXT_4 = NL + " <inherits name=\"";
@@ -108,10 +111,12 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
- targetPathName = genModel.getEditDirectory() + "/" + genModel.getQualifiedEditModuleName().replace(".", "/") + ".gwt.xml";
+ targetPathName = genModel.getEditDirectory() + "/" + genModel.getQualifiedEditModuleName().replace(".", "/")
+ + ".gwt.xml";
overwrite = false;
encoding = "UTF-8";
@@ -128,9 +133,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -162,7 +169,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -185,8 +195,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
- canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT && !genModel.sameModelEditorProject());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate
+ && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT && !genModel.sameModelEditorProject());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Plugin.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Plugin.java
index a618f1d..c90c44f 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Plugin.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Plugin.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,49 +30,71 @@
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the central singleton for the ";
- protected final String TEXT_5 = " edit plugin." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
+ protected final String TEXT_5 = " edit plugin." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
protected final String TEXT_6 = " extends EMFPlugin" + NL + "{";
- protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_8 = " copyright = ";
protected final String TEXT_9 = ";";
protected final String TEXT_10 = NL;
- protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_12 = " INSTANCE = new ";
protected final String TEXT_13 = "();" + NL;
- protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
- protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper" + NL + "\t\t (new ResourceLocator [] " + NL + "\t\t {";
+ protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper" + NL + "\t\t (new ResourceLocator [] " + NL
+ + "\t\t {";
protected final String TEXT_17 = NL + "\t\t ";
protected final String TEXT_18 = ".INSTANCE,";
- protected final String TEXT_19 = NL + "\t\t });" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_19 = NL + "\t\t });" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance." + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_20 = NL + "\t@Override";
protected final String TEXT_21 = NL + "\tpublic ResourceLocator getPluginResourceLocator()" + NL + "\t{";
protected final String TEXT_22 = NL + "\t\treturn null;";
protected final String TEXT_23 = NL + "\t\treturn plugin;";
protected final String TEXT_24 = NL + "\t}" + NL;
- protected final String TEXT_25 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class Implementation extends EclipsePlugin" + NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * Creates an instance." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ protected final String TEXT_25 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class Implementation extends EclipsePlugin" + NL + "\t{" + NL + "\t\t/**"
+ + NL + "\t\t * Creates an instance." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ "\t\t * <!-- end-user-doc -->";
protected final String TEXT_26 = NL + "\t\t * @param descriptor the description of the plugin.";
protected final String TEXT_27 = NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic Implementation(";
protected final String TEXT_28 = " descriptor";
protected final String TEXT_29 = ")" + NL + "\t\t{" + NL + "\t\t\tsuper(";
protected final String TEXT_30 = "descriptor";
- protected final String TEXT_31 = ");" + NL + "" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//" + NL + "\t\t\tplugin = this;" + NL + "\t\t}";
- protected final String TEXT_32 = NL + "\t" + NL + "\t\t/**" + NL + "\t\t * The actual implementation of the purely OSGi-compatible <b>Bundle Activator</b>." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ protected final String TEXT_31 = ");" + NL + "" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//"
+ + NL + "\t\t\tplugin = this;" + NL + "\t\t}";
+ protected final String TEXT_32 = NL + "\t" + NL + "\t\t/**" + NL
+ + "\t\t * The actual implementation of the purely OSGi-compatible <b>Bundle Activator</b>." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ "\t\t */" + NL + "\t\tpublic static final class Activator extends ";
protected final String TEXT_33 = ".OSGiDelegatingBundleActivator" + NL + "\t\t{";
protected final String TEXT_34 = NL + "\t\t\t@Override";
protected final String TEXT_35 = NL + "\t\t\tprotected ";
- protected final String TEXT_36 = " createBundle()" + NL + "\t\t\t{" + NL + "\t\t\t\treturn new Implementation();" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_36 = " createBundle()" + NL + "\t\t\t{" + NL + "\t\t\t\treturn new Implementation();"
+ + NL + "\t\t\t}" + NL + "\t\t}";
protected final String TEXT_37 = NL + "\t}" + NL;
- protected final String TEXT_38 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_38 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final ";
protected final String TEXT_39 = " PROPERTIES = ";
protected final String TEXT_40 = ".create(";
- protected final String TEXT_41 = ".class);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tpublic String getString(String key, boolean translate)" + NL
- + "\t{";
+ protected final String TEXT_41 = ".class);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tpublic String getString(String key, boolean translate)" + NL + "\t{";
protected final String TEXT_42 = NL + "\t\t";
protected final String TEXT_43 = "else ";
protected final String TEXT_44 = "if (\"_UI_";
@@ -80,7 +102,8 @@
protected final String TEXT_46 = "Type();";
protected final String TEXT_47 = NL + "\t\t";
protected final String TEXT_48 = "else ";
- protected final String TEXT_49 = " if (\"_UI_Unknown_type\".equals(key)) return PROPERTIES.unknownType();" + NL + "\t\telse if (\"_UI_Unknown_datatype\".equals(key)) return PROPERTIES.unknownDatatype();";
+ protected final String TEXT_49 = " if (\"_UI_Unknown_type\".equals(key)) return PROPERTIES.unknownType();" + NL
+ + "\t\telse if (\"_UI_Unknown_datatype\".equals(key)) return PROPERTIES.unknownDatatype();";
protected final String TEXT_50 = NL + "\t\telse if (\"_UI_";
protected final String TEXT_51 = "_";
protected final String TEXT_52 = "_feature\".equals(key)) return PROPERTIES.";
@@ -91,7 +114,8 @@
protected final String TEXT_57 = "_description\".equals(key)) return PROPERTIES.";
protected final String TEXT_58 = "_";
protected final String TEXT_59 = "Description();";
- protected final String TEXT_60 = NL + "\t\telse if (\"_UI_Unknown_feature\".equals(key)) return PROPERTIES.unknownFeature();";
+ protected final String TEXT_60 = NL
+ + "\t\telse if (\"_UI_Unknown_feature\".equals(key)) return PROPERTIES.unknownFeature();";
protected final String TEXT_61 = NL + "\t\telse if (\"_UI_";
protected final String TEXT_62 = "_";
protected final String TEXT_63 = "_literal\".equals(key)) return PROPERTIES.";
@@ -102,19 +126,48 @@
protected final String TEXT_68 = NL + "\t\telse if (\"";
protected final String TEXT_69 = "\".equals(key)) return PROPERTIES.";
protected final String TEXT_70 = "();";
- protected final String TEXT_71 = NL + "\t\telse return key;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ protected final String TEXT_71 = NL + "\t\telse return key;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t@Override" + NL
+ "\tpublic String getString(String key, Object [] substitutions, boolean translate)" + NL + "\t{";
- protected final String TEXT_72 = NL + "\t\tif (\"_UI_CreateChild_text\".equals(key)) return PROPERTIES.createChildText(substitutions[0]);" + NL + "\t\telse if (\"_UI_CreateChild_text2\".equals(key)) return PROPERTIES.createChildText2(substitutions[0], substitutions[1]);"
- + NL + "\t\telse if (\"_UI_CreateChild_text3\".equals(key)) return PROPERTIES.createChildText3(substitutions[1]);" + NL + "\t\telse if (\"_UI_CreateChild_tooltip\".equals(key)) return PROPERTIES.createChildTooltip(substitutions[0], substitutions[1]);" + NL
- + "\t\telse if (\"_UI_CreateChild_description\".equals(key)) return PROPERTIES.createChildDescripition(substitutions[0], substitutions[1], substitutions[2]);" + NL
+ protected final String TEXT_72 = NL
+ + "\t\tif (\"_UI_CreateChild_text\".equals(key)) return PROPERTIES.createChildText(substitutions[0]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateChild_text2\".equals(key)) return PROPERTIES.createChildText2(substitutions[0], substitutions[1]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateChild_text3\".equals(key)) return PROPERTIES.createChildText3(substitutions[1]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateChild_tooltip\".equals(key)) return PROPERTIES.createChildTooltip(substitutions[0], substitutions[1]);"
+ + NL
+ + "\t\telse if (\"_UI_CreateChild_description\".equals(key)) return PROPERTIES.createChildDescripition(substitutions[0], substitutions[1], substitutions[2]);"
+ + NL
+ "\t\telse if (\"_UI_CreateSibling_description\".equals(key)) return PROPERTIES.createSiblingDescription(substitutions[0], substitutions[1], substitutions[2]);";
protected final String TEXT_73 = NL + "\t\t";
protected final String TEXT_74 = "else ";
- protected final String TEXT_75 = "if (\"_UI_PropertyDescriptor_description\".equals(key)) return PROPERTIES.propertyDescriptorDescription(substitutions[0], substitutions[1]);" + NL + "\t\telse return key;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_75 = "if (\"_UI_PropertyDescriptor_description\".equals(key)) return PROPERTIES.propertyDescriptorDescription(substitutions[0], substitutions[1]);"
+ + NL
+ + "\t\telse return key;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected static final ";
protected final String TEXT_76 = " IMAGES = ";
protected final String TEXT_77 = ".create(";
- protected final String TEXT_78 = ".class);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tpublic Object getImage(String key)" + NL + "\t{";
+ protected final String TEXT_78 = ".class);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tpublic Object getImage(String key)" + NL + "\t{";
protected final String TEXT_79 = NL + "\t\t";
protected final String TEXT_80 = "else ";
protected final String TEXT_81 = "if (\"";
@@ -199,7 +252,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPath = genModel.getEditPluginDirectory();
@@ -219,9 +273,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -252,7 +308,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -468,7 +527,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
canGenerate = canGenerate && (!genModel.sameEditEditorProject());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginProperties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginProperties.java
index 08ad537..69fd053 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginProperties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginProperties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -32,12 +32,21 @@
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "_UI_CreateChild_text = {0}" + NL + "_UI_CreateChild_text2 = {1} ";
protected final String TEXT_6 = "| ";
- protected final String TEXT_7 = "{0}" + NL + "_UI_CreateChild_text3 = {1}" + NL + "_UI_CreateChild_tooltip = Create New {0} Under {1} Feature" + NL + "_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}." + NL
- + "_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent." + NL;
+ protected final String TEXT_7 = "{0}"
+ + NL
+ + "_UI_CreateChild_text3 = {1}"
+ + NL
+ + "_UI_CreateChild_tooltip = Create New {0} Under {1} Feature"
+ + NL
+ + "_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}."
+ + NL
+ + "_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent."
+ + NL;
protected final String TEXT_8 = NL + "_UI_PropertyDescriptor_description = The {0} of the {1}" + NL;
protected final String TEXT_9 = NL + "_UI_";
protected final String TEXT_10 = "_type = ";
- protected final String TEXT_11 = NL + "_UI_Unknown_type = Object" + NL + "" + NL + "_UI_Unknown_datatype= Value" + NL;
+ protected final String TEXT_11 = NL + "_UI_Unknown_type = Object" + NL + "" + NL + "_UI_Unknown_datatype= Value"
+ + NL;
protected final String TEXT_12 = NL + "_UI_";
protected final String TEXT_13 = "_";
protected final String TEXT_14 = "_feature = ";
@@ -125,7 +134,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditProjectDirectory() + "/plugin.properties";
@@ -143,9 +153,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -176,7 +188,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -251,7 +266,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
canGenerate = canGenerate && (true);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginXML.java
index 212faec..4a1d632 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/PluginXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,12 +26,14 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>" + NL;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>"
+ + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
protected final String TEXT_4 = NL + "<plugin>";
protected final String TEXT_5 = NL + "<plugin" + NL + " name=\"%pluginName\"" + NL + " id=\"";
- protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL + " provider-name=\"%providerName\"" + NL + " class=\"";
+ protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL
+ + " provider-name=\"%providerName\"" + NL + " class=\"";
protected final String TEXT_7 = "$Implementation\">" + NL + "" + NL + " <requires>";
protected final String TEXT_8 = NL + " <import plugin=\"";
protected final String TEXT_9 = "\"";
@@ -41,7 +43,8 @@
protected final String TEXT_13 = NL + " <library name=\"";
protected final String TEXT_14 = ".jar\">";
protected final String TEXT_15 = NL + " <library name=\".\">";
- protected final String TEXT_16 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL + " </runtime>";
+ protected final String TEXT_16 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL
+ + " </runtime>";
protected final String TEXT_17 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.generated_package\">";
protected final String TEXT_18 = NL + " <!-- @generated ";
protected final String TEXT_19 = " -->";
@@ -58,18 +61,21 @@
protected final String TEXT_30 = " -->";
protected final String TEXT_31 = NL + " <parser" + NL + " contentTypeIdentifier=\"";
protected final String TEXT_32 = "\"" + NL + " class=\"";
- protected final String TEXT_33 = "\"/>" + NL + " </extension>" + NL + "" + NL + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
+ protected final String TEXT_33 = "\"/>" + NL + " </extension>" + NL + "" + NL
+ + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
protected final String TEXT_34 = NL + " <!-- @generated ";
protected final String TEXT_35 = " -->";
protected final String TEXT_36 = NL + " <content-type" + NL + " base-type=\"";
protected final String TEXT_37 = "\"" + NL + " file-extensions=\"";
protected final String TEXT_38 = "\"" + NL + " id=\"";
protected final String TEXT_39 = "\"" + NL + " name=\"%_UI_";
- protected final String TEXT_40 = "_content_type\"" + NL + " priority=\"normal\">" + NL + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
+ protected final String TEXT_40 = "_content_type\"" + NL + " priority=\"normal\">" + NL
+ + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
protected final String TEXT_41 = NL + " <parameter name=\"namespace\" value=\"";
protected final String TEXT_42 = "\"/>";
protected final String TEXT_43 = NL + " <parameter name=\"kind\" value=\"xmi\"/>";
- protected final String TEXT_44 = NL + " </describer>" + NL + " </content-type>" + NL + " </extension>";
+ protected final String TEXT_44 = NL + " </describer>" + NL + " </content-type>" + NL
+ + " </extension>";
protected final String TEXT_45 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.extension_parser\">";
protected final String TEXT_46 = NL + " <!-- @generated ";
protected final String TEXT_47 = " -->";
@@ -77,7 +83,8 @@
protected final String TEXT_49 = "\"" + NL + " class=\"";
protected final String TEXT_50 = "\"/>";
protected final String TEXT_51 = NL + " </extension>";
- protected final String TEXT_52 = NL + NL + " <extension point=\"org.eclipse.emf.edit.itemProviderAdapterFactories\">";
+ protected final String TEXT_52 = NL + NL
+ + " <extension point=\"org.eclipse.emf.edit.itemProviderAdapterFactories\">";
protected final String TEXT_53 = NL + " <!-- @generated ";
protected final String TEXT_54 = " -->";
protected final String TEXT_55 = NL + " <factory" + NL + " uri=\"";
@@ -169,7 +176,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditProjectDirectory() + "/plugin.xml";
@@ -189,9 +197,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -224,7 +234,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -297,7 +310,8 @@
stringBuffer.append(TEXT_35);
}
stringBuffer.append(TEXT_36);
- stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi" : "org.eclipse.core.runtime.xml");
+ stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi"
+ : "org.eclipse.core.runtime.xml");
stringBuffer.append(TEXT_37);
stringBuffer.append(genPackage.getFileExtensions());
stringBuffer.append(TEXT_38);
@@ -355,7 +369,8 @@
}
stringBuffer.append(TEXT_60);
if (genPackage.isChildCreationExtenders()) {
- Map<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> extendedChildCreationData = genPackage.getExtendedChildCreationData();
+ Map<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> extendedChildCreationData = genPackage
+ .getExtendedChildCreationData();
if (!extendedChildCreationData.isEmpty()) {
stringBuffer.append(TEXT_61);
if (hasKey) {
@@ -363,7 +378,8 @@
stringBuffer.append(key);
stringBuffer.append(TEXT_63);
}
- for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> entry : extendedChildCreationData.entrySet()) {
+ for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> entry : extendedChildCreationData
+ .entrySet()) {
stringBuffer.append(TEXT_64);
stringBuffer.append(entry.getKey().getNSURI());
stringBuffer.append(TEXT_65);
@@ -385,8 +401,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
- canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) && (!genModel.sameEditEditorProject());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT)
+ && (!genModel.sameEditEditorProject());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Properties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Properties.java
index 84b01ef..5d3ae3c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Properties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/Properties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,41 +29,126 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public interface ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public interface ";
protected final String TEXT_5 = "Properties extends ";
protected final String TEXT_6 = NL + "{";
- protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_CreateChild_text\")" + NL + "\t@DefaultMessage(\"{0}\")" + NL
- + "\tString createChildText(Object type);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_CreateChild_text2\")" + NL + "\t@DefaultMessage(\"{1} ";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_CreateChild_text\")" + NL + "\t@DefaultMessage(\"{0}\")" + NL
+ + "\tString createChildText(Object type);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_CreateChild_text2\")" + NL + "\t@DefaultMessage(\"{1} ";
protected final String TEXT_8 = "| ";
- protected final String TEXT_9 = "{0}\")" + NL + "\tString createChildText2(Object type, Object feature);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\t@Key(\"_UI_CreateChild_text3\")" + NL + "\t@DefaultMessage(\"{0}\")" + NL + "\tString createChildText3(Object feature);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"
- + NL + "\t@Key(\"_UI_CreateChild_tooltip\")" + NL + "\t@DefaultMessage(\"Create New {0} Under {1} Feature\")" + NL + "\tString createChildTooltip(Object type, Object feature);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_CreateChild_description\")" + NL + "\t@DefaultMessage(\"Create a new child of type {0} for the {1} feature of the selected {2}.\")" + NL
- + "\tString createChildDescripition(Object type, Object feature, Object selection);" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\t@Key(\"_UI_CreateSibling_description\")" + NL + "\t@DefaultMessage(\"Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.\")" + NL + "\tString createSiblingDescription(Object type, Object feature, Object selection);" + NL;
- protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_PropertyDescriptor_description\")" + NL + "\t@DefaultMessage(\"The {0} of the {1}\")" + NL
+ protected final String TEXT_9 = "{0}\")"
+ + NL
+ + "\tString createChildText2(Object type, Object feature);"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\t@Key(\"_UI_CreateChild_text3\")"
+ + NL
+ + "\t@DefaultMessage(\"{0}\")"
+ + NL
+ + "\tString createChildText3(Object feature);"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\t@Key(\"_UI_CreateChild_tooltip\")"
+ + NL
+ + "\t@DefaultMessage(\"Create New {0} Under {1} Feature\")"
+ + NL
+ + "\tString createChildTooltip(Object type, Object feature);"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\t@Key(\"_UI_CreateChild_description\")"
+ + NL
+ + "\t@DefaultMessage(\"Create a new child of type {0} for the {1} feature of the selected {2}.\")"
+ + NL
+ + "\tString createChildDescripition(Object type, Object feature, Object selection);"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\t@Key(\"_UI_CreateSibling_description\")"
+ + NL
+ + "\t@DefaultMessage(\"Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.\")"
+ + NL + "\tString createSiblingDescription(Object type, Object feature, Object selection);" + NL;
+ protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_PropertyDescriptor_description\")" + NL + "\t@DefaultMessage(\"The {0} of the {1}\")" + NL
+ "\tString propertyDescriptorDescription(Object feature, Object type);" + NL;
- protected final String TEXT_11 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
protected final String TEXT_12 = "_type\")" + NL + "\t@DefaultMessage(\"";
protected final String TEXT_13 = "\")" + NL + "\tString ";
protected final String TEXT_14 = "Type();" + NL;
- protected final String TEXT_15 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_Unknown_type\")" + NL + "\t@DefaultMessage(\"Object\")" + NL + "\tString unknownType();" + NL
- + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_Unknown_datatype\")" + NL + "\t@DefaultMessage(\"Value\")" + NL + "\tString unknownDatatype();" + NL;
- protected final String TEXT_16 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
+ protected final String TEXT_15 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_Unknown_type\")" + NL + "\t@DefaultMessage(\"Object\")" + NL + "\tString unknownType();"
+ + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_Unknown_datatype\")" + NL
+ + "\t@DefaultMessage(\"Value\")" + NL + "\tString unknownDatatype();" + NL;
+ protected final String TEXT_16 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
protected final String TEXT_17 = "_";
protected final String TEXT_18 = "_feature\")" + NL + "\t@DefaultMessage(\"";
protected final String TEXT_19 = "\")" + NL + "\tString ";
protected final String TEXT_20 = "_";
protected final String TEXT_21 = "Feature();" + NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
protected final String TEXT_23 = "_";
protected final String TEXT_24 = "_description\")" + NL + "\t@DefaultMessage(\"";
protected final String TEXT_25 = "\")" + NL + "\tString ";
protected final String TEXT_26 = "_";
protected final String TEXT_27 = "Description();" + NL;
- protected final String TEXT_28 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_Unknown_feature\")" + NL + "\t@DefaultMessage(\"Unspecified\")" + NL
+ protected final String TEXT_28 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\t@Key(\"_UI_Unknown_feature\")" + NL + "\t@DefaultMessage(\"Unspecified\")" + NL
+ "\tString unknownFeature();" + NL;
- protected final String TEXT_29 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
+ protected final String TEXT_29 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"_UI_";
protected final String TEXT_30 = "_";
protected final String TEXT_31 = "_literal\")" + NL + "\t@DefaultMessage(\"";
protected final String TEXT_32 = "\")" + NL + "\tString ";
@@ -71,7 +156,8 @@
protected final String TEXT_34 = "Literal();" + NL;
protected final String TEXT_35 = NL;
protected final String TEXT_36 = " = ";
- protected final String TEXT_37 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"";
+ protected final String TEXT_37 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Key(\"";
protected final String TEXT_38 = "\")" + NL + "\t@DefaultMessage(\"";
protected final String TEXT_39 = "\")" + NL + "\tString ";
protected final String TEXT_40 = "();" + NL;
@@ -151,7 +237,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPath = genModel.getEditPluginDirectory();
@@ -171,9 +258,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel, GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDIT_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -204,7 +293,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -309,8 +401,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
- canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT) && (!genModel.sameEditEditorProject());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT)
+ && (!genModel.sameEditEditorProject());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvideraddPropertyDescriptoroverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvideraddPropertyDescriptoroverride.java
index f00397f..d8d0521 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvideraddPropertyDescriptoroverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvideraddPropertyDescriptoroverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,8 +26,10 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\titemPropertyDescriptors.add" + NL + "\t\t\t(createItemPropertyDescriptor" + NL + "\t\t\t\t(((";
- protected final String TEXT_2 = ")adapterFactory).getRootAdapterFactory()," + NL + "\t\t\t\t getResourceLocator()," + NL + "\t\t\t\t getString(\"_UI_";
+ protected final String TEXT_1 = NL + "\t\titemPropertyDescriptors.add" + NL + "\t\t\t(createItemPropertyDescriptor"
+ + NL + "\t\t\t\t(((";
+ protected final String TEXT_2 = ")adapterFactory).getRootAdapterFactory()," + NL + "\t\t\t\t getResourceLocator(),"
+ + NL + "\t\t\t\t getString(\"_UI_";
protected final String TEXT_3 = "_";
protected final String TEXT_4 = "_feature\"),";
protected final String TEXT_5 = NL + "\t\t\t\t getString(\"_UI_PropertyDescriptor_description\", \"_UI_";
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetStyledTextoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetStyledTextoverride.java
index b7233f2..69ce2d3 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetStyledTextoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetStyledTextoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -54,40 +54,42 @@
protected final String TEXT_26 = " = (";
protected final String TEXT_27 = ")object;" + NL + "\t\treturn new ";
protected final String TEXT_28 = "(getString(\"_UI_";
- protected final String TEXT_29 = "_type\", ";
+ protected final String TEXT_29 = "_type\"), ";
protected final String TEXT_30 = ".QUALIFIER_STYLER).append(\" \").append(";
- protected final String TEXT_31 = ".";
- protected final String TEXT_32 = "());";
- protected final String TEXT_33 = NL + "\t\tString label = crop(((";
- protected final String TEXT_34 = ")object).";
- protected final String TEXT_35 = "());";
- protected final String TEXT_36 = NL + "\t\tString label = ((";
- protected final String TEXT_37 = ")object).";
- protected final String TEXT_38 = "();";
- protected final String TEXT_39 = NL + "\t\t";
- protected final String TEXT_40 = " labelValue = ((";
- protected final String TEXT_41 = ")object).eGet(";
- protected final String TEXT_42 = ");";
- protected final String TEXT_43 = NL + "\t\t";
- protected final String TEXT_44 = " labelValue = ((";
- protected final String TEXT_45 = ")object).";
- protected final String TEXT_46 = "();";
- protected final String TEXT_47 = NL + "\t\tString label = labelValue == null ? null : labelValue.toString();";
- protected final String TEXT_48 = NL + " \t";
- protected final String TEXT_49 = " styledLabel = new ";
- protected final String TEXT_50 = "();" + NL + "\t\tif (label == null || label.length() == 0) " + NL + "\t\t{" + NL + "\t\t\tstyledLabel.append(getString(\"_UI_";
- protected final String TEXT_51 = "_type\"), ";
- protected final String TEXT_52 = ".QUALIFIER_STYLER); ";
- protected final String TEXT_53 = NL + "\t\t} else {" + NL + "\t\t\tstyledLabel.append(getString(\"_UI_";
- protected final String TEXT_54 = "_type\"), ";
- protected final String TEXT_55 = ".QUALIFIER_STYLER).append(\" \" + label);";
- protected final String TEXT_56 = NL + "\t\t}" + NL + "\t\treturn styledLabel;";
- protected final String TEXT_57 = NL + "\t\treturn new ";
- protected final String TEXT_58 = "(getString(\"_UI_";
- protected final String TEXT_59 = "_type\"));";
- protected final String TEXT_60 = NL;
+ protected final String TEXT_31 = ".toString(";
+ protected final String TEXT_32 = ".";
+ protected final String TEXT_33 = "()));";
+ protected final String TEXT_34 = NL + "\t\tString label = crop(((";
+ protected final String TEXT_35 = ")object).";
+ protected final String TEXT_36 = "());";
+ protected final String TEXT_37 = NL + "\t\tString label = ((";
+ protected final String TEXT_38 = ")object).";
+ protected final String TEXT_39 = "();";
+ protected final String TEXT_40 = NL + "\t\t";
+ protected final String TEXT_41 = " labelValue = ((";
+ protected final String TEXT_42 = ")object).eGet(";
+ protected final String TEXT_43 = ");";
+ protected final String TEXT_44 = NL + "\t\t";
+ protected final String TEXT_45 = " labelValue = ((";
+ protected final String TEXT_46 = ")object).";
+ protected final String TEXT_47 = "();";
+ protected final String TEXT_48 = NL + "\t\tString label = labelValue == null ? null : labelValue.toString();";
+ protected final String TEXT_49 = NL + " \t";
+ protected final String TEXT_50 = " styledLabel = new ";
+ protected final String TEXT_51 = "();" + NL + "\t\tif (label == null || label.length() == 0) " + NL + "\t\t{" + NL
+ + "\t\t\tstyledLabel.append(getString(\"_UI_";
+ protected final String TEXT_52 = "_type\"), ";
+ protected final String TEXT_53 = ".QUALIFIER_STYLER); ";
+ protected final String TEXT_54 = NL + "\t\t} else {" + NL + "\t\t\tstyledLabel.append(getString(\"_UI_";
+ protected final String TEXT_55 = "_type\"), ";
+ protected final String TEXT_56 = ".QUALIFIER_STYLER).append(\" \" + label);";
+ protected final String TEXT_57 = NL + "\t\t}" + NL + "\t\treturn styledLabel;";
+ protected final String TEXT_58 = NL + "\t\treturn new ";
+ protected final String TEXT_59 = "(getString(\"_UI_";
+ protected final String TEXT_60 = "_type\"));";
protected final String TEXT_61 = NL;
protected final String TEXT_62 = NL;
+ protected final String TEXT_63 = NL;
public ItemProvidergetStyledTextoverride() {
//Here is the constructor
@@ -138,8 +140,8 @@
ctx.getReporter().executionFinished(OutputManager.computeExecutionOutput(ctx), ctx);
}
- stringBuffer.append(TEXT_61);
stringBuffer.append(TEXT_62);
+ stringBuffer.append(TEXT_63);
return stringBuffer.toString();
}
@@ -211,7 +213,8 @@
stringBuffer.append(TEXT_6);
}
stringBuffer.append(TEXT_7);
- if (!genClass.getMapEntryKeyFeature().isPropertyMultiLine() && !genClass.getMapEntryValueFeature().isPropertyMultiLine()) {
+ if (!genClass.getMapEntryKeyFeature().isPropertyMultiLine()
+ && !genClass.getMapEntryValueFeature().isPropertyMultiLine()) {
stringBuffer.append(TEXT_8);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
stringBuffer.append(TEXT_9);
@@ -255,7 +258,8 @@
}
} else if (genClass.getLabelFeature() != null) {
GenFeature labelFeature = genClass.getLabelFeature();
- if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {
+ if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic()
+ && !labelFeature.isSuppressedGetVisibility()) {
stringBuffer.append(TEXT_24);
stringBuffer.append(genClass.getImportedInterfaceName());
stringBuffer.append(genClass.getInterfaceWildTypeArguments());
@@ -271,78 +275,81 @@
stringBuffer.append(TEXT_29);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
stringBuffer.append(TEXT_30);
- stringBuffer.append(genClass.getSafeUncapName());
+ stringBuffer.append(labelFeature.getObjectType(genClass));
stringBuffer.append(TEXT_31);
- stringBuffer.append(genClass.getLabelFeature().getGetAccessor());
+ stringBuffer.append(genClass.getSafeUncapName());
stringBuffer.append(TEXT_32);
+ stringBuffer.append(genClass.getLabelFeature().getGetAccessor());
+ stringBuffer.append(TEXT_33);
stringBuffer.append(genModel.getNonNLS());
stringBuffer.append(genModel.getNonNLS(2));
} else {
- if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {
+ if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic()
+ && !labelFeature.isSuppressedGetVisibility()) {
if (labelFeature.isPropertyMultiLine()) {
- stringBuffer.append(TEXT_33);
- stringBuffer.append(genClass.getImportedInterfaceName());
- stringBuffer.append(genClass.getInterfaceWildTypeArguments());
stringBuffer.append(TEXT_34);
- stringBuffer.append(labelFeature.getGetAccessor());
- stringBuffer.append(TEXT_35);
- } else {
- stringBuffer.append(TEXT_36);
stringBuffer.append(genClass.getImportedInterfaceName());
stringBuffer.append(genClass.getInterfaceWildTypeArguments());
- stringBuffer.append(TEXT_37);
+ stringBuffer.append(TEXT_35);
stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_36);
+ } else {
+ stringBuffer.append(TEXT_37);
+ stringBuffer.append(genClass.getImportedInterfaceName());
+ stringBuffer.append(genClass.getInterfaceWildTypeArguments());
stringBuffer.append(TEXT_38);
+ stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_39);
}
} else {
if (labelFeature.isSuppressedGetVisibility() || labelFeature.getGenClass().isDynamic()) {
- stringBuffer.append(TEXT_39);
- stringBuffer.append(genModel.getImportedName("java.lang.Object"));
stringBuffer.append(TEXT_40);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
+ stringBuffer.append(genModel.getImportedName("java.lang.Object"));
stringBuffer.append(TEXT_41);
- stringBuffer.append(labelFeature.getQualifiedFeatureAccessor());
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
stringBuffer.append(TEXT_42);
- } else {
+ stringBuffer.append(labelFeature.getQualifiedFeatureAccessor());
stringBuffer.append(TEXT_43);
- stringBuffer.append(labelFeature.getRawImportedType());
+ } else {
stringBuffer.append(TEXT_44);
+ stringBuffer.append(labelFeature.getRawImportedType());
+ stringBuffer.append(TEXT_45);
stringBuffer.append(genClass.getImportedInterfaceName());
stringBuffer.append(genClass.getInterfaceWildTypeArguments());
- stringBuffer.append(TEXT_45);
- stringBuffer.append(labelFeature.getGetAccessor());
stringBuffer.append(TEXT_46);
+ stringBuffer.append(labelFeature.getGetAccessor());
+ stringBuffer.append(TEXT_47);
}
- stringBuffer.append(TEXT_47);
+ stringBuffer.append(TEXT_48);
}
- stringBuffer.append(TEXT_48);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
stringBuffer.append(TEXT_49);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
stringBuffer.append(TEXT_50);
- stringBuffer.append(genClass.getName());
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
stringBuffer.append(TEXT_51);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
- stringBuffer.append(TEXT_52);
- stringBuffer.append(genModel.getNonNLS());
- stringBuffer.append(TEXT_53);
stringBuffer.append(genClass.getName());
- stringBuffer.append(TEXT_54);
+ stringBuffer.append(TEXT_52);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
+ stringBuffer.append(TEXT_53);
+ stringBuffer.append(genModel.getNonNLS());
+ stringBuffer.append(TEXT_54);
+ stringBuffer.append(genClass.getName());
stringBuffer.append(TEXT_55);
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style"));
+ stringBuffer.append(TEXT_56);
stringBuffer.append(genModel.getNonNLS());
stringBuffer.append(genModel.getNonNLS(2));
- stringBuffer.append(TEXT_56);
+ stringBuffer.append(TEXT_57);
}
} else {
- stringBuffer.append(TEXT_57);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
stringBuffer.append(TEXT_58);
- stringBuffer.append(genClass.getName());
+ stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString"));
stringBuffer.append(TEXT_59);
+ stringBuffer.append(genClass.getName());
+ stringBuffer.append(TEXT_60);
stringBuffer.append(genModel.getNonNLS());
}
- stringBuffer.append(TEXT_60);
+ stringBuffer.append(TEXT_61);
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "doGenerate", stringBuffer.toString());
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetTextoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetTextoverride.java
index 63a9834..488000b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetTextoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidergetTextoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -69,7 +69,8 @@
protected final String TEXT_41 = ")object).";
protected final String TEXT_42 = "();";
protected final String TEXT_43 = NL + "\t\tString label = labelValue == null ? null : labelValue.toString();";
- protected final String TEXT_44 = NL + "\t\treturn label == null || label.length() == 0 ?" + NL + "\t\t\tgetString(\"_UI_";
+ protected final String TEXT_44 = NL + "\t\treturn label == null || label.length() == 0 ?" + NL
+ + "\t\t\tgetString(\"_UI_";
protected final String TEXT_45 = "_type\") :";
protected final String TEXT_46 = NL + "\t\t\tgetString(\"_UI_";
protected final String TEXT_47 = "_type\") + \" \" + label;";
@@ -206,7 +207,8 @@
stringBuffer.append(TEXT_8);
}
stringBuffer.append(TEXT_9);
- if (!genClass.getMapEntryKeyFeature().isPropertyMultiLine() && !genClass.getMapEntryValueFeature().isPropertyMultiLine()) {
+ if (!genClass.getMapEntryKeyFeature().isPropertyMultiLine()
+ && !genClass.getMapEntryValueFeature().isPropertyMultiLine()) {
stringBuffer.append(TEXT_10);
stringBuffer.append(genClass.getSafeUncapName());
stringBuffer.append(TEXT_11);
@@ -242,7 +244,8 @@
}
} else if (genClass.getLabelFeature() != null) {
GenFeature labelFeature = genClass.getLabelFeature();
- if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {
+ if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic()
+ && !labelFeature.isSuppressedGetVisibility()) {
stringBuffer.append(TEXT_22);
stringBuffer.append(genClass.getImportedInterfaceName());
stringBuffer.append(genClass.getInterfaceWildTypeArguments());
@@ -261,7 +264,8 @@
stringBuffer.append(genModel.getNonNLS());
stringBuffer.append(genModel.getNonNLS(2));
} else {
- if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {
+ if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic()
+ && !labelFeature.isSuppressedGetVisibility()) {
if (labelFeature.isPropertyMultiLine()) {
stringBuffer.append(TEXT_29);
stringBuffer.append(genClass.getImportedInterfaceName());
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProviderinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProviderinsert.java
index 0dadd74..fd8ec00 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProviderinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProviderinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert.java
index a71cc44..6ec9018 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -18,7 +18,8 @@
public class ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert {
protected static String nl;
- public static synchronized ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert create(String lineSeparator) {
+ public static synchronized ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert create(
+ String lineSeparator) {
nl = lineSeparator;
ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert result = new ItemProvidernewChildDescriptorsAttributeDelegatedFeatureinsert();
nl = null;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride.java
index 6aa8d51..2308078 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -18,7 +18,8 @@
public class ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride {
protected static String nl;
- public static synchronized ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride create(String lineSeparator) {
+ public static synchronized ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride create(
+ String lineSeparator) {
nl = lineSeparator;
ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride result = new ItemProvidernewChildDescriptorsAttributeDelegatedFeatureoverride();
nl = null;
@@ -26,7 +27,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t\t\tnewChildDescriptors.add" + NL + "\t\t\t\t\t(createChildParameter" + NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_1 = NL + "\t\t\t\tnewChildDescriptors.add" + NL + "\t\t\t\t\t(createChildParameter"
+ + NL + "\t\t\t\t\t\t(";
protected final String TEXT_2 = "," + NL + "\t\t\t\t\t\t ";
protected final String TEXT_3 = ".createEntry" + NL + "\t\t\t\t\t\t\t(";
protected final String TEXT_4 = ",";
@@ -212,7 +214,8 @@
stringBuffer.append(TEXT_4);
if (delegatedFeature.isEnumBasedType()) {
stringBuffer.append(TEXT_5);
- stringBuffer.append(delegatedFeature.getTypeGenEnum().getStaticValue(delegatedFeature.getEcoreFeature().getDefaultValueLiteral()));
+ stringBuffer.append(delegatedFeature.getTypeGenEnum().getStaticValue(
+ delegatedFeature.getEcoreFeature().getDefaultValueLiteral()));
stringBuffer.append(TEXT_6);
} else if (delegatedFeature.isStringBasedType()) {
stringBuffer.append(TEXT_7);
@@ -251,7 +254,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04f78GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04f78GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureinsert.java
index dc92de2..36bc85e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureoverride.java
index 5c67aa0..c84eb15 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsAttributeFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t\t\tnewChildDescriptors.add" + NL + "\t\t\t\t\t(createChildParameter" + NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_1 = NL + "\t\t\t\tnewChildDescriptors.add" + NL + "\t\t\t\t\t(createChildParameter"
+ + NL + "\t\t\t\t\t\t(";
protected final String TEXT_2 = ",";
protected final String TEXT_3 = NL + "\t\t\t\t\t\t ";
protected final String TEXT_4 = "));";
@@ -206,7 +207,8 @@
stringBuffer.append(TEXT_2);
if (createFeature.isEnumBasedType()) {
stringBuffer.append(TEXT_3);
- stringBuffer.append(createFeature.getTypeGenEnum().getStaticValue(createFeature.getEcoreFeature().getDefaultValueLiteral()));
+ stringBuffer.append(createFeature.getTypeGenEnum().getStaticValue(
+ createFeature.getEcoreFeature().getDefaultValueLiteral()));
stringBuffer.append(TEXT_4);
} else if (createFeature.isStringBasedType()) {
stringBuffer.append(TEXT_5);
@@ -245,7 +247,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_05ZT0GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_05ZT0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert.java
index 0dfdfe3..d954cfd 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -18,7 +18,8 @@
public class ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert {
protected static String nl;
- public static synchronized ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert create(String lineSeparator) {
+ public static synchronized ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert create(
+ String lineSeparator) {
nl = lineSeparator;
ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert result = new ItemProvidernewChildDescriptorsReferenceDelegatedFeatureinsert();
nl = null;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride.java
index 05308fb..f8a9389 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -18,7 +18,8 @@
public class ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride {
protected static String nl;
- public static synchronized ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride create(String lineSeparator) {
+ public static synchronized ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride create(
+ String lineSeparator) {
nl = lineSeparator;
ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride result = new ItemProvidernewChildDescriptorsReferenceDelegatedFeatureoverride();
nl = null;
@@ -26,7 +27,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t\t\tnewChildDescriptors.add" + NL + "\t\t\t\t\t(createChildParameter" + NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_1 = NL + "\t\t\t\tnewChildDescriptors.add" + NL + "\t\t\t\t\t(createChildParameter"
+ + NL + "\t\t\t\t\t\t(";
protected final String TEXT_2 = "," + NL + "\t\t\t\t\t\t ";
protected final String TEXT_3 = ".createEntry" + NL + "\t\t\t\t\t\t\t(";
protected final String TEXT_4 = ",";
@@ -237,7 +239,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04NBAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04NBAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureinsert.java
index 9c81e62..b3afcb3 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureoverride.java
index 0120f32..f0fe246 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/edit/call/ItemProvider/ItemProvidernewChildDescriptorsReferenceFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.edit.call.ItemProvider;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t\t\tnewChildDescriptors.add" + NL + "\t\t\t\t\t(createChildParameter" + NL + "\t\t\t\t\t\t(";
+ protected final String TEXT_1 = NL + "\t\t\t\tnewChildDescriptors.add" + NL + "\t\t\t\t\t(createChildParameter"
+ + NL + "\t\t\t\t\t\t(";
protected final String TEXT_2 = ",";
protected final String TEXT_3 = NL + "\t\t\t\t\t\t ";
protected final String TEXT_4 = ".create(";
@@ -231,7 +232,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04y24GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_04y24GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ActionBarContributor.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ActionBarContributor.java
index 1b08d93..165290b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ActionBarContributor.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ActionBarContributor.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,75 +30,130 @@
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the action bar contributor for the ";
- protected final String TEXT_5 = " model editor." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_5 = " model editor." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
protected final String TEXT_6 = NL + "\textends ";
protected final String TEXT_7 = NL + "\timplements ";
protected final String TEXT_8 = NL + "{";
- protected final String TEXT_9 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final String copyright = ";
+ protected final String TEXT_9 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static final String copyright = ";
protected final String TEXT_10 = ";";
protected final String TEXT_11 = NL;
protected final String TEXT_12 = NL + "\t/**" + NL + "\t * Action to create objects from the ";
- protected final String TEXT_13 = " model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class NewAction extends ";
- protected final String TEXT_14 = NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */"
- + NL + "\t\tpublic void run(";
+ protected final String TEXT_13 = " model." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class NewAction extends ";
+ protected final String TEXT_14 = NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic void run(";
protected final String TEXT_15 = " action)" + NL + "\t\t{" + NL + "\t\t\t";
protected final String TEXT_16 = " wizard = new ";
protected final String TEXT_17 = "();" + NL + "\t\t\twizard.init(getWindow().getWorkbench(), ";
protected final String TEXT_18 = ".EMPTY);" + NL + "\t\t\t";
protected final String TEXT_19 = " wizardDialog = new ";
- protected final String TEXT_20 = "(getWindow().getShell(), wizard);" + NL + "\t\t\twizardDialog.open();" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_21 = NL + "\t/**" + NL + "\t * This keeps track of the active editor." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
- protected final String TEXT_22 = " activeEditorPart;" + NL + "" + NL + "\t/**" + NL + "\t * This keeps track of the current selection provider." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected ";
- protected final String TEXT_23 = " selectionProvider;" + NL + "" + NL + "\t/**" + NL + "\t * This action opens the Properties view." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_20 = "(getWindow().getShell(), wizard);" + NL + "\t\t\twizardDialog.open();" + NL
+ + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_21 = NL + "\t/**" + NL + "\t * This keeps track of the active editor." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_22 = " activeEditorPart;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This keeps track of the current selection provider." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_23 = " selectionProvider;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This action opens the Properties view." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_24 = " showPropertiesViewAction =" + NL + "\t\tnew ";
protected final String TEXT_25 = "(";
protected final String TEXT_26 = ".INSTANCE.getString(\"_UI_ShowPropertiesView_menu_item\"))";
protected final String TEXT_27 = NL + "\t\t{";
protected final String TEXT_28 = NL + "\t\t\t@Override";
- protected final String TEXT_29 = NL + "\t\t\tpublic void run()" + NL + "\t\t\t{" + NL + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tgetPage().showView(\"org.eclipse.ui.views.PropertySheet\");";
+ protected final String TEXT_29 = NL + "\t\t\tpublic void run()" + NL + "\t\t\t{" + NL + "\t\t\t\ttry" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tgetPage().showView(\"org.eclipse.ui.views.PropertySheet\");";
protected final String TEXT_30 = NL + "\t\t\t\t}" + NL + "\t\t\t\tcatch (";
protected final String TEXT_31 = " exception)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
- protected final String TEXT_32 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "" + NL + "\t/**" + NL + "\t * This action refreshes the viewer of the current editor if the editor" + NL
- + "\t * implements {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_32 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};"
+ + NL + "" + NL + "\t/**" + NL + "\t * This action refreshes the viewer of the current editor if the editor"
+ + NL + "\t * implements {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_33 = " refreshViewerAction =" + NL + "\t\tnew ";
protected final String TEXT_34 = "(";
protected final String TEXT_35 = ".INSTANCE.getString(\"_UI_RefreshViewer_menu_item\"))";
protected final String TEXT_36 = NL + "\t\t{";
protected final String TEXT_37 = NL + "\t\t\t@Override";
- protected final String TEXT_38 = NL + "\t\t\tpublic boolean isEnabled()" + NL + "\t\t\t{" + NL + "\t\t\t\treturn activeEditorPart instanceof ";
+ protected final String TEXT_38 = NL + "\t\t\tpublic boolean isEnabled()" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn activeEditorPart instanceof ";
protected final String TEXT_39 = ";" + NL + "\t\t\t}" + NL;
protected final String TEXT_40 = NL + "\t\t\t@Override";
- protected final String TEXT_41 = NL + "\t\t\tpublic void run()" + NL + "\t\t\t{" + NL + "\t\t\t\tif (activeEditorPart instanceof ";
+ protected final String TEXT_41 = NL + "\t\t\tpublic void run()" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tif (activeEditorPart instanceof ";
protected final String TEXT_42 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
protected final String TEXT_43 = " viewer = ((";
- protected final String TEXT_44 = ")activeEditorPart).getViewer();" + NL + "\t\t\t\t\tif (viewer != null)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tviewer.refresh();" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};" + NL;
- protected final String TEXT_45 = NL + "\t/**" + NL + "\t * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor" + NL + "\t * generated for the current selection by the item provider." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_44 = ")activeEditorPart).getViewer();" + NL + "\t\t\t\t\tif (viewer != null)" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tviewer.refresh();" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}" + NL + "\t\t};" + NL;
+ protected final String TEXT_45 = NL
+ + "\t/**"
+ + NL
+ + "\t * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor"
+ + NL + "\t * generated for the current selection by the item provider." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_46 = " createChildActions;" + NL;
- protected final String TEXT_47 = NL + "\t/**" + NL + "\t * This will contain a map of {@link org.eclipse.emf.edit.ui.action.CreateChildAction}s, keyed by sub-menu text." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ protected final String TEXT_47 = NL
+ + "\t/**"
+ + NL
+ + "\t * This will contain a map of {@link org.eclipse.emf.edit.ui.action.CreateChildAction}s, keyed by sub-menu text."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ "\t */" + NL + "\tprotected ";
protected final String TEXT_48 = " createChildSubmenuActions;" + NL;
- protected final String TEXT_49 = NL + "\t/**" + NL + "\t * This is the menu manager into which menu contribution items should be added for CreateChild actions." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tprotected ";
- protected final String TEXT_50 = " createChildMenuManager;" + NL + "" + NL + "\t/**" + NL + "\t * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding to each descriptor" + NL
- + "\t * generated for the current selection by the item provider." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_49 = NL
+ + "\t/**"
+ + NL
+ + "\t * This is the menu manager into which menu contribution items should be added for CreateChild actions."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_50 = " createChildMenuManager;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding to each descriptor"
+ + NL + "\t * generated for the current selection by the item provider." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_51 = " createSiblingActions;" + NL;
- protected final String TEXT_52 = NL + "\t/**" + NL + "\t * This will contain a map of {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction}s, keyed by submenu text." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ protected final String TEXT_52 = NL
+ + "\t/**"
+ + NL
+ + "\t * This will contain a map of {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction}s, keyed by submenu text."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ "\t */" + NL + "\tprotected ";
protected final String TEXT_53 = " createSiblingSubmenuActions;" + NL;
- protected final String TEXT_54 = NL + "\t/**" + NL + "\t * This is the menu manager into which menu contribution items should be added for CreateSibling actions." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ protected final String TEXT_54 = NL
+ + "\t/**"
+ + NL
+ + "\t * This is the menu manager into which menu contribution items should be added for CreateSibling actions."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ "\t */" + NL + "\tprotected ";
protected final String TEXT_55 = " createSiblingMenuManager;" + NL;
- protected final String TEXT_56 = NL + "\t/**" + NL + "\t * This creates an instance of the contributor." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_57 = "()" + NL + "\t{" + NL + "\t\tsuper(ADDITIONS_LAST_STYLE);" + NL + "\t\tloadResourceAction = new ";
+ protected final String TEXT_56 = NL + "\t/**" + NL + "\t * This creates an instance of the contributor." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_57 = "()" + NL + "\t{" + NL + "\t\tsuper(ADDITIONS_LAST_STYLE);" + NL
+ + "\t\tloadResourceAction = new ";
protected final String TEXT_58 = "();" + NL + "\t\tvalidateAction = new ";
protected final String TEXT_59 = "();";
protected final String TEXT_60 = NL + "\t\tliveValidationAction = new ";
protected final String TEXT_61 = ".LiveValidator.LiveValidationAction(";
protected final String TEXT_62 = ".getPlugin().getDialogSettings());";
protected final String TEXT_63 = NL + "\t\tcontrolAction = new ";
- protected final String TEXT_64 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This adds Separators for editor additions to the tool bar." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_64 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This adds Separators for editor additions to the tool bar." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_65 = NL + "\t@Override";
protected final String TEXT_66 = NL + "\tpublic void contributeToToolBar(";
protected final String TEXT_67 = " toolBarManager)" + NL + "\t{" + NL + "\t\ttoolBarManager.add(new ";
@@ -107,11 +162,14 @@
protected final String TEXT_70 = NL + "\t\ttoolBarManager.add(new ";
protected final String TEXT_71 = "(\"";
protected final String TEXT_72 = "-additions\"));";
- protected final String TEXT_73 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This adds to the menu bar a menu and some separators for editor additions," + NL + "\t * as well as the sub-menus for object creation items." + NL + "\t * <!-- begin-user-doc -->" + NL
+ protected final String TEXT_73 = NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This adds to the menu bar a menu and some separators for editor additions," + NL
+ + "\t * as well as the sub-menus for object creation items." + NL + "\t * <!-- begin-user-doc -->" + NL
+ "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_74 = NL + "\t@Override";
protected final String TEXT_75 = NL + "\tpublic void contributeToMenu(";
- protected final String TEXT_76 = " menuManager)" + NL + "\t{" + NL + "\t\tsuper.contributeToMenu(menuManager);" + NL + "" + NL + "\t\t";
+ protected final String TEXT_76 = " menuManager)" + NL + "\t{" + NL + "\t\tsuper.contributeToMenu(menuManager);"
+ + NL + "" + NL + "\t\t";
protected final String TEXT_77 = " submenuManager = new ";
protected final String TEXT_78 = "(";
protected final String TEXT_79 = ".INSTANCE.getString(\"_UI_";
@@ -127,55 +185,115 @@
protected final String TEXT_89 = NL + "\t\tsubmenuManager.add(new ";
protected final String TEXT_90 = "(\"additions-end\"));";
protected final String TEXT_91 = NL;
- protected final String TEXT_92 = NL + "\t\t// Prepare for CreateChild item addition or removal." + NL + "\t\t//" + NL + "\t\tcreateChildMenuManager = new ";
+ protected final String TEXT_92 = NL + "\t\t// Prepare for CreateChild item addition or removal." + NL + "\t\t//"
+ + NL + "\t\tcreateChildMenuManager = new ";
protected final String TEXT_93 = "(";
protected final String TEXT_94 = ".INSTANCE.getString(\"_UI_CreateChild_menu_item\"));";
protected final String TEXT_95 = NL + "\t\tsubmenuManager.insertBefore(\"additions\", createChildMenuManager);";
- protected final String TEXT_96 = NL + NL + "\t\t// Prepare for CreateSibling item addition or removal." + NL + "\t\t//" + NL + "\t\tcreateSiblingMenuManager = new ";
+ protected final String TEXT_96 = NL + NL + "\t\t// Prepare for CreateSibling item addition or removal." + NL
+ + "\t\t//" + NL + "\t\tcreateSiblingMenuManager = new ";
protected final String TEXT_97 = "(";
protected final String TEXT_98 = ".INSTANCE.getString(\"_UI_CreateSibling_menu_item\"));";
protected final String TEXT_99 = NL + "\t\tsubmenuManager.insertBefore(\"additions\", createSiblingMenuManager);";
- protected final String TEXT_100 = NL + NL + "\t\t// Force an update because Eclipse hides empty menus now." + NL + "\t\t//" + NL + "\t\tsubmenuManager.addMenuListener" + NL + "\t\t\t(new ";
+ protected final String TEXT_100 = NL + NL + "\t\t// Force an update because Eclipse hides empty menus now." + NL
+ + "\t\t//" + NL + "\t\tsubmenuManager.addMenuListener" + NL + "\t\t\t(new ";
protected final String TEXT_101 = "()" + NL + "\t\t\t {" + NL + "\t\t\t\t public void menuAboutToShow(";
- protected final String TEXT_102 = " menuManager)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t menuManager.updateAll(true);" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL;
- protected final String TEXT_103 = NL + "\t\t// Add your contributions." + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL;
- protected final String TEXT_104 = NL + "\t\taddGlobalActions(submenuManager);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * When the active editor changes, this remembers the change and registers with it as a selection provider." + NL + "\t * <!-- begin-user-doc -->"
- + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_102 = " menuManager)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t menuManager.updateAll(true);" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL;
+ protected final String TEXT_103 = NL + "\t\t// Add your contributions." + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL;
+ protected final String TEXT_104 = NL
+ + "\t\taddGlobalActions(submenuManager);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * When the active editor changes, this remembers the change and registers with it as a selection provider."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_105 = NL + "\t@Override";
protected final String TEXT_106 = NL + "\tpublic void setActiveEditor(";
- protected final String TEXT_107 = " part)" + NL + "\t{" + NL + "\t\tsuper.setActiveEditor(part);" + NL + "\t\tactiveEditorPart = part;" + NL + "" + NL + "\t\t// Switch to the new selection provider." + NL + "\t\t//" + NL + "\t\tif (selectionProvider != null)" + NL + "\t\t{"
- + NL + "\t\t\tselectionProvider.removeSelectionChangedListener(this);" + NL + "\t\t}" + NL + "\t\tif (part == null)" + NL + "\t\t{" + NL + "\t\t\tselectionProvider = null;" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL
- + "\t\t\tselectionProvider = part.getSite().getSelectionProvider();" + NL + "\t\t\tselectionProvider.addSelectionChangedListener(this);" + NL + "" + NL + "\t\t\t// Fake a selection changed event to update the menus." + NL + "\t\t\t//" + NL
- + "\t\t\tif (selectionProvider.getSelection() != null)" + NL + "\t\t\t{" + NL + "\t\t\t\tselectionChanged(new ";
- protected final String TEXT_108 = "(selectionProvider, selectionProvider.getSelection()));" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionChangedListener}," + NL
- + "\t * handling {@link org.eclipse.jface.viewers.SelectionChangedEvent}s by querying for the children and siblings" + NL + "\t * that can be added to the selected object and updating the menus accordingly." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void selectionChanged(";
+ protected final String TEXT_107 = " part)" + NL + "\t{" + NL + "\t\tsuper.setActiveEditor(part);" + NL
+ + "\t\tactiveEditorPart = part;" + NL + "" + NL + "\t\t// Switch to the new selection provider." + NL
+ + "\t\t//" + NL + "\t\tif (selectionProvider != null)" + NL + "\t\t{" + NL
+ + "\t\t\tselectionProvider.removeSelectionChangedListener(this);" + NL + "\t\t}" + NL
+ + "\t\tif (part == null)" + NL + "\t\t{" + NL + "\t\t\tselectionProvider = null;" + NL + "\t\t}" + NL
+ + "\t\telse" + NL + "\t\t{" + NL + "\t\t\tselectionProvider = part.getSite().getSelectionProvider();" + NL
+ + "\t\t\tselectionProvider.addSelectionChangedListener(this);" + NL + "" + NL
+ + "\t\t\t// Fake a selection changed event to update the menus." + NL + "\t\t\t//" + NL
+ + "\t\t\tif (selectionProvider.getSelection() != null)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tselectionChanged(new ";
+ protected final String TEXT_108 = "(selectionProvider, selectionProvider.getSelection()));"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionChangedListener},"
+ + NL
+ + "\t * handling {@link org.eclipse.jface.viewers.SelectionChangedEvent}s by querying for the children and siblings"
+ + NL + "\t * that can be added to the selected object and updating the menus accordingly." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void selectionChanged(";
protected final String TEXT_109 = " event)" + NL + "\t{";
- protected final String TEXT_110 = NL + "\t\t// Remove any menu items for old selection." + NL + "\t\t//" + NL + "\t\tif (createChildMenuManager != null)" + NL + "\t\t{";
- protected final String TEXT_111 = NL + "\t\t\tdepopulateManager(createChildMenuManager, createChildSubmenuActions);";
- protected final String TEXT_112 = NL + "\t\t\tdepopulateManager(createChildMenuManager, createChildActions);" + NL + "\t\t}" + NL + "\t\tif (createSiblingMenuManager != null)" + NL + "\t\t{";
- protected final String TEXT_113 = NL + "\t\t\tdepopulateManager(createSiblingMenuManager, createSiblingSubmenuActions);";
- protected final String TEXT_114 = NL + "\t\t\tdepopulateManager(createSiblingMenuManager, createSiblingActions);" + NL + "\t\t}" + NL + "" + NL + "\t\t// Query the new selection for appropriate new child/sibling descriptors" + NL + "\t\t//" + NL + "\t\t";
+ protected final String TEXT_110 = NL + "\t\t// Remove any menu items for old selection." + NL + "\t\t//" + NL
+ + "\t\tif (createChildMenuManager != null)" + NL + "\t\t{";
+ protected final String TEXT_111 = NL
+ + "\t\t\tdepopulateManager(createChildMenuManager, createChildSubmenuActions);";
+ protected final String TEXT_112 = NL + "\t\t\tdepopulateManager(createChildMenuManager, createChildActions);" + NL
+ + "\t\t}" + NL + "\t\tif (createSiblingMenuManager != null)" + NL + "\t\t{";
+ protected final String TEXT_113 = NL
+ + "\t\t\tdepopulateManager(createSiblingMenuManager, createSiblingSubmenuActions);";
+ protected final String TEXT_114 = NL + "\t\t\tdepopulateManager(createSiblingMenuManager, createSiblingActions);"
+ + NL + "\t\t}" + NL + "" + NL
+ + "\t\t// Query the new selection for appropriate new child/sibling descriptors" + NL + "\t\t//" + NL
+ + "\t\t";
protected final String TEXT_115 = " newChildDescriptors = null;" + NL + "\t\t";
protected final String TEXT_116 = " newSiblingDescriptors = null;" + NL + "" + NL + "\t\t";
protected final String TEXT_117 = " selection = event.getSelection();" + NL + "\t\tif (selection instanceof ";
- protected final String TEXT_118 = " && ((IStructuredSelection)selection).size() == 1)" + NL + "\t\t{" + NL + "\t\t\tObject object = ((";
+ protected final String TEXT_118 = " && ((IStructuredSelection)selection).size() == 1)" + NL + "\t\t{" + NL
+ + "\t\t\tObject object = ((";
protected final String TEXT_119 = ")selection).getFirstElement();" + NL + "" + NL + "\t\t\t";
protected final String TEXT_120 = " domain = ((";
- protected final String TEXT_121 = ")activeEditorPart).getEditingDomain();" + NL + "" + NL + "\t\t\tnewChildDescriptors = domain.getNewChildDescriptors(object, null);" + NL + "\t\t\tnewSiblingDescriptors = domain.getNewChildDescriptors(null, object);" + NL + "\t\t}" + NL + ""
- + NL + "\t\t// Generate actions for selection; populate and redraw the menus." + NL + "\t\t//" + NL + "\t\tcreateChildActions = generateCreateChildActions(newChildDescriptors, selection);";
+ protected final String TEXT_121 = ")activeEditorPart).getEditingDomain();" + NL + "" + NL
+ + "\t\t\tnewChildDescriptors = domain.getNewChildDescriptors(object, null);" + NL
+ + "\t\t\tnewSiblingDescriptors = domain.getNewChildDescriptors(null, object);" + NL + "\t\t}" + NL + ""
+ + NL + "\t\t// Generate actions for selection; populate and redraw the menus." + NL + "\t\t//" + NL
+ + "\t\tcreateChildActions = generateCreateChildActions(newChildDescriptors, selection);";
protected final String TEXT_122 = NL + "\t\tcreateChildSubmenuActions = extractSubmenuActions(createChildActions);";
- protected final String TEXT_123 = NL + "\t\tcreateSiblingActions = generateCreateSiblingActions(newSiblingDescriptors, selection);";
- protected final String TEXT_124 = NL + "\t\tcreateSiblingSubmenuActions = extractSubmenuActions(createSiblingActions);";
+ protected final String TEXT_123 = NL
+ + "\t\tcreateSiblingActions = generateCreateSiblingActions(newSiblingDescriptors, selection);";
+ protected final String TEXT_124 = NL
+ + "\t\tcreateSiblingSubmenuActions = extractSubmenuActions(createSiblingActions);";
protected final String TEXT_125 = NL + NL + "\t\tif (createChildMenuManager != null)" + NL + "\t\t{";
- protected final String TEXT_126 = NL + "\t\t\tpopulateManager(createChildMenuManager, createChildSubmenuActions, null);";
- protected final String TEXT_127 = NL + "\t\t\tpopulateManager(createChildMenuManager, createChildActions, null);" + NL + "\t\t\tcreateChildMenuManager.update(true);" + NL + "\t\t}" + NL + "\t\tif (createSiblingMenuManager != null)" + NL + "\t\t{";
- protected final String TEXT_128 = NL + "\t\t\tpopulateManager(createSiblingMenuManager, createSiblingSubmenuActions, null);";
- protected final String TEXT_129 = NL + "\t\t\tpopulateManager(createSiblingMenuManager, createSiblingActions, null);" + NL + "\t\t\tcreateSiblingMenuManager.update(true);" + NL + "\t\t}";
- protected final String TEXT_130 = NL + "\t\t// Add your contributions." + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT";
+ protected final String TEXT_126 = NL
+ + "\t\t\tpopulateManager(createChildMenuManager, createChildSubmenuActions, null);";
+ protected final String TEXT_127 = NL + "\t\t\tpopulateManager(createChildMenuManager, createChildActions, null);"
+ + NL + "\t\t\tcreateChildMenuManager.update(true);" + NL + "\t\t}" + NL
+ + "\t\tif (createSiblingMenuManager != null)" + NL + "\t\t{";
+ protected final String TEXT_128 = NL
+ + "\t\t\tpopulateManager(createSiblingMenuManager, createSiblingSubmenuActions, null);";
+ protected final String TEXT_129 = NL
+ + "\t\t\tpopulateManager(createSiblingMenuManager, createSiblingActions, null);" + NL
+ + "\t\t\tcreateSiblingMenuManager.update(true);" + NL + "\t\t}";
+ protected final String TEXT_130 = NL + "\t\t// Add your contributions." + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT";
protected final String TEXT_131 = NL + "\t}" + NL;
- protected final String TEXT_132 = NL + "\t/**" + NL + "\t * This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction} for each object in <code>descriptors</code>," + NL + "\t * and returns the collection of these actions." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_132 = NL
+ + "\t/**"
+ + NL
+ + "\t * This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction} for each object in <code>descriptors</code>,"
+ + NL + "\t * and returns the collection of these actions." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_133 = " generateCreateChildActions(";
protected final String TEXT_134 = " descriptors, ";
protected final String TEXT_135 = " selection)" + NL + "\t{" + NL + "\t\t";
@@ -189,8 +307,23 @@
protected final String TEXT_143 = "(activeEditorPart, selection, ";
protected final String TEXT_144 = "descriptor";
protected final String TEXT_145 = "i.next()";
- protected final String TEXT_146 = "));" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn actions;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This generates a {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each object in <code>descriptors</code>,"
- + NL + "\t * and returns the collection of these actions." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_146 = "));"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\treturn actions;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This generates a {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each object in <code>descriptors</code>,"
+ + NL + "\t * and returns the collection of these actions." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_147 = " generateCreateSiblingActions(";
protected final String TEXT_148 = " descriptors, ";
protected final String TEXT_149 = " selection)" + NL + "\t{" + NL + "\t\t";
@@ -204,11 +337,30 @@
protected final String TEXT_157 = "(activeEditorPart, selection, ";
protected final String TEXT_158 = "descriptor";
protected final String TEXT_159 = "i.next()";
- protected final String TEXT_160 = "));" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn actions;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.ActionContributionItem}s" + NL
- + "\t * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection," + NL + "\t * by inserting them before the specified contribution item <code>contributionID</code>." + NL
- + "\t * If <code>contributionID</code> is <code>null</code>, they are simply added." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void populateManager(";
+ protected final String TEXT_160 = "));"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\treturn actions;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.ActionContributionItem}s"
+ + NL
+ + "\t * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection,"
+ + NL + "\t * by inserting them before the specified contribution item <code>contributionID</code>." + NL
+ + "\t * If <code>contributionID</code> is <code>null</code>, they are simply added." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void populateManager(";
protected final String TEXT_161 = " manager, ";
- protected final String TEXT_162 = " actions, String contributionID)" + NL + "\t{" + NL + "\t\tif (actions != null)" + NL + "\t\t{";
+ protected final String TEXT_162 = " actions, String contributionID)" + NL + "\t{" + NL + "\t\tif (actions != null)"
+ + NL + "\t\t{";
protected final String TEXT_163 = NL + "\t\t\tfor (";
protected final String TEXT_164 = " action : actions)";
protected final String TEXT_165 = NL + "\t\t\tfor (";
@@ -216,73 +368,171 @@
protected final String TEXT_167 = NL + "\t\t\t{";
protected final String TEXT_168 = NL + "\t\t\t\t";
protected final String TEXT_169 = " action = (IAction)i.next();";
- protected final String TEXT_170 = NL + "\t\t\t\tif (contributionID != null)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tmanager.insertBefore(contributionID, action);" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tmanager.add(action);" + NL
- + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "\t\t" + NL + "\t/**" + NL + "\t * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.ActionContributionItem}s" + NL
- + "\t * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected void depopulateManager(";
+ protected final String TEXT_170 = NL
+ + "\t\t\t\tif (contributionID != null)"
+ + NL
+ + "\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\tmanager.insertBefore(contributionID, action);"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t\telse"
+ + NL
+ + "\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\tmanager.add(action);"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.ActionContributionItem}s"
+ + NL
+ + "\t * based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void depopulateManager(";
protected final String TEXT_171 = " manager, ";
- protected final String TEXT_172 = " actions)" + NL + "\t{" + NL + "\t\tif (actions != null)" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_173 = "[] items = manager.getItems();" + NL + "\t\t\tfor (int i = 0; i < items.length; i++)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Look into SubContributionItems" + NL + "\t\t\t\t//" + NL + "\t\t\t\t";
- protected final String TEXT_174 = " contributionItem = items[i];" + NL + "\t\t\t\twhile (contributionItem instanceof ";
+ protected final String TEXT_172 = " actions)" + NL + "\t{" + NL + "\t\tif (actions != null)" + NL + "\t\t{" + NL
+ + "\t\t\t";
+ protected final String TEXT_173 = "[] items = manager.getItems();" + NL
+ + "\t\t\tfor (int i = 0; i < items.length; i++)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Look into SubContributionItems" + NL + "\t\t\t\t//" + NL + "\t\t\t\t";
+ protected final String TEXT_174 = " contributionItem = items[i];" + NL
+ + "\t\t\t\twhile (contributionItem instanceof ";
protected final String TEXT_175 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tcontributionItem = ((";
- protected final String TEXT_176 = ")contributionItem).getInnerItem();" + NL + "\t\t\t\t}" + NL + "" + NL + "\t\t\t\t// Delete the ActionContributionItems with matching action." + NL + "\t\t\t\t//" + NL + "\t\t\t\tif (contributionItem instanceof ";
+ protected final String TEXT_176 = ")contributionItem).getInnerItem();" + NL + "\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t// Delete the ActionContributionItems with matching action." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tif (contributionItem instanceof ";
protected final String TEXT_177 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
protected final String TEXT_178 = " action = ((";
- protected final String TEXT_179 = ")contributionItem).getAction();" + NL + "\t\t\t\t\tif (actions.contains(action))" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tmanager.remove(contributionItem);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL
- + "\t}" + NL;
- protected final String TEXT_180 = NL + "\t/**" + NL + "\t * This extracts those actions in the <code>submenuActions</code> collection whose text is qualified and returns" + NL + "\t * a map of these actions, keyed by submenu text." + NL + "\t * <!-- begin-user-doc -->" + NL
+ protected final String TEXT_179 = ")contributionItem).getAction();" + NL
+ + "\t\t\t\t\tif (actions.contains(action))" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tmanager.remove(contributionItem);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_180 = NL
+ + "\t/**"
+ + NL
+ + "\t * This extracts those actions in the <code>submenuActions</code> collection whose text is qualified and returns"
+ + NL + "\t * a map of these actions, keyed by submenu text." + NL + "\t * <!-- begin-user-doc -->" + NL
+ "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_181 = " extractSubmenuActions(";
protected final String TEXT_182 = " createActions)" + NL + "\t{" + NL + "\t\t";
protected final String TEXT_183 = " createSubmenuActions = new ";
protected final String TEXT_184 = "();" + NL + "\t\tif (createActions != null)" + NL + "\t\t{" + NL + "\t\t\tfor (";
- protected final String TEXT_185 = " actions = createActions.iterator(); actions.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_185 = " actions = createActions.iterator(); actions.hasNext(); )" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t";
protected final String TEXT_186 = " action = ";
protected final String TEXT_187 = "(";
protected final String TEXT_188 = ")";
protected final String TEXT_189 = "actions.next();" + NL + "\t\t\t\t";
protected final String TEXT_190 = " st = new ";
protected final String TEXT_191 = "(action.getText(), \"|\");";
- protected final String TEXT_192 = NL + "\t\t\t\tif (st.countTokens() == 2)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tString text = st.nextToken().trim();" + NL + "\t\t\t\t\t";
+ protected final String TEXT_192 = NL + "\t\t\t\tif (st.countTokens() == 2)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tString text = st.nextToken().trim();" + NL + "\t\t\t\t\t";
protected final String TEXT_193 = " submenuActions = ";
protected final String TEXT_194 = "(";
protected final String TEXT_195 = ")";
- protected final String TEXT_196 = "createSubmenuActions.get(text);" + NL + "\t\t\t\t\tif (submenuActions == null)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tcreateSubmenuActions.put(text, submenuActions = new ";
- protected final String TEXT_197 = "());" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t\taction.setText(st.nextToken().trim());" + NL + "\t\t\t\t\tsubmenuActions.add(action);" + NL + "\t\t\t\t\tactions.remove();" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL
- + "\t\treturn createSubmenuActions;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.MenuManager}s containing" + NL
- + "\t * {@link org.eclipse.jface.action.ActionContributionItem}s based on the {@link org.eclipse.jface.action.IAction}s" + NL + "\t * contained in the <code>submenuActions</code> collection, by inserting them before the specified contribution" + NL
- + "\t * item <code>contributionID</code>." + NL + "\t * If <code>contributionID</code> is <code>null</code>, they are simply added." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected void populateManager(";
+ protected final String TEXT_196 = "createSubmenuActions.get(text);" + NL + "\t\t\t\t\tif (submenuActions == null)"
+ + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tcreateSubmenuActions.put(text, submenuActions = new ";
+ protected final String TEXT_197 = "());"
+ + NL
+ + "\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\taction.setText(st.nextToken().trim());"
+ + NL
+ + "\t\t\t\t\tsubmenuActions.add(action);"
+ + NL
+ + "\t\t\t\t\tactions.remove();"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\treturn createSubmenuActions;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This populates the specified <code>manager</code> with {@link org.eclipse.jface.action.MenuManager}s containing"
+ + NL
+ + "\t * {@link org.eclipse.jface.action.ActionContributionItem}s based on the {@link org.eclipse.jface.action.IAction}s"
+ + NL
+ + "\t * contained in the <code>submenuActions</code> collection, by inserting them before the specified contribution"
+ + NL + "\t * item <code>contributionID</code>." + NL
+ + "\t * If <code>contributionID</code> is <code>null</code>, they are simply added." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void populateManager(";
protected final String TEXT_198 = " manager, ";
- protected final String TEXT_199 = " submenuActions, String contributionID)" + NL + "\t{" + NL + "\t\tif (submenuActions != null)" + NL + "\t\t{";
+ protected final String TEXT_199 = " submenuActions, String contributionID)" + NL + "\t{" + NL
+ + "\t\tif (submenuActions != null)" + NL + "\t\t{";
protected final String TEXT_200 = NL + "\t\t\tfor (";
protected final String TEXT_201 = " entry : submenuActions.entrySet())" + NL + "\t\t\t{";
protected final String TEXT_202 = NL + "\t\t\tfor (";
- protected final String TEXT_203 = " entries = submenuActions.entrySet().iterator(); entries.hasNext();)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_203 = " entries = submenuActions.entrySet().iterator(); entries.hasNext();)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_204 = " entry = (";
protected final String TEXT_205 = ")entries.next();";
protected final String TEXT_206 = NL + "\t\t\t\t";
protected final String TEXT_207 = " submenuManager = new ";
protected final String TEXT_208 = "(";
protected final String TEXT_209 = "(String)";
- protected final String TEXT_210 = "entry.getKey());" + NL + "\t\t\t\tif (contributionID != null)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tmanager.insertBefore(contributionID, submenuManager);" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL
- + "\t\t\t\t\tmanager.add(submenuManager);" + NL + "\t\t\t\t}" + NL + "\t\t\t\tpopulateManager(submenuManager, ";
+ protected final String TEXT_210 = "entry.getKey());" + NL + "\t\t\t\tif (contributionID != null)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tmanager.insertBefore(contributionID, submenuManager);" + NL + "\t\t\t\t}"
+ + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tmanager.add(submenuManager);" + NL + "\t\t\t\t}"
+ + NL + "\t\t\t\tpopulateManager(submenuManager, ";
protected final String TEXT_211 = "(";
protected final String TEXT_212 = ")";
- protected final String TEXT_213 = "entry.getValue(), null);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.MenuManager}s and their" + NL
- + "\t * {@link org.eclipse.jface.action.ActionContributionItem}s based on the {@link org.eclipse.jface.action.IAction}s" + NL + "\t * contained in the <code>submenuActions</code> map." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprotected void depopulateManager(";
+ protected final String TEXT_213 = "entry.getValue(), null);"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.MenuManager}s and their"
+ + NL
+ + "\t * {@link org.eclipse.jface.action.ActionContributionItem}s based on the {@link org.eclipse.jface.action.IAction}s"
+ + NL + "\t * contained in the <code>submenuActions</code> map." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected void depopulateManager(";
protected final String TEXT_214 = " manager, ";
- protected final String TEXT_215 = " submenuActions)" + NL + "\t{" + NL + "\t\tif (submenuActions != null)" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_216 = "[] items = manager.getItems();" + NL + "\t\t\tfor (int i = 0; i < items.length; i++)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_215 = " submenuActions)" + NL + "\t{" + NL + "\t\tif (submenuActions != null)" + NL
+ + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_216 = "[] items = manager.getItems();" + NL
+ + "\t\t\tfor (int i = 0; i < items.length; i++)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_217 = " contributionItem = items[i];" + NL + "\t\t\t\tif (contributionItem instanceof ";
protected final String TEXT_218 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
protected final String TEXT_219 = " submenuManager = (";
- protected final String TEXT_220 = ")contributionItem;" + NL + "\t\t\t\t\tif (submenuActions.containsKey(submenuManager.getMenuText()))" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tdepopulateManager(submenuManager, ";
+ protected final String TEXT_220 = ")contributionItem;" + NL
+ + "\t\t\t\t\tif (submenuActions.containsKey(submenuManager.getMenuText()))" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tdepopulateManager(submenuManager, ";
protected final String TEXT_221 = "(";
protected final String TEXT_222 = ")";
- protected final String TEXT_223 = "submenuActions.get(contributionItem));" + NL + "\t\t\t\t\t\tmanager.remove(contributionItem);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_224 = NL + "\t/**" + NL + "\t * This populates the pop-up menu before it appears." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_223 = "submenuActions.get(contributionItem));" + NL
+ + "\t\t\t\t\t\tmanager.remove(contributionItem);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_224 = NL + "\t/**" + NL + "\t * This populates the pop-up menu before it appears." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_225 = NL + "\t@Override";
protected final String TEXT_226 = NL + "\tpublic void menuAboutToShow(";
protected final String TEXT_227 = " menuManager)" + NL + "\t{" + NL + "\t\tsuper.menuAboutToShow(menuManager);";
@@ -291,23 +541,34 @@
protected final String TEXT_230 = "(";
protected final String TEXT_231 = ".INSTANCE.getString(\"_UI_CreateChild_menu_item\"));";
protected final String TEXT_232 = NL + "\t\tpopulateManager(submenuManager, createChildSubmenuActions, null);";
- protected final String TEXT_233 = NL + "\t\tpopulateManager(submenuManager, createChildActions, null);" + NL + "\t\tmenuManager.insertBefore(\"edit\", submenuManager);";
+ protected final String TEXT_233 = NL + "\t\tpopulateManager(submenuManager, createChildActions, null);" + NL
+ + "\t\tmenuManager.insertBefore(\"edit\", submenuManager);";
protected final String TEXT_234 = NL + NL + "\t\tsubmenuManager = new ";
protected final String TEXT_235 = "(";
protected final String TEXT_236 = ".INSTANCE.getString(\"_UI_CreateSibling_menu_item\"));";
protected final String TEXT_237 = NL + "\t\tpopulateManager(submenuManager, createSiblingSubmenuActions, null);";
- protected final String TEXT_238 = NL + "\t\tpopulateManager(submenuManager, createSiblingActions, null);" + NL + "\t\tmenuManager.insertBefore(\"edit\", submenuManager);";
- protected final String TEXT_239 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This inserts global actions before the \"additions-end\" separator." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_238 = NL + "\t\tpopulateManager(submenuManager, createSiblingActions, null);" + NL
+ + "\t\tmenuManager.insertBefore(\"edit\", submenuManager);";
+ protected final String TEXT_239 = NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This inserts global actions before the \"additions-end\" separator." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_240 = NL + "\t@Override";
protected final String TEXT_241 = NL + "\tprotected void addGlobalActions(";
- protected final String TEXT_242 = " menuManager)" + NL + "\t{" + NL + "\t\tmenuManager.insertAfter(\"additions-end\", new ";
+ protected final String TEXT_242 = " menuManager)" + NL + "\t{" + NL
+ + "\t\tmenuManager.insertAfter(\"additions-end\", new ";
protected final String TEXT_243 = "(\"ui-actions\"));";
protected final String TEXT_244 = NL + "\t\tmenuManager.insertAfter(\"ui-actions\", showPropertiesViewAction);";
- protected final String TEXT_245 = NL + NL + "\t\trefreshViewerAction.setEnabled(refreshViewerAction.isEnabled());\t\t" + NL + "\t\tmenuManager.insertAfter(\"ui-actions\", refreshViewerAction);";
- protected final String TEXT_246 = NL + NL + "\t\tsuper.addGlobalActions(menuManager);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This ensures that a delete action will clean up all references to deleted objects." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_245 = NL + NL
+ + "\t\trefreshViewerAction.setEnabled(refreshViewerAction.isEnabled());\t\t" + NL
+ + "\t\tmenuManager.insertAfter(\"ui-actions\", refreshViewerAction);";
+ protected final String TEXT_246 = NL + NL + "\t\tsuper.addGlobalActions(menuManager);" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * This ensures that a delete action will clean up all references to deleted objects."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_247 = NL + "\t@Override";
- protected final String TEXT_248 = NL + "\tprotected boolean removeAllReferencesOnDelete()" + NL + "\t{" + NL + "\t\treturn true;" + NL + "\t}" + NL + "" + NL + "}";
+ protected final String TEXT_248 = NL + "\tprotected boolean removeAllReferencesOnDelete()" + NL + "\t{" + NL
+ + "\t\treturn true;" + NL + "\t}" + NL + "" + NL + "}";
protected final String TEXT_249 = NL;
protected final String TEXT_250 = NL;
protected final String TEXT_251 = NL;
@@ -383,7 +644,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getEditorDirectory();
@@ -403,9 +665,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -437,14 +701,25 @@
String _LinkedHashMapOfStringToCollectionOfIAction = null;
if (genModel.isCreationCommands()) {
_CollectionOfAnything = genModel.getImportedName("Collection" + (genModel.useGenerics() ? "<?>" : ""));
- _CollectionOfIAction = genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<org.eclipse.jface.action.IAction>" : "java.util.Collection");
- _ArrayListOfIAction = genModel.getImportedName(genModel.useGenerics() ? "java.util.ArrayList<org.eclipse.jface.action.IAction>" : "java.util.ArrayList");
- _CollectionOfExtendsIAction = genModel.getImportedName(genModel.useGenerics() ? "java.util.Collection<? extends org.eclipse.jface.action.IAction>" : "java.util.Collection");
+ _CollectionOfIAction = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.Collection<org.eclipse.jface.action.IAction>"
+ : "java.util.Collection");
+ _ArrayListOfIAction = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.ArrayList<org.eclipse.jface.action.IAction>"
+ : "java.util.ArrayList");
+ _CollectionOfExtendsIAction = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.Collection<? extends org.eclipse.jface.action.IAction>"
+ : "java.util.Collection");
if (genModel.isCreationSubmenus()) {
- _IteratorOfIAction = genModel.getImportedName(genModel.useGenerics() ? "java.util.Iterator<org.eclipse.jface.action.IAction>" : "java.util.Iterator");
- _MapOfStringToCollectionOfIAction = genModel.getImportedName("java.util.Map") + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
- _MapEntryOfStringToCollectionOfIAction = genModel.getImportedName("java.util.Map") + ".Entry" + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
- _LinkedHashMapOfStringToCollectionOfIAction = genModel.getImportedName("java.util.LinkedHashMap") + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ _IteratorOfIAction = genModel
+ .getImportedName(genModel.useGenerics() ? "java.util.Iterator<org.eclipse.jface.action.IAction>"
+ : "java.util.Iterator");
+ _MapOfStringToCollectionOfIAction = genModel.getImportedName("java.util.Map")
+ + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ _MapEntryOfStringToCollectionOfIAction = genModel.getImportedName("java.util.Map") + ".Entry"
+ + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
+ _LinkedHashMapOfStringToCollectionOfIAction = genModel.getImportedName("java.util.LinkedHashMap")
+ + (genModel.useGenerics() ? ("<String, " + _CollectionOfIAction + ">") : "");
}
}
@@ -458,7 +733,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -471,7 +749,8 @@
stringBuffer.append(TEXT_5);
stringBuffer.append(genPackage.getActionBarContributorClassName());
stringBuffer.append(TEXT_6);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor"));
stringBuffer.append(TEXT_7);
stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.ISelectionChangedListener"));
stringBuffer.append(TEXT_8);
@@ -486,7 +765,8 @@
stringBuffer.append(TEXT_12);
stringBuffer.append(genPackage.getPrefix());
stringBuffer.append(TEXT_13);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate"));
stringBuffer.append(TEXT_14);
stringBuffer.append(genModel.getImportedName("org.eclipse.jface.action.IAction"));
stringBuffer.append(TEXT_15);
@@ -971,8 +1251,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
- canGenerate = canGenerate && (genPackage.hasConcreteClasses() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate
+ && (genPackage.hasConcreteClasses() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Advisor.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Advisor.java
index b69cd3a..f4de089 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Advisor.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Advisor.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -32,33 +32,62 @@
protected final String TEXT_4 = NL + "import java.io.File;" + NL + "import java.util.Arrays;";
protected final String TEXT_5 = NL + "import java.util.Iterator;";
protected final String TEXT_6 = NL + "import java.util.List;";
- protected final String TEXT_7 = NL + NL + "import org.eclipse.equinox.app.IApplication;" + NL + "import org.eclipse.equinox.app.IApplicationContext;" + NL + "" + NL + "import org.eclipse.jface.action.GroupMarker;" + NL + "import org.eclipse.jface.action.IAction;" + NL
- + "import org.eclipse.jface.action.IMenuManager;" + NL + "import org.eclipse.jface.action.MenuManager;" + NL + "import org.eclipse.jface.action.Separator;" + NL + "import org.eclipse.jface.dialogs.MessageDialog;" + NL + "import org.eclipse.jface.window.Window;";
+ protected final String TEXT_7 = NL + NL + "import org.eclipse.equinox.app.IApplication;" + NL
+ + "import org.eclipse.equinox.app.IApplicationContext;" + NL + "" + NL
+ + "import org.eclipse.jface.action.GroupMarker;" + NL + "import org.eclipse.jface.action.IAction;" + NL
+ + "import org.eclipse.jface.action.IMenuManager;" + NL + "import org.eclipse.jface.action.MenuManager;"
+ + NL + "import org.eclipse.jface.action.Separator;" + NL
+ + "import org.eclipse.jface.dialogs.MessageDialog;" + NL + "import org.eclipse.jface.window.Window;";
protected final String TEXT_8 = NL + "import org.eclipse.swt.SWT;";
- protected final String TEXT_9 = NL + "import org.eclipse.swt.graphics.Point;" + NL + "import org.eclipse.swt.widgets.Display;";
- protected final String TEXT_10 = NL + "import org.eclipse.swt.widgets.FileDialog;" + NL + "import org.eclipse.swt.widgets.Shell;";
- protected final String TEXT_11 = NL + "import org.eclipse.ui.IEditorDescriptor;" + NL + "import org.eclipse.ui.IFolderLayout;" + NL + "import org.eclipse.ui.IPageLayout;" + NL + "import org.eclipse.ui.IPerspectiveFactory;" + NL + "import org.eclipse.ui.IWorkbench;" + NL
- + "import org.eclipse.ui.IWorkbenchActionConstants;" + NL + "import org.eclipse.ui.IWorkbenchPage;" + NL + "import org.eclipse.ui.IWorkbenchWindow;" + NL + "import org.eclipse.ui.PartInitException;" + NL + "import org.eclipse.ui.PlatformUI;" + NL
- + "import org.eclipse.ui.actions.ActionFactory;";
+ protected final String TEXT_9 = NL + "import org.eclipse.swt.graphics.Point;" + NL
+ + "import org.eclipse.swt.widgets.Display;";
+ protected final String TEXT_10 = NL + "import org.eclipse.swt.widgets.FileDialog;" + NL
+ + "import org.eclipse.swt.widgets.Shell;";
+ protected final String TEXT_11 = NL + "import org.eclipse.ui.IEditorDescriptor;" + NL
+ + "import org.eclipse.ui.IFolderLayout;" + NL + "import org.eclipse.ui.IPageLayout;" + NL
+ + "import org.eclipse.ui.IPerspectiveFactory;" + NL + "import org.eclipse.ui.IWorkbench;" + NL
+ + "import org.eclipse.ui.IWorkbenchActionConstants;" + NL + "import org.eclipse.ui.IWorkbenchPage;" + NL
+ + "import org.eclipse.ui.IWorkbenchWindow;" + NL + "import org.eclipse.ui.PartInitException;" + NL
+ + "import org.eclipse.ui.PlatformUI;" + NL + "import org.eclipse.ui.actions.ActionFactory;";
protected final String TEXT_12 = NL + "import org.eclipse.ui.actions.ContributionItemFactory;";
- protected final String TEXT_13 = NL + "import org.eclipse.ui.application.ActionBarAdvisor;" + NL + "import org.eclipse.ui.application.IActionBarConfigurer;" + NL + "import org.eclipse.ui.application.IWorkbenchConfigurer;" + NL
- + "import org.eclipse.ui.application.IWorkbenchWindowConfigurer;" + NL + "import org.eclipse.ui.application.WorkbenchAdvisor;" + NL + "import org.eclipse.ui.application.WorkbenchWindowAdvisor;" + NL + "" + NL + "import org.eclipse.emf.common.ui.URIEditorInput;" + NL
- + "import org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate;" + NL + "import org.eclipse.emf.common.util.URI;";
+ protected final String TEXT_13 = NL + "import org.eclipse.ui.application.ActionBarAdvisor;" + NL
+ + "import org.eclipse.ui.application.IActionBarConfigurer;" + NL
+ + "import org.eclipse.ui.application.IWorkbenchConfigurer;" + NL
+ + "import org.eclipse.ui.application.IWorkbenchWindowConfigurer;" + NL
+ + "import org.eclipse.ui.application.WorkbenchAdvisor;" + NL
+ + "import org.eclipse.ui.application.WorkbenchWindowAdvisor;" + NL + "" + NL
+ + "import org.eclipse.emf.common.ui.URIEditorInput;" + NL
+ + "import org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate;" + NL
+ + "import org.eclipse.emf.common.util.URI;";
protected final String TEXT_14 = NL + "import org.eclipse.emf.common.util.UniqueEList;";
- protected final String TEXT_15 = NL + "import org.eclipse.emf.edit.ui.action.LoadResourceAction;" + NL + "import org.eclipse.emf.edit.ui.util.EditUIUtil;" + NL + "" + NL + "import ";
+ protected final String TEXT_15 = NL + "import org.eclipse.emf.edit.ui.action.LoadResourceAction;" + NL
+ + "import org.eclipse.emf.edit.ui.util.EditUIUtil;" + NL + "" + NL + "import ";
protected final String TEXT_16 = ";";
- protected final String TEXT_17 = NL + NL + NL + "/**" + NL + " * Customized {@link WorkbenchAdvisor} for the RCP application." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
+ protected final String TEXT_17 = NL + NL + NL + "/**" + NL
+ + " * Customized {@link WorkbenchAdvisor} for the RCP application." + NL + " * <!-- begin-user-doc -->"
+ + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
protected final String TEXT_18 = " extends WorkbenchAdvisor" + NL + "{";
- protected final String TEXT_19 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final String copyright = ";
+ protected final String TEXT_19 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static final String copyright = ";
protected final String TEXT_20 = ";";
protected final String TEXT_21 = NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The default file extension filters for use in dialogs." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The default file extension filters for use in dialogs."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_23 = NL + "\tprivate static final String[] FILE_EXTENSION_FILTERS = ";
protected final String TEXT_24 = "(String[])";
protected final String TEXT_25 = ".FILE_EXTENSION_FILTERS.toArray(new String[0]);";
- protected final String TEXT_26 = NL + "\tprivate static final String[] FILE_EXTENSION_FILTERS = getFileExtensionFilters();" + NL + "" + NL + "\t/**" + NL
- + "\t * Returns the default file extension filters. This method should only be used to initialize {@link #FILE_EXTENSION_FILTERS}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprivate static String[] getFileExtensionFilters()" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_26 = NL
+ + "\tprivate static final String[] FILE_EXTENSION_FILTERS = getFileExtensionFilters();"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Returns the default file extension filters. This method should only be used to initialize {@link #FILE_EXTENSION_FILTERS}."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String[] getFileExtensionFilters()" + NL + "\t{" + NL + "\t\t";
protected final String TEXT_27 = " result = new ";
protected final String TEXT_28 = "();";
protected final String TEXT_29 = NL + "\t\tresult.addAll(";
@@ -67,121 +96,537 @@
protected final String TEXT_32 = "(String[])";
protected final String TEXT_33 = "result.toArray(new String[0]);" + NL + "\t}";
protected final String TEXT_34 = " ";
- protected final String TEXT_35 = NL + NL + "\t/**" + NL + "\t * This looks up a string in the plugin's plugin.properties file." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprivate static String getString(String key)" + NL + "\t{" + NL + "\t\treturn ";
- protected final String TEXT_36 = ".INSTANCE.getString(key);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This looks up a string in plugin.properties, making a substitution." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprivate static String getString(String key, Object s1)" + NL + "\t{" + NL + "\t\treturn ";
- protected final String TEXT_37 = ".INSTANCE.getString(key, new Object [] { s1 });" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * RCP's application" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic static class Application implements IApplication" + NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)" + NL + "\t\t * <!-- begin-user-doc -->" + NL
- + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic Object start(IApplicationContext context) throws Exception" + NL + "\t\t{" + NL + "\t\t\tWorkbenchAdvisor workbenchAdvisor = new ";
- protected final String TEXT_38 = "();" + NL + "\t\t\tDisplay display = PlatformUI.createDisplay();" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\tint returnCode = PlatformUI.createAndRunWorkbench(display, workbenchAdvisor);" + NL
- + "\t\t\t\tif (returnCode == PlatformUI.RETURN_RESTART)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\treturn IApplication.EXIT_RESTART;" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\treturn IApplication.EXIT_OK;" + NL + "\t\t\t\t}" + NL
- + "\t\t\t}" + NL + "\t\t\tfinally" + NL + "\t\t\t{" + NL + "\t\t\t\tdisplay.dispose();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * @see org.eclipse.equinox.app.IApplication#stop()" + NL + "\t\t * <!-- begin-user-doc -->" + NL
- + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic void stop()" + NL + "\t\t{" + NL + "\t\t\t// Do nothing." + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * RCP's perspective" + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class Perspective implements IPerspectiveFactory" + NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * Perspective ID" + NL
- + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic static final String ID_PERSPECTIVE = \"";
+ protected final String TEXT_35 = NL + NL + "\t/**" + NL
+ + "\t * This looks up a string in the plugin's plugin.properties file." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String getString(String key)" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_36 = ".INSTANCE.getString(key);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This looks up a string in plugin.properties, making a substitution." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String getString(String key, Object s1)" + NL + "\t{" + NL
+ + "\t\treturn ";
+ protected final String TEXT_37 = ".INSTANCE.getString(key, new Object [] { s1 });" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * RCP's application" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class Application implements IApplication" + NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)"
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */" + NL + "\t\tpublic Object start(IApplicationContext context) throws Exception" + NL
+ + "\t\t{" + NL + "\t\t\tWorkbenchAdvisor workbenchAdvisor = new ";
+ protected final String TEXT_38 = "();" + NL + "\t\t\tDisplay display = PlatformUI.createDisplay();" + NL
+ + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tint returnCode = PlatformUI.createAndRunWorkbench(display, workbenchAdvisor);" + NL
+ + "\t\t\t\tif (returnCode == PlatformUI.RETURN_RESTART)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\treturn IApplication.EXIT_RESTART;" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\treturn IApplication.EXIT_OK;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\tfinally"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tdisplay.dispose();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "" + NL
+ + "\t\t/**" + NL + "\t\t * @see org.eclipse.equinox.app.IApplication#stop()" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic void stop()" + NL + "\t\t{" + NL + "\t\t\t// Do nothing." + NL + "\t\t}"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * RCP's perspective" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class Perspective implements IPerspectiveFactory" + NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * Perspective ID" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->"
+ + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic static final String ID_PERSPECTIVE = \"";
protected final String TEXT_39 = "Perspective\";";
- protected final String TEXT_40 = NL + NL + "\t\t/**" + NL + "\t\t * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
- + "\t\t */" + NL + "\t\tpublic void createInitialLayout(IPageLayout layout)" + NL + "\t\t{" + NL + "\t\t\tlayout.setEditorAreaVisible(true);" + NL + "\t\t\tlayout.addPerspectiveShortcut(ID_PERSPECTIVE);" + NL + "" + NL
+ protected final String TEXT_40 = NL
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)"
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tpublic void createInitialLayout(IPageLayout layout)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tlayout.setEditorAreaVisible(true);"
+ + NL
+ + "\t\t\tlayout.addPerspectiveShortcut(ID_PERSPECTIVE);"
+ + NL
+ + ""
+ + NL
+ "\t\t\tIFolderLayout right = layout.createFolder(\"right\", IPageLayout.RIGHT, (float)0.66, layout.getEditorArea());";
- protected final String TEXT_41 = NL + "\t\t\tright.addView(IPageLayout.ID_OUTLINE);" + NL + "" + NL + "\t\t\tIFolderLayout bottonRight = layout.createFolder(\"bottonRight\", IPageLayout.BOTTOM, (float)0.60, \"right\");";
- protected final String TEXT_42 = NL + "\t\t\tbottonRight.addView(IPageLayout.ID_PROP_SHEET);" + NL + "\t\t}" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * RCP's window advisor" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class WindowAdvisor extends WorkbenchWindowAdvisor" + NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * @see WorkbenchWindowAdvisor#WorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)" + NL
- + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic WindowAdvisor(IWorkbenchWindowConfigurer configurer)" + NL + "\t\t{" + NL + "\t\t\tsuper(configurer);" + NL + "\t\t}" + NL + "\t\t"
- + NL + "\t\t/**" + NL + "\t\t * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_41 = NL
+ + "\t\t\tright.addView(IPageLayout.ID_OUTLINE);"
+ + NL
+ + ""
+ + NL
+ + "\t\t\tIFolderLayout bottonRight = layout.createFolder(\"bottonRight\", IPageLayout.BOTTOM, (float)0.60, \"right\");";
+ protected final String TEXT_42 = NL
+ + "\t\t\tbottonRight.addView(IPageLayout.ID_PROP_SHEET);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + "\t"
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * RCP's window advisor"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static class WindowAdvisor extends WorkbenchWindowAdvisor"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see WorkbenchWindowAdvisor#WorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)"
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */" + NL + "\t\tpublic WindowAdvisor(IWorkbenchWindowConfigurer configurer)" + NL + "\t\t{"
+ + NL + "\t\t\tsuper(configurer);" + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL
+ + "\t\t * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */";
protected final String TEXT_43 = NL + "\t\t@Override";
- protected final String TEXT_44 = NL + "\t\tpublic void preWindowOpen()" + NL + "\t\t{" + NL + "\t\t\tIWorkbenchWindowConfigurer configurer = getWindowConfigurer();" + NL + "\t\t\tconfigurer.setInitialSize(new Point(600, 450));" + NL
- + "\t\t\tconfigurer.setShowCoolBar(false);" + NL + "\t\t\tconfigurer.setShowStatusLine(true);" + NL + "\t\t\tconfigurer.setTitle(getString(\"_UI_Application_title\"));";
- protected final String TEXT_45 = NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL + "\t\t * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)" + NL + "\t\t * <!-- begin-user-doc -->" + NL
- + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_44 = NL + "\t\tpublic void preWindowOpen()" + NL + "\t\t{" + NL
+ + "\t\t\tIWorkbenchWindowConfigurer configurer = getWindowConfigurer();" + NL
+ + "\t\t\tconfigurer.setInitialSize(new Point(600, 450));" + NL + "\t\t\tconfigurer.setShowCoolBar(false);"
+ + NL + "\t\t\tconfigurer.setShowStatusLine(true);" + NL
+ + "\t\t\tconfigurer.setTitle(getString(\"_UI_Application_title\"));";
+ protected final String TEXT_45 = NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)"
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */";
protected final String TEXT_46 = NL + "\t\t@Override";
- protected final String TEXT_47 = NL + "\t\tpublic ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer)" + NL + "\t\t{" + NL + "\t\t\treturn new WindowActionBarAdvisor(configurer);" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * RCP's action bar advisor" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class WindowActionBarAdvisor extends ActionBarAdvisor" + NL + "\t{" + NL + "\t\t/**" + NL
- + "\t\t * @see ActionBarAdvisor#ActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
- + "\t\tpublic WindowActionBarAdvisor(IActionBarConfigurer configurer)" + NL + "\t\t{" + NL + "\t\t\tsuper(configurer);" + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL
- + "\t\t * @see org.eclipse.ui.application.ActionBarAdvisor#fillMenuBar(org.eclipse.jface.action.IMenuManager)" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_47 = NL
+ + "\t\tpublic ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\treturn new WindowActionBarAdvisor(configurer);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * RCP's action bar advisor"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static class WindowActionBarAdvisor extends ActionBarAdvisor"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see ActionBarAdvisor#ActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)"
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tpublic WindowActionBarAdvisor(IActionBarConfigurer configurer)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tsuper(configurer);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * @see org.eclipse.ui.application.ActionBarAdvisor#fillMenuBar(org.eclipse.jface.action.IMenuManager)"
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */";
protected final String TEXT_48 = NL + "\t\t@Override";
- protected final String TEXT_49 = NL + "\t\tprotected void fillMenuBar(IMenuManager menuBar)" + NL + "\t\t{" + NL + "\t\t\tIWorkbenchWindow window = getActionBarConfigurer().getWindowConfigurer().getWindow();" + NL + "\t\t\tmenuBar.add(createFileMenu(window));" + NL
- + "\t\t\tmenuBar.add(createEditMenu(window));" + NL + "\t\t\tmenuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t\t\tmenuBar.add(createWindowMenu(window));" + NL + "\t\t\tmenuBar.add(createHelpMenu(window));\t\t\t\t\t" + NL + "\t\t}" + NL
- + "\t\t" + NL + "\t\t/**" + NL + "\t\t * Creates the 'File' menu." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected IMenuManager createFileMenu(IWorkbenchWindow window)"
- + NL + "\t\t{" + NL + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_File_label\"),";
- protected final String TEXT_50 = NL + "\t\t\tIWorkbenchActionConstants.M_FILE); " + NL + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.FILE_START));" + NL + "\t" + NL + "\t\t\tIMenuManager newMenu = new MenuManager(getString(\"_UI_Menu_New_label\"), \"new\");";
- protected final String TEXT_51 = NL + "\t\t\tnewMenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t" + NL + "\t\t\tmenu.add(newMenu);" + NL + "\t\t\tmenu.add(new Separator());" + NL
- + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t\t\tmenu.add(new Separator());" + NL + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CLOSE.create(window));" + NL
- + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CLOSE_ALL.create(window));" + NL + "\t\t\tmenu.add(new Separator());" + NL + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE.create(window));" + NL
- + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE_AS.create(window));" + NL + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE_ALL.create(window));" + NL + "\t\t\tmenu.add(new Separator());" + NL
- + "\t\t\taddToMenuAndRegister(menu, ActionFactory.QUIT.create(window));" + NL + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.FILE_END));" + NL + "\t\t\treturn menu;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * Creates the 'Edit' menu." + NL
- + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected IMenuManager createEditMenu(IWorkbenchWindow window)" + NL + "\t\t{" + NL
+ protected final String TEXT_49 = NL + "\t\tprotected void fillMenuBar(IMenuManager menuBar)" + NL + "\t\t{" + NL
+ + "\t\t\tIWorkbenchWindow window = getActionBarConfigurer().getWindowConfigurer().getWindow();" + NL
+ + "\t\t\tmenuBar.add(createFileMenu(window));" + NL + "\t\t\tmenuBar.add(createEditMenu(window));" + NL
+ + "\t\t\tmenuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL
+ + "\t\t\tmenuBar.add(createWindowMenu(window));" + NL
+ + "\t\t\tmenuBar.add(createHelpMenu(window));\t\t\t\t\t" + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL
+ + "\t\t * Creates the 'File' menu." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tprotected IMenuManager createFileMenu(IWorkbenchWindow window)" + NL + "\t\t{" + NL
+ + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_File_label\"),";
+ protected final String TEXT_50 = NL + "\t\t\tIWorkbenchActionConstants.M_FILE); " + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.FILE_START));" + NL + "\t" + NL
+ + "\t\t\tIMenuManager newMenu = new MenuManager(getString(\"_UI_Menu_New_label\"), \"new\");";
+ protected final String TEXT_51 = NL + "\t\t\tnewMenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));"
+ + NL + "\t" + NL + "\t\t\tmenu.add(newMenu);" + NL + "\t\t\tmenu.add(new Separator());" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CLOSE.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CLOSE_ALL.create(window));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE_AS.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SAVE_ALL.create(window));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.QUIT.create(window));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.FILE_END));" + NL + "\t\t\treturn menu;" + NL
+ + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * Creates the 'Edit' menu." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tprotected IMenuManager createEditMenu(IWorkbenchWindow window)" + NL + "\t\t{" + NL
+ "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_Edit_label\"),";
- protected final String TEXT_52 = NL + "\t\t\tIWorkbenchActionConstants.M_EDIT);" + NL + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_START));" + NL + "\t" + NL + "\t\t\taddToMenuAndRegister(menu, ActionFactory.UNDO.create(window));" + NL
- + "\t\t\taddToMenuAndRegister(menu, ActionFactory.REDO.create(window));" + NL + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.UNDO_EXT));" + NL + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL
- + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CUT.create(window));" + NL + "\t\t\taddToMenuAndRegister(menu, ActionFactory.COPY.create(window));" + NL + "\t\t\taddToMenuAndRegister(menu, ActionFactory.PASTE.create(window));" + NL
- + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.CUT_EXT));" + NL + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL + "\t\t\taddToMenuAndRegister(menu, ActionFactory.DELETE.create(window));" + NL
- + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SELECT_ALL.create(window));" + NL + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.ADD_EXT));" + NL + "\t" + NL
- + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_END));" + NL + "\t\t\tmenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t\t\treturn menu;" + NL + "\t\t}" + NL + "\t" + NL + "\t\t/**" + NL + "\t\t * Creates the 'Window' menu."
- + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected IMenuManager createWindowMenu(IWorkbenchWindow window)" + NL + "\t\t{" + NL
- + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_Window_label\"),";
- protected final String TEXT_53 = NL + "\t\t\tIWorkbenchActionConstants.M_WINDOW);" + NL + "\t" + NL + "\t\t\taddToMenuAndRegister(menu, ActionFactory.OPEN_NEW_WINDOW.create(window));" + NL + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));";
+ protected final String TEXT_52 = NL + "\t\t\tIWorkbenchActionConstants.M_EDIT);" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_START));" + NL + "\t" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.UNDO.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.REDO.create(window));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.UNDO_EXT));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.CUT.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.COPY.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.PASTE.create(window));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.CUT_EXT));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.DELETE.create(window));" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.SELECT_ALL.create(window));" + NL
+ + "\t\t\tmenu.add(new Separator());" + NL + "\t" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.ADD_EXT));" + NL + "\t" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.EDIT_END));" + NL
+ + "\t\t\tmenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t\t\treturn menu;" + NL
+ + "\t\t}" + NL + "\t" + NL + "\t\t/**" + NL + "\t\t * Creates the 'Window' menu." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tprotected IMenuManager createWindowMenu(IWorkbenchWindow window)" + NL + "\t\t{"
+ + NL + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_Window_label\"),";
+ protected final String TEXT_53 = NL + "\t\t\tIWorkbenchActionConstants.M_WINDOW);" + NL + "\t" + NL
+ + "\t\t\taddToMenuAndRegister(menu, ActionFactory.OPEN_NEW_WINDOW.create(window));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));";
protected final String TEXT_54 = NL + "\t\t\tmenu.add(ContributionItemFactory.OPEN_WINDOWS.create(window));";
- protected final String TEXT_55 = NL + "\t" + NL + "\t\t\treturn menu;" + NL + "\t\t}" + NL + "\t" + NL + "\t\t/**" + NL + "\t\t * Creates the 'Help' menu." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
- + "\t\t */" + NL + "\t\tprotected IMenuManager createHelpMenu(IWorkbenchWindow window)" + NL + "\t\t{" + NL + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_Help_label\"), IWorkbenchActionConstants.M_HELP);";
- protected final String TEXT_56 = NL + "\t\t\t// Welcome or intro page would go here" + NL + "\t\t\t// Help contents would go here" + NL + "\t\t\t// Tips and tricks page would go here" + NL + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.HELP_START));" + NL
- + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.HELP_END));" + NL + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t\t\treturn menu;" + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL
- + "\t\t * Adds the specified action to the given menu and also registers the action with the" + NL + "\t\t * action bar configurer, in order to activate its key binding." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
- + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected void addToMenuAndRegister(IMenuManager menuManager, IAction action)" + NL + "\t\t{" + NL + "\t\t\tmenuManager.add(action);" + NL + "\t\t\tgetActionBarConfigurer().registerGlobalAction(action);" + NL
- + "\t\t}" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * About action for the RCP application." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic static class AboutAction extends WorkbenchWindowActionDelegate" + NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)" + NL + "\t\t * <!-- begin-user-doc -->" + NL
- + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic void run(IAction action)" + NL + "\t\t{" + NL + "\t\t\tMessageDialog.openInformation(getWindow().getShell(), getString(\"_UI_About_title\"),";
+ protected final String TEXT_55 = NL
+ + "\t"
+ + NL
+ + "\t\t\treturn menu;"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * Creates the 'Help' menu."
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tprotected IMenuManager createHelpMenu(IWorkbenchWindow window)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tIMenuManager menu = new MenuManager(getString(\"_UI_Menu_Help_label\"), IWorkbenchActionConstants.M_HELP);";
+ protected final String TEXT_56 = NL + "\t\t\t// Welcome or intro page would go here" + NL
+ + "\t\t\t// Help contents would go here" + NL + "\t\t\t// Tips and tricks page would go here" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.HELP_START));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.HELP_END));" + NL
+ + "\t\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));" + NL + "\t\t\treturn menu;"
+ + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t/**" + NL
+ + "\t\t * Adds the specified action to the given menu and also registers the action with the" + NL
+ + "\t\t * action bar configurer, in order to activate its key binding." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tprotected void addToMenuAndRegister(IMenuManager menuManager, IAction action)" + NL
+ + "\t\t{" + NL + "\t\t\tmenuManager.add(action);" + NL
+ + "\t\t\tgetActionBarConfigurer().registerGlobalAction(action);" + NL + "\t\t}" + NL + "\t}" + NL + "\t"
+ + NL + "\t/**" + NL + "\t * About action for the RCP application." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class AboutAction extends WorkbenchWindowActionDelegate" + NL + "\t{" + NL + "\t\t/**"
+ + NL + "\t\t * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic void run(IAction action)" + NL + "\t\t{" + NL
+ + "\t\t\tMessageDialog.openInformation(getWindow().getShell(), getString(\"_UI_About_title\"),";
protected final String TEXT_57 = NL + "\t\t\tgetString(\"_UI_About_text\"));";
protected final String TEXT_58 = NL + "\t\t}" + NL + "\t}" + NL + "\t";
protected final String TEXT_59 = NL + "\t/**" + NL + "\t * Open action for the objects from the ";
- protected final String TEXT_60 = " model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class OpenAction extends WorkbenchWindowActionDelegate" + NL + "\t{" + NL + "\t\t/**" + NL
- + "\t\t * Opens the editors for the files selected using the file dialog." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic void run(IAction action)" + NL + "\t\t{" + NL
- + "\t\t\tString[] filePaths = openFilePathDialog(getWindow().getShell(), SWT.OPEN, null);" + NL + "\t\t\tif (filePaths.length > 0)" + NL + "\t\t\t{" + NL + "\t\t\t\topenEditor(getWindow().getWorkbench(), URI.createFileURI(filePaths[0]));" + NL + "\t\t\t}" + NL
+ protected final String TEXT_60 = " model." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static class OpenAction extends WorkbenchWindowActionDelegate" + NL + "\t{" + NL + "\t\t/**"
+ + NL + "\t\t * Opens the editors for the files selected using the file dialog." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic void run(IAction action)" + NL + "\t\t{" + NL
+ + "\t\t\tString[] filePaths = openFilePathDialog(getWindow().getShell(), SWT.OPEN, null);" + NL
+ + "\t\t\tif (filePaths.length > 0)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\topenEditor(getWindow().getWorkbench(), URI.createFileURI(filePaths[0]));" + NL + "\t\t\t}" + NL
+ "\t\t}" + NL + "\t}";
protected final String TEXT_61 = NL + "\t" + NL + "\t/**" + NL + "\t * Open URI action for the objects from the ";
- protected final String TEXT_62 = " model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class OpenURIAction extends WorkbenchWindowActionDelegate" + NL + "\t{" + NL + "\t\t/**" + NL
- + "\t\t * Opens the editors for the files selected using the LoadResourceDialog." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic void run(IAction action)" + NL + "\t\t{"
- + NL + "\t\t\tLoadResourceAction.LoadResourceDialog loadResourceDialog = new LoadResourceAction.LoadResourceDialog(getWindow().getShell());" + NL + "\t\t\tif (Window.OK == loadResourceDialog.open())" + NL + "\t\t\t{";
- protected final String TEXT_63 = NL + "\t\t\t\tfor (URI uri : loadResourceDialog.getURIs())" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\topenEditor(getWindow().getWorkbench(), uri);" + NL + "\t\t\t\t}";
- protected final String TEXT_64 = NL + "\t\t\t\tfor (Iterator i = loadResourceDialog.getURIs().iterator(); i.hasNext();)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\topenEditor(getWindow().getWorkbench(), (URI)i.next());" + NL + "\t\t\t\t}";
+ protected final String TEXT_62 = " model."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static class OpenURIAction extends WorkbenchWindowActionDelegate"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * Opens the editors for the files selected using the LoadResourceDialog."
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tpublic void run(IAction action)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tLoadResourceAction.LoadResourceDialog loadResourceDialog = new LoadResourceAction.LoadResourceDialog(getWindow().getShell());"
+ + NL + "\t\t\tif (Window.OK == loadResourceDialog.open())" + NL + "\t\t\t{";
+ protected final String TEXT_63 = NL + "\t\t\t\tfor (URI uri : loadResourceDialog.getURIs())" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\topenEditor(getWindow().getWorkbench(), uri);" + NL + "\t\t\t\t}";
+ protected final String TEXT_64 = NL
+ + "\t\t\t\tfor (Iterator i = loadResourceDialog.getURIs().iterator(); i.hasNext();)" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\topenEditor(getWindow().getWorkbench(), (URI)i.next());" + NL + "\t\t\t\t}";
protected final String TEXT_65 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "\t";
- protected final String TEXT_66 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static String[] openFilePathDialog(Shell shell, int style, String[] fileExtensionFilters)" + NL
- + "\t{" + NL + "\t\treturn openFilePathDialog(shell, style, fileExtensionFilters, (style & SWT.OPEN) != 0, (style & SWT.OPEN) != 0, (style & SWT.SAVE) != 0);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static String[] openFilePathDialog(Shell shell, int style, String[] fileExtensionFilters, boolean includeGroupFilter, boolean includeAllFilter, boolean addExtension)" + NL + "\t{"
- + NL + "\t\tFileDialog fileDialog = new FileDialog(shell, style);" + NL + "\t\tif (fileExtensionFilters == null)" + NL + "\t\t{" + NL + "\t\t\tfileExtensionFilters = FILE_EXTENSION_FILTERS;" + NL + "\t\t}" + NL + "\t\t" + NL
- + "\t\t// If requested, augment the file extension filters by adding a group of all the other filters (*.ext1;*.ext2;...)" + NL + "\t\t// at the beginning and/or an all files wildcard (*.*) at the end." + NL + "\t\t//" + NL
- + "\t\tincludeGroupFilter &= fileExtensionFilters.length > 1;" + NL + "\t\tint offset = includeGroupFilter ? 1 : 0;" + NL + "\t\t" + NL + "\t\tif (includeGroupFilter || includeAllFilter)" + NL + "\t\t{" + NL
- + "\t\t\tint size = fileExtensionFilters.length + offset + (includeAllFilter ? 1 : 0);" + NL + "\t\t\tString[] allFilters = new String[size];" + NL + "\t\t\t";
+ protected final String TEXT_66 = NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static String[] openFilePathDialog(Shell shell, int style, String[] fileExtensionFilters)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn openFilePathDialog(shell, style, fileExtensionFilters, (style & SWT.OPEN) != 0, (style & SWT.OPEN) != 0, (style & SWT.SAVE) != 0);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic static String[] openFilePathDialog(Shell shell, int style, String[] fileExtensionFilters, boolean includeGroupFilter, boolean includeAllFilter, boolean addExtension)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tFileDialog fileDialog = new FileDialog(shell, style);"
+ + NL
+ + "\t\tif (fileExtensionFilters == null)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tfileExtensionFilters = FILE_EXTENSION_FILTERS;"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t// If requested, augment the file extension filters by adding a group of all the other filters (*.ext1;*.ext2;...)"
+ + NL + "\t\t// at the beginning and/or an all files wildcard (*.*) at the end." + NL + "\t\t//" + NL
+ + "\t\tincludeGroupFilter &= fileExtensionFilters.length > 1;" + NL
+ + "\t\tint offset = includeGroupFilter ? 1 : 0;" + NL + "\t\t" + NL
+ + "\t\tif (includeGroupFilter || includeAllFilter)" + NL + "\t\t{" + NL
+ + "\t\t\tint size = fileExtensionFilters.length + offset + (includeAllFilter ? 1 : 0);" + NL
+ + "\t\t\tString[] allFilters = new String[size];" + NL + "\t\t\t";
protected final String TEXT_67 = " group = includeGroupFilter ? new ";
- protected final String TEXT_68 = "() : null;" + NL + "\t\t\t" + NL + "\t\t\tfor (int i = 0; i < fileExtensionFilters.length; i++)" + NL + "\t\t\t{" + NL + "\t\t\t\tif (includeGroupFilter)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tif (i != 0)" + NL + "\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\tgroup.append(';');" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t\tgroup.append(fileExtensionFilters[i]);" + NL + "\t\t\t\t}" + NL + "\t\t\t\tallFilters[i + offset] = fileExtensionFilters[i];" + NL + "\t\t\t}" + NL + "\t\t\t" + NL
- + "\t\t\tif (includeGroupFilter)" + NL + "\t\t\t{" + NL + "\t\t\t\tallFilters[0] = group.toString();" + NL + "\t\t\t}" + NL + "\t\t\tif (includeAllFilter)" + NL + "\t\t\t{" + NL + "\t\t\t\tallFilters[allFilters.length - 1] = \"*.*\";";
- protected final String TEXT_69 = NL + "\t\t\t}" + NL + "\t\t\t" + NL + "\t\t\tfileDialog.setFilterExtensions(allFilters);" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL + "\t\t\tfileDialog.setFilterExtensions(fileExtensionFilters);" + NL + "\t\t}" + NL
- + "\t\tfileDialog.open();" + NL + "\t\t" + NL + "\t\tString[] filenames = fileDialog.getFileNames();" + NL + "\t\tString[] result = new String[filenames.length];" + NL + "\t\tString path = fileDialog.getFilterPath() + File.separator;" + NL
- + "\t\tString extension = null;" + NL + "\t\t" + NL + "\t\t// If extension adding requested, get the dotted extension corresponding to the selected filter." + NL + "\t\t//" + NL + "\t\tif (addExtension)" + NL + "\t\t{" + NL
- + "\t\t\tint i = fileDialog.getFilterIndex();" + NL + "\t\t\tif (i != -1 && (!includeAllFilter || i != fileExtensionFilters.length))" + NL + "\t\t\t{" + NL + "\t\t\t\ti = includeGroupFilter && i == 0 ? 0 : i - offset;" + NL
- + "\t\t\t\tString filter = fileExtensionFilters[i];" + NL + "\t\t\t\tint dot = filter.lastIndexOf('.');" + NL + "\t\t\t\tif (dot == 1 && filter.charAt(0) == '*')" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\textension = filter.substring(dot);" + NL + "\t\t\t\t}" + NL
- + "\t\t\t}" + NL + "\t\t}" + NL + "\t\t" + NL + "\t\t// Build the result by adding the selected path and, if needed, auto-appending the extension." + NL + "\t\t//" + NL + "\t\tfor (int i = 0; i < filenames.length; i++)" + NL + "\t\t{" + NL
- + "\t\t\tString filename = path + filenames[i];" + NL + "\t\t\tif (extension != null)" + NL + "\t\t\t{" + NL + "\t\t\t\tint dot = filename.lastIndexOf('.');" + NL
+ protected final String TEXT_68 = "() : null;" + NL + "\t\t\t" + NL
+ + "\t\t\tfor (int i = 0; i < fileExtensionFilters.length; i++)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tif (includeGroupFilter)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tif (i != 0)" + NL + "\t\t\t\t\t{"
+ + NL + "\t\t\t\t\t\tgroup.append(';');" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\tgroup.append(fileExtensionFilters[i]);" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tallFilters[i + offset] = fileExtensionFilters[i];" + NL + "\t\t\t}" + NL + "\t\t\t" + NL
+ + "\t\t\tif (includeGroupFilter)" + NL + "\t\t\t{" + NL + "\t\t\t\tallFilters[0] = group.toString();" + NL
+ + "\t\t\t}" + NL + "\t\t\tif (includeAllFilter)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tallFilters[allFilters.length - 1] = \"*.*\";";
+ protected final String TEXT_69 = NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t\t"
+ + NL
+ + "\t\t\tfileDialog.setFilterExtensions(allFilters);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\telse"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tfileDialog.setFilterExtensions(fileExtensionFilters);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\tfileDialog.open();"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\tString[] filenames = fileDialog.getFileNames();"
+ + NL
+ + "\t\tString[] result = new String[filenames.length];"
+ + NL
+ + "\t\tString path = fileDialog.getFilterPath() + File.separator;"
+ + NL
+ + "\t\tString extension = null;"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t// If extension adding requested, get the dotted extension corresponding to the selected filter."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tif (addExtension)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tint i = fileDialog.getFilterIndex();"
+ + NL
+ + "\t\t\tif (i != -1 && (!includeAllFilter || i != fileExtensionFilters.length))"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\ti = includeGroupFilter && i == 0 ? 0 : i - offset;"
+ + NL
+ + "\t\t\t\tString filter = fileExtensionFilters[i];"
+ + NL
+ + "\t\t\t\tint dot = filter.lastIndexOf('.');"
+ + NL
+ + "\t\t\t\tif (dot == 1 && filter.charAt(0) == '*')"
+ + NL
+ + "\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\textension = filter.substring(dot);"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t// Build the result by adding the selected path and, if needed, auto-appending the extension."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tfor (int i = 0; i < filenames.length; i++)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tString filename = path + filenames[i];"
+ + NL
+ + "\t\t\tif (extension != null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tint dot = filename.lastIndexOf('.');"
+ + NL
+ "\t\t\t\tif (dot == -1 || !Arrays.asList(fileExtensionFilters).contains(\"*\" + filename.substring(dot)))";
- protected final String TEXT_70 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tfilename += extension;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\tresult[i] = filename;" + NL + "\t\t}" + NL + "\t\treturn result;" + NL + "\t}";
- protected final String TEXT_71 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static boolean openEditor(IWorkbench workbench, URI uri)" + NL + "\t{" + NL
- + "\t\tIWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow();" + NL + "\t\tIWorkbenchPage page = workbenchWindow.getActivePage();" + NL + "\t\t" + NL + "\t\tIEditorDescriptor editorDescriptor = EditUIUtil.getDefaultEditor(uri, null);" + NL
- + "\t\tif (editorDescriptor == null)" + NL + "\t\t{" + NL + "\t\t\tMessageDialog.openError(" + NL + "\t\t\t\tworkbenchWindow.getShell()," + NL + "\t\t\t\tgetString(\"_UI_Error_title\"),";
+ protected final String TEXT_70 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tfilename += extension;" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}" + NL + "\t\t\tresult[i] = filename;" + NL + "\t\t}" + NL + "\t\treturn result;" + NL + "\t}";
+ protected final String TEXT_71 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static boolean openEditor(IWorkbench workbench, URI uri)" + NL + "\t{" + NL
+ + "\t\tIWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow();" + NL
+ + "\t\tIWorkbenchPage page = workbenchWindow.getActivePage();" + NL + "\t\t" + NL
+ + "\t\tIEditorDescriptor editorDescriptor = EditUIUtil.getDefaultEditor(uri, null);" + NL
+ + "\t\tif (editorDescriptor == null)" + NL + "\t\t{" + NL + "\t\t\tMessageDialog.openError(" + NL
+ + "\t\t\t\tworkbenchWindow.getShell()," + NL + "\t\t\t\tgetString(\"_UI_Error_title\"),";
protected final String TEXT_72 = NL + "\t\t\t\tgetString(\"_WARN_No_Editor\", uri.lastSegment()));";
- protected final String TEXT_73 = NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\tpage.openEditor(new URIEditorInput(uri), editorDescriptor.getId());" + NL + "\t\t\t}" + NL
- + "\t\t\tcatch (PartInitException exception)" + NL + "\t\t\t{" + NL + "\t\t\t\tMessageDialog.openError(" + NL + "\t\t\t\t\tworkbenchWindow.getShell()," + NL + "\t\t\t\t\tgetString(\"_UI_OpenEditorError_label\"),";
- protected final String TEXT_74 = NL + "\t\t\t\t\texception.getMessage());" + NL + "\t\t\t\treturn false;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn true;" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL
- + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#getInitialWindowPerspectiveId()" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_73 = NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL
+ + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tpage.openEditor(new URIEditorInput(uri), editorDescriptor.getId());" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (PartInitException exception)" + NL + "\t\t\t{" + NL + "\t\t\t\tMessageDialog.openError("
+ + NL + "\t\t\t\t\tworkbenchWindow.getShell()," + NL + "\t\t\t\t\tgetString(\"_UI_OpenEditorError_label\"),";
+ protected final String TEXT_74 = NL + "\t\t\t\t\texception.getMessage());" + NL + "\t\t\t\treturn false;" + NL
+ + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn true;" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL
+ + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#getInitialWindowPerspectiveId()" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_75 = NL + "\t\t@Override";
- protected final String TEXT_76 = NL + "\tpublic String getInitialWindowPerspectiveId()" + NL + "\t{" + NL + "\t\treturn Perspective.ID_PERSPECTIVE;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#initialize(org.eclipse.ui.application.IWorkbenchConfigurer)" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_76 = NL
+ + "\tpublic String getInitialWindowPerspectiveId()"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn Perspective.ID_PERSPECTIVE;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#initialize(org.eclipse.ui.application.IWorkbenchConfigurer)"
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_77 = NL + "\t\t@Override";
- protected final String TEXT_78 = NL + "\tpublic void initialize(IWorkbenchConfigurer configurer)" + NL + "\t{" + NL + "\t\tsuper.initialize(configurer);" + NL + "\t\tconfigurer.setSaveAndRestore(true);" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL
- + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_78 = NL
+ + "\tpublic void initialize(IWorkbenchConfigurer configurer)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tsuper.initialize(configurer);"
+ + NL
+ + "\t\tconfigurer.setSaveAndRestore(true);"
+ + NL
+ + "\t}"
+ + NL
+ + "\t"
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * @see org.eclipse.ui.application.WorkbenchAdvisor#createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)"
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_79 = NL + "\t\t@Override";
- protected final String TEXT_80 = NL + "\tpublic WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer)" + NL + "\t{" + NL + "\t\treturn new WindowAdvisor(configurer);" + NL + "\t}" + NL + "}";
+ protected final String TEXT_80 = NL
+ + "\tpublic WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer)"
+ + NL + "\t{" + NL + "\t\treturn new WindowAdvisor(configurer);" + NL + "\t}" + NL + "}";
protected final String TEXT_81 = NL;
protected final String TEXT_82 = NL;
protected final String TEXT_83 = NL;
@@ -257,7 +702,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPath = genModel.getEditorPluginDirectory();
@@ -277,9 +723,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -301,7 +749,8 @@
GenModel genModel = (GenModel) argument;
String _ListOfString = "List" + (genModel.useGenerics() ? "<String>" : "");
String _UniqueEListOfString = "UniqueEList" + (genModel.useGenerics() ? "<String>" : "");
- String _StringBuilder = genModel.getImportedName(genModel.useGenerics() ? "java.lang.StringBuilder" : "java.lang.StringBuffer");
+ String _StringBuilder = genModel.getImportedName(genModel.useGenerics() ? "java.lang.StringBuilder"
+ : "java.lang.StringBuffer");
stringBuffer.append(TEXT_1);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
@@ -312,7 +761,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -365,7 +817,8 @@
if (!genModel.useGenerics()) {
stringBuffer.append(TEXT_24);
}
- stringBuffer.append(genModel.getAllGenPackagesWithConcreteClasses().get(0).getImportedEditorClassName());
+ stringBuffer
+ .append(genModel.getAllGenPackagesWithConcreteClasses().get(0).getImportedEditorClassName());
stringBuffer.append(TEXT_25);
} else {
stringBuffer.append(TEXT_26);
@@ -488,7 +941,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && (genModel.isRichClientPlatform());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/AppEngineWebXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/AppEngineWebXML.java
index 352f65b..37127ee 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/AppEngineWebXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/AppEngineWebXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,8 +28,10 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "<appengine-web-app xmlns=\"http://appengine.google.com/ns/1.0\">" + NL + "\t<application>";
- protected final String TEXT_4 = "-editor</application>" + NL + "\t<version>1</version>" + NL + "</appengine-web-app>" + NL;
+ protected final String TEXT_3 = NL + "<appengine-web-app xmlns=\"http://appengine.google.com/ns/1.0\">" + NL
+ + "\t<application>";
+ protected final String TEXT_4 = "-editor</application>" + NL + "\t<version>1</version>" + NL
+ + "</appengine-web-app>" + NL;
protected final String TEXT_5 = NL;
protected final String TEXT_6 = NL;
@@ -104,7 +106,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditorProjectDirectory() + "/war/WEB-INF/appengine-web.xml";
@@ -124,9 +127,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -158,7 +163,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -172,7 +180,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/BuildProperties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/BuildProperties.java
index 9d35fff..c3cccc5 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/BuildProperties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/BuildProperties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -113,11 +113,14 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditorProjectDirectory() + "/build.properties";
- overwrite = genModel.isUpdateClasspath() && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(genModel.getEditorProjectDirectory()).appendSegment("plugin.xml"));
+ overwrite = genModel.isUpdateClasspath()
+ && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(
+ genModel.getEditorProjectDirectory()).appendSegment("plugin.xml"));
encoding = "ISO-8859-1";
InternalPatternContext ictx = (InternalPatternContext) ctx;
@@ -133,9 +136,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -167,7 +172,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -214,7 +222,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && true;
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Editor.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Editor.java
index a151b34..0efa9fb 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Editor.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Editor.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,69 +28,125 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
- protected final String TEXT_3 = ";" + NL + "" + NL + "" + NL + "import java.io.IOException;" + NL + "import java.io.InputStream;" + NL + "" + NL + "import java.util.ArrayList;" + NL + "import java.util.Collection;" + NL + "import java.util.Collections;" + NL
- + "import java.util.EventObject;" + NL + "import java.util.HashMap;" + NL + "import java.util.Iterator;" + NL + "import java.util.LinkedHashMap;" + NL + "import java.util.List;" + NL + "import java.util.Map;";
- protected final String TEXT_4 = NL + NL + "import org.eclipse.core.resources.IFile;" + NL + "import org.eclipse.core.resources.IMarker;" + NL + "import org.eclipse.core.resources.IResource;" + NL + "import org.eclipse.core.resources.IResourceChangeEvent;" + NL
- + "import org.eclipse.core.resources.IResourceChangeListener;" + NL + "import org.eclipse.core.resources.IResourceDelta;" + NL + "import org.eclipse.core.resources.IResourceDeltaVisitor;" + NL + "import org.eclipse.core.resources.ResourcesPlugin;";
+ protected final String TEXT_3 = ";" + NL + "" + NL + "" + NL + "import java.io.IOException;" + NL
+ + "import java.io.InputStream;" + NL + "" + NL + "import java.util.ArrayList;" + NL
+ + "import java.util.Collection;" + NL + "import java.util.Collections;" + NL
+ + "import java.util.EventObject;" + NL + "import java.util.HashMap;" + NL + "import java.util.Iterator;"
+ + NL + "import java.util.LinkedHashMap;" + NL + "import java.util.List;" + NL + "import java.util.Map;";
+ protected final String TEXT_4 = NL + NL + "import org.eclipse.core.resources.IFile;" + NL
+ + "import org.eclipse.core.resources.IMarker;" + NL + "import org.eclipse.core.resources.IResource;" + NL
+ + "import org.eclipse.core.resources.IResourceChangeEvent;" + NL
+ + "import org.eclipse.core.resources.IResourceChangeListener;" + NL
+ + "import org.eclipse.core.resources.IResourceDelta;" + NL
+ + "import org.eclipse.core.resources.IResourceDeltaVisitor;" + NL
+ + "import org.eclipse.core.resources.ResourcesPlugin;";
protected final String TEXT_5 = NL;
- protected final String TEXT_6 = NL + "import org.eclipse.core.runtime.CoreException;" + NL + "import org.eclipse.core.runtime.IPath;";
- protected final String TEXT_7 = NL + "import org.eclipse.core.runtime.IProgressMonitor;" + NL + "import org.eclipse.core.runtime.NullProgressMonitor;" + NL + "" + NL + "import org.eclipse.jface.action.IMenuListener;" + NL + "import org.eclipse.jface.action.IMenuManager;"
- + NL + "import org.eclipse.jface.action.IStatusLineManager;" + NL + "import org.eclipse.jface.action.IToolBarManager;" + NL + "import org.eclipse.jface.action.MenuManager;" + NL + "import org.eclipse.jface.action.Separator;" + NL + "" + NL
- + "import org.eclipse.jface.dialogs.MessageDialog;" + NL + "import org.eclipse.jface.dialogs.ProgressMonitorDialog;" + NL;
+ protected final String TEXT_6 = NL + "import org.eclipse.core.runtime.CoreException;" + NL
+ + "import org.eclipse.core.runtime.IPath;";
+ protected final String TEXT_7 = NL + "import org.eclipse.core.runtime.IProgressMonitor;" + NL
+ + "import org.eclipse.core.runtime.NullProgressMonitor;" + NL + "" + NL
+ + "import org.eclipse.jface.action.IMenuListener;" + NL + "import org.eclipse.jface.action.IMenuManager;"
+ + NL + "import org.eclipse.jface.action.IStatusLineManager;" + NL
+ + "import org.eclipse.jface.action.IToolBarManager;" + NL + "import org.eclipse.jface.action.MenuManager;"
+ + NL + "import org.eclipse.jface.action.Separator;" + NL + "" + NL
+ + "import org.eclipse.jface.dialogs.MessageDialog;" + NL
+ + "import org.eclipse.jface.dialogs.ProgressMonitorDialog;" + NL;
protected final String TEXT_8 = NL + "import org.eclipse.jface.util.LocalSelectionTransfer;" + NL;
protected final String TEXT_9 = NL + "import org.eclipse.jface.viewers.ColumnWeightData;";
- protected final String TEXT_10 = NL + "import org.eclipse.jface.viewers.ISelection;" + NL + "import org.eclipse.jface.viewers.ISelectionChangedListener;" + NL + "import org.eclipse.jface.viewers.ISelectionProvider;" + NL
+ protected final String TEXT_10 = NL + "import org.eclipse.jface.viewers.ISelection;" + NL
+ + "import org.eclipse.jface.viewers.ISelectionChangedListener;" + NL
+ + "import org.eclipse.jface.viewers.ISelectionProvider;" + NL
+ "import org.eclipse.jface.viewers.IStructuredSelection;";
protected final String TEXT_11 = NL + "import org.eclipse.jface.viewers.ListViewer;";
- protected final String TEXT_12 = NL + "import org.eclipse.jface.viewers.SelectionChangedEvent;" + NL + "import org.eclipse.jface.viewers.StructuredSelection;" + NL + "import org.eclipse.jface.viewers.StructuredViewer;";
- protected final String TEXT_13 = NL + "import org.eclipse.jface.viewers.TableLayout;" + NL + "import org.eclipse.jface.viewers.TableViewer;";
- protected final String TEXT_14 = NL + "import org.eclipse.jface.viewers.TreeViewer;" + NL + "import org.eclipse.jface.viewers.Viewer;" + NL + "" + NL + "import org.eclipse.swt.SWT;" + NL + "" + NL + "import org.eclipse.swt.custom.CTabFolder;" + NL + "" + NL
- + "import org.eclipse.swt.dnd.DND;";
+ protected final String TEXT_12 = NL + "import org.eclipse.jface.viewers.SelectionChangedEvent;" + NL
+ + "import org.eclipse.jface.viewers.StructuredSelection;" + NL
+ + "import org.eclipse.jface.viewers.StructuredViewer;";
+ protected final String TEXT_13 = NL + "import org.eclipse.jface.viewers.TableLayout;" + NL
+ + "import org.eclipse.jface.viewers.TableViewer;";
+ protected final String TEXT_14 = NL + "import org.eclipse.jface.viewers.TreeViewer;" + NL
+ + "import org.eclipse.jface.viewers.Viewer;" + NL + "" + NL + "import org.eclipse.swt.SWT;" + NL + "" + NL
+ + "import org.eclipse.swt.custom.CTabFolder;" + NL + "" + NL + "import org.eclipse.swt.dnd.DND;";
protected final String TEXT_15 = NL + "import org.eclipse.swt.dnd.FileTransfer;";
- protected final String TEXT_16 = NL + "import org.eclipse.swt.dnd.Transfer;" + NL + "" + NL + "import org.eclipse.swt.events.ControlAdapter;" + NL + "import org.eclipse.swt.events.ControlEvent;" + NL + "" + NL + "import org.eclipse.swt.graphics.Point;";
+ protected final String TEXT_16 = NL + "import org.eclipse.swt.dnd.Transfer;" + NL + "" + NL
+ + "import org.eclipse.swt.events.ControlAdapter;" + NL + "import org.eclipse.swt.events.ControlEvent;" + NL
+ + "" + NL + "import org.eclipse.swt.graphics.Point;";
protected final String TEXT_17 = NL + NL + "import org.eclipse.swt.layout.FillLayout;";
- protected final String TEXT_18 = NL + NL + "import org.eclipse.swt.widgets.Composite;" + NL + "import org.eclipse.swt.widgets.Menu;";
- protected final String TEXT_19 = NL + "import org.eclipse.swt.widgets.Table;" + NL + "import org.eclipse.swt.widgets.TableColumn;";
+ protected final String TEXT_18 = NL + NL + "import org.eclipse.swt.widgets.Composite;" + NL
+ + "import org.eclipse.swt.widgets.Menu;";
+ protected final String TEXT_19 = NL + "import org.eclipse.swt.widgets.Table;" + NL
+ + "import org.eclipse.swt.widgets.TableColumn;";
protected final String TEXT_20 = NL + "import org.eclipse.swt.widgets.Tree;";
protected final String TEXT_21 = NL + "import org.eclipse.swt.widgets.TreeColumn;";
- protected final String TEXT_22 = NL + NL + "import org.eclipse.ui.IActionBars;" + NL + "import org.eclipse.ui.IEditorInput;" + NL + "import org.eclipse.ui.IEditorPart;" + NL + "import org.eclipse.ui.IEditorSite;";
+ protected final String TEXT_22 = NL + NL + "import org.eclipse.ui.IActionBars;" + NL
+ + "import org.eclipse.ui.IEditorInput;" + NL + "import org.eclipse.ui.IEditorPart;" + NL
+ + "import org.eclipse.ui.IEditorSite;";
protected final String TEXT_23 = NL + "import org.eclipse.ui.IFileEditorInput;";
- protected final String TEXT_24 = NL + "import org.eclipse.ui.IPartListener;" + NL + "import org.eclipse.ui.IWorkbenchPart;" + NL + "import org.eclipse.ui.PartInitException;";
- protected final String TEXT_25 = NL + NL + "import org.eclipse.ui.dialogs.SaveAsDialog;" + NL + "" + NL + "import org.eclipse.ui.ide.IGotoMarker;";
+ protected final String TEXT_24 = NL + "import org.eclipse.ui.IPartListener;" + NL
+ + "import org.eclipse.ui.IWorkbenchPart;" + NL + "import org.eclipse.ui.PartInitException;";
+ protected final String TEXT_25 = NL + NL + "import org.eclipse.ui.dialogs.SaveAsDialog;" + NL + "" + NL
+ + "import org.eclipse.ui.ide.IGotoMarker;";
protected final String TEXT_26 = NL;
protected final String TEXT_27 = NL + "import org.eclipse.ui.part.FileEditorInput;";
- protected final String TEXT_28 = NL + "import org.eclipse.ui.part.MultiPageEditorPart;" + NL + "" + NL + "import org.eclipse.ui.views.contentoutline.ContentOutline;" + NL + "import org.eclipse.ui.views.contentoutline.ContentOutlinePage;" + NL
- + "import org.eclipse.ui.views.contentoutline.IContentOutlinePage;" + NL + "" + NL + "import org.eclipse.ui.views.properties.IPropertySheetPage;" + NL + "import org.eclipse.ui.views.properties.PropertySheet;" + NL
- + "import org.eclipse.ui.views.properties.PropertySheetPage;" + NL + "" + NL + "import org.eclipse.emf.common.command.BasicCommandStack;" + NL + "import org.eclipse.emf.common.command.Command;" + NL + "import org.eclipse.emf.common.command.CommandStack;" + NL
- + "import org.eclipse.emf.common.command.CommandStackListener;" + NL + "" + NL + "import org.eclipse.emf.common.notify.AdapterFactory;" + NL + "import org.eclipse.emf.common.notify.Notification;" + NL;
+ protected final String TEXT_28 = NL + "import org.eclipse.ui.part.MultiPageEditorPart;" + NL + "" + NL
+ + "import org.eclipse.ui.views.contentoutline.ContentOutline;" + NL
+ + "import org.eclipse.ui.views.contentoutline.ContentOutlinePage;" + NL
+ + "import org.eclipse.ui.views.contentoutline.IContentOutlinePage;" + NL + "" + NL
+ + "import org.eclipse.ui.views.properties.IPropertySheetPage;" + NL
+ + "import org.eclipse.ui.views.properties.PropertySheet;" + NL
+ + "import org.eclipse.ui.views.properties.PropertySheetPage;" + NL + "" + NL
+ + "import org.eclipse.emf.common.command.BasicCommandStack;" + NL
+ + "import org.eclipse.emf.common.command.Command;" + NL
+ + "import org.eclipse.emf.common.command.CommandStack;" + NL
+ + "import org.eclipse.emf.common.command.CommandStackListener;" + NL + "" + NL
+ + "import org.eclipse.emf.common.notify.AdapterFactory;" + NL
+ + "import org.eclipse.emf.common.notify.Notification;" + NL;
protected final String TEXT_29 = NL + "import org.eclipse.emf.common.ui.MarkerHelper;";
protected final String TEXT_30 = NL + "import org.eclipse.emf.common.ui.ViewerPane;";
- protected final String TEXT_31 = NL + NL + "import org.eclipse.emf.common.ui.editor.ProblemEditorPart;" + NL + "" + NL + "import org.eclipse.emf.common.ui.viewer.IViewerProvider;" + NL + "" + NL + "import org.eclipse.emf.common.util.BasicDiagnostic;" + NL
+ protected final String TEXT_31 = NL + NL + "import org.eclipse.emf.common.ui.editor.ProblemEditorPart;" + NL + ""
+ + NL + "import org.eclipse.emf.common.ui.viewer.IViewerProvider;" + NL + "" + NL
+ + "import org.eclipse.emf.common.util.BasicDiagnostic;" + NL
+ "import org.eclipse.emf.common.util.Diagnostic;" + NL + "import org.eclipse.emf.common.util.URI;" + NL;
- protected final String TEXT_32 = NL + "import org.eclipse.emf.ecore.EObject;" + NL + "import org.eclipse.emf.ecore.EValidator;";
+ protected final String TEXT_32 = NL + "import org.eclipse.emf.ecore.EObject;" + NL
+ + "import org.eclipse.emf.ecore.EValidator;";
protected final String TEXT_33 = NL + NL + "import org.eclipse.emf.ecore.resource.Resource;";
protected final String TEXT_34 = NL + "import org.eclipse.emf.ecore.resource.ResourceSet;";
- protected final String TEXT_35 = NL + NL + "import org.eclipse.emf.ecore.util.EContentAdapter;" + NL + "import org.eclipse.emf.ecore.util.EcoreUtil;" + NL + "" + NL + "import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;" + NL
- + "import org.eclipse.emf.edit.domain.EditingDomain;" + NL + "import org.eclipse.emf.edit.domain.IEditingDomainProvider;" + NL + "" + NL + "import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;" + NL
- + "import org.eclipse.emf.edit.provider.ComposedAdapterFactory;" + NL + "import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;" + NL + "" + NL + "import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;" + NL + "" + NL
- + "import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;" + NL + "" + NL + "import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;" + NL + "" + NL + "import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;" + NL
- + "import org.eclipse.emf.edit.ui.dnd.LocalTransfer;" + NL + "import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;" + NL + "" + NL + "import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;" + NL
+ protected final String TEXT_35 = NL + NL + "import org.eclipse.emf.ecore.util.EContentAdapter;" + NL
+ + "import org.eclipse.emf.ecore.util.EcoreUtil;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;" + NL
+ + "import org.eclipse.emf.edit.domain.EditingDomain;" + NL
+ + "import org.eclipse.emf.edit.domain.IEditingDomainProvider;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;" + NL
+ + "import org.eclipse.emf.edit.provider.ComposedAdapterFactory;" + NL
+ + "import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;" + NL
+ + "import org.eclipse.emf.edit.ui.dnd.LocalTransfer;" + NL
+ + "import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;" + NL + "" + NL
+ + "import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;" + NL
+ "import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;";
protected final String TEXT_36 = NL + "import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;";
protected final String TEXT_37 = NL + NL + "import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;";
protected final String TEXT_38 = NL + "import org.eclipse.emf.edit.ui.util.EditUIUtil;";
- protected final String TEXT_39 = NL + NL + "import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;" + NL + "" + NL + "import ";
+ protected final String TEXT_39 = NL + NL + "import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;" + NL
+ + "" + NL + "import ";
protected final String TEXT_40 = ";" + NL;
protected final String TEXT_41 = NL + NL + NL + "/**" + NL + " * This is an example of a ";
- protected final String TEXT_42 = " model editor." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
- protected final String TEXT_43 = NL + "\textends MultiPageEditorPart" + NL + "\timplements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider";
+ protected final String TEXT_42 = " model editor." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_43 = NL + "\textends MultiPageEditorPart" + NL
+ + "\timplements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider";
protected final String TEXT_44 = ", IGotoMarker";
protected final String TEXT_45 = NL + "{";
- protected final String TEXT_46 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_46 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_47 = " copyright = ";
protected final String TEXT_48 = ";";
protected final String TEXT_49 = NL;
- protected final String TEXT_50 = NL + "\t/**" + NL + "\t * The filters for file extensions supported by the editor." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_50 = NL + "\t/**" + NL
+ + "\t * The filters for file extensions supported by the editor." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_51 = NL + "\tpublic static final ";
protected final String TEXT_52 = " FILE_EXTENSION_FILTERS = prefixExtensions(";
protected final String TEXT_53 = ".FILE_EXTENSIONS, \"*.\");";
@@ -101,244 +157,685 @@
protected final String TEXT_58 = ".INSTANCE.getString(\"_UI_";
protected final String TEXT_59 = "FilenameExtensions\").split(\"\\\\s*,\\\\s*\")), \"*.\");";
protected final String TEXT_60 = NL + "\t";
- protected final String TEXT_61 = NL + "\t/**" + NL + "\t * Returns a new unmodifiable list containing prefixed versions of the extensions in the given list." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tprivate static ";
+ protected final String TEXT_61 = NL + "\t/**" + NL
+ + "\t * Returns a new unmodifiable list containing prefixed versions of the extensions in the given list."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static ";
protected final String TEXT_62 = " prefixExtensions(";
protected final String TEXT_63 = " extensions, String prefix)" + NL + "\t{" + NL + "\t\t";
protected final String TEXT_64 = " result = new ";
protected final String TEXT_65 = "();";
- protected final String TEXT_66 = NL + "\t\tfor (String extension : extensions)" + NL + "\t\t{" + NL + "\t\t\tresult.add(prefix + extension);";
- protected final String TEXT_67 = NL + "\t\tfor (Iterator iterator = extensions.iterator() ; iterator.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\tresult.add(prefix + (String)iterator.next());";
- protected final String TEXT_68 = NL + "\t\t}" + NL + "\t\treturn Collections.unmodifiableList(result);" + NL + "\t}" + NL;
- protected final String TEXT_69 = NL + "\t/**" + NL + "\t * This keeps track of the editing domain that is used to track all changes to the model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected AdapterFactoryEditingDomain editingDomain;" + NL + "" + NL + "\t/**" + NL + "\t * This is the one adapter factory used for providing views of the model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated"
- + NL + "\t */" + NL + "\tprotected ComposedAdapterFactory adapterFactory;" + NL + "" + NL + "\t/**" + NL + "\t * This is the content outline page." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected IContentOutlinePage contentOutlinePage;" + NL + "" + NL + "\t/**" + NL + "\t * This is a kludge..." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected IStatusLineManager contentOutlineStatusLineManager;" + NL + "" + NL + "\t/**" + NL + "\t * This is the content outline page's viewer." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tprotected TreeViewer contentOutlineViewer;" + NL + "" + NL + "\t/**" + NL + "\t * This is the property sheet page." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_66 = NL + "\t\tfor (String extension : extensions)" + NL + "\t\t{" + NL
+ + "\t\t\tresult.add(prefix + extension);";
+ protected final String TEXT_67 = NL + "\t\tfor (Iterator iterator = extensions.iterator() ; iterator.hasNext(); )"
+ + NL + "\t\t{" + NL + "\t\t\tresult.add(prefix + (String)iterator.next());";
+ protected final String TEXT_68 = NL + "\t\t}" + NL + "\t\treturn Collections.unmodifiableList(result);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_69 = NL + "\t/**" + NL
+ + "\t * This keeps track of the editing domain that is used to track all changes to the model." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected AdapterFactoryEditingDomain editingDomain;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is the one adapter factory used for providing views of the model." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ComposedAdapterFactory adapterFactory;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is the content outline page." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected IContentOutlinePage contentOutlinePage;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is a kludge..." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprotected IStatusLineManager contentOutlineStatusLineManager;"
+ + NL + "" + NL + "\t/**" + NL + "\t * This is the content outline page's viewer." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected TreeViewer contentOutlineViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is the property sheet page." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_70 = " propertySheetPages = new ";
- protected final String TEXT_71 = "();" + NL + "" + NL + "\t/**" + NL + "\t * This is the viewer that shadows the selection in the content outline." + NL + "\t * The parent relation must be correctly defined for this to work." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected TreeViewer selectionViewer;";
- protected final String TEXT_72 = NL + NL + "\t/**" + NL + "\t * This inverts the roll of parent and child in the content provider and show parents as a tree." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tprotected TreeViewer parentViewer;" + NL + "" + NL + "\t/**" + NL + "\t * This shows how a tree view works." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected TreeViewer treeViewer;" + NL + "" + NL + "\t/**" + NL + "\t * This shows how a list view works." + NL + "\t * A list viewer doesn't support icons." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
- + "\t */" + NL + "\tprotected ListViewer listViewer;" + NL + "" + NL + "\t/**" + NL + "\t * This shows how a table view works." + NL + "\t * A table can be used as a list with icons." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprotected TableViewer tableViewer;" + NL + "" + NL + "\t/**" + NL + "\t * This shows how a tree view with columns works." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated"
- + NL + "\t */" + NL + "\tprotected TreeViewer treeViewerWithColumns;" + NL + "" + NL + "\t/**" + NL + "\t * This keeps track of the active viewer pane, in the book." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated"
- + NL + "\t */" + NL + "\tprotected ViewerPane currentViewerPane;";
- protected final String TEXT_73 = NL + NL + "\t/**" + NL + "\t * This keeps track of the active content viewer, which may be either one of the viewers in the pages or the content outline viewer." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprotected Viewer currentViewer;" + NL + "" + NL + "\t/**" + NL + "\t * This listens to which ever viewer is active." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
- + "\t */" + NL + "\tprotected ISelectionChangedListener selectionChangedListener;" + NL + "" + NL + "\t/**" + NL + "\t * This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this editor." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_71 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is the viewer that shadows the selection in the content outline." + NL
+ + "\t * The parent relation must be correctly defined for this to work." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected TreeViewer selectionViewer;";
+ protected final String TEXT_72 = NL + NL + "\t/**" + NL
+ + "\t * This inverts the roll of parent and child in the content provider and show parents as a tree." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected TreeViewer parentViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This shows how a tree view works." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected TreeViewer treeViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This shows how a list view works." + NL + "\t * A list viewer doesn't support icons." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ListViewer listViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This shows how a table view works." + NL + "\t * A table can be used as a list with icons." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected TableViewer tableViewer;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This shows how a tree view with columns works." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected TreeViewer treeViewerWithColumns;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This keeps track of the active viewer pane, in the book." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected ViewerPane currentViewerPane;";
+ protected final String TEXT_73 = NL
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This keeps track of the active content viewer, which may be either one of the viewers in the pages or the content outline viewer."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected Viewer currentViewer;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This listens to which ever viewer is active."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected ISelectionChangedListener selectionChangedListener;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this editor."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_74 = " selectionChangedListeners = new ";
- protected final String TEXT_75 = "();" + NL + "" + NL + "\t/**" + NL + "\t * This keeps track of the selection of the editor as a whole." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ protected final String TEXT_75 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * This keeps track of the selection of the editor as a whole." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ "\tprotected ISelection editorSelection = StructuredSelection.EMPTY;" + NL;
- protected final String TEXT_76 = NL + "\t/**" + NL + "\t * The MarkerHelper is responsible for creating workspace resource markers presented" + NL + "\t * in Eclipse's Problems View." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprotected MarkerHelper markerHelper = new EditUIMarkerHelper();" + NL;
- protected final String TEXT_77 = NL + "\t/**" + NL + "\t * This listens for when the outline becomes active" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected IPartListener partListener ="
- + NL + "\t\tnew IPartListener()" + NL + "\t\t{" + NL + "\t\t\tpublic void partActivated(IWorkbenchPart p)" + NL + "\t\t\t{" + NL + "\t\t\t\tif (p instanceof ContentOutline)" + NL + "\t\t\t\t{" + NL
- + "\t\t\t\t\tif (((ContentOutline)p).getCurrentPage() == contentOutlinePage)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tgetActionBarContributor().setActiveEditor(";
- protected final String TEXT_78 = ".this);" + NL + "" + NL + "\t\t\t\t\t\tsetCurrentViewer(contentOutlineViewer);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse if (p instanceof PropertySheet)" + NL + "\t\t\t\t{" + NL
- + "\t\t\t\t\tif (propertySheetPages.contains(((PropertySheet)p).getCurrentPage()))" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tgetActionBarContributor().setActiveEditor(";
- protected final String TEXT_79 = ".this);" + NL + "\t\t\t\t\t\thandleActivate();" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse if (p == ";
- protected final String TEXT_80 = ".this)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\thandleActivate();" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\tpublic void partBroughtToTop(IWorkbenchPart p)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL
- + "\t\t\tpublic void partClosed(IWorkbenchPart p)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL + "\t\t\tpublic void partDeactivated(IWorkbenchPart p)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL
- + "\t\t\tpublic void partOpened(IWorkbenchPart p)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL + "\t\t};" + NL + "" + NL + "\t/**" + NL + "\t * Resources that have been removed since last activation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ protected final String TEXT_76 = NL + "\t/**" + NL
+ + "\t * The MarkerHelper is responsible for creating workspace resource markers presented" + NL
+ + "\t * in Eclipse's Problems View." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected MarkerHelper markerHelper = new EditUIMarkerHelper();" + NL;
+ protected final String TEXT_77 = NL + "\t/**" + NL + "\t * This listens for when the outline becomes active" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected IPartListener partListener =" + NL + "\t\tnew IPartListener()" + NL + "\t\t{"
+ + NL + "\t\t\tpublic void partActivated(IWorkbenchPart p)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tif (p instanceof ContentOutline)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tif (((ContentOutline)p).getCurrentPage() == contentOutlinePage)" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tgetActionBarContributor().setActiveEditor(";
+ protected final String TEXT_78 = ".this);" + NL + "" + NL + "\t\t\t\t\t\tsetCurrentViewer(contentOutlineViewer);"
+ + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse if (p instanceof PropertySheet)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tif (propertySheetPages.contains(((PropertySheet)p).getCurrentPage()))" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tgetActionBarContributor().setActiveEditor(";
+ protected final String TEXT_79 = ".this);" + NL + "\t\t\t\t\t\thandleActivate();" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t\telse if (p == ";
+ protected final String TEXT_80 = ".this)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\thandleActivate();" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\tpublic void partBroughtToTop(IWorkbenchPart p)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL
+ + "\t\t\tpublic void partClosed(IWorkbenchPart p)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL
+ + "\t\t\t}" + NL + "\t\t\tpublic void partDeactivated(IWorkbenchPart p)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL + "\t\t\tpublic void partOpened(IWorkbenchPart p)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t// Ignore." + NL + "\t\t\t}" + NL + "\t\t};" + NL + "" + NL + "\t/**" + NL
+ + "\t * Resources that have been removed since last activation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_81 = " removedResources = new ";
- protected final String TEXT_82 = "();" + NL + "" + NL + "\t/**" + NL + "\t * Resources that have been changed since last activation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_82 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * Resources that have been changed since last activation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_83 = " changedResources = new ";
- protected final String TEXT_84 = "();" + NL + "" + NL + "\t/**" + NL + "\t * Resources that have been saved." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_84 = "();" + NL + "" + NL + "\t/**" + NL + "\t * Resources that have been saved." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_85 = " savedResources = new ";
- protected final String TEXT_86 = "();" + NL + "" + NL + "\t/**" + NL + "\t * Map to store the diagnostic associated with a resource." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_86 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * Map to store the diagnostic associated with a resource." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_87 = " resourceToDiagnosticMap = new ";
- protected final String TEXT_88 = "();" + NL + "" + NL + "\t/**" + NL + "\t * Controls whether the problem indication should be updated." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected boolean updateProblemIndication = true;" + NL + "" + NL + "\t/**" + NL + "\t * Adapter used to update the problem indication when resources are demanded loaded." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprotected EContentAdapter problemIndicationAdapter =" + NL + "\t\tnew EContentAdapter()" + NL + "\t\t{";
+ protected final String TEXT_88 = "();" + NL + "" + NL + "\t/**" + NL
+ + "\t * Controls whether the problem indication should be updated." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected boolean updateProblemIndication = true;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Adapter used to update the problem indication when resources are demanded loaded." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected EContentAdapter problemIndicationAdapter =" + NL
+ + "\t\tnew EContentAdapter()" + NL + "\t\t{";
protected final String TEXT_89 = NL + "\t\t\t@Override";
- protected final String TEXT_90 = NL + "\t\t\tpublic void notifyChanged(Notification notification)" + NL + "\t\t\t{" + NL + "\t\t\t\tif (notification.getNotifier() instanceof Resource)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tswitch (notification.getFeatureID(Resource.class))"
- + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tcase Resource.RESOURCE__IS_LOADED:" + NL + "\t\t\t\t\t\tcase Resource.RESOURCE__ERRORS:" + NL + "\t\t\t\t\t\tcase Resource.RESOURCE__WARNINGS:" + NL + "\t\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\t\tResource resource = (Resource)notification.getNotifier();" + NL + "\t\t\t\t\t\t\tDiagnostic diagnostic = analyzeResourceProblems(resource, null);" + NL + "\t\t\t\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, diagnostic);" + NL + "\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\telse" + NL + "\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.remove(resource);" + NL + "\t\t\t\t\t\t\t}" + NL + "" + NL
- + "\t\t\t\t\t\t\tif (updateProblemIndication)" + NL + "\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t\t\t(new Runnable()" + NL + "\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t public void run()" + NL
- + "\t\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t\t updateProblemIndication();" + NL + "\t\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\tbreak;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}"
- + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.notifyChanged(notification);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_90 = NL + "\t\t\tpublic void notifyChanged(Notification notification)" + NL + "\t\t\t{"
+ + NL + "\t\t\t\tif (notification.getNotifier() instanceof Resource)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tswitch (notification.getFeatureID(Resource.class))" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tcase Resource.RESOURCE__IS_LOADED:" + NL + "\t\t\t\t\t\tcase Resource.RESOURCE__ERRORS:"
+ + NL + "\t\t\t\t\t\tcase Resource.RESOURCE__WARNINGS:" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tResource resource = (Resource)notification.getNotifier();" + NL
+ + "\t\t\t\t\t\t\tDiagnostic diagnostic = analyzeResourceProblems(resource, null);" + NL
+ + "\t\t\t\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, diagnostic);" + NL + "\t\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t\t\telse" + NL + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.remove(resource);" + NL + "\t\t\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\t\t\tif (updateProblemIndication)" + NL + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t\t\t(new Runnable()"
+ + NL + "\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t public void run()" + NL
+ + "\t\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t\t updateProblemIndication();" + NL
+ + "\t\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t\t\tbreak;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.notifyChanged(notification);" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}" + NL;
protected final String TEXT_91 = NL + "\t\t\t@Override";
- protected final String TEXT_92 = NL + "\t\t\tprotected void setTarget(Resource target)" + NL + "\t\t\t{" + NL + "\t\t\t\tbasicSetTarget(target);" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_92 = NL + "\t\t\tprotected void setTarget(Resource target)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tbasicSetTarget(target);" + NL + "\t\t\t}" + NL;
protected final String TEXT_93 = NL + "\t\t\t@Override";
- protected final String TEXT_94 = NL + "\t\t\tprotected void unsetTarget(Resource target)" + NL + "\t\t\t{" + NL + "\t\t\t\tbasicUnsetTarget(target);" + NL + "\t\t\t\tresourceToDiagnosticMap.remove(target);" + NL + "\t\t\t\tif (updateProblemIndication)" + NL + "\t\t\t\t{"
- + NL + "\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t(new Runnable()" + NL + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t updateProblemIndication();" + NL
- + "\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t });" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};";
- protected final String TEXT_95 = NL + NL + "\t/**" + NL + "\t * This listens for workspace changes." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected IResourceChangeListener resourceChangeListener =" + NL + "\t\tnew IResourceChangeListener()" + NL + "\t\t{" + NL + "\t\t\tpublic void resourceChanged(IResourceChangeEvent event)" + NL + "\t\t\t{" + NL
- + "\t\t\t\tIResourceDelta delta = event.getDelta();" + NL + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tclass ResourceDeltaVisitor implements IResourceDeltaVisitor" + NL + "\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\tprotected ResourceSet resourceSet = editingDomain.getResourceSet();" + NL + "\t\t\t\t\t\tprotected ";
+ protected final String TEXT_94 = NL + "\t\t\tprotected void unsetTarget(Resource target)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tbasicUnsetTarget(target);" + NL + "\t\t\t\tresourceToDiagnosticMap.remove(target);" + NL
+ + "\t\t\t\tif (updateProblemIndication)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t(new Runnable()" + NL
+ + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t updateProblemIndication();" + NL + "\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t });" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};";
+ protected final String TEXT_95 = NL + NL + "\t/**" + NL + "\t * This listens for workspace changes." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected IResourceChangeListener resourceChangeListener =" + NL
+ + "\t\tnew IResourceChangeListener()" + NL + "\t\t{" + NL
+ + "\t\t\tpublic void resourceChanged(IResourceChangeEvent event)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tIResourceDelta delta = event.getDelta();" + NL + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tclass ResourceDeltaVisitor implements IResourceDeltaVisitor" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tprotected ResourceSet resourceSet = editingDomain.getResourceSet();" + NL
+ + "\t\t\t\t\t\tprotected ";
protected final String TEXT_96 = " changedResources = new ";
protected final String TEXT_97 = "();" + NL + "\t\t\t\t\t\tprotected ";
protected final String TEXT_98 = " removedResources = new ";
protected final String TEXT_99 = "();" + NL + "" + NL + "\t\t\t\t\t\tpublic boolean visit(";
protected final String TEXT_100 = "final ";
- protected final String TEXT_101 = "IResourceDelta delta)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tif (delta.getResource().getType() == IResource.FILE)" + NL + "\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\tif (delta.getKind() == IResourceDelta.REMOVED ||" + NL
+ protected final String TEXT_101 = "IResourceDelta delta)" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tif (delta.getResource().getType() == IResource.FILE)" + NL + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tif (delta.getKind() == IResourceDelta.REMOVED ||" + NL
+ "\t\t\t\t\t\t\t\t delta.getKind() == IResourceDelta.CHANGED";
protected final String TEXT_102 = " && delta.getFlags() != IResourceDelta.MARKERS";
protected final String TEXT_103 = ")" + NL + "\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t";
protected final String TEXT_104 = "final ";
- protected final String TEXT_105 = "Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false);" + NL + "\t\t\t\t\t\t\t\t\tif (resource != null)" + NL + "\t\t\t\t\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\t\t\t\t\tif (delta.getKind() == IResourceDelta.REMOVED)" + NL + "\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\tremovedResources.add(resource);" + NL + "\t\t\t\t\t\t\t\t\t\t}";
- protected final String TEXT_106 = NL + "\t\t\t\t\t\t\t\t\t\telse if (!savedResources.remove(resource))" + NL + "\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\tchangedResources.add(resource);" + NL + "\t\t\t\t\t\t\t\t\t\t}";
- protected final String TEXT_107 = NL + "\t\t\t\t\t\t\t\t\t\telse" + NL + "\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\tif ((delta.getFlags() & IResourceDelta.MARKERS) != 0)" + NL + "\t\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\t\t";
- protected final String TEXT_108 = ".DiagnosticAdapter.update(resource, markerHelper.getMarkerDiagnostics(resource, (IFile)delta.getResource()));" + NL + "\t\t\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t\t\t\tif ((delta.getFlags() & IResourceDelta.CONTENT) != 0)" + NL
- + "\t\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\t\tif (!savedResources.remove(resource))" + NL + "\t\t\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\t\t\tchangedResources.add(resource);" + NL + "\t\t\t\t\t\t\t\t\t\t\t\t}" + NL
- + "\t\t\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t\t\t}";
- protected final String TEXT_109 = NL + "\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\treturn false;" + NL + "\t\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\t\treturn true;" + NL + "\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\tpublic ";
- protected final String TEXT_110 = " getChangedResources()" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn changedResources;" + NL + "\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\tpublic ";
- protected final String TEXT_111 = " getRemovedResources()" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn removedResources;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\tfinal ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();" + NL
- + "\t\t\t\t\tdelta.accept(visitor);" + NL + "" + NL + "\t\t\t\t\tif (!visitor.getRemovedResources().isEmpty())" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t(new Runnable()" + NL + "\t\t\t\t\t\t\t {" + NL
- + "\t\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t removedResources.addAll(visitor.getRemovedResources());" + NL + "\t\t\t\t\t\t\t\t\t if (!isDirty())" + NL + "\t\t\t\t\t\t\t\t\t {" + NL
+ protected final String TEXT_105 = "Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false);"
+ + NL
+ + "\t\t\t\t\t\t\t\t\tif (resource != null)"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\tif (delta.getKind() == IResourceDelta.REMOVED)"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\tremovedResources.add(resource);" + NL + "\t\t\t\t\t\t\t\t\t\t}";
+ protected final String TEXT_106 = NL + "\t\t\t\t\t\t\t\t\t\telse if (!savedResources.remove(resource))" + NL
+ + "\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\tchangedResources.add(resource);" + NL
+ + "\t\t\t\t\t\t\t\t\t\t}";
+ protected final String TEXT_107 = NL + "\t\t\t\t\t\t\t\t\t\telse" + NL + "\t\t\t\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\t\t\t\tif ((delta.getFlags() & IResourceDelta.MARKERS) != 0)" + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\t\t\t\t\t";
+ protected final String TEXT_108 = ".DiagnosticAdapter.update(resource, markerHelper.getMarkerDiagnostics(resource, (IFile)delta.getResource()));"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\tif ((delta.getFlags() & IResourceDelta.CONTENT) != 0)"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t\tif (!savedResources.remove(resource))"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t\t\tchangedResources.add(resource);"
+ + NL
+ + "\t\t\t\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t\t\t}";
+ protected final String TEXT_109 = NL + "\t\t\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t\t\t\treturn false;" + NL + "\t\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\t\treturn true;"
+ + NL + "\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\tpublic ";
+ protected final String TEXT_110 = " getChangedResources()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\treturn changedResources;" + NL + "\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\tpublic ";
+ protected final String TEXT_111 = " getRemovedResources()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\treturn removedResources;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\tfinal ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();" + NL
+ + "\t\t\t\t\tdelta.accept(visitor);" + NL + "" + NL
+ + "\t\t\t\t\tif (!visitor.getRemovedResources().isEmpty())" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t(new Runnable()" + NL
+ + "\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t removedResources.addAll(visitor.getRemovedResources());" + NL
+ + "\t\t\t\t\t\t\t\t\t if (!isDirty())" + NL + "\t\t\t\t\t\t\t\t\t {" + NL
+ "\t\t\t\t\t\t\t\t\t\t getSite().getPage().closeEditor(";
- protected final String TEXT_112 = ".this, false);" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\tif (!visitor.getChangedResources().isEmpty())" + NL + "\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t(new Runnable()" + NL + "\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t\t {" + NL
- + "\t\t\t\t\t\t\t\t\t changedResources.addAll(visitor.getChangedResources());" + NL + "\t\t\t\t\t\t\t\t\t if (getSite().getPage().getActiveEditor() == ";
- protected final String TEXT_113 = ".this)" + NL + "\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t handleActivate();" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ protected final String TEXT_112 = ".this, false);" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL
+ + "\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\tif (!visitor.getChangedResources().isEmpty())" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t\t(new Runnable()" + NL
+ + "\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t changedResources.addAll(visitor.getChangedResources());" + NL
+ + "\t\t\t\t\t\t\t\t\t if (getSite().getPage().getActiveEditor() == ";
+ protected final String TEXT_113 = ".this)" + NL + "\t\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t\t handleActivate();" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL
+ + "\t\t\t\t\t\t\t });" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ "\t\t\t\tcatch (CoreException exception)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
protected final String TEXT_114 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t};";
- protected final String TEXT_115 = NL + NL + "\t/**" + NL + "\t * Handles activation of the editor or it's associated views." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected void handleActivate()" + NL + "\t{" + NL + "\t\t// Recompute the read only state." + NL + "\t\t//" + NL + "\t\tif (editingDomain.getResourceToReadOnlyMap() != null)" + NL + "\t\t{" + NL + "\t\t editingDomain.getResourceToReadOnlyMap().clear();" + NL
- + "" + NL + "\t\t // Refresh any actions that may become enabled or disabled." + NL + "\t\t //" + NL + "\t\t setSelection(getSelection());" + NL + "\t\t}" + NL + "" + NL + "\t\tif (!removedResources.isEmpty())" + NL + "\t\t{" + NL
- + "\t\t\tif (handleDirtyConflict())" + NL + "\t\t\t{" + NL + "\t\t\t\tgetSite().getPage().closeEditor(";
- protected final String TEXT_116 = ".this, false);" + NL + "\t\t\t}" + NL + "\t\t\telse" + NL + "\t\t\t{" + NL + "\t\t\t\tremovedResources.clear();" + NL + "\t\t\t\tchangedResources.clear();" + NL + "\t\t\t\tsavedResources.clear();" + NL + "\t\t\t}" + NL + "\t\t}" + NL
- + "\t\telse if (!changedResources.isEmpty())" + NL + "\t\t{" + NL + "\t\t\tchangedResources.removeAll(savedResources);" + NL + "\t\t\thandleChangedResources();" + NL + "\t\t\tchangedResources.clear();" + NL + "\t\t\tsavedResources.clear();" + NL + "\t\t}" + NL
- + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Handles what to do with changed resources on activation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected void handleChangedResources()" + NL + "\t{" + NL + "\t\tif (!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict()))" + NL + "\t\t{" + NL + "\t\t\tif (isDirty())" + NL + "\t\t\t{" + NL
- + "\t\t\t\tchangedResources.addAll(editingDomain.getResourceSet().getResources());" + NL + "\t\t\t}" + NL + "\t\t\teditingDomain.getCommandStack().flush();" + NL + "" + NL + "\t\t\tupdateProblemIndication = false;";
+ protected final String TEXT_115 = NL + NL + "\t/**" + NL
+ + "\t * Handles activation of the editor or it's associated views." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected void handleActivate()" + NL + "\t{" + NL + "\t\t// Recompute the read only state." + NL
+ + "\t\t//" + NL + "\t\tif (editingDomain.getResourceToReadOnlyMap() != null)" + NL + "\t\t{" + NL
+ + "\t\t editingDomain.getResourceToReadOnlyMap().clear();" + NL + "" + NL
+ + "\t\t // Refresh any actions that may become enabled or disabled." + NL + "\t\t //" + NL
+ + "\t\t setSelection(getSelection());" + NL + "\t\t}" + NL + "" + NL
+ + "\t\tif (!removedResources.isEmpty())" + NL + "\t\t{" + NL + "\t\t\tif (handleDirtyConflict())" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tgetSite().getPage().closeEditor(";
+ protected final String TEXT_116 = ".this, false);" + NL + "\t\t\t}" + NL + "\t\t\telse" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tremovedResources.clear();" + NL + "\t\t\t\tchangedResources.clear();" + NL
+ + "\t\t\t\tsavedResources.clear();" + NL + "\t\t\t}" + NL + "\t\t}" + NL
+ + "\t\telse if (!changedResources.isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\tchangedResources.removeAll(savedResources);" + NL + "\t\t\thandleChangedResources();" + NL
+ + "\t\t\tchangedResources.clear();" + NL + "\t\t\tsavedResources.clear();" + NL + "\t\t}" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * Handles what to do with changed resources on activation." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void handleChangedResources()" + NL + "\t{" + NL
+ + "\t\tif (!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict()))" + NL + "\t\t{" + NL
+ + "\t\t\tif (isDirty())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tchangedResources.addAll(editingDomain.getResourceSet().getResources());" + NL + "\t\t\t}" + NL
+ + "\t\t\teditingDomain.getCommandStack().flush();" + NL + "" + NL
+ + "\t\t\tupdateProblemIndication = false;";
protected final String TEXT_117 = NL + "\t\t\tfor (Resource resource : changedResources)";
protected final String TEXT_118 = NL + "\t\t\tfor (Iterator i = changedResources.iterator(); i.hasNext(); )";
protected final String TEXT_119 = NL + "\t\t\t{";
protected final String TEXT_120 = NL + "\t\t\t\tResource resource = (Resource)i.next();";
- protected final String TEXT_121 = NL + "\t\t\t\tif (resource.isLoaded())" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tresource.unload();" + NL + "\t\t\t\t\ttry" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tresource.load(Collections.EMPTY_MAP);" + NL + "\t\t\t\t\t}" + NL
- + "\t\t\t\t\tcatch (IOException exception)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tif (!resourceToDiagnosticMap.containsKey(resource))" + NL + "\t\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL;
- protected final String TEXT_122 = NL + "\t\t\tif (AdapterFactoryEditingDomain.isStale(editorSelection))" + NL + "\t\t\t{" + NL + "\t\t\t\tsetSelection(StructuredSelection.EMPTY);" + NL + "\t\t\t}";
- protected final String TEXT_123 = NL + NL + "\t\t\tupdateProblemIndication = true;" + NL + "\t\t\tupdateProblemIndication();" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * Updates the problems indication with the information described in the specified diagnostic." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void updateProblemIndication()"
- + NL + "\t{" + NL + "\t\tif (updateProblemIndication)" + NL + "\t\t{" + NL + "\t\t\tBasicDiagnostic diagnostic =" + NL + "\t\t\t\tnew BasicDiagnostic" + NL + "\t\t\t\t\t(Diagnostic.OK," + NL + "\t\t\t\t\t \"";
+ protected final String TEXT_121 = NL + "\t\t\t\tif (resource.isLoaded())" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tresource.unload();" + NL + "\t\t\t\t\ttry" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tresource.load(Collections.EMPTY_MAP);" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\tcatch (IOException exception)" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tif (!resourceToDiagnosticMap.containsKey(resource))" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_122 = NL + "\t\t\tif (AdapterFactoryEditingDomain.isStale(editorSelection))" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tsetSelection(StructuredSelection.EMPTY);" + NL + "\t\t\t}";
+ protected final String TEXT_123 = NL + NL + "\t\t\tupdateProblemIndication = true;" + NL
+ + "\t\t\tupdateProblemIndication();" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Updates the problems indication with the information described in the specified diagnostic." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void updateProblemIndication()" + NL + "\t{" + NL
+ + "\t\tif (updateProblemIndication)" + NL + "\t\t{" + NL + "\t\t\tBasicDiagnostic diagnostic =" + NL
+ + "\t\t\t\tnew BasicDiagnostic" + NL + "\t\t\t\t\t(Diagnostic.OK," + NL + "\t\t\t\t\t \"";
protected final String TEXT_124 = "\",";
- protected final String TEXT_125 = NL + "\t\t\t\t\t 0," + NL + "\t\t\t\t\t null," + NL + "\t\t\t\t\t new Object [] { editingDomain.getResourceSet() });";
+ protected final String TEXT_125 = NL + "\t\t\t\t\t 0," + NL + "\t\t\t\t\t null," + NL
+ + "\t\t\t\t\t new Object [] { editingDomain.getResourceSet() });";
protected final String TEXT_126 = NL + "\t\t\tfor (Diagnostic childDiagnostic : resourceToDiagnosticMap.values())";
- protected final String TEXT_127 = NL + "\t\t\tfor (Iterator i = resourceToDiagnosticMap.values().iterator(); i.hasNext(); )";
+ protected final String TEXT_127 = NL
+ + "\t\t\tfor (Iterator i = resourceToDiagnosticMap.values().iterator(); i.hasNext(); )";
protected final String TEXT_128 = NL + "\t\t\t{";
protected final String TEXT_129 = NL + "\t\t\t\tDiagnostic childDiagnostic = (Diagnostic)i.next();";
- protected final String TEXT_130 = NL + "\t\t\t\tif (childDiagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tdiagnostic.add(childDiagnostic);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tint lastEditorPage = getPageCount() - 1;"
- + NL + "\t\t\tif (lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart)" + NL + "\t\t\t{" + NL + "\t\t\t\t((ProblemEditorPart)getEditor(lastEditorPage)).setDiagnostic(diagnostic);" + NL
- + "\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsetActivePage(lastEditorPage);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\telse if (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t{" + NL
- + "\t\t\t\tProblemEditorPart problemEditorPart = new ProblemEditorPart();" + NL + "\t\t\t\tproblemEditorPart.setDiagnostic(diagnostic);";
+ protected final String TEXT_130 = NL + "\t\t\t\tif (childDiagnostic.getSeverity() != Diagnostic.OK)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tdiagnostic.add(childDiagnostic);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL
+ + "" + NL + "\t\t\tint lastEditorPage = getPageCount() - 1;" + NL
+ + "\t\t\tif (lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t((ProblemEditorPart)getEditor(lastEditorPage)).setDiagnostic(diagnostic);" + NL
+ + "\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tsetActivePage(lastEditorPage);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL
+ + "\t\t\telse if (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tProblemEditorPart problemEditorPart = new ProblemEditorPart();" + NL
+ + "\t\t\t\tproblemEditorPart.setDiagnostic(diagnostic);";
protected final String TEXT_131 = NL + "\t\t\t\tproblemEditorPart.setMarkerHelper(markerHelper);";
- protected final String TEXT_132 = NL + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\taddPage(++lastEditorPage, problemEditorPart, getEditorInput());" + NL + "\t\t\t\t\tsetPageText(lastEditorPage, problemEditorPart.getPartName());" + NL
- + "\t\t\t\t\tsetActivePage(lastEditorPage);" + NL + "\t\t\t\t\tshowTabs();" + NL + "\t\t\t\t}" + NL + "\t\t\t\tcatch (PartInitException exception)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_132 = NL + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\taddPage(++lastEditorPage, problemEditorPart, getEditorInput());" + NL
+ + "\t\t\t\t\tsetPageText(lastEditorPage, problemEditorPart.getPartName());" + NL
+ + "\t\t\t\t\tsetActivePage(lastEditorPage);" + NL + "\t\t\t\t\tshowTabs();" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tcatch (PartInitException exception)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
protected final String TEXT_133 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t}" + NL + "\t\t\t}";
- protected final String TEXT_134 = NL + NL + "\t\t\tif (markerHelper.hasMarkers(editingDomain.getResourceSet()))" + NL + "\t\t\t{" + NL + "\t\t\t\tmarkerHelper.deleteMarkers(editingDomain.getResourceSet());" + NL + "\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL
- + "\t\t\t\t{" + NL + "\t\t\t\t\ttry" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tmarkerHelper.createMarkers(diagnostic);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t\tcatch (CoreException exception)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\t";
- protected final String TEXT_135 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}";
- protected final String TEXT_136 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Shows a dialog that asks if conflicting changes should be discarded." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
- + "\t */" + NL + "\tprotected boolean handleDirtyConflict()" + NL + "\t{" + NL + "\t\treturn" + NL + "\t\t\tMessageDialog.openQuestion" + NL + "\t\t\t\t(getSite().getShell()," + NL + "\t\t\t\t getString(\"_UI_FileConflict_label\"),";
+ protected final String TEXT_134 = NL + NL + "\t\t\tif (markerHelper.hasMarkers(editingDomain.getResourceSet()))"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tmarkerHelper.deleteMarkers(editingDomain.getResourceSet());" + NL
+ + "\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\ttry" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tmarkerHelper.createMarkers(diagnostic);" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\tcatch (CoreException exception)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\t";
+ protected final String TEXT_135 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}";
+ protected final String TEXT_136 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Shows a dialog that asks if conflicting changes should be discarded." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected boolean handleDirtyConflict()" + NL + "\t{" + NL + "\t\treturn" + NL
+ + "\t\t\tMessageDialog.openQuestion" + NL + "\t\t\t\t(getSite().getShell()," + NL
+ + "\t\t\t\t getString(\"_UI_FileConflict_label\"),";
protected final String TEXT_137 = NL + "\t\t\t\t getString(\"_WARN_FileConflict\"));";
- protected final String TEXT_138 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This creates a model editor." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_139 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t\tinitializeEditingDomain();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This sets up the editing domain for the model editor." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void initializeEditingDomain()" + NL + "\t{" + NL + "\t\t// Create an adapter factory that yields item providers." + NL + "\t\t//" + NL
- + "\t\tadapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);" + NL + "" + NL + "\t\tadapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory());";
+ protected final String TEXT_138 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This creates a model editor."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_139 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t\tinitializeEditingDomain();"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This sets up the editing domain for the model editor."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void initializeEditingDomain()" + NL + "\t{" + NL
+ + "\t\t// Create an adapter factory that yields item providers." + NL + "\t\t//" + NL
+ + "\t\tadapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);"
+ + NL + "" + NL + "\t\tadapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory());";
protected final String TEXT_140 = NL;
- protected final String TEXT_141 = NL + "\t\tadapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());" + NL + "" + NL + "\t\t// Create the command stack that will notify this editor as commands are executed." + NL + "\t\t//" + NL
- + "\t\tBasicCommandStack commandStack = new BasicCommandStack();" + NL + "" + NL + "\t\t// Add a listener to set the most recent command's affected objects to be the selection of the viewer with focus." + NL + "\t\t//" + NL
- + "\t\tcommandStack.addCommandStackListener" + NL + "\t\t\t(new CommandStackListener()" + NL + "\t\t\t {" + NL + "\t\t\t\t public void commandStackChanged(final EventObject event)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t getContainer().getDisplay().asyncExec" + NL
- + "\t\t\t\t\t\t (new Runnable()" + NL + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t firePropertyChange(IEditorPart.PROP_DIRTY);" + NL + "" + NL
- + "\t\t\t\t\t\t\t\t // Try to select the affected objects." + NL + "\t\t\t\t\t\t\t\t //" + NL + "\t\t\t\t\t\t\t\t Command mostRecentCommand = ((CommandStack)event.getSource()).getMostRecentCommand();" + NL + "\t\t\t\t\t\t\t\t if (mostRecentCommand != null)" + NL
- + "\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t setSelectionToViewer(mostRecentCommand.getAffectedObjects());" + NL + "\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t for (Iterator";
+ protected final String TEXT_141 = NL
+ + "\t\tadapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());"
+ + NL
+ + ""
+ + NL
+ + "\t\t// Create the command stack that will notify this editor as commands are executed."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tBasicCommandStack commandStack = new BasicCommandStack();"
+ + NL
+ + ""
+ + NL
+ + "\t\t// Add a listener to set the most recent command's affected objects to be the selection of the viewer with focus."
+ + NL + "\t\t//" + NL + "\t\tcommandStack.addCommandStackListener" + NL
+ + "\t\t\t(new CommandStackListener()" + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public void commandStackChanged(final EventObject event)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t getContainer().getDisplay().asyncExec" + NL + "\t\t\t\t\t\t (new Runnable()" + NL
+ + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t firePropertyChange(IEditorPart.PROP_DIRTY);" + NL + "" + NL
+ + "\t\t\t\t\t\t\t\t // Try to select the affected objects." + NL + "\t\t\t\t\t\t\t\t //" + NL
+ + "\t\t\t\t\t\t\t\t Command mostRecentCommand = ((CommandStack)event.getSource()).getMostRecentCommand();"
+ + NL + "\t\t\t\t\t\t\t\t if (mostRecentCommand != null)" + NL + "\t\t\t\t\t\t\t\t {" + NL
+ + "\t\t\t\t\t\t\t\t\t setSelectionToViewer(mostRecentCommand.getAffectedObjects());" + NL
+ + "\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t for (Iterator";
protected final String TEXT_142 = "<PropertySheetPage>";
- protected final String TEXT_143 = " i = propertySheetPages.iterator(); i.hasNext(); )" + NL + "\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t PropertySheetPage propertySheetPage = ";
+ protected final String TEXT_143 = " i = propertySheetPages.iterator(); i.hasNext(); )" + NL + "\t\t\t\t\t\t\t\t {"
+ + NL + "\t\t\t\t\t\t\t\t\t PropertySheetPage propertySheetPage = ";
protected final String TEXT_144 = "(PropertySheetPage)";
- protected final String TEXT_145 = "i.next();" + NL + "\t\t\t\t\t\t\t\t\t if (propertySheetPage.getControl().isDisposed())" + NL + "\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t i.remove();" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t\t else" + NL
- + "\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t propertySheetPage.refresh();" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t });" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL + "" + NL
- + "\t\t// Create the editing domain with a special command stack." + NL + "\t\t//" + NL + "\t\teditingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack, new ";
- protected final String TEXT_146 = "());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This is here for the listener to be able to call it." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_145 = "i.next();" + NL
+ + "\t\t\t\t\t\t\t\t\t if (propertySheetPage.getControl().isDisposed())" + NL + "\t\t\t\t\t\t\t\t\t {"
+ + NL + "\t\t\t\t\t\t\t\t\t\t i.remove();" + NL + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t\t else"
+ + NL + "\t\t\t\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t\t\t\t propertySheetPage.refresh();" + NL
+ + "\t\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t\t }" + NL + "\t\t\t\t\t\t\t }" + NL
+ + "\t\t\t\t\t\t });" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL + "" + NL
+ + "\t\t// Create the editing domain with a special command stack." + NL + "\t\t//" + NL
+ + "\t\teditingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack, new ";
+ protected final String TEXT_146 = "());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is here for the listener to be able to call it." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_147 = NL + "\t\t\t@Override";
- protected final String TEXT_148 = NL + "\tprotected void firePropertyChange(int action)" + NL + "\t{" + NL + "\t\tsuper.firePropertyChange(action);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This sets the selection into whichever viewer is active." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setSelectionToViewer(";
+ protected final String TEXT_148 = NL + "\tprotected void firePropertyChange(int action)" + NL + "\t{" + NL
+ + "\t\tsuper.firePropertyChange(action);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This sets the selection into whichever viewer is active." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void setSelectionToViewer(";
protected final String TEXT_149 = " collection)" + NL + "\t{" + NL + "\t\tfinal ";
- protected final String TEXT_150 = " theSelection = collection;" + NL + "\t\t// Make sure it's okay." + NL + "\t\t//" + NL + "\t\tif (theSelection != null && !theSelection.isEmpty())" + NL + "\t\t{" + NL + "\t\t\tRunnable runnable =" + NL + "\t\t\t\tnew Runnable()" + NL
- + "\t\t\t\t{" + NL + "\t\t\t\t\tpublic void run()" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\t// Try to select the items in the current content viewer of the editor." + NL + "\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\tif (currentViewer != null)" + NL + "\t\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\t\tcurrentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t};" + NL + "\t\t\tgetSite().getShell().getDisplay().asyncExec(runnable);" + NL + "\t\t}" + NL + "\t}" + NL
- + "" + NL + "\t/**" + NL + "\t * This returns the editing domain as required by the {@link IEditingDomainProvider} interface." + NL + "\t * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain}" + NL
- + "\t * and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic EditingDomain getEditingDomain()" + NL + "\t{" + NL
- + "\t\treturn editingDomain;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider" + NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
- + "\t\tpublic ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory)" + NL + "\t\t{" + NL + "\t\t\tsuper(adapterFactory);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
- + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_150 = " theSelection = collection;" + NL + "\t\t// Make sure it's okay." + NL
+ + "\t\t//" + NL + "\t\tif (theSelection != null && !theSelection.isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\tRunnable runnable =" + NL + "\t\t\t\tnew Runnable()" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tpublic void run()" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t// Try to select the items in the current content viewer of the editor." + NL
+ + "\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\tif (currentViewer != null)" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tcurrentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t};" + NL
+ + "\t\t\tgetSite().getShell().getDisplay().asyncExec(runnable);" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL
+ + "\t * This returns the editing domain as required by the {@link IEditingDomainProvider} interface." + NL
+ + "\t * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain}" + NL
+ + "\t * and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic EditingDomain getEditingDomain()" + NL + "\t{" + NL
+ + "\t\treturn editingDomain;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider" + NL + "\t{"
+ + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tpublic ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory)" + NL + "\t\t{" + NL
+ + "\t\t\tsuper(adapterFactory);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */";
protected final String TEXT_151 = NL + "\t\t@Override";
- protected final String TEXT_152 = NL + "\t\tpublic Object [] getElements(Object object)" + NL + "\t\t{" + NL + "\t\t\tObject parent = super.getParent(object);" + NL + "\t\t\treturn (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();" + NL
- + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_152 = NL + "\t\tpublic Object [] getElements(Object object)" + NL + "\t\t{" + NL
+ + "\t\t\tObject parent = super.getParent(object);" + NL
+ + "\t\t\treturn (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();" + NL
+ + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
protected final String TEXT_153 = NL + "\t\t@Override";
- protected final String TEXT_154 = NL + "\t\tpublic Object [] getChildren(Object object)" + NL + "\t\t{" + NL + "\t\t\tObject parent = super.getParent(object);" + NL + "\t\t\treturn (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();" + NL
- + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_154 = NL + "\t\tpublic Object [] getChildren(Object object)" + NL + "\t\t{" + NL
+ + "\t\t\tObject parent = super.getParent(object);" + NL
+ + "\t\t\treturn (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();" + NL
+ + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
protected final String TEXT_155 = NL + "\t\t@Override";
- protected final String TEXT_156 = NL + "\t\tpublic boolean hasChildren(Object object)" + NL + "\t\t{" + NL + "\t\t\tObject parent = super.getParent(object);" + NL + "\t\t\treturn parent != null;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
- + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_156 = NL + "\t\tpublic boolean hasChildren(Object object)" + NL + "\t\t{" + NL
+ + "\t\t\tObject parent = super.getParent(object);" + NL + "\t\t\treturn parent != null;" + NL + "\t\t}"
+ + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->"
+ + NL + "\t\t * @generated" + NL + "\t\t */";
protected final String TEXT_157 = NL + "\t\t@Override";
- protected final String TEXT_158 = NL + "\t\tpublic Object getParent(Object object)" + NL + "\t\t{" + NL + "\t\t\treturn null;" + NL + "\t\t}" + NL + "\t}";
- protected final String TEXT_159 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setCurrentViewerPane(ViewerPane viewerPane)" + NL + "\t{" + NL
- + "\t\tif (currentViewerPane != viewerPane)" + NL + "\t\t{" + NL + "\t\t\tif (currentViewerPane != null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcurrentViewerPane.showFocus(false);" + NL + "\t\t\t}" + NL + "\t\t\tcurrentViewerPane = viewerPane;" + NL + "\t\t}" + NL
+ protected final String TEXT_158 = NL + "\t\tpublic Object getParent(Object object)" + NL + "\t\t{" + NL
+ + "\t\t\treturn null;" + NL + "\t\t}" + NL + "\t}";
+ protected final String TEXT_159 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void setCurrentViewerPane(ViewerPane viewerPane)" + NL + "\t{" + NL
+ + "\t\tif (currentViewerPane != viewerPane)" + NL + "\t\t{" + NL + "\t\t\tif (currentViewerPane != null)"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tcurrentViewerPane.showFocus(false);" + NL + "\t\t\t}" + NL
+ + "\t\t\tcurrentViewerPane = viewerPane;" + NL + "\t\t}" + NL
+ "\t\tsetCurrentViewer(currentViewerPane.getViewer());" + NL + "\t}";
- protected final String TEXT_160 = NL + NL + "\t/**" + NL + "\t * This makes sure that one content viewer, either for the current page or the outline view, if it has focus," + NL + "\t * is the current one." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setCurrentViewer(Viewer viewer)" + NL + "\t{" + NL + "\t\t// If it is changing..." + NL + "\t\t//" + NL + "\t\tif (currentViewer != viewer)" + NL + "\t\t{" + NL
- + "\t\t\tif (selectionChangedListener == null)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Create the listener on demand." + NL + "\t\t\t\t//" + NL + "\t\t\t\tselectionChangedListener =" + NL + "\t\t\t\t\tnew ISelectionChangedListener()" + NL + "\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\t// This just notifies those things that are affected by the section." + NL + "\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\tpublic void selectionChanged(SelectionChangedEvent selectionChangedEvent)" + NL + "\t\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\t\tsetSelection(selectionChangedEvent.getSelection());" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// Stop listening to the old one." + NL + "\t\t\t//" + NL + "\t\t\tif (currentViewer != null)" + NL + "\t\t\t{"
- + NL + "\t\t\t\tcurrentViewer.removeSelectionChangedListener(selectionChangedListener);" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// Start listening to the new one." + NL + "\t\t\t//" + NL + "\t\t\tif (viewer != null)" + NL + "\t\t\t{" + NL
- + "\t\t\t\tviewer.addSelectionChangedListener(selectionChangedListener);" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// Remember it." + NL + "\t\t\t//" + NL + "\t\t\tcurrentViewer = viewer;" + NL + "" + NL
- + "\t\t\t// Set the editors selection based on the current viewer's selection." + NL + "\t\t\t//" + NL + "\t\t\tsetSelection(currentViewer == null ? StructuredSelection.EMPTY : currentViewer.getSelection());" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This returns the viewer as required by the {@link IViewerProvider} interface." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Viewer getViewer()" + NL + "\t{" + NL
- + "\t\treturn currentViewer;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This creates a context menu for the viewer and adds a listener as well registering the menu for extension." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprotected void createContextMenuFor(StructuredViewer viewer)" + NL + "\t{" + NL + "\t\tMenuManager contextMenu = new MenuManager(\"#PopUp\");";
+ protected final String TEXT_160 = NL
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This makes sure that one content viewer, either for the current page or the outline view, if it has focus,"
+ + NL
+ + "\t * is the current one."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic void setCurrentViewer(Viewer viewer)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\t// If it is changing..."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tif (currentViewer != viewer)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tif (selectionChangedListener == null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\t// Create the listener on demand."
+ + NL
+ + "\t\t\t\t//"
+ + NL
+ + "\t\t\t\tselectionChangedListener ="
+ + NL
+ + "\t\t\t\t\tnew ISelectionChangedListener()"
+ + NL
+ + "\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t// This just notifies those things that are affected by the section."
+ + NL
+ + "\t\t\t\t\t\t//"
+ + NL
+ + "\t\t\t\t\t\tpublic void selectionChanged(SelectionChangedEvent selectionChangedEvent)"
+ + NL
+ + "\t\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\t\tsetSelection(selectionChangedEvent.getSelection());"
+ + NL
+ + "\t\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\t};"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t// Stop listening to the old one."
+ + NL
+ + "\t\t\t//"
+ + NL
+ + "\t\t\tif (currentViewer != null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tcurrentViewer.removeSelectionChangedListener(selectionChangedListener);"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t// Start listening to the new one."
+ + NL
+ + "\t\t\t//"
+ + NL
+ + "\t\t\tif (viewer != null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tviewer.addSelectionChangedListener(selectionChangedListener);"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t// Remember it."
+ + NL
+ + "\t\t\t//"
+ + NL
+ + "\t\t\tcurrentViewer = viewer;"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t// Set the editors selection based on the current viewer's selection."
+ + NL
+ + "\t\t\t//"
+ + NL
+ + "\t\t\tsetSelection(currentViewer == null ? StructuredSelection.EMPTY : currentViewer.getSelection());"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This returns the viewer as required by the {@link IViewerProvider} interface."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic Viewer getViewer()"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn currentViewer;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This creates a context menu for the viewer and adds a listener as well registering the menu for extension."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected void createContextMenuFor(StructuredViewer viewer)" + NL + "\t{" + NL
+ + "\t\tMenuManager contextMenu = new MenuManager(\"#PopUp\");";
protected final String TEXT_161 = NL + "\t\tcontextMenu.add(new Separator(\"additions\"));";
- protected final String TEXT_162 = NL + "\t\tcontextMenu.setRemoveAllWhenShown(true);" + NL + "\t\tcontextMenu.addMenuListener(this);" + NL + "\t\tMenu menu= contextMenu.createContextMenu(viewer.getControl());" + NL + "\t\tviewer.getControl().setMenu(menu);";
- protected final String TEXT_163 = NL + "\t\tgetSite().registerContextMenu(contextMenu, new UnwrappingSelectionProvider(viewer));";
+ protected final String TEXT_162 = NL + "\t\tcontextMenu.setRemoveAllWhenShown(true);" + NL
+ + "\t\tcontextMenu.addMenuListener(this);" + NL
+ + "\t\tMenu menu= contextMenu.createContextMenu(viewer.getControl());" + NL
+ + "\t\tviewer.getControl().setMenu(menu);";
+ protected final String TEXT_163 = NL
+ + "\t\tgetSite().registerContextMenu(contextMenu, new UnwrappingSelectionProvider(viewer));";
protected final String TEXT_164 = NL + "\t\tgetSite().registerContextMenu(contextMenu, viewer);";
- protected final String TEXT_165 = NL + NL + "\t\tint dndOperations = DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK;" + NL + "\t\tTransfer[] transfers = new Transfer[] { LocalTransfer.getInstance()";
+ protected final String TEXT_165 = NL + NL
+ + "\t\tint dndOperations = DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK;" + NL
+ + "\t\tTransfer[] transfers = new Transfer[] { LocalTransfer.getInstance()";
protected final String TEXT_166 = ", LocalSelectionTransfer.getTransfer(), FileTransfer.getInstance()";
- protected final String TEXT_167 = " };" + NL + "\t\tviewer.addDragSupport(dndOperations, transfers, new ViewerDragAdapter(viewer));" + NL + "\t\tviewer.addDropSupport(dndOperations, transfers, new EditingDomainViewerDropAdapter(editingDomain, viewer));" + NL + "\t}" + NL
- + "" + NL + "\t/**" + NL + "\t * This is the method called to load a resource into the editing domain's resource set based on the editor's input." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void createModel()" + NL + "\t{";
+ protected final String TEXT_167 = " };"
+ + NL
+ + "\t\tviewer.addDragSupport(dndOperations, transfers, new ViewerDragAdapter(viewer));"
+ + NL
+ + "\t\tviewer.addDropSupport(dndOperations, transfers, new EditingDomainViewerDropAdapter(editingDomain, viewer));"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This is the method called to load a resource into the editing domain's resource set based on the editor's input."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void createModel()" + NL + "\t{";
protected final String TEXT_168 = NL + "\t\tURI resourceURI = EditUIUtil.getURI(getEditorInput());";
protected final String TEXT_169 = NL + "\t\tURI resourceURI = URI.createURI(getEditorInput().getName());";
- protected final String TEXT_170 = NL + "\t\t// Assumes that the input is a file object." + NL + "\t\t//" + NL + "\t\tIFileEditorInput modelFile = (IFileEditorInput)getEditorInput();" + NL
+ protected final String TEXT_170 = NL
+ + "\t\t// Assumes that the input is a file object."
+ + NL
+ + "\t\t//"
+ + NL
+ + "\t\tIFileEditorInput modelFile = (IFileEditorInput)getEditorInput();"
+ + NL
+ "\t\tURI resourceURI = URI.createPlatformResourceURI(modelFile.getFile().getFullPath().toString(), true);";
- protected final String TEXT_171 = NL + "\t\tException exception = null;" + NL + "\t\tResource resource = null;" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t// Load the resource through the editing domain." + NL + "\t\t\t//" + NL
- + "\t\t\tresource = editingDomain.getResourceSet().getResource(resourceURI, true);" + NL + "\t\t}" + NL + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t\tresource = editingDomain.getResourceSet().getResource(resourceURI, false);"
- + NL + "\t\t}" + NL + "" + NL + "\t\tDiagnostic diagnostic = analyzeResourceProblems(resource, exception);" + NL + "\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t{" + NL
- + "\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));" + NL + "\t\t}" + NL + "\t\teditingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * Returns a diagnostic describing the errors and warnings listed in the resource" + NL + "\t * and the specified exception (if any)." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic Diagnostic analyzeResourceProblems(Resource resource, Exception exception)" + NL + "\t{" + NL + "\t\tif (!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty())" + NL + "\t\t{" + NL + "\t\t\tBasicDiagnostic basicDiagnostic =" + NL
- + "\t\t\t\tnew BasicDiagnostic" + NL + "\t\t\t\t\t(Diagnostic.ERROR," + NL + "\t\t\t\t\t \"";
+ protected final String TEXT_171 = NL + "\t\tException exception = null;" + NL + "\t\tResource resource = null;"
+ + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t// Load the resource through the editing domain." + NL
+ + "\t\t\t//" + NL + "\t\t\tresource = editingDomain.getResourceSet().getResource(resourceURI, true);" + NL
+ + "\t\t}" + NL + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL
+ + "\t\t\tresource = editingDomain.getResourceSet().getResource(resourceURI, false);" + NL + "\t\t}" + NL
+ + "" + NL + "\t\tDiagnostic diagnostic = analyzeResourceProblems(resource, exception);" + NL
+ + "\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t{" + NL
+ + "\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));" + NL
+ + "\t\t}" + NL + "\t\teditingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter);" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns a diagnostic describing the errors and warnings listed in the resource" + NL
+ + "\t * and the specified exception (if any)." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic Diagnostic analyzeResourceProblems(Resource resource, Exception exception)" + NL + "\t{" + NL
+ + "\t\tif (!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\tBasicDiagnostic basicDiagnostic =" + NL + "\t\t\t\tnew BasicDiagnostic" + NL
+ + "\t\t\t\t\t(Diagnostic.ERROR," + NL + "\t\t\t\t\t \"";
protected final String TEXT_172 = "\",";
- protected final String TEXT_173 = NL + "\t\t\t\t\t 0," + NL + "\t\t\t\t\t getString(\"_UI_CreateModelError_message\", resource.getURI()),";
- protected final String TEXT_174 = NL + "\t\t\t\t\t new Object [] { exception == null ? (Object)resource : exception });" + NL + "\t\t\tbasicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true));" + NL + "\t\t\treturn basicDiagnostic;" + NL + "\t\t}" + NL
- + "\t\telse if (exception != null)" + NL + "\t\t{" + NL + "\t\t\treturn" + NL + "\t\t\t\tnew BasicDiagnostic" + NL + "\t\t\t\t\t(Diagnostic.ERROR," + NL + "\t\t\t\t\t \"";
+ protected final String TEXT_173 = NL + "\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t getString(\"_UI_CreateModelError_message\", resource.getURI()),";
+ protected final String TEXT_174 = NL
+ + "\t\t\t\t\t new Object [] { exception == null ? (Object)resource : exception });" + NL
+ + "\t\t\tbasicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true));" + NL
+ + "\t\t\treturn basicDiagnostic;" + NL + "\t\t}" + NL + "\t\telse if (exception != null)" + NL + "\t\t{"
+ + NL + "\t\t\treturn" + NL + "\t\t\t\tnew BasicDiagnostic" + NL + "\t\t\t\t\t(Diagnostic.ERROR," + NL
+ + "\t\t\t\t\t \"";
protected final String TEXT_175 = "\",";
- protected final String TEXT_176 = NL + "\t\t\t\t\t 0," + NL + "\t\t\t\t\t getString(\"_UI_CreateModelError_message\", resource.getURI()),";
- protected final String TEXT_177 = NL + "\t\t\t\t\t new Object[] { exception });" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL + "\t\t\treturn Diagnostic.OK_INSTANCE;" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This is the method used by the framework to install your own controls." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_176 = NL + "\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t getString(\"_UI_CreateModelError_message\", resource.getURI()),";
+ protected final String TEXT_177 = NL + "\t\t\t\t\t new Object[] { exception });" + NL + "\t\t}" + NL + "\t\telse"
+ + NL + "\t\t{" + NL + "\t\t\treturn Diagnostic.OK_INSTANCE;" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * This is the method used by the framework to install your own controls." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_178 = NL + "\t@Override";
- protected final String TEXT_179 = NL + "\tpublic void createPages()" + NL + "\t{" + NL + "\t\t// Creates the model from the editor input" + NL + "\t\t//" + NL + "\t\tcreateModel();" + NL + "" + NL
- + "\t\t// Only creates the other pages if there is something that can be edited" + NL + "\t\t//" + NL + "\t\tif (!getEditingDomain().getResourceSet().getResources().isEmpty())" + NL + "\t\t{" + NL + "\t\t\t// Create a page for the selection tree view." + NL
- + "\t\t\t//";
- protected final String TEXT_180 = NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_179 = NL + "\tpublic void createPages()" + NL + "\t{" + NL
+ + "\t\t// Creates the model from the editor input" + NL + "\t\t//" + NL + "\t\tcreateModel();" + NL + ""
+ + NL + "\t\t// Only creates the other pages if there is something that can be edited" + NL + "\t\t//" + NL
+ + "\t\tif (!getEditingDomain().getResourceSet().getResources().isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\t// Create a page for the selection tree view." + NL + "\t\t\t//";
+ protected final String TEXT_180 = NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL
+ + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
protected final String TEXT_181 = ".this)" + NL + "\t\t\t\t\t{";
protected final String TEXT_182 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_183 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tTree tree = new Tree(composite, SWT.MULTI);" + NL + "\t\t\t\t\t\t\tTreeViewer newTreeViewer = new TreeViewer(tree);" + NL
+ protected final String TEXT_183 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tTree tree = new Tree(composite, SWT.MULTI);" + NL
+ + "\t\t\t\t\t\t\tTreeViewer newTreeViewer = new TreeViewer(tree);" + NL
+ "\t\t\t\t\t\t\treturn newTreeViewer;" + NL + "\t\t\t\t\t\t}";
protected final String TEXT_184 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_185 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL
- + "\t\t\t\tviewerPane.createControl(getContainer());" + NL + "" + NL + "\t\t\t\tselectionViewer = (TreeViewer)viewerPane.getViewer();" + NL + "\t\t\t\tselectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL + "" + NL
- + "\t\t\t\tselectionViewer.setLabelProvider(";
+ protected final String TEXT_185 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "" + NL + "\t\t\t\tselectionViewer = (TreeViewer)viewerPane.getViewer();" + NL
+ + "\t\t\t\tselectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
+ + "" + NL + "\t\t\t\tselectionViewer.setLabelProvider(";
protected final String TEXT_186 = "new ";
protected final String TEXT_187 = "(";
protected final String TEXT_188 = "new ";
@@ -355,21 +852,36 @@
protected final String TEXT_199 = ".getPlugin().getDialogSettings()";
protected final String TEXT_200 = "))";
protected final String TEXT_201 = ")";
- protected final String TEXT_202 = ");" + NL + "\t\t\t\tselectionViewer.setInput(editingDomain.getResourceSet());" + NL + "\t\t\t\tselectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);" + NL
- + "\t\t\t\tviewerPane.setTitle(editingDomain.getResourceSet());" + NL + "" + NL + "\t\t\t\tnew AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);";
+ protected final String TEXT_202 = ");"
+ + NL
+ + "\t\t\t\tselectionViewer.setInput(editingDomain.getResourceSet());"
+ + NL
+ + "\t\t\t\tselectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);"
+ + NL + "\t\t\t\tviewerPane.setTitle(editingDomain.getResourceSet());" + NL + "" + NL
+ + "\t\t\t\tnew AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);";
protected final String TEXT_203 = NL + "\t\t\t\tnew ";
protected final String TEXT_204 = "(selectionViewer, new ";
protected final String TEXT_205 = ".EditingDomainLocationListener(editingDomain, selectionViewer));";
- protected final String TEXT_206 = NL + NL + "\t\t\t\tcreateContextMenuFor(selectionViewer);" + NL + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_SelectionPage_label\"));";
- protected final String TEXT_207 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// Create a page for the parent tree view." + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_206 = NL + NL + "\t\t\t\tcreateContextMenuFor(selectionViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_SelectionPage_label\"));";
+ protected final String TEXT_207 = NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\t// Create a page for the parent tree view." + NL + "\t\t\t//" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
protected final String TEXT_208 = ".this)" + NL + "\t\t\t\t\t{";
protected final String TEXT_209 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_210 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tTree tree = new Tree(composite, SWT.MULTI);" + NL + "\t\t\t\t\t\t\tTreeViewer newTreeViewer = new TreeViewer(tree);" + NL
+ protected final String TEXT_210 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tTree tree = new Tree(composite, SWT.MULTI);" + NL
+ + "\t\t\t\t\t\t\tTreeViewer newTreeViewer = new TreeViewer(tree);" + NL
+ "\t\t\t\t\t\t\treturn newTreeViewer;" + NL + "\t\t\t\t\t\t}";
protected final String TEXT_211 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_212 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL
- + "\t\t\t\tviewerPane.createControl(getContainer());" + NL + "" + NL + "\t\t\t\tparentViewer = (TreeViewer)viewerPane.getViewer();" + NL + "\t\t\t\tparentViewer.setAutoExpandLevel(30);" + NL
- + "\t\t\t\tparentViewer.setContentProvider(new ReverseAdapterFactoryContentProvider(adapterFactory));" + NL + "\t\t\t\tparentViewer.setLabelProvider(";
+ protected final String TEXT_212 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "" + NL + "\t\t\t\tparentViewer = (TreeViewer)viewerPane.getViewer();" + NL
+ + "\t\t\t\tparentViewer.setAutoExpandLevel(30);" + NL
+ + "\t\t\t\tparentViewer.setContentProvider(new ReverseAdapterFactoryContentProvider(adapterFactory));" + NL
+ + "\t\t\t\tparentViewer.setLabelProvider(";
protected final String TEXT_213 = "new ";
protected final String TEXT_214 = "(";
protected final String TEXT_215 = "new ";
@@ -377,14 +889,23 @@
protected final String TEXT_217 = ", parentViewer";
protected final String TEXT_218 = ")";
protected final String TEXT_219 = ")";
- protected final String TEXT_220 = ");" + NL + "" + NL + "\t\t\t\tcreateContextMenuFor(parentViewer);" + NL + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_ParentPage_label\"));";
- protected final String TEXT_221 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the list viewer" + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_220 = ");" + NL + "" + NL + "\t\t\t\tcreateContextMenuFor(parentViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_ParentPage_label\"));";
+ protected final String TEXT_221 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the list viewer"
+ + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL
+ + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
protected final String TEXT_222 = ".this)" + NL + "\t\t\t\t\t{";
protected final String TEXT_223 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_224 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new ListViewer(composite);" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_224 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new ListViewer(composite);" + NL + "\t\t\t\t\t\t}";
protected final String TEXT_225 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_226 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL
- + "\t\t\t\tviewerPane.createControl(getContainer());" + NL + "\t\t\t\tlistViewer = (ListViewer)viewerPane.getViewer();" + NL + "\t\t\t\tlistViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL + "\t\t\t\tlistViewer.setLabelProvider(";
+ protected final String TEXT_226 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "\t\t\t\tlistViewer = (ListViewer)viewerPane.getViewer();" + NL
+ + "\t\t\t\tlistViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
+ + "\t\t\t\tlistViewer.setLabelProvider(";
protected final String TEXT_227 = "new ";
protected final String TEXT_228 = "(";
protected final String TEXT_229 = "new ";
@@ -392,14 +913,23 @@
protected final String TEXT_231 = ", listViewer";
protected final String TEXT_232 = ")";
protected final String TEXT_233 = ")";
- protected final String TEXT_234 = ");" + NL + "" + NL + "\t\t\t\tcreateContextMenuFor(listViewer);" + NL + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_ListPage_label\"));";
- protected final String TEXT_235 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the tree viewer" + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_234 = ");" + NL + "" + NL + "\t\t\t\tcreateContextMenuFor(listViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_ListPage_label\"));";
+ protected final String TEXT_235 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the tree viewer"
+ + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL
+ + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
protected final String TEXT_236 = ".this)" + NL + "\t\t\t\t\t{";
protected final String TEXT_237 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_238 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TreeViewer(composite);" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_238 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TreeViewer(composite);" + NL + "\t\t\t\t\t\t}";
protected final String TEXT_239 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_240 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL
- + "\t\t\t\tviewerPane.createControl(getContainer());" + NL + "\t\t\t\ttreeViewer = (TreeViewer)viewerPane.getViewer();" + NL + "\t\t\t\ttreeViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL + "\t\t\t\ttreeViewer.setLabelProvider(";
+ protected final String TEXT_240 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "\t\t\t\ttreeViewer = (TreeViewer)viewerPane.getViewer();" + NL
+ + "\t\t\t\ttreeViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
+ + "\t\t\t\ttreeViewer.setLabelProvider(";
protected final String TEXT_241 = "new ";
protected final String TEXT_242 = "(";
protected final String TEXT_243 = "new ";
@@ -413,24 +943,41 @@
protected final String TEXT_251 = ".getResourceSet()";
protected final String TEXT_252 = ", treeViewer))";
protected final String TEXT_253 = ")";
- protected final String TEXT_254 = ");" + NL + "" + NL + "\t\t\t\tnew AdapterFactoryTreeEditor(treeViewer.getTree(), adapterFactory);";
+ protected final String TEXT_254 = ");" + NL + "" + NL
+ + "\t\t\t\tnew AdapterFactoryTreeEditor(treeViewer.getTree(), adapterFactory);";
protected final String TEXT_255 = NL + "\t\t\t\tnew ";
protected final String TEXT_256 = "(treeViewer, new ";
protected final String TEXT_257 = ".EditingDomainLocationListener(editingDomain, treeViewer));";
- protected final String TEXT_258 = NL + NL + "\t\t\t\tcreateContextMenuFor(treeViewer);" + NL + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TreePage_label\"));";
- protected final String TEXT_259 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the table viewer." + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_258 = NL + NL + "\t\t\t\tcreateContextMenuFor(treeViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TreePage_label\"));";
+ protected final String TEXT_259 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the table viewer."
+ + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL
+ + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
protected final String TEXT_260 = ".this)" + NL + "\t\t\t\t\t{";
protected final String TEXT_261 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_262 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TableViewer(composite);" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_262 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TableViewer(composite);" + NL + "\t\t\t\t\t\t}";
protected final String TEXT_263 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_264 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL
- + "\t\t\t\tviewerPane.createControl(getContainer());" + NL + "\t\t\t\ttableViewer = (TableViewer)viewerPane.getViewer();" + NL + "" + NL + "\t\t\t\tTable table = tableViewer.getTable();" + NL + "\t\t\t\tTableLayout layout = new TableLayout();" + NL
- + "\t\t\t\ttable.setLayout(layout);" + NL + "\t\t\t\ttable.setHeaderVisible(true);" + NL + "\t\t\t\ttable.setLinesVisible(true);" + NL + "" + NL + "\t\t\t\tTableColumn objectColumn = new TableColumn(table, SWT.NONE);" + NL
- + "\t\t\t\tlayout.addColumnData(new ColumnWeightData(3, 100, true));" + NL + "\t\t\t\tobjectColumn.setText(getString(\"_UI_ObjectColumn_label\"));";
- protected final String TEXT_265 = NL + "\t\t\t\tobjectColumn.setResizable(true);" + NL + "" + NL + "\t\t\t\tTableColumn selfColumn = new TableColumn(table, SWT.NONE);" + NL + "\t\t\t\tlayout.addColumnData(new ColumnWeightData(2, 100, true));" + NL
+ protected final String TEXT_264 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "\t\t\t\ttableViewer = (TableViewer)viewerPane.getViewer();" + NL + "" + NL
+ + "\t\t\t\tTable table = tableViewer.getTable();" + NL + "\t\t\t\tTableLayout layout = new TableLayout();"
+ + NL + "\t\t\t\ttable.setLayout(layout);" + NL + "\t\t\t\ttable.setHeaderVisible(true);" + NL
+ + "\t\t\t\ttable.setLinesVisible(true);" + NL + "" + NL
+ + "\t\t\t\tTableColumn objectColumn = new TableColumn(table, SWT.NONE);" + NL
+ + "\t\t\t\tlayout.addColumnData(new ColumnWeightData(3, 100, true));" + NL
+ + "\t\t\t\tobjectColumn.setText(getString(\"_UI_ObjectColumn_label\"));";
+ protected final String TEXT_265 = NL + "\t\t\t\tobjectColumn.setResizable(true);" + NL + "" + NL
+ + "\t\t\t\tTableColumn selfColumn = new TableColumn(table, SWT.NONE);" + NL
+ + "\t\t\t\tlayout.addColumnData(new ColumnWeightData(2, 100, true));" + NL
+ "\t\t\t\tselfColumn.setText(getString(\"_UI_SelfColumn_label\"));";
- protected final String TEXT_266 = NL + "\t\t\t\tselfColumn.setResizable(true);" + NL + "" + NL + "\t\t\t\ttableViewer.setColumnProperties(new String [] {\"a\", \"b\"});";
- protected final String TEXT_267 = NL + "\t\t\t\ttableViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL + "\t\t\t\ttableViewer.setLabelProvider(";
+ protected final String TEXT_266 = NL + "\t\t\t\tselfColumn.setResizable(true);" + NL + "" + NL
+ + "\t\t\t\ttableViewer.setColumnProperties(new String [] {\"a\", \"b\"});";
+ protected final String TEXT_267 = NL
+ + "\t\t\t\ttableViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
+ + "\t\t\t\ttableViewer.setLabelProvider(";
protected final String TEXT_268 = "new ";
protected final String TEXT_269 = "(";
protected final String TEXT_270 = "new ";
@@ -451,19 +998,36 @@
protected final String TEXT_285 = NL + "\t\t\t\tnew ";
protected final String TEXT_286 = "(tableViewer, new ";
protected final String TEXT_287 = ".EditingDomainLocationListener(editingDomain, tableViewer));" + NL;
- protected final String TEXT_288 = NL + "\t\t\t\tcreateContextMenuFor(tableViewer);" + NL + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TablePage_label\"));";
- protected final String TEXT_289 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// This is the page for the table tree viewer." + NL + "\t\t\t//" + NL + "\t\t\t{" + NL + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
+ protected final String TEXT_288 = NL + "\t\t\t\tcreateContextMenuFor(tableViewer);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TablePage_label\"));";
+ protected final String TEXT_289 = NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\t// This is the page for the table tree viewer." + NL + "\t\t\t//" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tViewerPane viewerPane =" + NL + "\t\t\t\t\tnew ViewerPane(getSite().getPage(), ";
protected final String TEXT_290 = ".this)" + NL + "\t\t\t\t\t{";
protected final String TEXT_291 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_292 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TreeViewer(composite);" + NL + "\t\t\t\t\t\t}";
+ protected final String TEXT_292 = NL + "\t\t\t\t\t\tpublic Viewer createViewer(Composite composite)" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\treturn new TreeViewer(composite);" + NL + "\t\t\t\t\t\t}";
protected final String TEXT_293 = NL + "\t\t\t\t\t\t@Override";
- protected final String TEXT_294 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL
- + "\t\t\t\tviewerPane.createControl(getContainer());" + NL + "" + NL + "\t\t\t\ttreeViewerWithColumns = (TreeViewer)viewerPane.getViewer();" + NL + "" + NL + "\t\t\t\tTree tree = treeViewerWithColumns.getTree();" + NL + "\t\t\t\ttree.setLayoutData(new FillLayout());"
- + NL + "\t\t\t\ttree.setHeaderVisible(true);" + NL + "\t\t\t\ttree.setLinesVisible(true);" + NL + "" + NL + "\t\t\t\tTreeColumn objectColumn = new TreeColumn(tree, SWT.NONE);" + NL + "\t\t\t\tobjectColumn.setText(getString(\"_UI_ObjectColumn_label\"));";
- protected final String TEXT_295 = NL + "\t\t\t\tobjectColumn.setResizable(true);" + NL + "\t\t\t\tobjectColumn.setWidth(250);" + NL + "" + NL + "\t\t\t\tTreeColumn selfColumn = new TreeColumn(tree, SWT.NONE);" + NL
+ protected final String TEXT_294 = NL + "\t\t\t\t\t\tpublic void requestActivation()" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tsuper.requestActivation();" + NL + "\t\t\t\t\t\t\tsetCurrentViewerPane(this);" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t};" + NL + "\t\t\t\tviewerPane.createControl(getContainer());" + NL
+ + "" + NL + "\t\t\t\ttreeViewerWithColumns = (TreeViewer)viewerPane.getViewer();" + NL + "" + NL
+ + "\t\t\t\tTree tree = treeViewerWithColumns.getTree();" + NL
+ + "\t\t\t\ttree.setLayoutData(new FillLayout());" + NL + "\t\t\t\ttree.setHeaderVisible(true);" + NL
+ + "\t\t\t\ttree.setLinesVisible(true);" + NL + "" + NL
+ + "\t\t\t\tTreeColumn objectColumn = new TreeColumn(tree, SWT.NONE);" + NL
+ + "\t\t\t\tobjectColumn.setText(getString(\"_UI_ObjectColumn_label\"));";
+ protected final String TEXT_295 = NL + "\t\t\t\tobjectColumn.setResizable(true);" + NL
+ + "\t\t\t\tobjectColumn.setWidth(250);" + NL + "" + NL
+ + "\t\t\t\tTreeColumn selfColumn = new TreeColumn(tree, SWT.NONE);" + NL
+ "\t\t\t\tselfColumn.setText(getString(\"_UI_SelfColumn_label\"));";
- protected final String TEXT_296 = NL + "\t\t\t\tselfColumn.setResizable(true);" + NL + "\t\t\t\tselfColumn.setWidth(200);" + NL + "" + NL + "\t\t\t\ttreeViewerWithColumns.setColumnProperties(new String [] {\"a\", \"b\"});";
- protected final String TEXT_297 = NL + "\t\t\t\ttreeViewerWithColumns.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL + "\t\t\t\ttreeViewerWithColumns.setLabelProvider(";
+ protected final String TEXT_296 = NL + "\t\t\t\tselfColumn.setResizable(true);" + NL
+ + "\t\t\t\tselfColumn.setWidth(200);" + NL + "" + NL
+ + "\t\t\t\ttreeViewerWithColumns.setColumnProperties(new String [] {\"a\", \"b\"});";
+ protected final String TEXT_297 = NL
+ + "\t\t\t\ttreeViewerWithColumns.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));"
+ + NL + "\t\t\t\ttreeViewerWithColumns.setLabelProvider(";
protected final String TEXT_298 = "new ";
protected final String TEXT_299 = "(";
protected final String TEXT_300 = "new ";
@@ -484,10 +1048,14 @@
protected final String TEXT_315 = NL + "\t\t\t\tnew ";
protected final String TEXT_316 = "(treeViewerWithColumns, new ";
protected final String TEXT_317 = ".EditingDomainLocationListener(editingDomain, treeViewerWithColumns));" + NL;
- protected final String TEXT_318 = NL + "\t\t\t\tcreateContextMenuFor(treeViewerWithColumns);" + NL + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TreeWithColumnsPage_label\"));";
+ protected final String TEXT_318 = NL + "\t\t\t\tcreateContextMenuFor(treeViewerWithColumns);" + NL
+ + "\t\t\t\tint pageIndex = addPage(viewerPane.getControl());" + NL
+ + "\t\t\t\tsetPageText(pageIndex, getString(\"_UI_TreeWithColumnsPage_label\"));";
protected final String TEXT_319 = NL + "\t\t\t}";
- protected final String TEXT_320 = NL + "\t\t\tTree tree = new Tree(getContainer(), SWT.MULTI);" + NL + "\t\t\tselectionViewer = new TreeViewer(tree);" + NL + "\t\t\tsetCurrentViewer(selectionViewer);" + NL + "" + NL
- + "\t\t\tselectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL + "\t\t\tselectionViewer.setLabelProvider(";
+ protected final String TEXT_320 = NL + "\t\t\tTree tree = new Tree(getContainer(), SWT.MULTI);" + NL
+ + "\t\t\tselectionViewer = new TreeViewer(tree);" + NL + "\t\t\tsetCurrentViewer(selectionViewer);" + NL
+ + "" + NL + "\t\t\tselectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));"
+ + NL + "\t\t\tselectionViewer.setLabelProvider(";
protected final String TEXT_321 = "new ";
protected final String TEXT_322 = "(";
protected final String TEXT_323 = "new ";
@@ -504,46 +1072,87 @@
protected final String TEXT_334 = ".getPlugin().getDialogSettings()";
protected final String TEXT_335 = "))";
protected final String TEXT_336 = ")";
- protected final String TEXT_337 = ");" + NL + "\t\t\tselectionViewer.setInput(editingDomain.getResourceSet());" + NL + "\t\t\tselectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);" + NL + "" + NL
- + "\t\t\tnew AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);";
+ protected final String TEXT_337 = ");"
+ + NL
+ + "\t\t\tselectionViewer.setInput(editingDomain.getResourceSet());"
+ + NL
+ + "\t\t\tselectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);"
+ + NL + "" + NL + "\t\t\tnew AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory);";
protected final String TEXT_338 = NL + "\t\t\tnew ";
protected final String TEXT_339 = "(selectionViewer, new ";
protected final String TEXT_340 = ".EditingDomainLocationListener(editingDomain, selectionViewer));";
- protected final String TEXT_341 = NL + NL + "\t\t\tcreateContextMenuFor(selectionViewer);" + NL + "\t\t\tint pageIndex = addPage(tree);" + NL + "\t\t\tsetPageText(pageIndex, getString(\"_UI_SelectionPage_label\"));";
- protected final String TEXT_342 = NL + NL + "\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t\t(new Runnable()" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t {" + NL + "\t\t\t\t\t\t setActivePage(0);" + NL + "\t\t\t\t\t }" + NL
- + "\t\t\t\t });" + NL + "\t\t}" + NL + "" + NL + "\t\t// Ensures that this editor will only display the page's tab" + NL + "\t\t// area if there are more than one page" + NL + "\t\t//" + NL + "\t\tgetContainer().addControlListener" + NL
- + "\t\t\t(new ControlAdapter()" + NL + "\t\t\t {" + NL + "\t\t\t\tboolean guard = false;";
+ protected final String TEXT_341 = NL + NL + "\t\t\tcreateContextMenuFor(selectionViewer);" + NL
+ + "\t\t\tint pageIndex = addPage(tree);" + NL
+ + "\t\t\tsetPageText(pageIndex, getString(\"_UI_SelectionPage_label\"));";
+ protected final String TEXT_342 = NL + NL + "\t\t\tgetSite().getShell().getDisplay().asyncExec" + NL
+ + "\t\t\t\t(new Runnable()" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t {"
+ + NL + "\t\t\t\t\t\t setActivePage(0);" + NL + "\t\t\t\t\t }" + NL + "\t\t\t\t });" + NL + "\t\t}" + NL
+ + "" + NL + "\t\t// Ensures that this editor will only display the page's tab" + NL
+ + "\t\t// area if there are more than one page" + NL + "\t\t//" + NL
+ + "\t\tgetContainer().addControlListener" + NL + "\t\t\t(new ControlAdapter()" + NL + "\t\t\t {" + NL
+ + "\t\t\t\tboolean guard = false;";
protected final String TEXT_343 = NL + "\t\t\t\t@Override";
- protected final String TEXT_344 = NL + "\t\t\t\tpublic void controlResized(ControlEvent event)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tif (!guard)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tguard = true;" + NL + "\t\t\t\t\t\thideTabs();" + NL + "\t\t\t\t\t\tguard = false;" + NL
- + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t });" + NL + "" + NL + "\t\tgetSite().getShell().getDisplay().asyncExec" + NL + "\t\t\t(new Runnable()" + NL + "\t\t\t {" + NL + "\t\t\t\t public void run()" + NL + "\t\t\t\t {" + NL
- + "\t\t\t\t\t updateProblemIndication();" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * If there is just one page in the multi-page editor part," + NL + "\t * this hides the single tab at the bottom." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void hideTabs()" + NL + "\t{" + NL + "\t\tif (getPageCount() <= 1)" + NL + "\t\t{" + NL + "\t\t\tsetPageText(0, \"\");";
- protected final String TEXT_345 = NL + "\t\t\tif (getContainer() instanceof CTabFolder)" + NL + "\t\t\t{" + NL + "\t\t\t\t((CTabFolder)getContainer()).setTabHeight(1);" + NL + "\t\t\t\tPoint point = getContainer().getSize();" + NL
- + "\t\t\t\tgetContainer().setSize(point.x, point.y + 6);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * If there is more than one page in the multi-page editor part," + NL + "\t * this shows the tabs at the bottom." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void showTabs()" + NL + "\t{" + NL + "\t\tif (getPageCount() > 1)" + NL + "\t\t{" + NL
+ protected final String TEXT_344 = NL + "\t\t\t\tpublic void controlResized(ControlEvent event)" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\tif (!guard)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tguard = true;" + NL
+ + "\t\t\t\t\t\thideTabs();" + NL + "\t\t\t\t\t\tguard = false;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}"
+ + NL + "\t\t\t });" + NL + "" + NL + "\t\tgetSite().getShell().getDisplay().asyncExec" + NL
+ + "\t\t\t(new Runnable()" + NL + "\t\t\t {" + NL + "\t\t\t\t public void run()" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t updateProblemIndication();" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * If there is just one page in the multi-page editor part," + NL
+ + "\t * this hides the single tab at the bottom." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void hideTabs()"
+ + NL + "\t{" + NL + "\t\tif (getPageCount() <= 1)" + NL + "\t\t{" + NL + "\t\t\tsetPageText(0, \"\");";
+ protected final String TEXT_345 = NL + "\t\t\tif (getContainer() instanceof CTabFolder)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t((CTabFolder)getContainer()).setTabHeight(1);" + NL
+ + "\t\t\t\tPoint point = getContainer().getSize();" + NL
+ + "\t\t\t\tgetContainer().setSize(point.x, point.y + 6);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * If there is more than one page in the multi-page editor part," + NL
+ + "\t * this shows the tabs at the bottom." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void showTabs()"
+ + NL + "\t{" + NL + "\t\tif (getPageCount() > 1)" + NL + "\t\t{" + NL
+ "\t\t\tsetPageText(0, getString(\"_UI_SelectionPage_label\"));";
- protected final String TEXT_346 = NL + "\t\t\tif (getContainer() instanceof CTabFolder)" + NL + "\t\t\t{" + NL + "\t\t\t\t((CTabFolder)getContainer()).setTabHeight(SWT.DEFAULT);" + NL + "\t\t\t\tPoint point = getContainer().getSize();" + NL
- + "\t\t\t\tgetContainer().setSize(point.x, point.y - 6);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This is used to track the active viewer." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_346 = NL + "\t\t\tif (getContainer() instanceof CTabFolder)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t((CTabFolder)getContainer()).setTabHeight(SWT.DEFAULT);" + NL
+ + "\t\t\t\tPoint point = getContainer().getSize();" + NL
+ + "\t\t\t\tgetContainer().setSize(point.x, point.y - 6);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * This is used to track the active viewer." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_347 = NL + "\t@Override";
- protected final String TEXT_348 = NL + "\tprotected void pageChange(int pageIndex)" + NL + "\t{" + NL + "\t\tsuper.pageChange(pageIndex);" + NL + "" + NL + "\t\tif (contentOutlinePage != null)" + NL + "\t\t{" + NL
- + "\t\t\thandleContentOutlineSelection(contentOutlinePage.getSelection());" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This is how the framework determines which interfaces we implement." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_348 = NL + "\tprotected void pageChange(int pageIndex)" + NL + "\t{" + NL
+ + "\t\tsuper.pageChange(pageIndex);" + NL + "" + NL + "\t\tif (contentOutlinePage != null)" + NL + "\t\t{"
+ + NL + "\t\t\thandleContentOutlineSelection(contentOutlinePage.getSelection());" + NL + "\t\t}" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is how the framework determines which interfaces we implement." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_349 = NL + "\t@SuppressWarnings(\"";
protected final String TEXT_350 = "rawtypes";
protected final String TEXT_351 = "unchecked";
protected final String TEXT_352 = "\")";
protected final String TEXT_353 = NL + "\t@Override";
- protected final String TEXT_354 = NL + "\tpublic Object getAdapter(Class key)" + NL + "\t{" + NL + "\t\tif (key.equals(IContentOutlinePage.class))" + NL + "\t\t{" + NL + "\t\t\treturn showOutlineView() ? getContentOutlinePage() : null;" + NL + "\t\t}" + NL
- + "\t\telse if (key.equals(IPropertySheetPage.class))" + NL + "\t\t{" + NL + "\t\t\treturn getPropertySheetPage();" + NL + "\t\t}";
- protected final String TEXT_355 = NL + "\t\telse if (key.equals(IGotoMarker.class))" + NL + "\t\t{" + NL + "\t\t\treturn this;" + NL + "\t\t}";
- protected final String TEXT_356 = NL + "\t\telse" + NL + "\t\t{" + NL + "\t\t\treturn super.getAdapter(key);" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This accesses a cached version of the content outliner." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic IContentOutlinePage getContentOutlinePage()" + NL + "\t{" + NL + "\t\tif (contentOutlinePage == null)" + NL + "\t\t{" + NL + "\t\t\t// The content outline is just a tree." + NL
- + "\t\t\t//" + NL + "\t\t\tclass MyContentOutlinePage extends ContentOutlinePage" + NL + "\t\t\t{";
+ protected final String TEXT_354 = NL + "\tpublic Object getAdapter(Class key)" + NL + "\t{" + NL
+ + "\t\tif (key.equals(IContentOutlinePage.class))" + NL + "\t\t{" + NL
+ + "\t\t\treturn showOutlineView() ? getContentOutlinePage() : null;" + NL + "\t\t}" + NL
+ + "\t\telse if (key.equals(IPropertySheetPage.class))" + NL + "\t\t{" + NL
+ + "\t\t\treturn getPropertySheetPage();" + NL + "\t\t}";
+ protected final String TEXT_355 = NL + "\t\telse if (key.equals(IGotoMarker.class))" + NL + "\t\t{" + NL
+ + "\t\t\treturn this;" + NL + "\t\t}";
+ protected final String TEXT_356 = NL + "\t\telse" + NL + "\t\t{" + NL + "\t\t\treturn super.getAdapter(key);" + NL
+ + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This accesses a cached version of the content outliner." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic IContentOutlinePage getContentOutlinePage()" + NL + "\t{" + NL
+ + "\t\tif (contentOutlinePage == null)" + NL + "\t\t{" + NL
+ + "\t\t\t// The content outline is just a tree." + NL + "\t\t\t//" + NL
+ + "\t\t\tclass MyContentOutlinePage extends ContentOutlinePage" + NL + "\t\t\t{";
protected final String TEXT_357 = NL + "\t\t\t\t@Override";
- protected final String TEXT_358 = NL + "\t\t\t\tpublic void createControl(Composite parent)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.createControl(parent);" + NL + "\t\t\t\t\tcontentOutlineViewer = getTreeViewer();" + NL
- + "\t\t\t\t\tcontentOutlineViewer.addSelectionChangedListener(this);" + NL + "" + NL + "\t\t\t\t\t// Set up the tree viewer." + NL + "\t\t\t\t\t//" + NL + "\t\t\t\t\tcontentOutlineViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL
- + "\t\t\t\t\tcontentOutlineViewer.setLabelProvider(";
+ protected final String TEXT_358 = NL + "\t\t\t\tpublic void createControl(Composite parent)" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\tsuper.createControl(parent);" + NL + "\t\t\t\t\tcontentOutlineViewer = getTreeViewer();"
+ + NL + "\t\t\t\t\tcontentOutlineViewer.addSelectionChangedListener(this);" + NL + "" + NL
+ + "\t\t\t\t\t// Set up the tree viewer." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tcontentOutlineViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));"
+ + NL + "\t\t\t\t\tcontentOutlineViewer.setLabelProvider(";
protected final String TEXT_359 = "new ";
protected final String TEXT_360 = "(";
protected final String TEXT_361 = "new ";
@@ -560,22 +1169,50 @@
protected final String TEXT_372 = ".getPlugin().getDialogSettings()";
protected final String TEXT_373 = "))";
protected final String TEXT_374 = ")";
- protected final String TEXT_375 = ");" + NL + "\t\t\t\t\tcontentOutlineViewer.setInput(editingDomain.getResourceSet());" + NL;
+ protected final String TEXT_375 = ");" + NL
+ + "\t\t\t\t\tcontentOutlineViewer.setInput(editingDomain.getResourceSet());" + NL;
protected final String TEXT_376 = NL + "\t\t\t\t\tnew ";
protected final String TEXT_377 = "(contentOutlineViewer, new ";
protected final String TEXT_378 = ".EditingDomainLocationListener(editingDomain, contentOutlineViewer));" + NL;
- protected final String TEXT_379 = NL + "\t\t\t\t\t// Make sure our popups work." + NL + "\t\t\t\t\t//" + NL + "\t\t\t\t\tcreateContextMenuFor(contentOutlineViewer);" + NL + "" + NL + "\t\t\t\t\tif (!editingDomain.getResourceSet().getResources().isEmpty())" + NL
- + "\t\t\t\t\t{" + NL + "\t\t\t\t\t // Select the root object in the view." + NL + "\t\t\t\t\t //" + NL + "\t\t\t\t\t contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);" + NL + "\t\t\t\t\t}" + NL
- + "\t\t\t\t}" + NL;
+ protected final String TEXT_379 = NL
+ + "\t\t\t\t\t// Make sure our popups work."
+ + NL
+ + "\t\t\t\t\t//"
+ + NL
+ + "\t\t\t\t\tcreateContextMenuFor(contentOutlineViewer);"
+ + NL
+ + ""
+ + NL
+ + "\t\t\t\t\tif (!editingDomain.getResourceSet().getResources().isEmpty())"
+ + NL
+ + "\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t // Select the root object in the view."
+ + NL
+ + "\t\t\t\t\t //"
+ + NL
+ + "\t\t\t\t\t contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);"
+ + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL;
protected final String TEXT_380 = NL + "\t\t\t\t@Override";
- protected final String TEXT_381 = NL + "\t\t\t\tpublic void makeContributions(IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager)" + NL + "\t\t\t\t{" + NL
- + "\t\t\t\t\tsuper.makeContributions(menuManager, toolBarManager, statusLineManager);" + NL + "\t\t\t\t\tcontentOutlineStatusLineManager = statusLineManager;" + NL + "\t\t\t\t}" + NL;
+ protected final String TEXT_381 = NL
+ + "\t\t\t\tpublic void makeContributions(IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager)"
+ + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tsuper.makeContributions(menuManager, toolBarManager, statusLineManager);" + NL
+ + "\t\t\t\t\tcontentOutlineStatusLineManager = statusLineManager;" + NL + "\t\t\t\t}" + NL;
protected final String TEXT_382 = NL + "\t\t\t\t@Override";
- protected final String TEXT_383 = NL + "\t\t\t\tpublic void setActionBars(IActionBars actionBars)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.setActionBars(actionBars);" + NL + "\t\t\t\t\tgetActionBarContributor().shareGlobalActions(this, actionBars);" + NL + "\t\t\t\t}"
- + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tcontentOutlinePage = new MyContentOutlinePage();" + NL + "" + NL + "\t\t\t// Listen to selection so that we can handle it is a special way." + NL + "\t\t\t//" + NL + "\t\t\tcontentOutlinePage.addSelectionChangedListener" + NL
- + "\t\t\t\t(new ISelectionChangedListener()" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t // This ensures that we handle selections correctly." + NL + "\t\t\t\t\t //" + NL + "\t\t\t\t\t public void selectionChanged(SelectionChangedEvent event)" + NL + "\t\t\t\t\t {" + NL
- + "\t\t\t\t\t\t handleContentOutlineSelection(event.getSelection());" + NL + "\t\t\t\t\t }" + NL + "\t\t\t\t });" + NL + "\t\t}" + NL + "" + NL + "\t\treturn contentOutlinePage;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This accesses a cached version of the property sheet." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic IPropertySheetPage getPropertySheetPage()" + NL + "\t{" + NL
+ protected final String TEXT_383 = NL + "\t\t\t\tpublic void setActionBars(IActionBars actionBars)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.setActionBars(actionBars);" + NL
+ + "\t\t\t\t\tgetActionBarContributor().shareGlobalActions(this, actionBars);" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}" + NL + "" + NL + "\t\t\tcontentOutlinePage = new MyContentOutlinePage();" + NL + "" + NL
+ + "\t\t\t// Listen to selection so that we can handle it is a special way." + NL + "\t\t\t//" + NL
+ + "\t\t\tcontentOutlinePage.addSelectionChangedListener" + NL + "\t\t\t\t(new ISelectionChangedListener()"
+ + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t // This ensures that we handle selections correctly." + NL
+ + "\t\t\t\t\t //" + NL + "\t\t\t\t\t public void selectionChanged(SelectionChangedEvent event)" + NL
+ + "\t\t\t\t\t {" + NL + "\t\t\t\t\t\t handleContentOutlineSelection(event.getSelection());" + NL
+ + "\t\t\t\t\t }" + NL + "\t\t\t\t });" + NL + "\t\t}" + NL + "" + NL + "\t\treturn contentOutlinePage;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This accesses a cached version of the property sheet."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic IPropertySheetPage getPropertySheetPage()" + NL + "\t{" + NL
+ "\t\tPropertySheetPage propertySheetPage =" + NL + "\t\t\tnew ExtendedPropertySheetPage(editingDomain";
protected final String TEXT_384 = ", ExtendedPropertySheetPage.Decoration.MANUAL";
protected final String TEXT_385 = ", ExtendedPropertySheetPage.Decoration.LIVE, ";
@@ -587,152 +1224,432 @@
protected final String TEXT_391 = ".this.setSelectionToViewer(selection);" + NL + "\t\t\t\t\t";
protected final String TEXT_392 = ".this.setFocus();" + NL + "\t\t\t\t}" + NL;
protected final String TEXT_393 = NL + "\t\t\t\t@Override";
- protected final String TEXT_394 = NL + "\t\t\t\tpublic void setActionBars(IActionBars actionBars)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.setActionBars(actionBars);" + NL + "\t\t\t\t\tgetActionBarContributor().shareGlobalActions(this, actionBars);" + NL + "\t\t\t\t}"
- + NL + "\t\t\t};" + NL + "\t\tpropertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory));" + NL + "\t\tpropertySheetPages.add(propertySheetPage);" + NL + "" + NL + "\t\treturn propertySheetPage;" + NL + "\t}" + NL + "" + NL
- + "\t/**" + NL + "\t * This deals with how we want selection in the outliner to affect the other views." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void handleContentOutlineSelection(ISelection selection)" + NL + "\t{";
- protected final String TEXT_395 = NL + "\t\tif (currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection)";
- protected final String TEXT_396 = NL + "\t\tif (selectionViewer != null && !selection.isEmpty() && selection instanceof IStructuredSelection)";
+ protected final String TEXT_394 = NL + "\t\t\t\tpublic void setActionBars(IActionBars actionBars)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.setActionBars(actionBars);" + NL
+ + "\t\t\t\t\tgetActionBarContributor().shareGlobalActions(this, actionBars);" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t};" + NL
+ + "\t\tpropertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory));"
+ + NL + "\t\tpropertySheetPages.add(propertySheetPage);" + NL + "" + NL + "\t\treturn propertySheetPage;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This deals with how we want selection in the outliner to affect the other views." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void handleContentOutlineSelection(ISelection selection)" + NL + "\t{";
+ protected final String TEXT_395 = NL
+ + "\t\tif (currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection)";
+ protected final String TEXT_396 = NL
+ + "\t\tif (selectionViewer != null && !selection.isEmpty() && selection instanceof IStructuredSelection)";
protected final String TEXT_397 = NL + "\t\t{" + NL + "\t\t\tIterator";
protected final String TEXT_398 = "<?>";
- protected final String TEXT_399 = " selectedElements = ((IStructuredSelection)selection).iterator();" + NL + "\t\t\tif (selectedElements.hasNext())" + NL + "\t\t\t{" + NL + "\t\t\t\t// Get the first selected element." + NL + "\t\t\t\t//" + NL
+ protected final String TEXT_399 = " selectedElements = ((IStructuredSelection)selection).iterator();" + NL
+ + "\t\t\tif (selectedElements.hasNext())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Get the first selected element." + NL + "\t\t\t\t//" + NL
+ "\t\t\t\tObject selectedElement = selectedElements.next();" + NL;
- protected final String TEXT_400 = NL + "\t\t\t\t// If it's the selection viewer, then we want it to select the same selection as this selection." + NL + "\t\t\t\t//" + NL + "\t\t\t\tif (currentViewerPane.getViewer() == selectionViewer)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
+ protected final String TEXT_400 = NL
+ + "\t\t\t\t// If it's the selection viewer, then we want it to select the same selection as this selection."
+ + NL + "\t\t\t\t//" + NL + "\t\t\t\tif (currentViewerPane.getViewer() == selectionViewer)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\t";
protected final String TEXT_401 = " selectionList = new ";
- protected final String TEXT_402 = "();" + NL + "\t\t\t\t\tselectionList.add(selectedElement);" + NL + "\t\t\t\t\twhile (selectedElements.hasNext())" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tselectionList.add(selectedElements.next());" + NL + "\t\t\t\t\t}" + NL + "" + NL
- + "\t\t\t\t\t// Set the selection to the widget." + NL + "\t\t\t\t\t//" + NL + "\t\t\t\t\tselectionViewer.setSelection(new StructuredSelection(selectionList));" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL
- + "\t\t\t\t\t// Set the input to the widget." + NL + "\t\t\t\t\t//" + NL + "\t\t\t\t\tif (currentViewerPane.getViewer().getInput() != selectedElement)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tcurrentViewerPane.getViewer().setInput(selectedElement);" + NL
+ protected final String TEXT_402 = "();" + NL + "\t\t\t\t\tselectionList.add(selectedElement);" + NL
+ + "\t\t\t\t\twhile (selectedElements.hasNext())" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tselectionList.add(selectedElements.next());" + NL + "\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\t// Set the selection to the widget." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tselectionViewer.setSelection(new StructuredSelection(selectionList));" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t// Set the input to the widget." + NL
+ + "\t\t\t\t\t//" + NL + "\t\t\t\t\tif (currentViewerPane.getViewer().getInput() != selectedElement)" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tcurrentViewerPane.getViewer().setInput(selectedElement);" + NL
+ "\t\t\t\t\t\tcurrentViewerPane.setTitle(selectedElement);" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}";
protected final String TEXT_403 = NL + "\t\t\t\t";
protected final String TEXT_404 = " selectionList = new ";
- protected final String TEXT_405 = "();" + NL + "\t\t\t\tselectionList.add(selectedElement);" + NL + "\t\t\t\twhile (selectedElements.hasNext())" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tselectionList.add(selectedElements.next());" + NL + "\t\t\t\t}" + NL + "" + NL
- + "\t\t\t\t// Set the selection to the widget." + NL + "\t\t\t\t//" + NL + "\t\t\t\tselectionViewer.setSelection(new StructuredSelection(selectionList));";
- protected final String TEXT_406 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This is for implementing {@link IEditorPart} and simply tests the command stack." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_405 = "();" + NL + "\t\t\t\tselectionList.add(selectedElement);" + NL
+ + "\t\t\t\twhile (selectedElements.hasNext())" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tselectionList.add(selectedElements.next());" + NL + "\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t// Set the selection to the widget." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tselectionViewer.setSelection(new StructuredSelection(selectionList));";
+ protected final String TEXT_406 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This is for implementing {@link IEditorPart} and simply tests the command stack." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_407 = NL + "\t@Override";
- protected final String TEXT_408 = NL + "\tpublic boolean isDirty()" + NL + "\t{" + NL + "\t\treturn ((BasicCommandStack)editingDomain.getCommandStack()).isSaveNeeded();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This is for implementing {@link IEditorPart} and simply saves the model file." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_408 = NL + "\tpublic boolean isDirty()" + NL + "\t{" + NL
+ + "\t\treturn ((BasicCommandStack)editingDomain.getCommandStack()).isSaveNeeded();" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * This is for implementing {@link IEditorPart} and simply saves the model file."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_409 = NL + "\t@Override";
- protected final String TEXT_410 = NL + "\tpublic void doSave(IProgressMonitor progressMonitor)" + NL + "\t{" + NL + "\t\t// Save only resources that have actually changed." + NL + "\t\t//" + NL + "\t\tfinal ";
+ protected final String TEXT_410 = NL + "\tpublic void doSave(IProgressMonitor progressMonitor)" + NL + "\t{" + NL
+ + "\t\t// Save only resources that have actually changed." + NL + "\t\t//" + NL + "\t\tfinal ";
protected final String TEXT_411 = " saveOptions = new ";
protected final String TEXT_412 = "();";
- protected final String TEXT_413 = NL + "\t\tsaveOptions.put(Resource.OPTION_SAVE_ONLY_IF_CHANGED, Resource.OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER);";
- protected final String TEXT_414 = NL + "\t\tsaveOptions.put(Resource.OPTION_LINE_DELIMITER, Resource.OPTION_LINE_DELIMITER_UNSPECIFIED);";
- protected final String TEXT_415 = NL + NL + "\t\t// Do the work within an operation because this is a long running activity that modifies the workbench." + NL + "\t\t//" + NL + "\t\t";
+ protected final String TEXT_413 = NL
+ + "\t\tsaveOptions.put(Resource.OPTION_SAVE_ONLY_IF_CHANGED, Resource.OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER);";
+ protected final String TEXT_414 = NL
+ + "\t\tsaveOptions.put(Resource.OPTION_LINE_DELIMITER, Resource.OPTION_LINE_DELIMITER_UNSPECIFIED);";
+ protected final String TEXT_415 = NL
+ + NL
+ + "\t\t// Do the work within an operation because this is a long running activity that modifies the workbench."
+ + NL + "\t\t//" + NL + "\t\t";
protected final String TEXT_416 = " operation =" + NL + "\t\t\tnew ";
- protected final String TEXT_417 = "()" + NL + "\t\t\t{" + NL + "\t\t\t\t// This is the method that gets invoked when the operation runs." + NL + "\t\t\t\t//";
+ protected final String TEXT_417 = "()" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// This is the method that gets invoked when the operation runs." + NL + "\t\t\t\t//";
protected final String TEXT_418 = NL + "\t\t\t\t@Override";
protected final String TEXT_419 = NL + "\t\t\t\tpublic void ";
- protected final String TEXT_420 = "(IProgressMonitor monitor)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t// Save the resources to the file system." + NL + "\t\t\t\t\t//" + NL + "\t\t\t\t\tboolean first = true;";
- protected final String TEXT_421 = NL + "\t\t\t\t\tfor (Resource resource : editingDomain.getResourceSet().getResources())";
- protected final String TEXT_422 = NL + "\t\t\t\t\tfor (Iterator i = editingDomain.getResourceSet().getResources().iterator(); i.hasNext(); )";
+ protected final String TEXT_420 = "(IProgressMonitor monitor)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\t// Save the resources to the file system." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tboolean first = true;";
+ protected final String TEXT_421 = NL
+ + "\t\t\t\t\tfor (Resource resource : editingDomain.getResourceSet().getResources())";
+ protected final String TEXT_422 = NL
+ + "\t\t\t\t\tfor (Iterator i = editingDomain.getResourceSet().getResources().iterator(); i.hasNext(); )";
protected final String TEXT_423 = NL + "\t\t\t\t\t{";
protected final String TEXT_424 = NL + "\t\t\t\t\t\tResource resource = (Resource)i.next();";
- protected final String TEXT_425 = NL + "\t\t\t\t\t\tif ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource))" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\ttry" + NL + "\t\t\t\t\t\t\t{";
- protected final String TEXT_426 = NL + "\t\t\t\t\t\t\t\tlong timeStamp = resource.getTimeStamp();" + NL + "\t\t\t\t\t\t\t\tresource.save(saveOptions);" + NL + "\t\t\t\t\t\t\t\tif (resource.getTimeStamp() != timeStamp)" + NL + "\t\t\t\t\t\t\t\t{" + NL
+ protected final String TEXT_425 = NL
+ + "\t\t\t\t\t\tif ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource))"
+ + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\ttry" + NL + "\t\t\t\t\t\t\t{";
+ protected final String TEXT_426 = NL + "\t\t\t\t\t\t\t\tlong timeStamp = resource.getTimeStamp();" + NL
+ + "\t\t\t\t\t\t\t\tresource.save(saveOptions);" + NL
+ + "\t\t\t\t\t\t\t\tif (resource.getTimeStamp() != timeStamp)" + NL + "\t\t\t\t\t\t\t\t{" + NL
+ "\t\t\t\t\t\t\t\t\tsavedResources.add(resource);" + NL + "\t\t\t\t\t\t\t\t}";
- protected final String TEXT_427 = NL + "\t\t\t\t\t\t\t\tresource.save(saveOptions);" + NL + "\t\t\t\t\t\t\t\tsavedResources.add(resource);";
- protected final String TEXT_428 = NL + "\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\tcatch (Exception exception)" + NL + "\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));" + NL + "\t\t\t\t\t\t\t}" + NL
- + "\t\t\t\t\t\t\tfirst = false;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t};" + NL + "" + NL + "\t\tupdateProblemIndication = false;" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t// This runs the options, and shows progress." + NL
- + "\t\t\t//" + NL + "\t\t\tnew ProgressMonitorDialog(getSite().getShell()).run(true, false, operation);" + NL + "" + NL + "\t\t\t// Refresh the necessary state." + NL + "\t\t\t//" + NL + "\t\t\t((BasicCommandStack)editingDomain.getCommandStack()).saveIsDone();" + NL
- + "\t\t\tfirePropertyChange(IEditorPart.PROP_DIRTY);" + NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL + "\t\t\t// Something went wrong that shouldn't." + NL + "\t\t\t//" + NL + "\t\t\t";
- protected final String TEXT_429 = ".INSTANCE.log(exception);" + NL + "\t\t}" + NL + "\t\tupdateProblemIndication = true;" + NL + "\t\tupdateProblemIndication();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This returns whether something has been persisted to the URI of the specified resource." + NL + "\t * The implementation uses the URI converter from the editor's resource set to try to open an input stream." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected boolean isPersisted(Resource resource)" + NL + "\t{" + NL + "\t\tboolean result = false;" + NL + "\t\ttry" + NL + "\t\t{" + NL
- + "\t\t\tInputStream stream = editingDomain.getResourceSet().getURIConverter().createInputStream(resource.getURI());" + NL + "\t\t\tif (stream != null)" + NL + "\t\t\t{" + NL + "\t\t\t\tresult = true;" + NL + "\t\t\t\tstream.close();" + NL + "\t\t\t}" + NL + "\t\t}"
- + NL + "\t\tcatch (IOException e)" + NL + "\t\t{" + NL + "\t\t\t// Ignore" + NL + "\t\t}" + NL + "\t\treturn result;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This always returns true because it is not currently supported." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_427 = NL + "\t\t\t\t\t\t\t\tresource.save(saveOptions);" + NL
+ + "\t\t\t\t\t\t\t\tsavedResources.add(resource);";
+ protected final String TEXT_428 = NL + "\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\tcatch (Exception exception)" + NL
+ + "\t\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t\tresourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));"
+ + NL + "\t\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\t\tfirst = false;" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}"
+ + NL + "\t\t\t\t}" + NL + "\t\t\t};" + NL + "" + NL + "\t\tupdateProblemIndication = false;" + NL
+ + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t// This runs the options, and shows progress." + NL + "\t\t\t//"
+ + NL + "\t\t\tnew ProgressMonitorDialog(getSite().getShell()).run(true, false, operation);" + NL + "" + NL
+ + "\t\t\t// Refresh the necessary state." + NL + "\t\t\t//" + NL
+ + "\t\t\t((BasicCommandStack)editingDomain.getCommandStack()).saveIsDone();" + NL
+ + "\t\t\tfirePropertyChange(IEditorPart.PROP_DIRTY);" + NL + "\t\t}" + NL
+ + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL + "\t\t\t// Something went wrong that shouldn't."
+ + NL + "\t\t\t//" + NL + "\t\t\t";
+ protected final String TEXT_429 = ".INSTANCE.log(exception);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\tupdateProblemIndication = true;"
+ + NL
+ + "\t\tupdateProblemIndication();"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This returns whether something has been persisted to the URI of the specified resource."
+ + NL
+ + "\t * The implementation uses the URI converter from the editor's resource set to try to open an input stream."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected boolean isPersisted(Resource resource)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tboolean result = false;"
+ + NL
+ + "\t\ttry"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tInputStream stream = editingDomain.getResourceSet().getURIConverter().createInputStream(resource.getURI());"
+ + NL + "\t\t\tif (stream != null)" + NL + "\t\t\t{" + NL + "\t\t\t\tresult = true;" + NL
+ + "\t\t\t\tstream.close();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (IOException e)" + NL
+ + "\t\t{" + NL + "\t\t\t// Ignore" + NL + "\t\t}" + NL + "\t\treturn result;" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * This always returns true because it is not currently supported." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_430 = NL + "\t@Override";
- protected final String TEXT_431 = NL + "\tpublic boolean isSaveAsAllowed()" + NL + "\t{" + NL + "\t\treturn true;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This also changes the editor's input." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_431 = NL + "\tpublic boolean isSaveAsAllowed()" + NL + "\t{" + NL + "\t\treturn true;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This also changes the editor's input." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_432 = NL + "\t@Override";
protected final String TEXT_433 = NL + "\tpublic void doSaveAs()" + NL + "\t{";
protected final String TEXT_434 = NL + "\t\tnew ";
protected final String TEXT_435 = "(getSite().getShell(), null, SWT.NONE)" + NL + "\t\t\t{";
protected final String TEXT_436 = NL + "\t\t\t\t@Override";
- protected final String TEXT_437 = NL + "\t\t\t\tprotected boolean isSave()" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\treturn true;" + NL + "\t\t\t\t}" + NL;
+ protected final String TEXT_437 = NL + "\t\t\t\tprotected boolean isSave()" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\treturn true;" + NL + "\t\t\t\t}" + NL;
protected final String TEXT_438 = NL + "\t\t\t\t@Override";
- protected final String TEXT_439 = NL + "\t\t\t\tprotected boolean processResources()" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t";
- protected final String TEXT_440 = " uris = getURIs();" + NL + "\t\t\t\t\tif (uris.size() > 0)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tURI uri = ";
+ protected final String TEXT_439 = NL + "\t\t\t\tprotected boolean processResources()" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\t";
+ protected final String TEXT_440 = " uris = getURIs();" + NL + "\t\t\t\t\tif (uris.size() > 0)" + NL + "\t\t\t\t\t{"
+ + NL + "\t\t\t\t\t\tURI uri = ";
protected final String TEXT_441 = "uris.get(0);" + NL + "\t\t\t\t\t\tdoSaveAs(uri, new ";
- protected final String TEXT_442 = "(uri));" + NL + "\t\t\t\t\t\treturn true;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t\telse" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\treturn false;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}.open();";
+ protected final String TEXT_442 = "(uri));" + NL + "\t\t\t\t\t\treturn true;" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\telse" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\treturn false;" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}.open();";
protected final String TEXT_443 = NL + "\t\tString[] filters = ";
protected final String TEXT_444 = "(String[])";
- protected final String TEXT_445 = "FILE_EXTENSION_FILTERS.toArray(new String[FILE_EXTENSION_FILTERS.size()]);" + NL + "\t\tString[] files = ";
+ protected final String TEXT_445 = "FILE_EXTENSION_FILTERS.toArray(new String[FILE_EXTENSION_FILTERS.size()]);" + NL
+ + "\t\tString[] files = ";
protected final String TEXT_446 = ".openFilePathDialog(getSite().getShell(), ";
- protected final String TEXT_447 = ".SAVE, filters);" + NL + "\t\tif (files.length > 0)" + NL + "\t\t{" + NL + "\t\t\tURI uri = URI.createFileURI(files[0]);" + NL + "\t\t\tdoSaveAs(uri, new ";
+ protected final String TEXT_447 = ".SAVE, filters);" + NL + "\t\tif (files.length > 0)" + NL + "\t\t{" + NL
+ + "\t\t\tURI uri = URI.createFileURI(files[0]);" + NL + "\t\t\tdoSaveAs(uri, new ";
protected final String TEXT_448 = "(uri));" + NL + "\t\t}";
- protected final String TEXT_449 = NL + "\t\tSaveAsDialog saveAsDialog = new SaveAsDialog(getSite().getShell());" + NL + "\t\tsaveAsDialog.open();" + NL + "\t\tIPath path = saveAsDialog.getResult();" + NL + "\t\tif (path != null)" + NL + "\t\t{" + NL
- + "\t\t\tIFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);" + NL + "\t\t\tif (file != null)" + NL + "\t\t\t{" + NL + "\t\t\t\tdoSaveAs(URI.createPlatformResourceURI(file.getFullPath().toString(), true), new FileEditorInput(file));" + NL + "\t\t\t}"
- + NL + "\t\t}";
- protected final String TEXT_450 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void doSaveAs(URI uri, IEditorInput editorInput)" + NL + "\t{" + NL
- + "\t\t(";
+ protected final String TEXT_449 = NL
+ + "\t\tSaveAsDialog saveAsDialog = new SaveAsDialog(getSite().getShell());"
+ + NL
+ + "\t\tsaveAsDialog.open();"
+ + NL
+ + "\t\tIPath path = saveAsDialog.getResult();"
+ + NL
+ + "\t\tif (path != null)"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tIFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);"
+ + NL
+ + "\t\t\tif (file != null)"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tdoSaveAs(URI.createPlatformResourceURI(file.getFullPath().toString(), true), new FileEditorInput(file));"
+ + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_450 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected void doSaveAs(URI uri, IEditorInput editorInput)" + NL + "\t{" + NL + "\t\t(";
protected final String TEXT_451 = "(Resource)";
- protected final String TEXT_452 = "editingDomain.getResourceSet().getResources().get(0)).setURI(uri);" + NL + "\t\tsetInputWithNotify(editorInput);" + NL + "\t\tsetPartName(editorInput.getName());" + NL + "\t\tIProgressMonitor progressMonitor =" + NL
- + "\t\t\tgetActionBars().getStatusLineManager() != null ?" + NL + "\t\t\t\tgetActionBars().getStatusLineManager().getProgressMonitor() :" + NL + "\t\t\t\tnew ";
+ protected final String TEXT_452 = "editingDomain.getResourceSet().getResources().get(0)).setURI(uri);" + NL
+ + "\t\tsetInputWithNotify(editorInput);" + NL + "\t\tsetPartName(editorInput.getName());" + NL
+ + "\t\tIProgressMonitor progressMonitor =" + NL + "\t\t\tgetActionBars().getStatusLineManager() != null ?"
+ + NL + "\t\t\t\tgetActionBars().getStatusLineManager().getProgressMonitor() :" + NL + "\t\t\t\tnew ";
protected final String TEXT_453 = "();" + NL + "\t\tdoSave(progressMonitor);" + NL + "\t}";
- protected final String TEXT_454 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void gotoMarker(IMarker marker)" + NL + "\t{";
+ protected final String TEXT_454 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void gotoMarker(IMarker marker)" + NL + "\t{";
protected final String TEXT_455 = NL + "\t\t";
- protected final String TEXT_456 = " targetObjects = markerHelper.getTargetObjects(editingDomain, marker);" + NL + "\t\tif (!targetObjects.isEmpty())" + NL + "\t\t{" + NL + "\t\t\tsetSelectionToViewer(targetObjects);" + NL + "\t\t}";
- protected final String TEXT_457 = NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\tif (marker.isSubtypeOf(EValidator.MARKER))" + NL + "\t\t\t{" + NL + "\t\t\t\tString uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);" + NL + "\t\t\t\tif (uriAttribute != null)"
- + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tURI uri = URI.createURI(uriAttribute);" + NL + "\t\t\t\t\tEObject eObject = editingDomain.getResourceSet().getEObject(uri, true);" + NL + "\t\t\t\t\tif (eObject != null)" + NL + "\t\t\t\t\t{" + NL
- + "\t\t\t\t\t setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (CoreException exception)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_456 = " targetObjects = markerHelper.getTargetObjects(editingDomain, marker);" + NL
+ + "\t\tif (!targetObjects.isEmpty())" + NL + "\t\t{" + NL + "\t\t\tsetSelectionToViewer(targetObjects);"
+ + NL + "\t\t}";
+ protected final String TEXT_457 = NL + "\t\ttry" + NL + "\t\t{" + NL
+ + "\t\t\tif (marker.isSubtypeOf(EValidator.MARKER))" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tString uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);" + NL
+ + "\t\t\t\tif (uriAttribute != null)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tURI uri = URI.createURI(uriAttribute);" + NL
+ + "\t\t\t\t\tEObject eObject = editingDomain.getResourceSet().getEObject(uri, true);" + NL
+ + "\t\t\t\t\tif (eObject != null)" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));" + NL
+ + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL
+ + "\t\tcatch (CoreException exception)" + NL + "\t\t{" + NL + "\t\t\t";
protected final String TEXT_458 = ".INSTANCE.log(exception);" + NL + "\t\t}";
protected final String TEXT_459 = NL + "\t}";
- protected final String TEXT_460 = NL + NL + "\t/**" + NL + "\t * This is called during startup." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_460 = NL + NL + "\t/**" + NL + "\t * This is called during startup." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_461 = NL + "\t@Override";
- protected final String TEXT_462 = NL + "\tpublic void init(IEditorSite site, IEditorInput editorInput)" + NL + "\t{" + NL + "\t\tsetSite(site);" + NL + "\t\tsetInputWithNotify(editorInput);" + NL + "\t\tsetPartName(editorInput.getName());" + NL
- + "\t\tsite.setSelectionProvider(this);" + NL + "\t\tsite.getPage().addPartListener(partListener);";
- protected final String TEXT_463 = NL + "\t\tResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);";
- protected final String TEXT_464 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_462 = NL + "\tpublic void init(IEditorSite site, IEditorInput editorInput)" + NL
+ + "\t{" + NL + "\t\tsetSite(site);" + NL + "\t\tsetInputWithNotify(editorInput);" + NL
+ + "\t\tsetPartName(editorInput.getName());" + NL + "\t\tsite.setSelectionProvider(this);" + NL
+ + "\t\tsite.getPage().addPartListener(partListener);";
+ protected final String TEXT_463 = NL
+ + "\t\tResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);";
+ protected final String TEXT_464 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_465 = NL + "\t@Override";
protected final String TEXT_466 = NL + "\tpublic void setFocus()" + NL + "\t{";
- protected final String TEXT_467 = NL + "\t\tif (currentViewerPane != null)" + NL + "\t\t{" + NL + "\t\t\tcurrentViewerPane.setFocus();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL + "\t\t\tgetControl(getActivePage()).setFocus();" + NL + "\t\t}";
+ protected final String TEXT_467 = NL + "\t\tif (currentViewerPane != null)" + NL + "\t\t{" + NL
+ + "\t\t\tcurrentViewerPane.setFocus();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL
+ + "\t\t\tgetControl(getActivePage()).setFocus();" + NL + "\t\t}";
protected final String TEXT_468 = NL + "\t\tgetControl(getActivePage()).setFocus();";
- protected final String TEXT_469 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void addSelectionChangedListener(ISelectionChangedListener listener)" + NL + "\t{" + NL + "\t\tselectionChangedListeners.add(listener);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void removeSelectionChangedListener(ISelectionChangedListener listener)" + NL + "\t{" + NL + "\t\tselectionChangedListeners.remove(listener);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic ISelection getSelection()" + NL + "\t{" + NL + "\t\treturn editorSelection;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to set this editor's overall selection." + NL
- + "\t * Calling this result will notify the listeners." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setSelection(ISelection selection)" + NL + "\t{" + NL
- + "\t\teditorSelection = selection;" + NL;
+ protected final String TEXT_469 = NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic void addSelectionChangedListener(ISelectionChangedListener listener)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tselectionChangedListeners.add(listener);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic void removeSelectionChangedListener(ISelectionChangedListener listener)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tselectionChangedListeners.remove(listener);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic ISelection getSelection()"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn editorSelection;"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to set this editor's overall selection."
+ + NL + "\t * Calling this result will notify the listeners." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void setSelection(ISelection selection)" + NL + "\t{" + NL + "\t\teditorSelection = selection;"
+ + NL;
protected final String TEXT_470 = NL + "\t\tfor (ISelectionChangedListener listener : selectionChangedListeners)";
- protected final String TEXT_471 = NL + "\t\tfor (Iterator listeners = selectionChangedListeners.iterator(); listeners.hasNext(); )";
+ protected final String TEXT_471 = NL
+ + "\t\tfor (Iterator listeners = selectionChangedListeners.iterator(); listeners.hasNext(); )";
protected final String TEXT_472 = NL + "\t\t{";
- protected final String TEXT_473 = NL + "\t\t\tISelectionChangedListener listener = (ISelectionChangedListener)listeners.next();";
- protected final String TEXT_474 = NL + "\t\t\tlistener.selectionChanged(new SelectionChangedEvent(this, selection));" + NL + "\t\t}" + NL + "\t\tsetStatusLineManager(selection);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setStatusLineManager(ISelection selection)" + NL + "\t{" + NL + "\t\tIStatusLineManager statusLineManager = currentViewer != null && currentViewer == contentOutlineViewer ?"
- + NL + "\t\t\tcontentOutlineStatusLineManager : getActionBars().getStatusLineManager();" + NL + "" + NL + "\t\tif (statusLineManager != null)" + NL + "\t\t{" + NL + "\t\t\tif (selection instanceof IStructuredSelection)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
- protected final String TEXT_475 = " collection = ((IStructuredSelection)selection).toList();" + NL + "\t\t\t\tswitch (collection.size())" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tcase 0:" + NL + "\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_NoObjectSelected\"));";
- protected final String TEXT_476 = NL + "\t\t\t\t\t\tbreak;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t\tcase 1:" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tString text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());" + NL
- + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_SingleObjectSelected\", text));";
- protected final String TEXT_477 = NL + "\t\t\t\t\t\tbreak;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t\tdefault:" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_MultiObjectSelected\", Integer.toString(collection.size())));";
- protected final String TEXT_478 = NL + "\t\t\t\t\t\tbreak;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\telse" + NL + "\t\t\t{" + NL + "\t\t\t\tstatusLineManager.setMessage(\"\");";
- protected final String TEXT_479 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This looks up a string in the plugin's plugin.properties file." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprivate static String getString(String key)" + NL + "\t{" + NL + "\t\treturn ";
- protected final String TEXT_480 = ".INSTANCE.getString(key);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This looks up a string in plugin.properties, making a substitution." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tprivate static String getString(String key, Object s1)" + NL + "\t{" + NL + "\t\treturn ";
- protected final String TEXT_481 = ".INSTANCE.getString(key, new Object [] { s1 });" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * This implements {@link org.eclipse.jface.action.IMenuListener} to help fill the context menus with contributions from the Edit menu." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void menuAboutToShow(IMenuManager menuManager)" + NL + "\t{" + NL
- + "\t\t((IMenuListener)getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic EditingDomainActionBarContributor getActionBarContributor()" + NL + "\t{" + NL + "\t\treturn (EditingDomainActionBarContributor)getEditorSite().getActionBarContributor();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic IActionBars getActionBars()" + NL + "\t{" + NL + "\t\treturn getActionBarContributor().getActionBars();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic AdapterFactory getAdapterFactory()" + NL + "\t{" + NL + "\t\treturn adapterFactory;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_473 = NL
+ + "\t\t\tISelectionChangedListener listener = (ISelectionChangedListener)listeners.next();";
+ protected final String TEXT_474 = NL
+ + "\t\t\tlistener.selectionChanged(new SelectionChangedEvent(this, selection));"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\tsetStatusLineManager(selection);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tpublic void setStatusLineManager(ISelection selection)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\tIStatusLineManager statusLineManager = currentViewer != null && currentViewer == contentOutlineViewer ?"
+ + NL + "\t\t\tcontentOutlineStatusLineManager : getActionBars().getStatusLineManager();" + NL + "" + NL
+ + "\t\tif (statusLineManager != null)" + NL + "\t\t{" + NL
+ + "\t\t\tif (selection instanceof IStructuredSelection)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_475 = " collection = ((IStructuredSelection)selection).toList();" + NL
+ + "\t\t\t\tswitch (collection.size())" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tcase 0:" + NL + "\t\t\t\t\t{"
+ + NL + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_NoObjectSelected\"));";
+ protected final String TEXT_476 = NL
+ + "\t\t\t\t\t\tbreak;"
+ + NL
+ + "\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\tcase 1:"
+ + NL
+ + "\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\tString text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());"
+ + NL + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_SingleObjectSelected\", text));";
+ protected final String TEXT_477 = NL
+ + "\t\t\t\t\t\tbreak;"
+ + NL
+ + "\t\t\t\t\t}"
+ + NL
+ + "\t\t\t\t\tdefault:"
+ + NL
+ + "\t\t\t\t\t{"
+ + NL
+ + "\t\t\t\t\t\tstatusLineManager.setMessage(getString(\"_UI_MultiObjectSelected\", Integer.toString(collection.size())));";
+ protected final String TEXT_478 = NL + "\t\t\t\t\t\tbreak;" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t}" + NL + "\t\t\telse" + NL + "\t\t\t{" + NL + "\t\t\t\tstatusLineManager.setMessage(\"\");";
+ protected final String TEXT_479 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This looks up a string in the plugin's plugin.properties file." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String getString(String key)" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_480 = ".INSTANCE.getString(key);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * This looks up a string in plugin.properties, making a substitution." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static String getString(String key, Object s1)" + NL + "\t{" + NL
+ + "\t\treturn ";
+ protected final String TEXT_481 = ".INSTANCE.getString(key, new Object [] { s1 });"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * This implements {@link org.eclipse.jface.action.IMenuListener} to help fill the context menus with contributions from the Edit menu."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void menuAboutToShow(IMenuManager menuManager)" + NL + "\t{" + NL
+ + "\t\t((IMenuListener)getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic EditingDomainActionBarContributor getActionBarContributor()" + NL + "\t{" + NL
+ + "\t\treturn (EditingDomainActionBarContributor)getEditorSite().getActionBarContributor();" + NL + "\t}"
+ + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic IActionBars getActionBars()" + NL + "\t{" + NL
+ + "\t\treturn getActionBarContributor().getActionBars();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic AdapterFactory getAdapterFactory()" + NL + "\t{" + NL
+ + "\t\treturn adapterFactory;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_482 = NL + "\t@Override";
- protected final String TEXT_483 = NL + "\tpublic void dispose()" + NL + "\t{" + NL + "\t\tupdateProblemIndication = false;" + NL;
- protected final String TEXT_484 = NL + "\t\tResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);" + NL;
- protected final String TEXT_485 = NL + "\t\tgetSite().getPage().removePartListener(partListener);" + NL + "" + NL + "\t\tadapterFactory.dispose();" + NL + "" + NL + "\t\tif (getActionBarContributor().getActiveEditor() == this)" + NL + "\t\t{" + NL
+ protected final String TEXT_483 = NL + "\tpublic void dispose()" + NL + "\t{" + NL
+ + "\t\tupdateProblemIndication = false;" + NL;
+ protected final String TEXT_484 = NL
+ + "\t\tResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);" + NL;
+ protected final String TEXT_485 = NL + "\t\tgetSite().getPage().removePartListener(partListener);" + NL + "" + NL
+ + "\t\tadapterFactory.dispose();" + NL + "" + NL
+ + "\t\tif (getActionBarContributor().getActiveEditor() == this)" + NL + "\t\t{" + NL
+ "\t\t\tgetActionBarContributor().setActiveEditor(null);" + NL + "\t\t}" + NL;
protected final String TEXT_486 = NL + "\t\tfor (PropertySheetPage propertySheetPage : propertySheetPages)";
protected final String TEXT_487 = NL + "\t\tfor (Iterator i = propertySheetPages.iterator(); i.hasNext(); )";
protected final String TEXT_488 = NL + "\t\t{";
protected final String TEXT_489 = NL + "\t\t\tPropertySheetPage propertySheetPage = (PropertySheetPage)i.next();";
- protected final String TEXT_490 = NL + "\t\t\tpropertySheetPage.dispose();" + NL + "\t\t}" + NL + "" + NL + "\t\tif (contentOutlinePage != null)" + NL + "\t\t{" + NL + "\t\t\tcontentOutlinePage.dispose();" + NL + "\t\t}" + NL + "" + NL + "\t\tsuper.dispose();" + NL + "\t}"
- + NL + "" + NL + "\t/**" + NL + "\t * Returns whether the outline view should be presented to the user." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected boolean showOutlineView()"
- + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_490 = NL + "\t\t\tpropertySheetPage.dispose();" + NL + "\t\t}" + NL + "" + NL
+ + "\t\tif (contentOutlinePage != null)" + NL + "\t\t{" + NL + "\t\t\tcontentOutlinePage.dispose();" + NL
+ + "\t\t}" + NL + "" + NL + "\t\tsuper.dispose();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns whether the outline view should be presented to the user." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected boolean showOutlineView()" + NL + "\t{" + NL + "\t\treturn ";
protected final String TEXT_491 = ";" + NL + "\t}" + NL + "}";
protected final String TEXT_492 = NL;
protected final String TEXT_493 = NL;
@@ -809,7 +1726,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getEditorDirectory();
@@ -829,9 +1747,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -853,28 +1773,44 @@
GenPackage genPackage = (GenPackage) argument;
GenModel genModel = genPackage.getGenModel(); /* Trick to import java.util.* without warnings */
Iterator.class.getName();
- String importedOperationClassName = genModel.getImportedName(genModel.isRichClientPlatform() ? "org.eclipse.jface.operation.IRunnableWithProgress" : "org.eclipse.ui.actions.WorkspaceModifyOperation");
+ String importedOperationClassName = genModel
+ .getImportedName(genModel.isRichClientPlatform() ? "org.eclipse.jface.operation.IRunnableWithProgress"
+ : "org.eclipse.ui.actions.WorkspaceModifyOperation");
String operationMethodName = genModel.isRichClientPlatform() ? "run" : "execute";
String _ArrayListOfObject = "ArrayList" + (genModel.useGenerics() ? "<Object>" : "");
- String _ArrayListOfSelectionChangedListener = "ArrayList" + (genModel.useGenerics() ? "<ISelectionChangedListener>" : "");
- String _CollectionOfSelectionChangedListener = "Collection" + (genModel.useGenerics() ? "<ISelectionChangedListener>" : "");
+ String _ArrayListOfSelectionChangedListener = "ArrayList"
+ + (genModel.useGenerics() ? "<ISelectionChangedListener>" : "");
+ String _CollectionOfSelectionChangedListener = "Collection"
+ + (genModel.useGenerics() ? "<ISelectionChangedListener>" : "");
String _ArrayListOfResource = "ArrayList" + (genModel.useGenerics() ? "<Resource>" : "");
String _CollectionOfResource = "Collection" + (genModel.useGenerics() ? "<Resource>" : "");
String _MapOfResourceToDiagnostic = "Map" + (genModel.useGenerics() ? "<Resource, Diagnostic>" : "");
String _HashMapOfResourceToBoolean = "HashMap" + (genModel.useGenerics() ? "<Resource, Boolean>" : "");
String _MapOfObjectToObject = "Map" + (genModel.useGenerics() ? "<Object, Object>" : "");
String _HashMapOfObjectToObject = "HashMap" + (genModel.useGenerics() ? "<Object, Object>" : "");
- String _LinkedHashMapOfResourceToDiagnostic = "LinkedHashMap" + (genModel.useGenerics() ? "<Resource, Diagnostic>" : "");
+ String _LinkedHashMapOfResourceToDiagnostic = "LinkedHashMap"
+ + (genModel.useGenerics() ? "<Resource, Diagnostic>" : "");
String _CollectionOfAnything = "Collection" + (genModel.useGenerics() ? "<?>" : "");
String _ListOfAnything = "List" + (genModel.useGenerics() ? "<?>" : "");
- boolean useExtendedLabelProvider = genModel.isStyleProviders() || genModel.isFontProviders() || genModel.isColorProviders();
+ boolean useExtendedLabelProvider = genModel.isStyleProviders() || genModel.isFontProviders()
+ || genModel.isColorProviders();
boolean useStyledLabelProvider = genModel.isStyleProviders();
- String _AdapterFactoryLabelProvider = (useStyledLabelProvider ? "AdapterFactoryLabelProvider.StyledLabelProvider" : "AdapterFactoryLabelProvider"
- + (genModel.isFontProviders() && genModel.isColorProviders() ? ".FontAndColorProvider" : genModel.isFontProviders() ? ".FontProvider" : genModel.isColorProviders() ? ".ColorProvider" : ""));
- String _DelegatingAdapterFactoryLabelProvider = useStyledLabelProvider ? genModel.getImportedName("org.eclipse.emf.edit.ui.provider.DelegatingStyledCellLabelProvider")
- + (genModel.isFontProviders() && genModel.isColorProviders() ? ".FontAndColorProvider" : genModel.isFontProviders() ? ".FontProvider" : genModel.isColorProviders() ? ".ColorProvider" : "") : "";
- String _DecoratingColumLabelProvider = genModel.getDecoration() != GenDecoration.NONE ? genModel.getImportedName("org.eclipse.emf.edit.ui.provider.DecoratingColumLabelProvider") + (useStyledLabelProvider ? ".StyledLabelProvider" : "") : "";
- String _DiagnosticDecorator = genModel.getDecoration() != GenDecoration.NONE ? genModel.getImportedName("org.eclipse.emf.edit.ui.provider.DiagnosticDecorator") + (useStyledLabelProvider ? ".Styled" : "") : "";
+ String _AdapterFactoryLabelProvider = (useStyledLabelProvider ? "AdapterFactoryLabelProvider.StyledLabelProvider"
+ : "AdapterFactoryLabelProvider"
+ + (genModel.isFontProviders() && genModel.isColorProviders() ? ".FontAndColorProvider"
+ : genModel.isFontProviders() ? ".FontProvider"
+ : genModel.isColorProviders() ? ".ColorProvider" : ""));
+ String _DelegatingAdapterFactoryLabelProvider = useStyledLabelProvider ? genModel
+ .getImportedName("org.eclipse.emf.edit.ui.provider.DelegatingStyledCellLabelProvider")
+ + (genModel.isFontProviders() && genModel.isColorProviders() ? ".FontAndColorProvider" : genModel
+ .isFontProviders() ? ".FontProvider" : genModel.isColorProviders() ? ".ColorProvider" : "")
+ : "";
+ String _DecoratingColumLabelProvider = genModel.getDecoration() != GenDecoration.NONE ? genModel
+ .getImportedName("org.eclipse.emf.edit.ui.provider.DecoratingColumLabelProvider")
+ + (useStyledLabelProvider ? ".StyledLabelProvider" : "") : "";
+ String _DiagnosticDecorator = genModel.getDecoration() != GenDecoration.NONE ? genModel
+ .getImportedName("org.eclipse.emf.edit.ui.provider.DiagnosticDecorator")
+ + (useStyledLabelProvider ? ".Styled" : "") : "";
String _ArrayListOfString = "ArrayList" + (genModel.useGenerics() ? "<String>" : "");
String _ListOfString = "List" + (genModel.useGenerics() ? "<String>" : "");
String _ListOfPropertySheetPage = "List" + (genModel.useGenerics() ? "<PropertySheetPage>" : "");
@@ -889,7 +1825,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -1210,7 +2149,9 @@
callParameters.put("_ListOfString", _ListOfString);
callParameters.put("_ListOfPropertySheetPage", _ListOfPropertySheetPage);
callParameters.put("_ArrayListOfPropertySheetPage", _ArrayListOfPropertySheetPage);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_08-MQWJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_08-MQWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -1342,7 +2283,9 @@
stringBuffer.append(TEXT_202);
if (genModel.getDecoration() != GenDecoration.NONE) {
stringBuffer.append(TEXT_203);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
stringBuffer.append(TEXT_204);
stringBuffer.append(_DiagnosticDecorator);
stringBuffer.append(TEXT_205);
@@ -1448,7 +2391,9 @@
stringBuffer.append(TEXT_254);
if (genModel.getDecoration() != GenDecoration.NONE) {
stringBuffer.append(TEXT_255);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
stringBuffer.append(TEXT_256);
stringBuffer.append(_DiagnosticDecorator);
stringBuffer.append(TEXT_257);
@@ -1511,7 +2456,9 @@
stringBuffer.append(TEXT_284);
if (genModel.getDecoration() != GenDecoration.NONE) {
stringBuffer.append(TEXT_285);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
stringBuffer.append(TEXT_286);
stringBuffer.append(_DiagnosticDecorator);
stringBuffer.append(TEXT_287);
@@ -1574,7 +2521,9 @@
stringBuffer.append(TEXT_314);
if (genModel.getDecoration() != GenDecoration.NONE) {
stringBuffer.append(TEXT_315);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
stringBuffer.append(TEXT_316);
stringBuffer.append(_DiagnosticDecorator);
stringBuffer.append(TEXT_317);
@@ -1622,7 +2571,9 @@
stringBuffer.append(TEXT_337);
if (genModel.getDecoration() != GenDecoration.NONE) {
stringBuffer.append(TEXT_338);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer
+ .append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
stringBuffer.append(TEXT_339);
stringBuffer.append(_DiagnosticDecorator);
stringBuffer.append(TEXT_340);
@@ -1702,7 +2653,8 @@
stringBuffer.append(TEXT_375);
if (genModel.getDecoration() != GenDecoration.NONE) {
stringBuffer.append(TEXT_376);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.ui.viewer.ColumnViewerInformationControlToolTipSupport"));
stringBuffer.append(TEXT_377);
stringBuffer.append(_DiagnosticDecorator);
stringBuffer.append(TEXT_378);
@@ -1944,8 +2896,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
- canGenerate = canGenerate && (genPackage.hasConcreteClasses() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate
+ && (genPackage.hasConcreteClasses() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/EntryPoint.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/EntryPoint.java
index 57e88a1..6d67dde 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/EntryPoint.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/EntryPoint.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,24 +29,33 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL + "" + NL + "import org.eclipse.emf.edit.ui.EditorEntryPoint;";
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the entry point." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the entry point." + NL
+ + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL
+ + "public class ";
protected final String TEXT_5 = " extends EditorEntryPoint" + NL + "{";
- protected final String TEXT_6 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_6 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_7 = " copyright = ";
protected final String TEXT_8 = ";";
protected final String TEXT_9 = NL + "\t";
- protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tpublic void onModuleLoad()" + NL + "\t{" + NL + "\t\tsuper.onModuleLoad();" + NL
- + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tprotected void registerPackages(";
+ protected final String TEXT_10 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tpublic void onModuleLoad()" + NL + "\t{" + NL + "\t\tsuper.onModuleLoad();" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tprotected void registerPackages(";
protected final String TEXT_11 = ".Registry packageRegistry)" + NL + "\t{";
protected final String TEXT_12 = NL + "\t\tpackageRegistry.put(";
protected final String TEXT_13 = ".eNS_URI, ";
protected final String TEXT_14 = ".eINSTANCE);";
- protected final String TEXT_15 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tprotected void configureItemProviderAdapterFactories(";
+ protected final String TEXT_15 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tprotected void configureItemProviderAdapterFactories(";
protected final String TEXT_16 = " adapterFactory)" + NL + "\t{";
protected final String TEXT_17 = NL + "\t\tadapterFactory.addAdapterFactory(new ";
protected final String TEXT_18 = "());";
- protected final String TEXT_19 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tprotected String getApplicationTitle()" + NL + "\t{" + NL
- + "\t\treturn \"";
+ protected final String TEXT_19 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL
+ + "\tprotected String getApplicationTitle()" + NL + "\t{" + NL + "\t\treturn \"";
protected final String TEXT_20 = " Application\";";
protected final String TEXT_21 = NL + "\t}" + NL + "}";
protected final String TEXT_22 = NL;
@@ -124,7 +133,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPath = genModel.getEditorPluginDirectory();
@@ -144,9 +154,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -177,7 +189,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -229,7 +244,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/HomeHTML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/HomeHTML.java
index 2fa9adf..edc15bc 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/HomeHTML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/HomeHTML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,17 +26,35 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<!doctype html>" + NL + "<html style=\"height : 100%\"> " + NL + " <head>" + NL + " <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">" + NL + "" + NL
- + " <!-- -->" + NL + " <!-- Any title is fine -->" + NL + " <!-- -->" + NL + " <title>";
- protected final String TEXT_2 = " Application</title>" + NL + " " + NL + " <style TYPE=\"text/css\">" + NL + " <!--" + NL + " .ToolBar" + NL + " {" + NL + " background-color: #d0e4f6;" + NL + " }" + NL + " .ToolBarButton" + NL
- + " {" + NL + " float: left;" + NL + " margin-top: 5px;" + NL + " }" + NL + " .ToolBarButtonLeftMargin" + NL + " {" + NL + " float: left;" + NL + " margin-left: 10px;" + NL + " margin-top: 5px;"
- + NL + " }" + NL + " .Header" + NL + " {" + NL + " background-color: #628cd5;" + NL + " color: #FFFFFF;" + NL + " float: left;" + NL + " font-weight: bold;" + NL + " font-size: xx-large;" + NL
- + " }" + NL + " .HeaderLabel" + NL + " {" + NL + " float: left;" + NL + " margin-left: 10px;" + NL + " }" + NL + " .PropertiesTitle" + NL + " {" + NL + " background-color: #628cd5;" + NL
- + " color: #FFFFFF;" + NL + " font-weight: bold;" + NL + " font-size: large;" + NL + " }" + NL + " .PropertiesTitleLabel" + NL + " {" + NL + " float: left;" + NL + " margin-left: 5px;" + NL
- + " }" + NL + " -->" + NL + " </style>" + NL + "" + NL + " <!-- -->" + NL + " <!-- This script loads your compiled module. -->" + NL + " <!-- If you add any GWT meta tags, they must -->" + NL
- + " <!-- be added before this line. -->" + NL + " <script type=\"text/javascript\" language=\"javascript\" src=\"";
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<!doctype html>" + NL
+ + "<html style=\"height : 100%\"> " + NL + " <head>" + NL
+ + " <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">" + NL + "" + NL
+ + " <!-- -->" + NL
+ + " <!-- Any title is fine -->" + NL
+ + " <!-- -->" + NL + " <title>";
+ protected final String TEXT_2 = " Application</title>" + NL + " " + NL + " <style TYPE=\"text/css\">" + NL
+ + " <!--" + NL + " .ToolBar" + NL + " {" + NL + " background-color: #d0e4f6;"
+ + NL + " }" + NL + " .ToolBarButton" + NL + " {" + NL + " float: left;" + NL
+ + " margin-top: 5px;" + NL + " }" + NL + " .ToolBarButtonLeftMargin" + NL
+ + " {" + NL + " float: left;" + NL + " margin-left: 10px;" + NL
+ + " margin-top: 5px;" + NL + " }" + NL + " .Header" + NL + " {" + NL
+ + " background-color: #628cd5;" + NL + " color: #FFFFFF;" + NL + " float: left;"
+ + NL + " font-weight: bold;" + NL + " font-size: xx-large;" + NL + " }" + NL
+ + " .HeaderLabel" + NL + " {" + NL + " float: left;" + NL
+ + " margin-left: 10px;" + NL + " }" + NL + " .PropertiesTitle" + NL + " {"
+ + NL + " background-color: #628cd5;" + NL + " color: #FFFFFF;" + NL
+ + " font-weight: bold;" + NL + " font-size: large;" + NL + " }" + NL
+ + " .PropertiesTitleLabel" + NL + " {" + NL + " float: left;" + NL
+ + " margin-left: 5px;" + NL + " }" + NL + " -->" + NL + " </style>" + NL + "" + NL
+ + " <!-- -->" + NL
+ + " <!-- This script loads your compiled module. -->" + NL
+ + " <!-- If you add any GWT meta tags, they must -->" + NL
+ + " <!-- be added before this line. -->" + NL
+ + " <script type=\"text/javascript\" language=\"javascript\" src=\"";
protected final String TEXT_3 = "/";
- protected final String TEXT_4 = ".nocache.js\"></script>" + NL + " </head>" + NL + "" + NL + " <body style=\"height : 100%\">" + NL + " <div id=\"main\" style=\"height : 100%\">" + NL + " </div>" + NL + " </body>" + NL + "</html>" + NL;
+ protected final String TEXT_4 = ".nocache.js\"></script>" + NL + " </head>" + NL + "" + NL
+ + " <body style=\"height : 100%\">" + NL + " <div id=\"main\" style=\"height : 100%\">" + NL
+ + " </div>" + NL + " </body>" + NL + "</html>" + NL;
protected final String TEXT_5 = NL;
protected final String TEXT_6 = NL;
@@ -111,7 +129,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditorProjectDirectory() + "/war/" + genModel.getEditorHomePageName() + ".html";
@@ -131,9 +150,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -168,7 +189,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ManifestMF.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ManifestMF.java
index 25a752a..2c94385 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ManifestMF.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ManifestMF.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,8 +26,10 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
- protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL + "Bundle-ClassPath: ";
+ protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL
+ + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
+ protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL
+ + "Bundle-ClassPath: ";
protected final String TEXT_3 = ".jar";
protected final String TEXT_4 = ".";
protected final String TEXT_5 = NL + "Bundle-Activator: ";
@@ -45,12 +47,21 @@
protected final String TEXT_17 = ",";
protected final String TEXT_18 = NL + " ";
protected final String TEXT_19 = ";visibility:=reexport";
- protected final String TEXT_20 = NL + "Import-Package: org.eclipse.emf.common.ui," + NL + " org.eclipse.emf.common.ui.action," + NL + " org.eclipse.emf.common.ui.dialogs," + NL + " org.eclipse.emf.common.ui.editor," + NL + " org.eclipse.emf.common.ui.viewer," + NL
- + " org.eclipse.emf.edit.ui," + NL + " org.eclipse.emf.edit.ui.action," + NL + " org.eclipse.emf.edit.ui.celleditor," + NL + " org.eclipse.emf.edit.ui.dnd," + NL + " org.eclipse.emf.edit.ui.provider," + NL + " org.eclipse.emf.edit.ui.util," + NL
- + " org.eclipse.emf.edit.ui.view," + NL + " org.eclipse.jface.action," + NL + " org.eclipse.jface.dialogs," + NL + " org.eclipse.jface.operation," + NL + " org.eclipse.jface.viewers," + NL + " org.eclipse.jface.window," + NL + " org.eclipse.jface.wizard," + NL
- + " org.eclipse.swt," + NL + " org.eclipse.swt.custom," + NL + " org.eclipse.swt.dnd," + NL + " org.eclipse.swt.events," + NL + " org.eclipse.swt.graphics," + NL + " org.eclipse.swt.layout," + NL + " org.eclipse.swt.widgets," + NL
- + " org.eclipse.ui;ui.workbench=\"split\"," + NL + " org.eclipse.ui.actions;ui.workbench=\"split\"," + NL + " org.eclipse.ui.application," + NL + " org.eclipse.ui.part;ui.workbench=\"split\"," + NL + " org.eclipse.ui.views," + NL
- + " org.eclipse.ui.views.contentoutline," + NL + " org.eclipse.ui.views.properties;ui.views=\"split\"";
+ protected final String TEXT_20 = NL + "Import-Package: org.eclipse.emf.common.ui," + NL
+ + " org.eclipse.emf.common.ui.action," + NL + " org.eclipse.emf.common.ui.dialogs," + NL
+ + " org.eclipse.emf.common.ui.editor," + NL + " org.eclipse.emf.common.ui.viewer," + NL
+ + " org.eclipse.emf.edit.ui," + NL + " org.eclipse.emf.edit.ui.action," + NL
+ + " org.eclipse.emf.edit.ui.celleditor," + NL + " org.eclipse.emf.edit.ui.dnd," + NL
+ + " org.eclipse.emf.edit.ui.provider," + NL + " org.eclipse.emf.edit.ui.util," + NL
+ + " org.eclipse.emf.edit.ui.view," + NL + " org.eclipse.jface.action," + NL + " org.eclipse.jface.dialogs,"
+ + NL + " org.eclipse.jface.operation," + NL + " org.eclipse.jface.viewers," + NL
+ + " org.eclipse.jface.window," + NL + " org.eclipse.jface.wizard," + NL + " org.eclipse.swt," + NL
+ + " org.eclipse.swt.custom," + NL + " org.eclipse.swt.dnd," + NL + " org.eclipse.swt.events," + NL
+ + " org.eclipse.swt.graphics," + NL + " org.eclipse.swt.layout," + NL + " org.eclipse.swt.widgets," + NL
+ + " org.eclipse.ui;ui.workbench=\"split\"," + NL + " org.eclipse.ui.actions;ui.workbench=\"split\"," + NL
+ + " org.eclipse.ui.application," + NL + " org.eclipse.ui.part;ui.workbench=\"split\"," + NL
+ + " org.eclipse.ui.views," + NL + " org.eclipse.ui.views.contentoutline," + NL
+ + " org.eclipse.ui.views.properties;ui.views=\"split\"";
protected final String TEXT_21 = NL + "Eclipse-LazyStart: true";
protected final String TEXT_22 = NL + "Bundle-ActivationPolicy: lazy" + NL;
protected final String TEXT_23 = NL;
@@ -127,7 +138,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditorProjectDirectory() + "/META-INF/MANIFEST.MF";
@@ -147,9 +159,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -218,7 +232,8 @@
stringBuffer.append(TEXT_17);
stringBuffer.append(TEXT_18);
stringBuffer.append(pluginID);
- if (!pluginID.startsWith("org.eclipse.core.runtime")) {
+ if (!pluginID.startsWith("org.eclipse.core.runtime") && !pluginID.equals("org.eclipse.xtext.xbase.lib")
+ && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {
stringBuffer.append(TEXT_19);
}
}
@@ -226,7 +241,8 @@
if (genModel.isRichAjaxPlatform()) {
stringBuffer.append(TEXT_20);
}
- if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
+ if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22
+ || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
stringBuffer.append(TEXT_21);
}
stringBuffer.append(TEXT_22);
@@ -237,7 +253,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && (genModel.isBundleManifest());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelIcon.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelIcon.java
index f685f12..124ed99 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelIcon.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelIcon.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -100,9 +100,11 @@
return parameters;
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -112,7 +114,8 @@
GenPackage genPackage = parameter;
if (genPackage.hasConcreteClasses()) {
- new CodegenGeneratorAdapter(parameter).generateGIF("editor/ModelFile.gif", genPackage.getModelIconFileName(), genPackage.getPrefix(), null, false);
+ new CodegenGeneratorAdapter(parameter).generateGIF("editor/ModelFile.gif",
+ genPackage.getModelIconFileName(), genPackage.getPrefix(), null, false);
} else {
}
@@ -123,7 +126,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizard.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizard.java
index f0b052e..40149bd 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizard.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizard.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,68 +28,110 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
- protected final String TEXT_3 = ";" + NL + "" + NL + "" + NL + "import java.util.ArrayList;" + NL + "import java.util.Arrays;" + NL + "import java.util.Collection;" + NL + "import java.util.Collections;" + NL + "import java.util.HashMap;";
+ protected final String TEXT_3 = ";" + NL + "" + NL + "" + NL + "import java.util.ArrayList;" + NL
+ + "import java.util.Arrays;" + NL + "import java.util.Collection;" + NL + "import java.util.Collections;"
+ + NL + "import java.util.HashMap;";
protected final String TEXT_4 = NL + "import java.util.Iterator;";
- protected final String TEXT_5 = NL + "import java.util.List;" + NL + "import java.util.Map;" + NL + "import java.util.MissingResourceException;" + NL + "import java.util.StringTokenizer;" + NL;
+ protected final String TEXT_5 = NL + "import java.util.List;" + NL + "import java.util.Map;" + NL
+ + "import java.util.MissingResourceException;" + NL + "import java.util.StringTokenizer;" + NL;
protected final String TEXT_6 = NL + "import org.eclipse.emf.common.CommonPlugin;" + NL;
- protected final String TEXT_7 = NL + "import org.eclipse.emf.common.util.URI;" + NL + "" + NL + "import org.eclipse.emf.ecore.EClass;" + NL + "import org.eclipse.emf.ecore.EClassifier;" + NL + "" + NL + "import org.eclipse.emf.ecore.resource.Resource;" + NL
- + "import org.eclipse.emf.ecore.resource.ResourceSet;" + NL + "" + NL + "import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;" + NL + "" + NL + "import org.eclipse.emf.ecore.EObject;" + NL + "" + NL + "import org.eclipse.emf.ecore.xmi.XMLResource;" + NL + ""
- + NL + "import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;" + NL;
- protected final String TEXT_8 = NL + "import org.eclipse.core.resources.IContainer;" + NL + "import org.eclipse.core.resources.IFile;" + NL + "import org.eclipse.core.resources.IFolder;" + NL + "import org.eclipse.core.resources.IProject;" + NL
- + "import org.eclipse.core.resources.IResource;" + NL + "import org.eclipse.core.resources.ResourcesPlugin;" + NL;
- protected final String TEXT_9 = NL + "import org.eclipse.core.runtime.IProgressMonitor;" + NL + "" + NL + "import org.eclipse.jface.dialogs.MessageDialog;" + NL + "" + NL + "import org.eclipse.jface.viewers.IStructuredSelection;" + NL + "" + NL
- + "import org.eclipse.jface.wizard.Wizard;" + NL + "import org.eclipse.jface.wizard.WizardPage;" + NL + "" + NL + "import org.eclipse.swt.SWT;" + NL + "" + NL + "import org.eclipse.swt.events.ModifyListener;" + NL + "import org.eclipse.swt.events.ModifyEvent;" + NL
- + "" + NL + "import org.eclipse.swt.layout.GridData;" + NL + "import org.eclipse.swt.layout.GridLayout;" + NL + "" + NL + "import org.eclipse.swt.widgets.Combo;" + NL + "import org.eclipse.swt.widgets.Composite;" + NL + "import org.eclipse.swt.widgets.Label;" + NL
- + "" + NL + "import org.eclipse.ui.INewWizard;" + NL + "import org.eclipse.ui.IWorkbench;" + NL;
- protected final String TEXT_10 = NL + "import org.eclipse.ui.actions.WorkspaceModifyOperation;" + NL + "" + NL + "import org.eclipse.ui.dialogs.WizardNewFileCreationPage;" + NL + "" + NL + "import org.eclipse.ui.part.FileEditorInput;" + NL
- + "import org.eclipse.ui.part.ISetSelectionTarget;" + NL;
+ protected final String TEXT_7 = NL + "import org.eclipse.emf.common.util.URI;" + NL + "" + NL
+ + "import org.eclipse.emf.ecore.EClass;" + NL + "import org.eclipse.emf.ecore.EClassifier;" + NL + "" + NL
+ + "import org.eclipse.emf.ecore.resource.Resource;" + NL
+ + "import org.eclipse.emf.ecore.resource.ResourceSet;" + NL + "" + NL
+ + "import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;" + NL + "" + NL
+ + "import org.eclipse.emf.ecore.EObject;" + NL + "" + NL + "import org.eclipse.emf.ecore.xmi.XMLResource;"
+ + NL + "" + NL + "import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;" + NL;
+ protected final String TEXT_8 = NL + "import org.eclipse.core.resources.IContainer;" + NL
+ + "import org.eclipse.core.resources.IFile;" + NL + "import org.eclipse.core.resources.IFolder;" + NL
+ + "import org.eclipse.core.resources.IProject;" + NL + "import org.eclipse.core.resources.IResource;" + NL
+ + "import org.eclipse.core.resources.ResourcesPlugin;" + NL;
+ protected final String TEXT_9 = NL + "import org.eclipse.core.runtime.IProgressMonitor;" + NL + "" + NL
+ + "import org.eclipse.jface.dialogs.MessageDialog;" + NL + "" + NL
+ + "import org.eclipse.jface.viewers.IStructuredSelection;" + NL + "" + NL
+ + "import org.eclipse.jface.wizard.Wizard;" + NL + "import org.eclipse.jface.wizard.WizardPage;" + NL + ""
+ + NL + "import org.eclipse.swt.SWT;" + NL + "" + NL + "import org.eclipse.swt.events.ModifyListener;" + NL
+ + "import org.eclipse.swt.events.ModifyEvent;" + NL + "" + NL + "import org.eclipse.swt.layout.GridData;"
+ + NL + "import org.eclipse.swt.layout.GridLayout;" + NL + "" + NL + "import org.eclipse.swt.widgets.Combo;"
+ + NL + "import org.eclipse.swt.widgets.Composite;" + NL + "import org.eclipse.swt.widgets.Label;" + NL + ""
+ + NL + "import org.eclipse.ui.INewWizard;" + NL + "import org.eclipse.ui.IWorkbench;" + NL;
+ protected final String TEXT_10 = NL + "import org.eclipse.ui.actions.WorkspaceModifyOperation;" + NL + "" + NL
+ + "import org.eclipse.ui.dialogs.WizardNewFileCreationPage;" + NL + "" + NL
+ + "import org.eclipse.ui.part.FileEditorInput;" + NL + "import org.eclipse.ui.part.ISetSelectionTarget;"
+ + NL;
protected final String TEXT_11 = NL + "import ";
protected final String TEXT_12 = ";";
protected final String TEXT_13 = NL + "import ";
protected final String TEXT_14 = ";" + NL + "import ";
protected final String TEXT_15 = ";" + NL + NL;
- protected final String TEXT_16 = NL + NL + NL + "/**" + NL + " * This is a simple wizard for creating a new model file." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_16 = NL + NL + NL + "/**" + NL
+ + " * This is a simple wizard for creating a new model file." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
protected final String TEXT_17 = " extends Wizard implements INewWizard" + NL + "{";
- protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_19 = " copyright = ";
protected final String TEXT_20 = ";";
protected final String TEXT_21 = NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The supported extensions for created files." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The supported extensions for created files." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_23 = " FILE_EXTENSIONS =" + NL + "\t\tCollections.unmodifiableList(Arrays.asList(";
protected final String TEXT_24 = ".INSTANCE.getString(\"_UI_";
protected final String TEXT_25 = "FilenameExtensions\").split(\"\\\\s*,\\\\s*\")));";
- protected final String TEXT_26 = NL + NL + "\t/**" + NL + "\t * A formatted list of supported file extensions, suitable for display." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic static final String FORMATTED_FILE_EXTENSIONS =" + NL + "\t\t";
+ protected final String TEXT_26 = NL + NL + "\t/**" + NL
+ + "\t * A formatted list of supported file extensions, suitable for display." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final String FORMATTED_FILE_EXTENSIONS =" + NL + "\t\t";
protected final String TEXT_27 = ".INSTANCE.getString(\"_UI_";
protected final String TEXT_28 = "FilenameExtensions\").replaceAll(\"\\\\s*,\\\\s*\", \", \");";
- protected final String TEXT_29 = NL + NL + "\t/**" + NL + "\t * This caches an instance of the model package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_29 = NL + NL + "\t/**" + NL + "\t * This caches an instance of the model package." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_30 = " ";
protected final String TEXT_31 = " = ";
- protected final String TEXT_32 = ".eINSTANCE;" + NL + "" + NL + "\t/**" + NL + "\t * This caches an instance of the model factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_32 = ".eINSTANCE;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This caches an instance of the model factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_33 = " ";
protected final String TEXT_34 = " = ";
protected final String TEXT_35 = ".get";
protected final String TEXT_36 = "();" + NL;
- protected final String TEXT_37 = NL + "\t/**" + NL + "\t * This is the file creation page." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_37 = NL + "\t/**" + NL + "\t * This is the file creation page." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_38 = "NewFileCreationPage newFileCreationPage;" + NL;
- protected final String TEXT_39 = NL + "\t/**" + NL + "\t * This is the initial object creation page." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
- protected final String TEXT_40 = "InitialObjectCreationPage initialObjectCreationPage;" + NL + "" + NL + "\t/**" + NL + "\t * Remember the selection during initialization for populating the default container." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected IStructuredSelection selection;" + NL + "" + NL + "\t/**" + NL + "\t * Remember the workbench during initialization." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected IWorkbench workbench;" + NL + "" + NL + "\t/**";
+ protected final String TEXT_39 = NL + "\t/**" + NL + "\t * This is the initial object creation page." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_40 = "InitialObjectCreationPage initialObjectCreationPage;" + NL + "" + NL + "\t/**"
+ + NL + "\t * Remember the selection during initialization for populating the default container." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected IStructuredSelection selection;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Remember the workbench during initialization." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected IWorkbench workbench;" + NL + "" + NL + "\t/**";
protected final String TEXT_41 = NL + "\t * Caches the names of the types that can be created as the root object.";
protected final String TEXT_42 = NL + "\t * Caches the names of the features representing global elements.";
- protected final String TEXT_43 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
- protected final String TEXT_44 = " initialObjectNames;" + NL + "" + NL + "\t/**" + NL + "\t * This just records the information." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void init(IWorkbench workbench, IStructuredSelection selection)" + NL + "\t{" + NL + "\t\tthis.workbench = workbench;" + NL + "\t\tthis.selection = selection;" + NL + "\t\tsetWindowTitle(";
+ protected final String TEXT_43 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_44 = " initialObjectNames;" + NL + "" + NL + "\t/**" + NL
+ + "\t * This just records the information." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void init(IWorkbench workbench, IStructuredSelection selection)" + NL + "\t{" + NL
+ + "\t\tthis.workbench = workbench;" + NL + "\t\tthis.selection = selection;" + NL + "\t\tsetWindowTitle(";
protected final String TEXT_45 = ".INSTANCE.getString(\"_UI_Wizard_label\"));";
- protected final String TEXT_46 = NL + "\t\tsetDefaultPageImageDescriptor(ExtendedImageRegistry.INSTANCE.getImageDescriptor(";
+ protected final String TEXT_46 = NL
+ + "\t\tsetDefaultPageImageDescriptor(ExtendedImageRegistry.INSTANCE.getImageDescriptor(";
protected final String TEXT_47 = ".INSTANCE.getImage(\"full/wizban/New";
protected final String TEXT_48 = "\")));";
protected final String TEXT_49 = NL + "\t}" + NL + "" + NL + "\t/**";
protected final String TEXT_50 = NL + "\t * Returns the names of the types that can be created as the root object.";
protected final String TEXT_51 = NL + "\t * Returns the names of the features representing global elements.";
- protected final String TEXT_52 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
- protected final String TEXT_53 = " getInitialObjectNames()" + NL + "\t{" + NL + "\t\tif (initialObjectNames == null)" + NL + "\t\t{" + NL + "\t\t\tinitialObjectNames = new ";
+ protected final String TEXT_52 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_53 = " getInitialObjectNames()" + NL + "\t{" + NL
+ + "\t\tif (initialObjectNames == null)" + NL + "\t\t{" + NL + "\t\t\tinitialObjectNames = new ";
protected final String TEXT_54 = "();";
protected final String TEXT_55 = NL + "\t\t\tfor (EClassifier eClassifier : ";
protected final String TEXT_56 = ".getEClassifiers())";
@@ -97,8 +139,10 @@
protected final String TEXT_58 = ".getEClassifiers().iterator(); classifiers.hasNext(); )";
protected final String TEXT_59 = NL + "\t\t\t{";
protected final String TEXT_60 = NL + "\t\t\t\tEClassifier eClassifier = (EClassifier)classifiers.next();";
- protected final String TEXT_61 = NL + "\t\t\t\tif (eClassifier instanceof EClass)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tEClass eClass = (EClass)eClassifier;" + NL + "\t\t\t\t\tif (!eClass.isAbstract())" + NL + "\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\tinitialObjectNames.add(eClass.getName());" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}";
+ protected final String TEXT_61 = NL + "\t\t\t\tif (eClassifier instanceof EClass)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tEClass eClass = (EClass)eClassifier;" + NL + "\t\t\t\t\tif (!eClass.isAbstract())" + NL
+ + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tinitialObjectNames.add(eClass.getName());" + NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t}";
protected final String TEXT_62 = NL + "\t\t\tfor (";
protected final String TEXT_63 = " eStructuralFeature : ";
protected final String TEXT_64 = ".INSTANCE.getAllElements(";
@@ -112,108 +156,220 @@
protected final String TEXT_72 = NL + "\t\t\t\t";
protected final String TEXT_73 = " eStructuralFeature = (";
protected final String TEXT_74 = ")elements.next();";
- protected final String TEXT_75 = NL + "\t\t\t\tif (eStructuralFeature.isChangeable())" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tEClassifier eClassifier = eStructuralFeature.getEType();" + NL + "\t\t\t\t\tif (eClassifier instanceof EClass)" + NL + "\t\t\t\t\t{" + NL
- + "\t\t\t\t\t\tEClass eClass = (EClass)eClassifier;" + NL + "\t\t\t\t\t\tif (!eClass.isAbstract())" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tinitialObjectNames.add(eStructuralFeature.getName());" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
- + "\t\t\t}";
+ protected final String TEXT_75 = NL + "\t\t\t\tif (eStructuralFeature.isChangeable())" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tEClassifier eClassifier = eStructuralFeature.getEType();" + NL
+ + "\t\t\t\t\tif (eClassifier instanceof EClass)" + NL + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tEClass eClass = (EClass)eClassifier;" + NL + "\t\t\t\t\t\tif (!eClass.isAbstract())" + NL
+ + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tinitialObjectNames.add(eStructuralFeature.getName());" + NL
+ + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t}";
protected final String TEXT_76 = NL + "\t\t\tCollections.sort(initialObjectNames, ";
protected final String TEXT_77 = "CommonPlugin.INSTANCE.getComparator()";
protected final String TEXT_78 = "java.text.Collator.getInstance()";
- protected final String TEXT_79 = ");" + NL + "\t\t}" + NL + "\t\treturn initialObjectNames;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Create a new model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
- + "\t */" + NL + "\tprotected EObject createInitialModel()" + NL + "\t{";
+ protected final String TEXT_79 = ");" + NL + "\t\t}" + NL + "\t\treturn initialObjectNames;" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * Create a new model." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected EObject createInitialModel()" + NL + "\t{";
protected final String TEXT_80 = NL + "\t\tEClass eClass = (EClass)";
- protected final String TEXT_81 = ".getEClassifier(initialObjectCreationPage.getInitialObjectName());" + NL + "\t\tEObject rootObject = ";
+ protected final String TEXT_81 = ".getEClassifier(initialObjectCreationPage.getInitialObjectName());" + NL
+ + "\t\tEObject rootObject = ";
protected final String TEXT_82 = ".create(eClass);";
protected final String TEXT_83 = NL + "\t\tEClass eClass = ";
protected final String TEXT_84 = ".INSTANCE.getDocumentRoot(";
- protected final String TEXT_85 = ");" + NL + "\t\tEStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(initialObjectCreationPage.getInitialObjectName());" + NL + "\t\tEObject rootObject = ";
+ protected final String TEXT_85 = ");"
+ + NL
+ + "\t\tEStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(initialObjectCreationPage.getInitialObjectName());"
+ + NL + "\t\tEObject rootObject = ";
protected final String TEXT_86 = ".create(eClass);" + NL + "\t\trootObject.eSet(eStructuralFeature, ";
protected final String TEXT_87 = ".create((EClass)eStructuralFeature.getEType()));";
- protected final String TEXT_88 = NL + "\t\treturn rootObject;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Do the work after everything is specified." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_88 = NL + "\t\treturn rootObject;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Do the work after everything is specified." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_89 = NL + "\t@Override";
- protected final String TEXT_90 = NL + "\tpublic boolean performFinish()" + NL + "\t{" + NL + "\t\ttry" + NL + "\t\t{";
- protected final String TEXT_91 = NL + "\t\t\t// Get the URI of the model file." + NL + "\t\t\t//" + NL + "\t\t\tfinal URI fileURI = getModelURI();" + NL + "\t\t\tif (new ";
- protected final String TEXT_92 = "(fileURI.toFileString()).exists())" + NL + "\t\t\t{" + NL + "\t\t\t\tif (!MessageDialog.openQuestion" + NL + "\t\t\t\t\t\t(getShell()," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_90 = NL + "\tpublic boolean performFinish()" + NL + "\t{" + NL + "\t\ttry" + NL
+ + "\t\t{";
+ protected final String TEXT_91 = NL + "\t\t\t// Get the URI of the model file." + NL + "\t\t\t//" + NL
+ + "\t\t\tfinal URI fileURI = getModelURI();" + NL + "\t\t\tif (new ";
+ protected final String TEXT_92 = "(fileURI.toFileString()).exists())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tif (!MessageDialog.openQuestion" + NL + "\t\t\t\t\t\t(getShell()," + NL + "\t\t\t\t\t\t ";
protected final String TEXT_93 = ".INSTANCE.getString(\"_UI_Question_title\"),";
protected final String TEXT_94 = NL + "\t\t\t\t\t\t ";
protected final String TEXT_95 = ".INSTANCE.getString(\"_WARN_FileConflict\", new String []{ fileURI.toFileString() })))";
- protected final String TEXT_96 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tinitialObjectCreationPage.selectFileField();" + NL + "\t\t\t\t\treturn false;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\t" + NL + "\t\t\t// Do the work within an operation." + NL + "\t\t\t//" + NL
- + "\t\t\t";
+ protected final String TEXT_96 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tinitialObjectCreationPage.selectFileField();"
+ + NL + "\t\t\t\t\treturn false;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\t" + NL
+ + "\t\t\t// Do the work within an operation." + NL + "\t\t\t//" + NL + "\t\t\t";
protected final String TEXT_97 = " operation = new ";
- protected final String TEXT_98 = "()" + NL + "\t\t\t{" + NL + "\t\t\t\tpublic void run(IProgressMonitor progressMonitor)";
- protected final String TEXT_99 = NL + "\t\t\t// Remember the file." + NL + "\t\t\t//" + NL + "\t\t\tfinal IFile modelFile = getModelFile();" + NL + "" + NL + "\t\t\t// Do the work within an operation." + NL + "\t\t\t//" + NL + "\t\t\tWorkspaceModifyOperation operation ="
- + NL + "\t\t\t\tnew WorkspaceModifyOperation()" + NL + "\t\t\t\t{";
+ protected final String TEXT_98 = "()" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tpublic void run(IProgressMonitor progressMonitor)";
+ protected final String TEXT_99 = NL + "\t\t\t// Remember the file." + NL + "\t\t\t//" + NL
+ + "\t\t\tfinal IFile modelFile = getModelFile();" + NL + "" + NL
+ + "\t\t\t// Do the work within an operation." + NL + "\t\t\t//" + NL
+ + "\t\t\tWorkspaceModifyOperation operation =" + NL + "\t\t\t\tnew WorkspaceModifyOperation()" + NL
+ + "\t\t\t\t{";
protected final String TEXT_100 = NL + "\t\t\t\t\t@Override";
protected final String TEXT_101 = NL + "\t\t\t\t\tprotected void execute(IProgressMonitor progressMonitor)";
- protected final String TEXT_102 = NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\ttry" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t// Create a resource set" + NL + "\t\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\t\tResourceSet resourceSet = new ResourceSetImpl();" + NL;
- protected final String TEXT_103 = NL + "\t\t\t\t\t\t\t// Get the URI of the model file." + NL + "\t\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\t\tURI fileURI = URI.createPlatformResourceURI(modelFile.getFullPath().toString(), true);" + NL;
- protected final String TEXT_104 = NL + "\t\t\t\t\t\t\t// Create a resource for this file." + NL + "\t\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\t\tResource resource = resourceSet.createResource(fileURI";
+ protected final String TEXT_102 = NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\ttry" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\t// Create a resource set" + NL + "\t\t\t\t\t\t\t//" + NL
+ + "\t\t\t\t\t\t\tResourceSet resourceSet = new ResourceSetImpl();" + NL;
+ protected final String TEXT_103 = NL + "\t\t\t\t\t\t\t// Get the URI of the model file." + NL + "\t\t\t\t\t\t\t//"
+ + NL
+ + "\t\t\t\t\t\t\tURI fileURI = URI.createPlatformResourceURI(modelFile.getFullPath().toString(), true);"
+ + NL;
+ protected final String TEXT_104 = NL + "\t\t\t\t\t\t\t// Create a resource for this file." + NL
+ + "\t\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\t\tResource resource = resourceSet.createResource(fileURI";
protected final String TEXT_105 = ", ";
protected final String TEXT_106 = ".eCONTENT_TYPE";
- protected final String TEXT_107 = ");" + NL + "" + NL + "\t\t\t\t\t\t\t// Add the initial model object to the contents." + NL + "\t\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\t\tEObject rootObject = createInitialModel();" + NL + "\t\t\t\t\t\t\tif (rootObject != null)" + NL
- + "\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\tresource.getContents().add(rootObject);" + NL + "\t\t\t\t\t\t\t}" + NL + "" + NL + "\t\t\t\t\t\t\t// Save the contents of the resource to the file system." + NL + "\t\t\t\t\t\t\t//" + NL + "\t\t\t\t\t\t\t";
+ protected final String TEXT_107 = ");" + NL + "" + NL
+ + "\t\t\t\t\t\t\t// Add the initial model object to the contents." + NL + "\t\t\t\t\t\t\t//" + NL
+ + "\t\t\t\t\t\t\tEObject rootObject = createInitialModel();" + NL + "\t\t\t\t\t\t\tif (rootObject != null)"
+ + NL + "\t\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t\tresource.getContents().add(rootObject);" + NL
+ + "\t\t\t\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t\t\t\t// Save the contents of the resource to the file system." + NL + "\t\t\t\t\t\t\t//" + NL
+ + "\t\t\t\t\t\t\t";
protected final String TEXT_108 = " options = new ";
- protected final String TEXT_109 = "();" + NL + "\t\t\t\t\t\t\toptions.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding());" + NL + "\t\t\t\t\t\t\tresource.save(options);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\tcatch (Exception exception)" + NL
- + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t";
- protected final String TEXT_110 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\tfinally" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tprogressMonitor.done();" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t};" + NL + "" + NL
- + "\t\t\tgetContainer().run(false, false, operation);" + NL;
+ protected final String TEXT_109 = "();" + NL
+ + "\t\t\t\t\t\t\toptions.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding());" + NL
+ + "\t\t\t\t\t\t\tresource.save(options);" + NL + "\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t\tcatch (Exception exception)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\t";
+ protected final String TEXT_110 = ".INSTANCE.log(exception);" + NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t\tfinally"
+ + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tprogressMonitor.done();" + NL + "\t\t\t\t\t\t}" + NL
+ + "\t\t\t\t\t}" + NL + "\t\t\t\t};" + NL + "" + NL + "\t\t\tgetContainer().run(false, false, operation);"
+ + NL;
protected final String TEXT_111 = NL + "\t\t\treturn ";
protected final String TEXT_112 = ".openEditor(workbench, fileURI);\t\t\t";
- protected final String TEXT_113 = NL + "\t\t\t// Select the new file resource in the current view." + NL + "\t\t\t//" + NL + "\t\t\t";
+ protected final String TEXT_113 = NL + "\t\t\t// Select the new file resource in the current view." + NL
+ + "\t\t\t//" + NL + "\t\t\t";
protected final String TEXT_114 = " workbenchWindow = workbench.getActiveWorkbenchWindow();" + NL + "\t\t\t";
protected final String TEXT_115 = " page = workbenchWindow.getActivePage();" + NL + "\t\t\tfinal ";
- protected final String TEXT_116 = " activePart = page.getActivePart();" + NL + "\t\t\tif (activePart instanceof ISetSelectionTarget)" + NL + "\t\t\t{" + NL + "\t\t\t\tfinal ";
+ protected final String TEXT_116 = " activePart = page.getActivePart();" + NL
+ + "\t\t\tif (activePart instanceof ISetSelectionTarget)" + NL + "\t\t\t{" + NL + "\t\t\t\tfinal ";
protected final String TEXT_117 = " targetSelection = new ";
- protected final String TEXT_118 = "(modelFile);" + NL + "\t\t\t\tgetShell().getDisplay().asyncExec" + NL + "\t\t\t\t\t(new Runnable()" + NL + "\t\t\t\t\t {" + NL + "\t\t\t\t\t\t public void run()" + NL + "\t\t\t\t\t\t {" + NL
- + "\t\t\t\t\t\t\t ((ISetSelectionTarget)activePart).selectReveal(targetSelection);" + NL + "\t\t\t\t\t\t }" + NL + "\t\t\t\t\t });" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\t// Open an editor on the new file." + NL + "\t\t\t//" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL
- + "\t\t\t\tpage.openEditor" + NL + "\t\t\t\t\t(new FileEditorInput(modelFile)," + NL + "\t\t\t\t\t workbench.getEditorRegistry().getDefaultEditor";
+ protected final String TEXT_118 = "(modelFile);" + NL + "\t\t\t\tgetShell().getDisplay().asyncExec" + NL
+ + "\t\t\t\t\t(new Runnable()" + NL + "\t\t\t\t\t {" + NL + "\t\t\t\t\t\t public void run()" + NL
+ + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t ((ISetSelectionTarget)activePart).selectReveal(targetSelection);"
+ + NL + "\t\t\t\t\t\t }" + NL + "\t\t\t\t\t });" + NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\t// Open an editor on the new file." + NL + "\t\t\t//" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tpage.openEditor" + NL + "\t\t\t\t\t(new FileEditorInput(modelFile)," + NL
+ + "\t\t\t\t\t workbench.getEditorRegistry().getDefaultEditor";
protected final String TEXT_119 = "(modelFile.getFullPath().toString()).getId());";
protected final String TEXT_120 = NL + "\t\t\t\t\t \t(modelFile.getFullPath().toString()," + NL + "\t\t\t\t\t \t ";
protected final String TEXT_121 = ".getContentTypeManager().getContentType(";
protected final String TEXT_122 = ".eCONTENT_TYPE)).getId());";
protected final String TEXT_123 = "\t\t\t\t\t \t " + NL + "\t\t\t}" + NL + "\t\t\tcatch (";
- protected final String TEXT_124 = " exception)" + NL + "\t\t\t{" + NL + "\t\t\t\tMessageDialog.openError(workbenchWindow.getShell(), ";
+ protected final String TEXT_124 = " exception)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tMessageDialog.openError(workbenchWindow.getShell(), ";
protected final String TEXT_125 = ".INSTANCE.getString(\"_UI_OpenEditorError_label\"), exception.getMessage());";
- protected final String TEXT_126 = NL + "\t\t\t\treturn false;" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\treturn true;";
- protected final String TEXT_127 = NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_128 = ".INSTANCE.log(exception);" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_129 = NL + "\t/**" + NL + "\t * This is the one page of the wizard." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic class ";
- protected final String TEXT_130 = "NewFileCreationPage extends WizardNewFileCreationPage" + NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * Pass in the selection." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
- + "\t\t */" + NL + "\t\tpublic ";
- protected final String TEXT_131 = "NewFileCreationPage(String pageId, IStructuredSelection selection)" + NL + "\t\t{" + NL + "\t\t\tsuper(pageId, selection);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * The framework calls this to see if the file is correct."
- + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_126 = NL + "\t\t\t\treturn false;" + NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\treturn true;";
+ protected final String TEXT_127 = NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL
+ + "\t\t\t";
+ protected final String TEXT_128 = ".INSTANCE.log(exception);" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL
+ + "\t}" + NL;
+ protected final String TEXT_129 = NL + "\t/**" + NL + "\t * This is the one page of the wizard." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic class ";
+ protected final String TEXT_130 = "NewFileCreationPage extends WizardNewFileCreationPage" + NL + "\t{" + NL
+ + "\t\t/**" + NL + "\t\t * Pass in the selection." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_131 = "NewFileCreationPage(String pageId, IStructuredSelection selection)" + NL
+ + "\t\t{" + NL + "\t\t\tsuper(pageId, selection);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * The framework calls this to see if the file is correct." + NL + "\t\t * <!-- begin-user-doc -->"
+ + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
protected final String TEXT_132 = NL + "\t\t@Override";
- protected final String TEXT_133 = NL + "\t\tprotected boolean validatePage()" + NL + "\t\t{" + NL + "\t\t\tif (super.validatePage())" + NL + "\t\t\t{" + NL + "\t\t\t\tString extension = new ";
- protected final String TEXT_134 = "(getFileName()).getFileExtension();" + NL + "\t\t\t\tif (extension == null || !FILE_EXTENSIONS.contains(extension))" + NL + "\t\t\t\t{" + NL
+ protected final String TEXT_133 = NL + "\t\tprotected boolean validatePage()" + NL + "\t\t{" + NL
+ + "\t\t\tif (super.validatePage())" + NL + "\t\t\t{" + NL + "\t\t\t\tString extension = new ";
+ protected final String TEXT_134 = "(getFileName()).getFileExtension();"
+ + NL
+ + "\t\t\t\tif (extension == null || !FILE_EXTENSIONS.contains(extension))"
+ + NL
+ + "\t\t\t\t{"
+ + NL
+ "\t\t\t\t\tString key = FILE_EXTENSIONS.size() > 1 ? \"_WARN_FilenameExtensions\" : \"_WARN_FilenameExtension\";";
protected final String TEXT_135 = NL + "\t\t\t\t\tsetErrorMessage(";
- protected final String TEXT_136 = ".INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));" + NL + "\t\t\t\t\treturn false;" + NL + "\t\t\t\t}" + NL + "\t\t\t\treturn true;" + NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "" + NL
- + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic IFile getModelFile()" + NL + "\t\t{" + NL
- + "\t\t\treturn ResourcesPlugin.getWorkspace().getRoot().getFile(getContainerFullPath().append(getFileName()));" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_137 = NL + "\t/**" + NL + "\t * This is the page where the type of object to create is selected." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic class ";
+ protected final String TEXT_136 = ".INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));"
+ + NL
+ + "\t\t\t\t\treturn false;"
+ + NL
+ + "\t\t\t\t}"
+ + NL
+ + "\t\t\t\treturn true;"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + "\t\t\treturn false;"
+ + NL
+ + "\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t/**"
+ + NL
+ + "\t\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t\t * <!-- end-user-doc -->"
+ + NL
+ + "\t\t * @generated"
+ + NL
+ + "\t\t */"
+ + NL
+ + "\t\tpublic IFile getModelFile()"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\treturn ResourcesPlugin.getWorkspace().getRoot().getFile(getContainerFullPath().append(getFileName()));"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_137 = NL + "\t/**" + NL
+ + "\t * This is the page where the type of object to create is selected." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic class ";
protected final String TEXT_138 = "InitialObjectCreationPage extends WizardPage" + NL + "\t{";
- protected final String TEXT_139 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_139 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
protected final String TEXT_140 = " fileField;" + NL;
- protected final String TEXT_141 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected Combo initialObjectField;" + NL + "" + NL + "\t\t/**" + NL + "\t\t * @generated"
- + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t */" + NL + "\t\tprotected ";
- protected final String TEXT_142 = " encodings;" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected Combo encodingField;" + NL + "" + NL + "\t\t/**" + NL
- + "\t\t * Pass in the selection." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
- protected final String TEXT_143 = "InitialObjectCreationPage(String pageId)" + NL + "\t\t{" + NL + "\t\t\tsuper(pageId);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
- + "\t\t */" + NL + "\t\tpublic void createControl(Composite parent)" + NL + "\t\t{" + NL + "\t\t\tComposite composite = new Composite(parent, SWT.NONE);" + NL + "\t\t\t{" + NL + "\t\t\t\tGridLayout layout = new GridLayout();" + NL + "\t\t\t\tlayout.numColumns = 1;"
- + NL + "\t\t\t\tlayout.verticalSpacing = 12;" + NL + "\t\t\t\tcomposite.setLayout(layout);" + NL + "" + NL + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.verticalAlignment = GridData.FILL;" + NL + "\t\t\t\tdata.grabExcessVerticalSpace = true;" + NL
- + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tcomposite.setLayoutData(data);" + NL + "\t\t\t}" + NL;
- protected final String TEXT_144 = "\t\t\t" + NL + "\t\t\tLabel resourceURILabel = new Label(composite, SWT.LEFT);" + NL + "\t\t\t{" + NL + "\t\t\t\tresourceURILabel.setText(";
+ protected final String TEXT_141 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tprotected Combo initialObjectField;" + NL + "" + NL + "\t\t/**" + NL + "\t\t * @generated" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t */" + NL
+ + "\t\tprotected ";
+ protected final String TEXT_142 = " encodings;" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->"
+ + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tprotected Combo encodingField;" + NL + "" + NL + "\t\t/**" + NL + "\t\t * Pass in the selection."
+ + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated"
+ + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_143 = "InitialObjectCreationPage(String pageId)" + NL + "\t\t{" + NL
+ + "\t\t\tsuper(pageId);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->"
+ + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tpublic void createControl(Composite parent)" + NL + "\t\t{" + NL
+ + "\t\t\tComposite composite = new Composite(parent, SWT.NONE);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tGridLayout layout = new GridLayout();" + NL + "\t\t\t\tlayout.numColumns = 1;" + NL
+ + "\t\t\t\tlayout.verticalSpacing = 12;" + NL + "\t\t\t\tcomposite.setLayout(layout);" + NL + "" + NL
+ + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.verticalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tdata.grabExcessVerticalSpace = true;" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;"
+ + NL + "\t\t\t\tcomposite.setLayoutData(data);" + NL + "\t\t\t}" + NL;
+ protected final String TEXT_144 = "\t\t\t" + NL + "\t\t\tLabel resourceURILabel = new Label(composite, SWT.LEFT);"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tresourceURILabel.setText(";
protected final String TEXT_145 = ".INSTANCE.getString(\"_UI_File_label\"));";
- protected final String TEXT_146 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tresourceURILabel.setLayoutData(data);" + NL + "\t\t\t}" + NL + "" + NL
- + "\t\t\tComposite fileComposite = new Composite(composite, SWT.NONE);" + NL + "\t\t\t{" + NL + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.END;" + NL + "\t\t\t\tfileComposite.setLayoutData(data);" + NL + "" + NL
- + "\t\t\t\tGridLayout layout = new GridLayout();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tlayout.marginHeight = 0;" + NL + "\t\t\t\tlayout.marginWidth = 0;" + NL + "\t\t\t\tlayout.numColumns = 2;" + NL
+ protected final String TEXT_146 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tresourceURILabel.setLayoutData(data);" + NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\tComposite fileComposite = new Composite(composite, SWT.NONE);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.END;" + NL
+ + "\t\t\t\tfileComposite.setLayoutData(data);" + NL + "" + NL
+ + "\t\t\t\tGridLayout layout = new GridLayout();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tlayout.marginHeight = 0;" + NL
+ + "\t\t\t\tlayout.marginWidth = 0;" + NL + "\t\t\t\tlayout.numColumns = 2;" + NL
+ "\t\t\t\tfileComposite.setLayout(layout);" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tfileField = new ";
- protected final String TEXT_147 = "(fileComposite, SWT.BORDER);" + NL + "\t\t\t{" + NL + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL
- + "\t\t\t\tdata.horizontalSpan = 1;" + NL + "\t\t\t\tfileField.setLayoutData(data);" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tfileField.addModifyListener(validator);" + NL;
+ protected final String TEXT_147 = "(fileComposite, SWT.BORDER);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL + "\t\t\t\tdata.horizontalSpan = 1;" + NL
+ + "\t\t\t\tfileField.setLayoutData(data);" + NL + "\t\t\t}" + NL + "" + NL
+ + "\t\t\tfileField.addModifyListener(validator);" + NL;
protected final String TEXT_148 = NL + "\t\t\t";
protected final String TEXT_149 = " resourceURIBrowseFileSystemButton = new ";
- protected final String TEXT_150 = "(fileComposite, SWT.PUSH);" + NL + "\t\t\tresourceURIBrowseFileSystemButton.setText(";
+ protected final String TEXT_150 = "(fileComposite, SWT.PUSH);" + NL
+ + "\t\t\tresourceURIBrowseFileSystemButton.setText(";
protected final String TEXT_151 = ".INSTANCE.getString(\"_UI_Browse_label\"));";
- protected final String TEXT_152 = NL + NL + "\t\t\tresourceURIBrowseFileSystemButton.addSelectionListener" + NL + "\t\t\t\t(new ";
+ protected final String TEXT_152 = NL + NL + "\t\t\tresourceURIBrowseFileSystemButton.addSelectionListener" + NL
+ + "\t\t\t\t(new ";
protected final String TEXT_153 = "()" + NL + "\t\t\t\t {";
protected final String TEXT_154 = NL + "\t\t\t\t\t @Override";
protected final String TEXT_155 = NL + "\t\t\t\t\t public void widgetSelected(";
@@ -222,68 +378,139 @@
protected final String TEXT_158 = ".FILE_EXTENSION_FILTERS.toArray(new String[";
protected final String TEXT_159 = ".FILE_EXTENSION_FILTERS.size()]);" + NL + "\t\t\t\t\t\t String[] files = ";
protected final String TEXT_160 = ".openFilePathDialog(getShell(), ";
- protected final String TEXT_161 = ".SAVE, filters);" + NL + "\t\t\t\t\t\t if (files.length > 0)" + NL + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t fileField.setText(files[0]);" + NL + "\t\t\t\t\t\t }" + NL + "\t\t\t\t\t }" + NL + "\t\t\t\t });";
- protected final String TEXT_162 = NL + "\t\t\tLabel containerLabel = new Label(composite, SWT.LEFT);" + NL + "\t\t\t{" + NL + "\t\t\t\tcontainerLabel.setText(";
+ protected final String TEXT_161 = ".SAVE, filters);" + NL + "\t\t\t\t\t\t if (files.length > 0)" + NL
+ + "\t\t\t\t\t\t {" + NL + "\t\t\t\t\t\t\t fileField.setText(files[0]);" + NL + "\t\t\t\t\t\t }" + NL
+ + "\t\t\t\t\t }" + NL + "\t\t\t\t });";
+ protected final String TEXT_162 = NL + "\t\t\tLabel containerLabel = new Label(composite, SWT.LEFT);" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tcontainerLabel.setText(";
protected final String TEXT_163 = ".INSTANCE.getString(\"_UI_ModelObject\"));";
- protected final String TEXT_164 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tcontainerLabel.setLayoutData(data);" + NL + "\t\t\t}" + NL + "" + NL
- + "\t\t\tinitialObjectField = new Combo(composite, SWT.BORDER);" + NL + "\t\t\t{" + NL + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL
- + "\t\t\t\tinitialObjectField.setLayoutData(data);" + NL + "\t\t\t}" + NL;
- protected final String TEXT_165 = NL + "\t\t\tfor (String objectName : getInitialObjectNames())" + NL + "\t\t\t{" + NL + "\t\t\t\tinitialObjectField.add(getLabel(objectName));" + NL + "\t\t\t}";
- protected final String TEXT_166 = NL + "\t\t\tfor (Iterator i = getInitialObjectNames().iterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\tinitialObjectField.add(getLabel((String)i.next()));" + NL + "\t\t\t}";
- protected final String TEXT_167 = NL + NL + "\t\t\tif (initialObjectField.getItemCount() == 1)" + NL + "\t\t\t{" + NL + "\t\t\t\tinitialObjectField.select(0);" + NL + "\t\t\t}" + NL + "\t\t\tinitialObjectField.addModifyListener(validator);" + NL + "" + NL
- + "\t\t\tLabel encodingLabel = new Label(composite, SWT.LEFT);" + NL + "\t\t\t{" + NL + "\t\t\t\tencodingLabel.setText(";
+ protected final String TEXT_164 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tcontainerLabel.setLayoutData(data);"
+ + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tinitialObjectField = new Combo(composite, SWT.BORDER);" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tGridData data = new GridData();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL + "\t\t\t\tinitialObjectField.setLayoutData(data);"
+ + NL + "\t\t\t}" + NL;
+ protected final String TEXT_165 = NL + "\t\t\tfor (String objectName : getInitialObjectNames())" + NL + "\t\t\t{"
+ + NL + "\t\t\t\tinitialObjectField.add(getLabel(objectName));" + NL + "\t\t\t}";
+ protected final String TEXT_166 = NL + "\t\t\tfor (Iterator i = getInitialObjectNames().iterator(); i.hasNext(); )"
+ + NL + "\t\t\t{" + NL + "\t\t\t\tinitialObjectField.add(getLabel((String)i.next()));" + NL + "\t\t\t}";
+ protected final String TEXT_167 = NL + NL + "\t\t\tif (initialObjectField.getItemCount() == 1)" + NL + "\t\t\t{"
+ + NL + "\t\t\t\tinitialObjectField.select(0);" + NL + "\t\t\t}" + NL
+ + "\t\t\tinitialObjectField.addModifyListener(validator);" + NL + "" + NL
+ + "\t\t\tLabel encodingLabel = new Label(composite, SWT.LEFT);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tencodingLabel.setText(";
protected final String TEXT_168 = ".INSTANCE.getString(\"_UI_XMLEncoding\"));";
- protected final String TEXT_169 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tencodingLabel.setLayoutData(data);" + NL + "\t\t\t}" + NL
- + "\t\t\tencodingField = new Combo(composite, SWT.BORDER);" + NL + "\t\t\t{" + NL + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL
- + "\t\t\t\tencodingField.setLayoutData(data);" + NL + "\t\t\t}" + NL;
- protected final String TEXT_170 = NL + "\t\t\tfor (String encoding : getEncodings())" + NL + "\t\t\t{" + NL + "\t\t\t\tencodingField.add(encoding);" + NL + "\t\t\t}";
- protected final String TEXT_171 = NL + "\t\t\tfor (Iterator i = getEncodings().iterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\tencodingField.add((String)i.next());" + NL + "\t\t\t}";
- protected final String TEXT_172 = NL + NL + "\t\t\tencodingField.select(0);" + NL + "\t\t\tencodingField.addModifyListener(validator);" + NL + "" + NL + "\t\t\tsetPageComplete(validatePage());" + NL + "\t\t\tsetControl(composite);" + NL + "\t\t}" + NL + "" + NL + "\t\t/**"
- + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ModifyListener validator =" + NL + "\t\t\tnew ModifyListener()" + NL + "\t\t\t{" + NL
- + "\t\t\t\tpublic void modifyText(ModifyEvent e)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsetPageComplete(validatePage());" + NL + "\t\t\t\t}" + NL + "\t\t\t};" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ protected final String TEXT_169 = NL + NL + "\t\t\t\tGridData data = new GridData();" + NL
+ + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL + "\t\t\t\tencodingLabel.setLayoutData(data);"
+ + NL + "\t\t\t}" + NL + "\t\t\tencodingField = new Combo(composite, SWT.BORDER);" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tGridData data = new GridData();" + NL + "\t\t\t\tdata.horizontalAlignment = GridData.FILL;" + NL
+ + "\t\t\t\tdata.grabExcessHorizontalSpace = true;" + NL + "\t\t\t\tencodingField.setLayoutData(data);" + NL
+ + "\t\t\t}" + NL;
+ protected final String TEXT_170 = NL + "\t\t\tfor (String encoding : getEncodings())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tencodingField.add(encoding);" + NL + "\t\t\t}";
+ protected final String TEXT_171 = NL + "\t\t\tfor (Iterator i = getEncodings().iterator(); i.hasNext(); )" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tencodingField.add((String)i.next());" + NL + "\t\t\t}";
+ protected final String TEXT_172 = NL + NL + "\t\t\tencodingField.select(0);" + NL
+ + "\t\t\tencodingField.addModifyListener(validator);" + NL + "" + NL
+ + "\t\t\tsetPageComplete(validatePage());" + NL + "\t\t\tsetControl(composite);" + NL + "\t\t}" + NL + ""
+ + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ModifyListener validator =" + NL
+ + "\t\t\tnew ModifyListener()" + NL + "\t\t\t{" + NL + "\t\t\t\tpublic void modifyText(ModifyEvent e)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\tsetPageComplete(validatePage());" + NL + "\t\t\t\t}" + NL + "\t\t\t};" + NL
+ + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
+ "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected boolean validatePage()" + NL + "\t\t{";
- protected final String TEXT_173 = NL + "\t\t\tURI fileURI = getFileURI();" + NL + "\t\t\tif (fileURI == null || fileURI.isEmpty())" + NL + "\t\t\t{" + NL + "\t\t\t\tsetErrorMessage(null);" + NL + "\t\t\t\treturn false;" + NL + "\t\t\t}" + NL + "" + NL
- + "\t\t\tString extension = fileURI.fileExtension();" + NL + "\t\t\tif (extension == null || !FILE_EXTENSIONS.contains(extension))" + NL + "\t\t\t{" + NL + "\t\t\t\tString key = FILE_EXTENSIONS.size() > 1 ? \"_WARN_FilenameExtensions\" : \"_WARN_FilenameExtension\";";
+ protected final String TEXT_173 = NL
+ + "\t\t\tURI fileURI = getFileURI();"
+ + NL
+ + "\t\t\tif (fileURI == null || fileURI.isEmpty())"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tsetErrorMessage(null);"
+ + NL
+ + "\t\t\t\treturn false;"
+ + NL
+ + "\t\t\t}"
+ + NL
+ + ""
+ + NL
+ + "\t\t\tString extension = fileURI.fileExtension();"
+ + NL
+ + "\t\t\tif (extension == null || !FILE_EXTENSIONS.contains(extension))"
+ + NL
+ + "\t\t\t{"
+ + NL
+ + "\t\t\t\tString key = FILE_EXTENSIONS.size() > 1 ? \"_WARN_FilenameExtensions\" : \"_WARN_FilenameExtension\";";
protected final String TEXT_174 = NL + "\t\t\t\tsetErrorMessage(";
- protected final String TEXT_175 = ".INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));" + NL + "\t\t\t\treturn false;" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tsetErrorMessage(null);";
- protected final String TEXT_176 = NL + "\t\t\treturn getInitialObjectName() != null && getEncodings().contains(encodingField.getText());" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL
- + "\t\t * @generated" + NL + "\t\t */";
+ protected final String TEXT_175 = ".INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));" + NL
+ + "\t\t\t\treturn false;" + NL + "\t\t\t}" + NL + "" + NL + "\t\t\tsetErrorMessage(null);";
+ protected final String TEXT_176 = NL
+ + "\t\t\treturn getInitialObjectName() != null && getEncodings().contains(encodingField.getText());" + NL
+ + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */";
protected final String TEXT_177 = NL + "\t\t@Override";
- protected final String TEXT_178 = NL + "\t\tpublic void setVisible(boolean visible)" + NL + "\t\t{" + NL + "\t\t\tsuper.setVisible(visible);" + NL + "\t\t\tif (visible)" + NL + "\t\t\t{";
- protected final String TEXT_179 = NL + "\t\t\t\tif (initialObjectField.getItemCount() == 1)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tinitialObjectField.clearSelection();" + NL + "\t\t\t\t\tencodingField.setFocus();" + NL + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{"
- + NL + "\t\t\t\t\tencodingField.clearSelection();" + NL + "\t\t\t\t\tinitialObjectField.setFocus();" + NL + "\t\t\t\t}";
- protected final String TEXT_180 = NL + "\t\t\t\tinitialObjectField.clearSelection();" + NL + "\t\t\t\tencodingField.clearSelection();" + NL + "\t\t\t\tfileField.setFocus();";
- protected final String TEXT_181 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic String getInitialObjectName()" + NL
- + "\t\t{" + NL + "\t\t\tString label = initialObjectField.getText();" + NL;
+ protected final String TEXT_178 = NL + "\t\tpublic void setVisible(boolean visible)" + NL + "\t\t{" + NL
+ + "\t\t\tsuper.setVisible(visible);" + NL + "\t\t\tif (visible)" + NL + "\t\t\t{";
+ protected final String TEXT_179 = NL + "\t\t\t\tif (initialObjectField.getItemCount() == 1)" + NL + "\t\t\t\t{"
+ + NL + "\t\t\t\t\tinitialObjectField.clearSelection();" + NL + "\t\t\t\t\tencodingField.setFocus();" + NL
+ + "\t\t\t\t}" + NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tencodingField.clearSelection();"
+ + NL + "\t\t\t\t\tinitialObjectField.setFocus();" + NL + "\t\t\t\t}";
+ protected final String TEXT_180 = NL + "\t\t\t\tinitialObjectField.clearSelection();" + NL
+ + "\t\t\t\tencodingField.clearSelection();" + NL + "\t\t\t\tfileField.setFocus();";
+ protected final String TEXT_181 = NL + "\t\t\t}" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic String getInitialObjectName()" + NL + "\t\t{" + NL
+ + "\t\t\tString label = initialObjectField.getText();" + NL;
protected final String TEXT_182 = NL + "\t\t\tfor (String name : getInitialObjectNames())";
protected final String TEXT_183 = NL + "\t\t\tfor (Iterator i = getInitialObjectNames().iterator(); i.hasNext(); )";
protected final String TEXT_184 = NL + "\t\t\t{";
protected final String TEXT_185 = NL + "\t\t\t\tString name = (String)i.next();";
- protected final String TEXT_186 = NL + "\t\t\t\tif (getLabel(name).equals(label))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\treturn name;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\treturn null;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
- + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic String getEncoding()" + NL + "\t\t{" + NL + "\t\t\treturn encodingField.getText();" + NL + "\t\t}";
- protected final String TEXT_187 = NL + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic URI getFileURI()" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL
- + "\t\t\t\treturn URI.createFileURI(fileField.getText());" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception exception)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore" + NL + "\t\t\t}" + NL + "\t\t\treturn null;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
- + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic void selectFileField()" + NL + "\t\t{" + NL + "\t\t\t\tinitialObjectField.clearSelection();" + NL
- + "\t\t\t\tencodingField.clearSelection();" + NL + "\t\t\t\tfileField.selectAll();" + NL + "\t\t\t\tfileField.setFocus();" + NL + "\t\t}\t\t";
+ protected final String TEXT_186 = NL + "\t\t\t\tif (getLabel(name).equals(label))" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\treturn name;" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\treturn null;" + NL + "\t\t}"
+ + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->"
+ + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic String getEncoding()" + NL + "\t\t{" + NL
+ + "\t\t\treturn encodingField.getText();" + NL + "\t\t}";
+ protected final String TEXT_187 = NL + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tpublic URI getFileURI()" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn URI.createFileURI(fileField.getText());" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception exception)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Ignore" + NL + "\t\t\t}" + NL
+ + "\t\t\treturn null;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->"
+ + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tpublic void selectFileField()" + NL + "\t\t{" + NL + "\t\t\t\tinitialObjectField.clearSelection();"
+ + NL + "\t\t\t\tencodingField.clearSelection();" + NL + "\t\t\t\tfileField.selectAll();" + NL
+ + "\t\t\t\tfileField.setFocus();" + NL + "\t\t}\t\t";
protected final String TEXT_188 = NL + NL + "\t\t/**" + NL + "\t\t * Returns the label for the specified ";
- protected final String TEXT_189 = " name." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected String getLabel(String ";
- protected final String TEXT_190 = "Name)" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\treturn ";
+ protected final String TEXT_189 = " name." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL
+ + "\t\tprotected String getLabel(String ";
+ protected final String TEXT_190 = "Name)" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn ";
protected final String TEXT_191 = ".INSTANCE.getString(\"";
protected final String TEXT_192 = "\" + ";
protected final String TEXT_193 = "Name + \"_";
protected final String TEXT_194 = "\");";
- protected final String TEXT_195 = NL + "\t\t\t}" + NL + "\t\t\tcatch(MissingResourceException mre)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
+ protected final String TEXT_195 = NL + "\t\t\t}" + NL + "\t\t\tcatch(MissingResourceException mre)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_196 = ".INSTANCE.log(mre);" + NL + "\t\t\t}" + NL + "\t\t\treturn ";
protected final String TEXT_197 = "Name;" + NL + "\t\t}";
- protected final String TEXT_198 = NL + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
- protected final String TEXT_199 = " getEncodings()" + NL + "\t\t{" + NL + "\t\t\tif (encodings == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tencodings = new ";
- protected final String TEXT_200 = "();" + NL + "\t\t\t\tfor (StringTokenizer stringTokenizer = new StringTokenizer(";
+ protected final String TEXT_198 = NL + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_199 = " getEncodings()" + NL + "\t\t{" + NL + "\t\t\tif (encodings == null)" + NL
+ + "\t\t\t{" + NL + "\t\t\t\tencodings = new ";
+ protected final String TEXT_200 = "();" + NL
+ + "\t\t\t\tfor (StringTokenizer stringTokenizer = new StringTokenizer(";
protected final String TEXT_201 = ".INSTANCE.getString(\"_UI_XMLEncodingChoices\")); stringTokenizer.hasMoreTokens(); )";
- protected final String TEXT_202 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tencodings.add(stringTokenizer.nextToken());" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\treturn encodings;" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * The framework calls this to create the contents of the wizard." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_202 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tencodings.add(stringTokenizer.nextToken());"
+ + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t\treturn encodings;" + NL + "\t\t}" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL + "\t * The framework calls this to create the contents of the wizard." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_203 = NL + "\t\t@Override";
protected final String TEXT_204 = NL + "\tpublic void addPages()" + NL + "\t{";
- protected final String TEXT_205 = NL + "\t\t// Create a page, set the title, and the initial model file name." + NL + "\t\t//" + NL + "\t\tnewFileCreationPage = new ";
+ protected final String TEXT_205 = NL + "\t\t// Create a page, set the title, and the initial model file name." + NL
+ + "\t\t//" + NL + "\t\tnewFileCreationPage = new ";
protected final String TEXT_206 = "NewFileCreationPage(\"Whatever\", selection);";
protected final String TEXT_207 = NL + "\t\tnewFileCreationPage.setTitle(";
protected final String TEXT_208 = ".INSTANCE.getString(\"_UI_";
@@ -296,19 +523,35 @@
protected final String TEXT_215 = "FilenameDefaultBase\") + \".\" + ";
protected final String TEXT_216 = "(String)";
protected final String TEXT_217 = "FILE_EXTENSIONS.get(0));";
- protected final String TEXT_218 = NL + "\t\taddPage(newFileCreationPage);" + NL + "" + NL + "\t\t// Try and get the resource selection to determine a current directory for the file dialog." + NL + "\t\t//" + NL + "\t\tif (selection != null && !selection.isEmpty())" + NL
- + "\t\t{" + NL + "\t\t\t// Get the resource..." + NL + "\t\t\t//" + NL + "\t\t\tObject selectedElement = selection.iterator().next();" + NL + "\t\t\tif (selectedElement instanceof IResource)" + NL + "\t\t\t{" + NL
- + "\t\t\t\t// Get the resource parent, if its a file." + NL + "\t\t\t\t//" + NL + "\t\t\t\tIResource selectedResource = (IResource)selectedElement;" + NL + "\t\t\t\tif (selectedResource.getType() == IResource.FILE)" + NL + "\t\t\t\t{" + NL
- + "\t\t\t\t\tselectedResource = selectedResource.getParent();" + NL + "\t\t\t\t}" + NL + "" + NL + "\t\t\t\t// This gives us a directory..." + NL + "\t\t\t\t//" + NL + "\t\t\t\tif (selectedResource instanceof IFolder || selectedResource instanceof IProject)" + NL
- + "\t\t\t\t{" + NL + "\t\t\t\t\t// Set this for the container." + NL + "\t\t\t\t\t//" + NL + "\t\t\t\t\tnewFileCreationPage.setContainerFullPath(selectedResource.getFullPath());" + NL + "" + NL + "\t\t\t\t\t// Make up a unique new name here." + NL + "\t\t\t\t\t//"
- + NL + "\t\t\t\t\tString defaultModelBaseFilename = ";
+ protected final String TEXT_218 = NL + "\t\taddPage(newFileCreationPage);" + NL + "" + NL
+ + "\t\t// Try and get the resource selection to determine a current directory for the file dialog." + NL
+ + "\t\t//" + NL + "\t\tif (selection != null && !selection.isEmpty())" + NL + "\t\t{" + NL
+ + "\t\t\t// Get the resource..." + NL + "\t\t\t//" + NL
+ + "\t\t\tObject selectedElement = selection.iterator().next();" + NL
+ + "\t\t\tif (selectedElement instanceof IResource)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Get the resource parent, if its a file." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tIResource selectedResource = (IResource)selectedElement;" + NL
+ + "\t\t\t\tif (selectedResource.getType() == IResource.FILE)" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tselectedResource = selectedResource.getParent();" + NL + "\t\t\t\t}" + NL + "" + NL
+ + "\t\t\t\t// This gives us a directory..." + NL + "\t\t\t\t//" + NL
+ + "\t\t\t\tif (selectedResource instanceof IFolder || selectedResource instanceof IProject)" + NL
+ + "\t\t\t\t{" + NL + "\t\t\t\t\t// Set this for the container." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tnewFileCreationPage.setContainerFullPath(selectedResource.getFullPath());" + NL + "" + NL
+ + "\t\t\t\t\t// Make up a unique new name here." + NL + "\t\t\t\t\t//" + NL
+ + "\t\t\t\t\tString defaultModelBaseFilename = ";
protected final String TEXT_219 = ".INSTANCE.getString(\"_UI_";
protected final String TEXT_220 = "FilenameDefaultBase\");";
protected final String TEXT_221 = NL + "\t\t\t\t\tString defaultModelFilenameExtension = ";
protected final String TEXT_222 = "(String)";
- protected final String TEXT_223 = "FILE_EXTENSIONS.get(0);" + NL + "\t\t\t\t\tString modelFilename = defaultModelBaseFilename + \".\" + defaultModelFilenameExtension;";
- protected final String TEXT_224 = NL + "\t\t\t\t\tfor (int i = 1; ((IContainer)selectedResource).findMember(modelFilename) != null; ++i)" + NL + "\t\t\t\t\t{" + NL + "\t\t\t\t\t\tmodelFilename = defaultModelBaseFilename + i + \".\" + defaultModelFilenameExtension;";
- protected final String TEXT_225 = NL + "\t\t\t\t\t}" + NL + "\t\t\t\t\tnewFileCreationPage.setFileName(modelFilename);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_223 = "FILE_EXTENSIONS.get(0);" + NL
+ + "\t\t\t\t\tString modelFilename = defaultModelBaseFilename + \".\" + defaultModelFilenameExtension;";
+ protected final String TEXT_224 = NL
+ + "\t\t\t\t\tfor (int i = 1; ((IContainer)selectedResource).findMember(modelFilename) != null; ++i)" + NL
+ + "\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\tmodelFilename = defaultModelBaseFilename + i + \".\" + defaultModelFilenameExtension;";
+ protected final String TEXT_225 = NL + "\t\t\t\t\t}" + NL
+ + "\t\t\t\t\tnewFileCreationPage.setFileName(modelFilename);" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL
+ + "\t\t}";
protected final String TEXT_226 = NL + "\t\tinitialObjectCreationPage = new ";
protected final String TEXT_227 = "InitialObjectCreationPage(\"Whatever2\");";
protected final String TEXT_228 = NL + "\t\tinitialObjectCreationPage.setTitle(";
@@ -317,9 +560,13 @@
protected final String TEXT_231 = NL + "\t\tinitialObjectCreationPage.setDescription(";
protected final String TEXT_232 = ".INSTANCE.getString(\"_UI_Wizard_initial_object_description\"));";
protected final String TEXT_233 = NL + "\t\taddPage(initialObjectCreationPage);" + NL + "\t}" + NL;
- protected final String TEXT_234 = NL + "\t/**" + NL + "\t * Get the URI from the page." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic URI getModelURI()" + NL + "\t{" + NL
+ protected final String TEXT_234 = NL + "\t/**" + NL + "\t * Get the URI from the page." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic URI getModelURI()" + NL + "\t{" + NL
+ "\t\treturn initialObjectCreationPage.getFileURI();" + NL + "\t}" + NL;
- protected final String TEXT_235 = NL + "\t/**" + NL + "\t * Get the file from the page." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic IFile getModelFile()" + NL + "\t{" + NL
+ protected final String TEXT_235 = NL + "\t/**" + NL + "\t * Get the file from the page." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic IFile getModelFile()" + NL + "\t{" + NL
+ "\t\treturn newFileCreationPage.getModelFile();" + NL + "\t}" + NL;
protected final String TEXT_236 = NL + "}";
protected final String TEXT_237 = NL;
@@ -397,7 +644,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getEditorDirectory();
@@ -417,9 +665,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -450,15 +700,25 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
- String _ListOfString = "List" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
- String _ArrayListOfString = "ArrayList" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
- String _CollectionOfString = "Collection" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
- String _MapOfObjectToObject = "Map" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ", " + genModel.getImportedName("java.lang.Object") + ">" : "");
- String _HashMapOfObjectToObject = "HashMap" + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ", " + genModel.getImportedName("java.lang.Object") + ">" : "");
+ String _ListOfString = "List"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
+ String _ArrayListOfString = "ArrayList"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
+ String _CollectionOfString = "Collection"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.String") + ">" : "");
+ String _MapOfObjectToObject = "Map"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ", "
+ + genModel.getImportedName("java.lang.Object") + ">" : "");
+ String _HashMapOfObjectToObject = "HashMap"
+ + (genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ", "
+ + genModel.getImportedName("java.lang.Object") + ">" : "");
stringBuffer.append(TEXT_2);
stringBuffer.append(genPackage.getPresentationPackageName());
stringBuffer.append(TEXT_3);
@@ -518,13 +778,15 @@
stringBuffer.append(genModel.getNonNLS(2));
stringBuffer.append(genModel.getNonNLS(3));
stringBuffer.append(TEXT_29);
- stringBuffer.append(genModel.isSuppressEMFMetaData() ? genModel.getImportedName("org.eclipse.emf.ecore.EPackage") : genPackage.getPackageInterfaceName());
+ stringBuffer.append(genModel.isSuppressEMFMetaData() ? genModel
+ .getImportedName("org.eclipse.emf.ecore.EPackage") : genPackage.getPackageInterfaceName());
stringBuffer.append(TEXT_30);
stringBuffer.append(genPackage.getUncapPackageName());
stringBuffer.append(TEXT_31);
stringBuffer.append(genPackage.getPackageInterfaceName());
stringBuffer.append(TEXT_32);
- stringBuffer.append(genModel.isSuppressEMFMetaData() ? genModel.getImportedName("org.eclipse.emf.ecore.EFactory") : genPackage.getFactoryInterfaceName());
+ stringBuffer.append(genModel.isSuppressEMFMetaData() ? genModel
+ .getImportedName("org.eclipse.emf.ecore.EFactory") : genPackage.getFactoryInterfaceName());
stringBuffer.append(TEXT_33);
stringBuffer.append(genPackage.getUncapFactoryName());
stringBuffer.append(TEXT_34);
@@ -952,8 +1214,11 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
- canGenerate = canGenerate && (genPackage.hasConcreteClasses() && genPackage.isGenerateModelWizard() && genPackage.getGenModel().getRuntimePlatform() != GenRuntimePlatform.GWT);
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ canGenerate = canGenerate
+ && (genPackage.hasConcreteClasses() && genPackage.isGenerateModelWizard() && genPackage.getGenModel()
+ .getRuntimePlatform() != GenRuntimePlatform.GWT);
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizardIcon.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizardIcon.java
index b84ccec..69e2d2d 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizardIcon.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModelWizardIcon.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -100,9 +100,11 @@
return parameters;
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -112,7 +114,8 @@
GenPackage genPackage = parameter;
if (genPackage.hasConcreteClasses() && genPackage.isGenerateModelWizard()) {
- new CodegenGeneratorAdapter(parameter).generateGIF("editor/NewModel.gif", genPackage.getModelWizardIconFileName(), genPackage.getPrefix(), null, false);
+ new CodegenGeneratorAdapter(parameter).generateGIF("editor/NewModel.gif",
+ genPackage.getModelWizardIconFileName(), genPackage.getPrefix(), null, false);
} else {
}
@@ -123,7 +126,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModuleGWTXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModuleGWTXML.java
index 5484619..436a7bb 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModuleGWTXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/ModuleGWTXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,9 +26,13 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">" + NL;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ + NL
+ + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">"
+ + NL;
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + NL + "<module>" + NL + " <inherits name='com.google.gwt.user.theme.standard.Standard'/>";
+ protected final String TEXT_3 = NL + NL + "<module>" + NL
+ + " <inherits name='com.google.gwt.user.theme.standard.Standard'/>";
protected final String TEXT_4 = NL + " <inherits name=\"";
protected final String TEXT_5 = "\" />";
protected final String TEXT_6 = NL + NL + " <entry-point class='";
@@ -110,10 +114,12 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
- targetPathName = genModel.getEditorDirectory() + "/" + genModel.getQualifiedEditorModuleName().replace(".", "/") + ".gwt.xml";
+ targetPathName = genModel.getEditorDirectory() + "/"
+ + genModel.getQualifiedEditorModuleName().replace(".", "/") + ".gwt.xml";
overwrite = false;
encoding = "UTF-8";
@@ -130,9 +136,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -164,7 +172,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -190,7 +201,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Plugin.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Plugin.java
index e6e7a0a..df5a69c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Plugin.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/Plugin.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,37 +30,54 @@
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the central singleton for the ";
- protected final String TEXT_5 = " editor plugin." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
+ protected final String TEXT_5 = " editor plugin." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
protected final String TEXT_6 = " extends EMFPlugin" + NL + "{";
- protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_8 = " copyright = ";
protected final String TEXT_9 = ";";
protected final String TEXT_10 = NL + "\t";
- protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_12 = " INSTANCE = new ";
protected final String TEXT_13 = "();" + NL + "\t";
- protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
- protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper" + NL + "\t\t\t(new ResourceLocator [] " + NL + "\t\t\t{";
+ protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper" + NL + "\t\t\t(new ResourceLocator [] " + NL
+ + "\t\t\t{";
protected final String TEXT_17 = NL + "\t\t\t\t";
protected final String TEXT_18 = ".INSTANCE,";
- protected final String TEXT_19 = NL + "\t\t\t});" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance."
- + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_19 = NL + "\t\t\t});" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance." + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_20 = NL + "\t@Override";
protected final String TEXT_21 = NL + "\tpublic ResourceLocator getPluginResourceLocator()" + NL + "\t{";
protected final String TEXT_22 = NL + "\t\treturn null;";
protected final String TEXT_23 = NL + "\t\treturn plugin;";
protected final String TEXT_24 = NL + "\t}" + NL + "\t";
- protected final String TEXT_25 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class Implementation extends ";
- protected final String TEXT_26 = NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * Creates an instance." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->";
+ protected final String TEXT_25 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL
+ + "\t" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class Implementation extends ";
+ protected final String TEXT_26 = NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * Creates an instance." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->";
protected final String TEXT_27 = NL + "\t\t * @param descriptor the description of the plugin.";
protected final String TEXT_28 = NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic Implementation(";
protected final String TEXT_29 = " descriptor";
protected final String TEXT_30 = ")" + NL + "\t\t{" + NL + "\t\t\tsuper(";
protected final String TEXT_31 = "descriptor";
- protected final String TEXT_32 = ");" + NL + "\t" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//" + NL + "\t\t\tplugin = this;" + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_32 = ");" + NL + "\t" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//"
+ + NL + "\t\t\tplugin = this;" + NL + "\t\t}" + NL + "\t}" + NL;
protected final String TEXT_33 = NL + "}";
protected final String TEXT_34 = NL;
protected final String TEXT_35 = NL;
@@ -137,7 +154,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPath = genModel.getEditorPluginDirectory();
@@ -157,9 +175,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -190,7 +210,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -269,7 +292,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && true;
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginProperties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginProperties.java
index 5059f22..e0de944 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginProperties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginProperties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -34,12 +34,19 @@
protected final String TEXT_6 = "_menu = &";
protected final String TEXT_7 = " Editor";
protected final String TEXT_8 = NL;
- protected final String TEXT_9 = NL + "_UI_CreateChild_menu_item = &New Child" + NL + "_UI_CreateSibling_menu_item = N&ew Sibling" + NL;
- protected final String TEXT_10 = NL + "_UI_ShowPropertiesView_menu_item = Show &Properties View" + NL + "_UI_RefreshViewer_menu_item = &Refresh" + NL + "" + NL + "_UI_SelectionPage_label = Selection";
- protected final String TEXT_11 = NL + "_UI_ParentPage_label = Parent" + NL + "_UI_ListPage_label = List" + NL + "_UI_TreePage_label = Tree" + NL + "_UI_TablePage_label = Table" + NL + "_UI_TreeWithColumnsPage_label = Tree with Columns" + NL
- + "_UI_ObjectColumn_label = Object" + NL + "_UI_SelfColumn_label = Self";
- protected final String TEXT_12 = NL + NL + "_UI_NoObjectSelected = Selected Nothing" + NL + "_UI_SingleObjectSelected = Selected Object: {0}" + NL + "_UI_MultiObjectSelected = Selected {0} Objects" + NL + "" + NL + "_UI_OpenEditorError_label = Open Editor" + NL + "" + NL
- + "_UI_Wizard_category = Example EMF Model Creation Wizards" + NL + "" + NL + "_UI_CreateModelError_message = Problems encountered in file \"{0}\"" + NL;
+ protected final String TEXT_9 = NL + "_UI_CreateChild_menu_item = &New Child" + NL
+ + "_UI_CreateSibling_menu_item = N&ew Sibling" + NL;
+ protected final String TEXT_10 = NL + "_UI_ShowPropertiesView_menu_item = Show &Properties View" + NL
+ + "_UI_RefreshViewer_menu_item = &Refresh" + NL + "" + NL + "_UI_SelectionPage_label = Selection";
+ protected final String TEXT_11 = NL + "_UI_ParentPage_label = Parent" + NL + "_UI_ListPage_label = List" + NL
+ + "_UI_TreePage_label = Tree" + NL + "_UI_TablePage_label = Table" + NL
+ + "_UI_TreeWithColumnsPage_label = Tree with Columns" + NL + "_UI_ObjectColumn_label = Object" + NL
+ + "_UI_SelfColumn_label = Self";
+ protected final String TEXT_12 = NL + NL + "_UI_NoObjectSelected = Selected Nothing" + NL
+ + "_UI_SingleObjectSelected = Selected Object: {0}" + NL + "_UI_MultiObjectSelected = Selected {0} Objects"
+ + NL + "" + NL + "_UI_OpenEditorError_label = Open Editor" + NL + "" + NL
+ + "_UI_Wizard_category = Example EMF Model Creation Wizards" + NL + "" + NL
+ + "_UI_CreateModelError_message = Problems encountered in file \"{0}\"" + NL;
protected final String TEXT_13 = NL + "_UI_";
protected final String TEXT_14 = "_label = ";
protected final String TEXT_15 = " Model" + NL + "_UI_";
@@ -51,18 +58,34 @@
protected final String TEXT_21 = "FilenameDefaultBase = My" + NL + "_UI_";
protected final String TEXT_22 = "FilenameExtensions = ";
protected final String TEXT_23 = NL;
- protected final String TEXT_24 = NL + "_UI_Wizard_label = New" + NL + "" + NL + "_WARN_FilenameExtension = The file name must end in ''.{0}''" + NL + "_WARN_FilenameExtensions = The file name must have one of the following extensions: {0}" + NL + "" + NL
- + "_UI_ModelObject = &Model Object" + NL + "_UI_XMLEncoding = &XML Encoding" + NL + "_UI_XMLEncodingChoices = ";
- protected final String TEXT_25 = NL + "_UI_Wizard_initial_object_description = Specify a file name and select a model object to create";
+ protected final String TEXT_24 = NL + "_UI_Wizard_label = New" + NL + "" + NL
+ + "_WARN_FilenameExtension = The file name must end in ''.{0}''" + NL
+ + "_WARN_FilenameExtensions = The file name must have one of the following extensions: {0}" + NL + "" + NL
+ + "_UI_ModelObject = &Model Object" + NL + "_UI_XMLEncoding = &XML Encoding" + NL
+ + "_UI_XMLEncodingChoices = ";
+ protected final String TEXT_25 = NL
+ + "_UI_Wizard_initial_object_description = Specify a file name and select a model object to create";
protected final String TEXT_26 = NL + "_UI_Wizard_initial_object_description = Select a model object to create";
- protected final String TEXT_27 = NL + NL + "_UI_FileConflict_label = File Conflict" + NL + "_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes?" + NL;
+ protected final String TEXT_27 = NL
+ + NL
+ + "_UI_FileConflict_label = File Conflict"
+ + NL
+ + "_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes?"
+ + NL;
protected final String TEXT_28 = NL + "_UI_";
protected final String TEXT_29 = "_ActionSet_label = ";
protected final String TEXT_30 = " Action Set" + NL + "_UI_Perspective_label = ";
- protected final String TEXT_31 = NL + NL + "_UI_Browse_label = &Browse..." + NL + "_UI_File_label = &File" + NL + "_UI_Question_title = Question" + NL + "_WARN_FileConflict = The file \"{0}\" already exists. Do you want to replace the existing file?" + NL
- + "_UI_Error_title = Error" + NL + "_WARN_No_Editor = There is no editor registered for the file \"{0}\"." + NL + "" + NL + "_UI_Application_title = ";
- protected final String TEXT_32 = " Application" + NL + "_UI_Menu_File_label = &File" + NL + "_UI_Menu_New_label = &New" + NL + "_UI_Menu_Open_label = &Open..." + NL + "_UI_Menu_Open_description = Opens a model object file" + NL + "_UI_Menu_OpenURI_label = &Open URI..." + NL
- + "_UI_Menu_OpenURI_description = Opens a model object loading it from a URI" + NL + "_UI_Menu_Edit_label = &Edit" + NL + "_UI_Menu_Window_label = &Window" + NL + "_UI_Menu_Help_label = &Help" + NL + "_UI_Menu_About_label = ";
+ protected final String TEXT_31 = NL + NL + "_UI_Browse_label = &Browse..." + NL + "_UI_File_label = &File" + NL
+ + "_UI_Question_title = Question" + NL
+ + "_WARN_FileConflict = The file \"{0}\" already exists. Do you want to replace the existing file?" + NL
+ + "_UI_Error_title = Error" + NL + "_WARN_No_Editor = There is no editor registered for the file \"{0}\"."
+ + NL + "" + NL + "_UI_Application_title = ";
+ protected final String TEXT_32 = " Application" + NL + "_UI_Menu_File_label = &File" + NL
+ + "_UI_Menu_New_label = &New" + NL + "_UI_Menu_Open_label = &Open..." + NL
+ + "_UI_Menu_Open_description = Opens a model object file" + NL + "_UI_Menu_OpenURI_label = &Open URI..."
+ + NL + "_UI_Menu_OpenURI_description = Opens a model object loading it from a URI" + NL
+ + "_UI_Menu_Edit_label = &Edit" + NL + "_UI_Menu_Window_label = &Window" + NL
+ + "_UI_Menu_Help_label = &Help" + NL + "_UI_Menu_About_label = ";
protected final String TEXT_33 = " &About..." + NL + "_UI_About_title = ";
protected final String TEXT_34 = " Application" + NL + "_UI_About_text = ";
protected final String TEXT_35 = " Application about box goes here." + NL;
@@ -145,7 +168,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditorProjectDirectory() + "/plugin.properties";
@@ -163,9 +187,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -196,7 +222,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -293,7 +322,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && true;
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginXML.java
index 3c6d5ca..06ff5f7 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/PluginXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:24 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,12 +26,14 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>" + NL;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>"
+ + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
protected final String TEXT_4 = NL + "<plugin>";
protected final String TEXT_5 = NL + "<plugin" + NL + " name=\"%pluginName\"" + NL + " id=\"";
- protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL + " provider-name=\"%providerName\"" + NL + " class=\"";
+ protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL
+ + " provider-name=\"%providerName\"" + NL + " class=\"";
protected final String TEXT_7 = "$Implementation\">" + NL + "" + NL + " <requires>";
protected final String TEXT_8 = NL + " <import plugin=\"";
protected final String TEXT_9 = "\"";
@@ -41,7 +43,8 @@
protected final String TEXT_13 = NL + " <library name=\"";
protected final String TEXT_14 = ".jar\">";
protected final String TEXT_15 = NL + " <library name=\".\">";
- protected final String TEXT_16 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL + " </runtime>";
+ protected final String TEXT_16 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL
+ + " </runtime>";
protected final String TEXT_17 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.generated_package\">";
protected final String TEXT_18 = NL + " <!-- @generated ";
protected final String TEXT_19 = " -->";
@@ -58,18 +61,21 @@
protected final String TEXT_30 = " -->";
protected final String TEXT_31 = NL + " <parser" + NL + " contentTypeIdentifier=\"";
protected final String TEXT_32 = "\"" + NL + " class=\"";
- protected final String TEXT_33 = "\"/>" + NL + " </extension>" + NL + "" + NL + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
+ protected final String TEXT_33 = "\"/>" + NL + " </extension>" + NL + "" + NL
+ + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
protected final String TEXT_34 = NL + " <!-- @generated ";
protected final String TEXT_35 = " -->";
protected final String TEXT_36 = NL + " <content-type" + NL + " base-type=\"";
protected final String TEXT_37 = "\"" + NL + " file-extensions=\"";
protected final String TEXT_38 = "\"" + NL + " id=\"";
protected final String TEXT_39 = "\"" + NL + " name=\"%_UI_";
- protected final String TEXT_40 = "_content_type\"" + NL + " priority=\"normal\">" + NL + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
+ protected final String TEXT_40 = "_content_type\"" + NL + " priority=\"normal\">" + NL
+ + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
protected final String TEXT_41 = NL + " <parameter name=\"namespace\" value=\"";
protected final String TEXT_42 = "\"/>";
protected final String TEXT_43 = NL + " <parameter name=\"kind\" value=\"xmi\"/>";
- protected final String TEXT_44 = NL + " </describer>" + NL + " </content-type>" + NL + " </extension>";
+ protected final String TEXT_44 = NL + " </describer>" + NL + " </content-type>" + NL
+ + " </extension>";
protected final String TEXT_45 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.extension_parser\">";
protected final String TEXT_46 = NL + " <!-- @generated ";
protected final String TEXT_47 = " -->";
@@ -77,7 +83,8 @@
protected final String TEXT_49 = "\"" + NL + " class=\"";
protected final String TEXT_50 = "\"/>";
protected final String TEXT_51 = NL + " </extension>";
- protected final String TEXT_52 = NL + NL + " <extension point=\"org.eclipse.emf.edit.itemProviderAdapterFactories\">";
+ protected final String TEXT_52 = NL + NL
+ + " <extension point=\"org.eclipse.emf.edit.itemProviderAdapterFactories\">";
protected final String TEXT_53 = NL + " <!-- @generated ";
protected final String TEXT_54 = " -->";
protected final String TEXT_55 = NL + " <factory" + NL + " uri=\"";
@@ -94,64 +101,89 @@
protected final String TEXT_66 = "$";
protected final String TEXT_67 = "\"/>";
protected final String TEXT_68 = NL + " </extension>";
- protected final String TEXT_69 = NL + NL + " <extension" + NL + " point=\"org.eclipse.core.runtime.applications\"" + NL + " id=\"";
+ protected final String TEXT_69 = NL + NL + " <extension" + NL
+ + " point=\"org.eclipse.core.runtime.applications\"" + NL + " id=\"";
protected final String TEXT_70 = "Application\">";
protected final String TEXT_71 = NL + " <!-- @generated ";
protected final String TEXT_72 = " -->";
protected final String TEXT_73 = NL + " <application>" + NL + " <run class=\"";
- protected final String TEXT_74 = "$Application\"/>" + NL + " </application>" + NL + " </extension>" + NL + "" + NL + " <extension point=\"org.eclipse.ui.perspectives\">";
+ protected final String TEXT_74 = "$Application\"/>" + NL + " </application>" + NL + " </extension>" + NL
+ + "" + NL + " <extension point=\"org.eclipse.ui.perspectives\">";
protected final String TEXT_75 = NL + " <!-- @generated ";
protected final String TEXT_76 = " -->";
- protected final String TEXT_77 = NL + " <perspective" + NL + " name=\"%_UI_Perspective_label\"" + NL + " class=\"";
+ protected final String TEXT_77 = NL + " <perspective" + NL + " name=\"%_UI_Perspective_label\""
+ + NL + " class=\"";
protected final String TEXT_78 = "$Perspective\"" + NL + " id=\"";
- protected final String TEXT_79 = "Perspective\">" + NL + " </perspective>" + NL + " </extension>" + NL + "" + NL + " <extension point=\"org.eclipse.ui.commands\">";
+ protected final String TEXT_79 = "Perspective\">" + NL + " </perspective>" + NL + " </extension>" + NL + ""
+ + NL + " <extension point=\"org.eclipse.ui.commands\">";
protected final String TEXT_80 = NL + " <!-- @generated ";
protected final String TEXT_81 = " -->";
- protected final String TEXT_82 = NL + " <command" + NL + " name=\"%_UI_Menu_OpenURI_label\"" + NL + " description=\"%_UI_Menu_OpenURI_description\"" + NL + " categoryId=\"org.eclipse.ui.category.file\"" + NL + " id=\"";
+ protected final String TEXT_82 = NL + " <command" + NL + " name=\"%_UI_Menu_OpenURI_label\"" + NL
+ + " description=\"%_UI_Menu_OpenURI_description\"" + NL
+ + " categoryId=\"org.eclipse.ui.category.file\"" + NL + " id=\"";
protected final String TEXT_83 = "OpenURICommand\"/>";
- protected final String TEXT_84 = NL + " <command" + NL + " name=\"%_UI_Menu_Open_label\"" + NL + " description=\"%_UI_Menu_Open_description\"" + NL + " categoryId=\"org.eclipse.ui.category.file\"" + NL + " id=\"";
+ protected final String TEXT_84 = NL + " <command" + NL + " name=\"%_UI_Menu_Open_label\"" + NL
+ + " description=\"%_UI_Menu_Open_description\"" + NL
+ + " categoryId=\"org.eclipse.ui.category.file\"" + NL + " id=\"";
protected final String TEXT_85 = "OpenCommand\"/>";
protected final String TEXT_86 = NL + " </extension>" + NL;
protected final String TEXT_87 = NL + " <extension point=\"org.eclipse.ui.bindings\">";
protected final String TEXT_88 = NL + " <!-- @generated ";
protected final String TEXT_89 = " -->";
protected final String TEXT_90 = NL + " <key" + NL + " commandId=\"";
- protected final String TEXT_91 = "OpenURICommand\"" + NL + " sequence=\"M1+U\"" + NL + " schemeId=\"org.eclipse.ui.defaultAcceleratorConfiguration\"/>" + NL + " <key" + NL + " commandId=\"";
- protected final String TEXT_92 = "OpenCommand\"" + NL + " sequence=\"M1+O\"" + NL + " schemeId=\"org.eclipse.ui.defaultAcceleratorConfiguration\"/>" + NL + " </extension>";
+ protected final String TEXT_91 = "OpenURICommand\"" + NL + " sequence=\"M1+U\"" + NL
+ + " schemeId=\"org.eclipse.ui.defaultAcceleratorConfiguration\"/>" + NL + " <key" + NL
+ + " commandId=\"";
+ protected final String TEXT_92 = "OpenCommand\"" + NL + " sequence=\"M1+O\"" + NL
+ + " schemeId=\"org.eclipse.ui.defaultAcceleratorConfiguration\"/>" + NL + " </extension>";
protected final String TEXT_93 = NL + NL + " <extension point=\"org.eclipse.ui.actionSets\">";
protected final String TEXT_94 = NL + " <!-- @generated ";
protected final String TEXT_95 = " -->";
protected final String TEXT_96 = NL + " <actionSet" + NL + " label=\"%_UI_";
- protected final String TEXT_97 = "_ActionSet_label\"" + NL + " visible=\"true\"" + NL + " id=\"";
- protected final String TEXT_98 = "ActionSet\">" + NL + " <action" + NL + " label=\"%_UI_Menu_About_label\"" + NL + " class=\"";
- protected final String TEXT_99 = "$AboutAction\"" + NL + " menubarPath=\"help/additions\"" + NL + " id=\"";
- protected final String TEXT_100 = "AboutAction\"/>" + NL + " <action" + NL + " label=\"%_UI_Menu_OpenURI_label\"" + NL + " definitionId=\"";
+ protected final String TEXT_97 = "_ActionSet_label\"" + NL + " visible=\"true\"" + NL
+ + " id=\"";
+ protected final String TEXT_98 = "ActionSet\">" + NL + " <action" + NL
+ + " label=\"%_UI_Menu_About_label\"" + NL + " class=\"";
+ protected final String TEXT_99 = "$AboutAction\"" + NL + " menubarPath=\"help/additions\"" + NL
+ + " id=\"";
+ protected final String TEXT_100 = "AboutAction\"/>" + NL + " <action" + NL
+ + " label=\"%_UI_Menu_OpenURI_label\"" + NL + " definitionId=\"";
protected final String TEXT_101 = "OpenURICommand\"" + NL + " class=\"";
- protected final String TEXT_102 = "$OpenURIAction\"" + NL + " menubarPath=\"file/additions\"" + NL + " id=\"";
+ protected final String TEXT_102 = "$OpenURIAction\"" + NL + " menubarPath=\"file/additions\"" + NL
+ + " id=\"";
protected final String TEXT_103 = "OpenURIAction\"/>";
- protected final String TEXT_104 = NL + " <action" + NL + " label=\"%_UI_Menu_Open_label\"" + NL + " definitionId=\"";
+ protected final String TEXT_104 = NL + " <action" + NL + " label=\"%_UI_Menu_Open_label\""
+ + NL + " definitionId=\"";
protected final String TEXT_105 = "OpenCommand\"" + NL + " class=\"";
- protected final String TEXT_106 = "$OpenAction\"" + NL + " menubarPath=\"file/additions\"" + NL + " id=\"";
+ protected final String TEXT_106 = "$OpenAction\"" + NL + " menubarPath=\"file/additions\"" + NL
+ + " id=\"";
protected final String TEXT_107 = "OpenAction\"/>";
protected final String TEXT_108 = NL + " </actionSet>" + NL + " </extension>";
protected final String TEXT_109 = NL + NL + " <extension point=\"org.eclipse.ui.actionSets\">";
protected final String TEXT_110 = NL + " <!-- @generated ";
protected final String TEXT_111 = " -->";
protected final String TEXT_112 = NL + " <actionSet" + NL + " label=\"%_UI_";
- protected final String TEXT_113 = "_ActionSet_label\"" + NL + " visible=\"true\"" + NL + " id=\"";
+ protected final String TEXT_113 = "_ActionSet_label\"" + NL + " visible=\"true\"" + NL
+ + " id=\"";
protected final String TEXT_114 = "ActionSet\">" + NL + " <action" + NL + " label=\"%_UI_";
protected final String TEXT_115 = "_label\"" + NL + " class=\"";
- protected final String TEXT_116 = "$NewAction\"" + NL + " menubarPath=\"file/new/additions\"" + NL + " id=\"";
+ protected final String TEXT_116 = "$NewAction\"" + NL + " menubarPath=\"file/new/additions\"" + NL
+ + " id=\"";
protected final String TEXT_117 = "NewAction\"/>" + NL + " </actionSet>" + NL + " </extension>";
protected final String TEXT_118 = NL + NL + " <extension point=\"org.eclipse.ui.newWizards\">";
protected final String TEXT_119 = NL + " <!-- @generated ";
protected final String TEXT_120 = " -->";
- protected final String TEXT_121 = NL + " <category" + NL + " id=\"org.eclipse.emf.ecore.Wizard.category.ID\"" + NL + " name=\"%_UI_Wizard_category\"/>" + NL + " <wizard" + NL + " id=\"";
+ protected final String TEXT_121 = NL + " <category" + NL
+ + " id=\"org.eclipse.emf.ecore.Wizard.category.ID\"" + NL
+ + " name=\"%_UI_Wizard_category\"/>" + NL + " <wizard" + NL + " id=\"";
protected final String TEXT_122 = "ID\"" + NL + " name=\"%_UI_";
protected final String TEXT_123 = "_label\"" + NL + " class=\"";
- protected final String TEXT_124 = "\"" + NL + " category=\"org.eclipse.emf.ecore.Wizard.category.ID\"" + NL + " icon=\"icons/full/obj16/";
+ protected final String TEXT_124 = "\"" + NL + " category=\"org.eclipse.emf.ecore.Wizard.category.ID\""
+ + NL + " icon=\"icons/full/obj16/";
protected final String TEXT_125 = "ModelFile.gif\">" + NL + " <description>%_UI_";
- protected final String TEXT_126 = "_description</description>" + NL + " <selection class=\"org.eclipse.core.resources.IResource\"/>" + NL + " </wizard>" + NL + " </extension>";
+ protected final String TEXT_126 = "_description</description>" + NL
+ + " <selection class=\"org.eclipse.core.resources.IResource\"/>" + NL + " </wizard>" + NL
+ + " </extension>";
protected final String TEXT_127 = NL + NL + " <extension point=\"org.eclipse.ui.editors\">";
protected final String TEXT_128 = NL + " <!-- @generated ";
protected final String TEXT_129 = " -->";
@@ -242,7 +274,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditorProjectDirectory() + "/plugin.xml";
@@ -262,9 +295,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -297,7 +332,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -370,7 +408,8 @@
stringBuffer.append(TEXT_35);
}
stringBuffer.append(TEXT_36);
- stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi" : "org.eclipse.core.runtime.xml");
+ stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi"
+ : "org.eclipse.core.runtime.xml");
stringBuffer.append(TEXT_37);
stringBuffer.append(genPackage.getFileExtensions());
stringBuffer.append(TEXT_38);
@@ -429,10 +468,12 @@
}
stringBuffer.append(TEXT_60);
if (genPackage.isChildCreationExtenders()) {
- Map<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> extendedChildCreationData = genPackage.getExtendedChildCreationData();
+ Map<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> extendedChildCreationData = genPackage
+ .getExtendedChildCreationData();
if (!extendedChildCreationData.isEmpty()) {
stringBuffer.append(TEXT_61);
- for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> entry : extendedChildCreationData.entrySet()) {
+ for (Map.Entry<GenPackage, Map<GenClass, List<GenClass.ChildCreationData>>> entry : extendedChildCreationData
+ .entrySet()) {
if (hasKey) {
stringBuffer.append(TEXT_62);
stringBuffer.append(key);
@@ -613,7 +654,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/WebXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/WebXML.java
index b3c3cab..47d2544 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/WebXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/WebXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,11 +26,17 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<!DOCTYPE web-app PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\" \"http://java.sun.com/dtd/web-app_2_3.dtd\">";
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ + NL
+ + "<!DOCTYPE web-app PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\" \"http://java.sun.com/dtd/web-app_2_3.dtd\">";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "<web-app>" + NL + " <servlet>" + NL + " <servlet-name>uriServlet</servlet-name>" + NL + " <servlet-class>org.eclipse.emf.server.ecore.resource.URIServiceImpl</servlet-class>" + NL + " </servlet>" + NL + " " + NL
- + " <servlet-mapping>" + NL + " <servlet-name>uriServlet</servlet-name>" + NL + " <url-pattern>/";
- protected final String TEXT_4 = "/uriService</url-pattern>" + NL + " </servlet-mapping>" + NL + "" + NL + " <welcome-file-list>" + NL + " <welcome-file>";
+ protected final String TEXT_3 = NL + "<web-app>" + NL + " <servlet>" + NL
+ + " <servlet-name>uriServlet</servlet-name>" + NL
+ + " <servlet-class>org.eclipse.emf.server.ecore.resource.URIServiceImpl</servlet-class>" + NL
+ + " </servlet>" + NL + " " + NL + " <servlet-mapping>" + NL
+ + " <servlet-name>uriServlet</servlet-name>" + NL + " <url-pattern>/";
+ protected final String TEXT_4 = "/uriService</url-pattern>" + NL + " </servlet-mapping>" + NL + "" + NL
+ + " <welcome-file-list>" + NL + " <welcome-file>";
protected final String TEXT_5 = ".html</welcome-file>" + NL + " </welcome-file-list>" + NL + "</web-app>" + NL;
protected final String TEXT_6 = NL;
protected final String TEXT_7 = NL;
@@ -106,7 +112,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getEditorProjectDirectory() + "/war/WEB-INF/web.xml";
@@ -126,9 +133,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel, GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getEditorDirectory(), genModel,
+ GenBaseGeneratorAdapter.EDITOR_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -160,7 +169,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -176,7 +188,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject");
canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesinsert.java
index 1556bad..079787c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor.call.Editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -153,7 +153,9 @@
this._ArrayListOfPropertySheetPage = (java.lang.String) _ArrayListOfPropertySheetPageParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(
+ currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesoverride.java
index ef55443..7259454 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/editor/call/Editor/EditoraddItemProviderFactoriesoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.editor.call.Editor;
import org.eclipse.egf.emf.pattern.base.*;
@@ -160,7 +160,9 @@
this._ArrayListOfPropertySheetPage = (java.lang.String) _ArrayListOfPropertySheetPageParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(
+ currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -479,7 +481,9 @@
callParameters.put("_ListOfString", _ListOfString);
callParameters.put("_ListOfPropertySheetPage", _ListOfPropertySheetPage);
callParameters.put("_ArrayListOfPropertySheetPage", _ArrayListOfPropertySheetPage);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_09RHMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_09RHMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/AdapterFactoryClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/AdapterFactoryClass.java
index 847cf97..e7a9357 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/AdapterFactoryClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/AdapterFactoryClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:16 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,24 +29,52 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Adapter Factory</b> for the model." + NL + " * It provides an adapter <code>createXXX</code> method for each class of the model." + NL + " * <!-- end-user-doc -->" + NL
- + " * @see ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Adapter Factory</b> for the model." + NL
+ + " * It provides an adapter <code>createXXX</code> method for each class of the model." + NL
+ + " * <!-- end-user-doc -->" + NL + " * @see ";
protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
protected final String TEXT_6 = " extends AdapterFactoryImpl" + NL + "{";
- protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_8 = " copyright = ";
protected final String TEXT_9 = ";";
protected final String TEXT_10 = NL;
- protected final String TEXT_11 = NL + "\t/**" + NL + "\t * The cached model package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static ";
- protected final String TEXT_12 = " modelPackage;" + NL + "" + NL + "\t/**" + NL + "\t * Creates an instance of the adapter factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_13 = "()" + NL + "\t{" + NL + "\t\tif (modelPackage == null)" + NL + "\t\t{" + NL + "\t\t\tmodelPackage = ";
- protected final String TEXT_14 = ".eINSTANCE;" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns whether this factory is applicable for the type of the object." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model." + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return whether this factory is applicable for the type of the object." + NL
- + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * The cached model package." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected static ";
+ protected final String TEXT_12 = " modelPackage;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the adapter factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_13 = "()" + NL + "\t{" + NL + "\t\tif (modelPackage == null)" + NL + "\t\t{" + NL
+ + "\t\t\tmodelPackage = ";
+ protected final String TEXT_14 = ".eINSTANCE;"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Returns whether this factory is applicable for the type of the object."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model."
+ + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return whether this factory is applicable for the type of the object." + NL + "\t * @generated"
+ + NL + "\t */";
protected final String TEXT_15 = NL + "\t@Override";
- protected final String TEXT_16 = NL + "\tpublic boolean isFactoryForType(Object object)" + NL + "\t{" + NL + "\t\tif (object == modelPackage)" + NL + "\t\t{" + NL + "\t\t\treturn true;" + NL + "\t\t}" + NL + "\t\tif (object instanceof EObject)" + NL + "\t\t{" + NL
- + "\t\t\treturn ((EObject)object).eClass().getEPackage() == modelPackage;" + NL + "\t\t}" + NL + "\t\treturn false;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * The switch that delegates to the <code>createXXX</code> methods." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_16 = NL + "\tpublic boolean isFactoryForType(Object object)" + NL + "\t{" + NL
+ + "\t\tif (object == modelPackage)" + NL + "\t\t{" + NL + "\t\t\treturn true;" + NL + "\t\t}" + NL
+ + "\t\tif (object instanceof EObject)" + NL + "\t\t{" + NL
+ + "\t\t\treturn ((EObject)object).eClass().getEPackage() == modelPackage;" + NL + "\t\t}" + NL
+ + "\t\treturn false;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * The switch that delegates to the <code>createXXX</code> methods." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_17 = " modelSwitch =" + NL + "\t\tnew ";
protected final String TEXT_18 = "()" + NL + "\t\t{";
protected final String TEXT_19 = NL + "\t\t\t@Override";
@@ -58,20 +86,29 @@
protected final String TEXT_25 = NL + "\t\t\t@Override";
protected final String TEXT_26 = NL + "\t\t\tpublic ";
protected final String TEXT_27 = " defaultCase(EObject object)" + NL + "\t\t\t{" + NL + "\t\t\t\treturn create";
- protected final String TEXT_28 = "Adapter();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "" + NL + "\t/**" + NL + "\t * Creates an adapter for the <code>target</code>." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @param target the object to adapt." + NL + "\t * @return the adapter for the <code>target</code>." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_28 = "Adapter();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an adapter for the <code>target</code>." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param target the object to adapt." + NL
+ + "\t * @return the adapter for the <code>target</code>." + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_29 = NL + "\t@Override";
- protected final String TEXT_30 = NL + "\tpublic Adapter createAdapter(Notifier target)" + NL + "\t{" + NL + "\t\treturn ";
+ protected final String TEXT_30 = NL + "\tpublic Adapter createAdapter(Notifier target)" + NL + "\t{" + NL
+ + "\t\treturn ";
protected final String TEXT_31 = "modelSwitch.doSwitch((EObject)target);" + NL + "\t}" + NL;
- protected final String TEXT_32 = NL + NL + "\t/**" + NL + "\t * Creates a new adapter for an object of class '{@link ";
+ protected final String TEXT_32 = NL + NL + "\t/**" + NL
+ + "\t * Creates a new adapter for an object of class '{@link ";
protected final String TEXT_33 = " <em>";
- protected final String TEXT_34 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * This default implementation returns null so that we can easily ignore cases;" + NL + "\t * it's useful to ignore a case when inheritance will catch all the cases anyway." + NL
+ protected final String TEXT_34 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * This default implementation returns null so that we can easily ignore cases;" + NL
+ + "\t * it's useful to ignore a case when inheritance will catch all the cases anyway." + NL
+ "\t * <!-- end-user-doc -->" + NL + "\t * @return the new adapter." + NL + "\t * @see ";
protected final String TEXT_35 = NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Adapter create";
protected final String TEXT_36 = "Adapter()" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}";
- protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * Creates a new adapter for the default case." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * This default implementation returns null." + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @return the new adapter." + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Adapter create";
- protected final String TEXT_38 = "Adapter()" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}" + NL + "" + NL + "} //";
+ protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * Creates a new adapter for the default case." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * This default implementation returns null." + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the new adapter." + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic Adapter create";
+ protected final String TEXT_38 = "Adapter()" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}" + NL + "" + NL
+ + "} //";
protected final String TEXT_39 = NL;
protected final String TEXT_40 = NL;
protected final String TEXT_41 = NL;
@@ -147,7 +184,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -167,9 +205,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -201,7 +241,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -212,7 +255,8 @@
genModel.addImport("org.eclipse.emf.common.notify.Notifier");
genModel.addImport("org.eclipse.emf.common.notify.impl.AdapterFactoryImpl");
genModel.addImport("org.eclipse.emf.ecore.EObject");
- if (!genPackage.hasJavaLangConflict() && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
+ if (!genPackage.hasJavaLangConflict()
+ && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
genModel.addImport(genPackage.getInterfacePackageName() + ".*");
String typeArgument = genModel.useGenerics() ? "<Adapter>" : "";
String returnType = genModel.useGenerics() ? "Adapter" : genModel.getImportedName("java.lang.Object");
@@ -303,8 +347,11 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
- canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.isAdapterFactory() && !genPackage.getGenClasses().isEmpty());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genPackage.hasClassifiers() && genPackage.isAdapterFactory() && !genPackage.getGenClasses()
+ .isEmpty());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/BuildProperties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/BuildProperties.java
index 198a6be..29c4139 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/BuildProperties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/BuildProperties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:14 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -111,11 +111,14 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getModelProjectDirectory() + "/build.properties";
- overwrite = genModel.isUpdateClasspath() && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(genModel.getModelProjectDirectory()).appendSegment("plugin.xml"));
+ overwrite = genModel.isUpdateClasspath()
+ && !new CodegenGeneratorAdapter(parameter).exists(new CodegenGeneratorAdapter(parameter).toURI(
+ genModel.getModelProjectDirectory()).appendSegment("plugin.xml"));
encoding = "ISO-8859-1";
InternalPatternContext ictx = (InternalPatternContext) ctx;
@@ -131,9 +134,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -165,7 +170,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -209,7 +217,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genModel.hasPluginSupport());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Class.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Class.java
index 9bc8efc..8172304 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Class.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Class.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:15 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -34,45 +34,63 @@
protected final String TEXT_6 = NL;
protected final String TEXT_7 = NL;
protected final String TEXT_8 = NL;
- protected final String TEXT_9 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * An implementation of the model object '<em><b>";
- protected final String TEXT_10 = "</b></em>'." + NL + " * <!-- end-user-doc -->" + NL + " * <p>";
- protected final String TEXT_11 = NL + " * The following features are implemented:" + NL + " * <ul>";
+ protected final String TEXT_9 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model object '<em><b>";
+ protected final String TEXT_10 = "</b></em>'." + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_11 = NL + " * <p>" + NL + " * The following features are implemented:" + NL + " * </p>"
+ + NL + " * <ul>";
protected final String TEXT_12 = NL + " * <li>{@link ";
protected final String TEXT_13 = "#";
protected final String TEXT_14 = " <em>";
protected final String TEXT_15 = "</em>}</li>";
protected final String TEXT_16 = NL + " * </ul>";
- protected final String TEXT_17 = NL + " * </p>" + NL + " *" + NL + " * @generated" + NL + " */";
+ protected final String TEXT_17 = NL + " *" + NL + " * @generated" + NL + " */";
protected final String TEXT_18 = NL + "public";
protected final String TEXT_19 = " abstract";
protected final String TEXT_20 = " class ";
protected final String TEXT_21 = NL + "public interface ";
protected final String TEXT_22 = NL + "{";
- protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_24 = " copyright = ";
protected final String TEXT_25 = ";";
protected final String TEXT_26 = NL;
- protected final String TEXT_27 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_27 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_28 = " mofDriverNumber = \"";
protected final String TEXT_29 = "\";";
protected final String TEXT_30 = NL;
- protected final String TEXT_31 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final long serialVersionUID = 1L;" + NL;
- protected final String TEXT_32 = NL + "\t/**" + NL + "\t * An array of objects representing the values of non-primitive features." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_31 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate static final long serialVersionUID = 1L;" + NL;
+ protected final String TEXT_32 = NL + "\t/**" + NL
+ + "\t * An array of objects representing the values of non-primitive features." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_33 = NL + "\t@";
protected final String TEXT_34 = NL + "\tprotected Object[] ";
protected final String TEXT_35 = ";" + NL;
- protected final String TEXT_36 = NL + "\t/**" + NL + "\t * A bit field representing the indices of non-primitive feature values." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_36 = NL + "\t/**" + NL
+ + "\t * A bit field representing the indices of non-primitive feature values." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_37 = NL + "\t@";
protected final String TEXT_38 = NL + "\tprotected int ";
protected final String TEXT_39 = ";" + NL;
- protected final String TEXT_40 = NL + "\t/**" + NL + "\t * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ protected final String TEXT_40 = NL
+ + "\t/**"
+ + NL
+ + "\t * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ "\t * @ordered" + NL + "\t */";
protected final String TEXT_41 = NL + "\t@";
protected final String TEXT_42 = NL + "\tprotected int ";
protected final String TEXT_43 = " = 0;" + NL;
protected final String TEXT_44 = NL + "\t/**" + NL + "\t * The empty value for the '{@link #";
protected final String TEXT_45 = "() <em>";
- protected final String TEXT_46 = "</em>}' array accessor." + NL + "\t * This is specialized for the more specific element type known in this context." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_46 = "</em>}' array accessor." + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_47 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_48 = NL + "\t@SuppressWarnings(\"rawtypes\")";
protected final String TEXT_49 = NL + "\tprotected static final ";
@@ -81,21 +99,26 @@
protected final String TEXT_52 = " [0]";
protected final String TEXT_53 = ";" + NL;
protected final String TEXT_54 = NL;
- protected final String TEXT_55 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
+ protected final String TEXT_55 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
protected final String TEXT_56 = " = ";
protected final String TEXT_57 = ".getFeatureID(";
protected final String TEXT_58 = ") - ";
protected final String TEXT_59 = ";" + NL;
- protected final String TEXT_60 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
+ protected final String TEXT_60 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
protected final String TEXT_61 = " = ";
protected final String TEXT_62 = ".getFeatureID(";
protected final String TEXT_63 = ") - ";
protected final String TEXT_64 = ";" + NL;
- protected final String TEXT_65 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int \"EOPERATION_OFFSET_CORRECTION\" = ";
+ protected final String TEXT_65 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate static final int \"EOPERATION_OFFSET_CORRECTION\" = ";
protected final String TEXT_66 = ".getOperationID(";
protected final String TEXT_67 = ") - ";
protected final String TEXT_68 = ";" + NL;
- protected final String TEXT_69 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_69 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_70 = "public";
protected final String TEXT_71 = "protected";
protected final String TEXT_72 = " ";
@@ -106,7 +129,8 @@
protected final String TEXT_77 = "_EFLAG";
protected final String TEXT_78 = "_DEFAULT";
protected final String TEXT_79 = ";";
- protected final String TEXT_80 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_80 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_81 = NL + "\t@Override";
protected final String TEXT_82 = NL + "\tprotected ";
protected final String TEXT_83 = " eStaticClass()" + NL + "\t{" + NL + "\t\treturn ";
@@ -115,7 +139,8 @@
protected final String TEXT_86 = NL;
protected final String TEXT_87 = NL;
protected final String TEXT_88 = NL;
- protected final String TEXT_89 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_89 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_90 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_91 = NL + "\t@Override";
protected final String TEXT_92 = NL + "\tpublic ";
@@ -132,7 +157,8 @@
protected final String TEXT_103 = "()).eMap()).basicAdd(otherEnd, msgs);";
protected final String TEXT_104 = NL + "\t\t\t\treturn (";
protected final String TEXT_105 = "()).basicAdd(otherEnd, msgs);";
- protected final String TEXT_106 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);";
+ protected final String TEXT_106 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL
+ + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);";
protected final String TEXT_107 = NL + "\t\t\t\treturn basicSet";
protected final String TEXT_108 = "((";
protected final String TEXT_109 = ")otherEnd, msgs);";
@@ -166,7 +192,8 @@
protected final String TEXT_137 = NL + "\t\treturn super.eInverseAdd(otherEnd, featureID, msgs);";
protected final String TEXT_138 = NL + "\t\treturn eDynamicInverseAdd(otherEnd, featureID, msgs);";
protected final String TEXT_139 = NL + "\t}" + NL;
- protected final String TEXT_140 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_140 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_141 = NL + "\t@Override";
protected final String TEXT_142 = NL + "\tpublic ";
protected final String TEXT_143 = " eInverseRemove(";
@@ -197,7 +224,8 @@
protected final String TEXT_168 = NL + "\t\treturn super.eInverseRemove(otherEnd, featureID, msgs);";
protected final String TEXT_169 = NL + "\t\treturn eDynamicInverseRemove(otherEnd, featureID, msgs);";
protected final String TEXT_170 = NL + "\t}" + NL;
- protected final String TEXT_171 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_171 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_172 = NL + "\t@Override";
protected final String TEXT_173 = NL + "\tpublic ";
protected final String TEXT_174 = " eBasicRemoveFromContainerFeature(";
@@ -211,9 +239,11 @@
protected final String TEXT_182 = NL + "\t\treturn super.eBasicRemoveFromContainerFeature(msgs);";
protected final String TEXT_183 = NL + "\t\treturn eDynamicBasicRemoveFromContainer(msgs);";
protected final String TEXT_184 = NL + "\t}" + NL;
- protected final String TEXT_185 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_185 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_186 = NL + "\t@Override";
- protected final String TEXT_187 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_187 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)"
+ + NL + "\t{" + NL + "\t\tswitch (featureID";
protected final String TEXT_188 = ")" + NL + "\t\t{";
protected final String TEXT_189 = NL + "\t\t\tcase ";
protected final String TEXT_190 = ":";
@@ -249,10 +279,12 @@
protected final String TEXT_220 = NL + "\t\treturn super.eGet(featureID, resolve, coreType);";
protected final String TEXT_221 = NL + "\t\treturn eDynamicGet(featureID, resolve, coreType);";
protected final String TEXT_222 = NL + "\t}" + NL;
- protected final String TEXT_223 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_223 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_224 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_225 = NL + "\t@Override";
- protected final String TEXT_226 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_226 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
protected final String TEXT_227 = ")" + NL + "\t\t{";
protected final String TEXT_228 = NL + "\t\t\tcase ";
protected final String TEXT_229 = ":";
@@ -293,7 +325,8 @@
protected final String TEXT_264 = NL + "\t}" + NL;
protected final String TEXT_265 = NL;
protected final String TEXT_266 = NL;
- protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_268 = NL + "\t@Override";
protected final String TEXT_269 = NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class";
protected final String TEXT_270 = " baseClass)" + NL + "\t{";
@@ -304,8 +337,10 @@
protected final String TEXT_275 = ": return ";
protected final String TEXT_276 = ";";
protected final String TEXT_277 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
- protected final String TEXT_278 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);" + NL + "\t}";
- protected final String TEXT_279 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_278 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);"
+ + NL + "\t}";
+ protected final String TEXT_279 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_280 = NL + "\t@Override";
protected final String TEXT_281 = NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class";
protected final String TEXT_282 = " baseClass)" + NL + "\t{";
@@ -322,8 +357,10 @@
protected final String TEXT_293 = ": return ";
protected final String TEXT_294 = ";";
protected final String TEXT_295 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
- protected final String TEXT_296 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);" + NL + "\t}" + NL;
- protected final String TEXT_297 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_296 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);"
+ + NL + "\t}" + NL;
+ protected final String TEXT_297 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_298 = NL + "\t@Override";
protected final String TEXT_299 = NL + "\tpublic int eDerivedOperationID(int baseOperationID, Class";
protected final String TEXT_300 = " baseClass)" + NL + "\t{";
@@ -332,7 +369,9 @@
protected final String TEXT_303 = NL + "\t\t\t\tcase ";
protected final String TEXT_304 = ": return ";
protected final String TEXT_305 = ";";
- protected final String TEXT_306 = NL + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_306 = NL
+ + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL
+ + "\t\t}";
protected final String TEXT_307 = NL + "\t\tif (baseClass == ";
protected final String TEXT_308 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{";
protected final String TEXT_309 = NL + "\t\t\t\tcase ";
@@ -346,29 +385,39 @@
protected final String TEXT_317 = ": return ";
protected final String TEXT_318 = ";";
protected final String TEXT_319 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
- protected final String TEXT_320 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t}" + NL;
- protected final String TEXT_321 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_320 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_321 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_322 = NL + "\t@Override";
protected final String TEXT_323 = NL + "\tprotected Object[] eVirtualValues()" + NL + "\t{" + NL + "\t\treturn ";
- protected final String TEXT_324 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_324 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_325 = NL + "\t@Override";
- protected final String TEXT_326 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_326 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL
+ + "\t\t";
protected final String TEXT_327 = " = newValues;" + NL + "\t}" + NL;
- protected final String TEXT_328 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_328 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_329 = NL + "\t@Override";
- protected final String TEXT_330 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{";
+ protected final String TEXT_330 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL
+ + "\t\tswitch (offset)" + NL + "\t\t{";
protected final String TEXT_331 = NL + "\t\t\tcase ";
protected final String TEXT_332 = " :" + NL + "\t\t\t\treturn ";
protected final String TEXT_333 = ";";
- protected final String TEXT_334 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
- + "\t */";
+ protected final String TEXT_334 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();"
+ + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_335 = NL + "\t@Override";
- protected final String TEXT_336 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{";
+ protected final String TEXT_336 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL
+ + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{";
protected final String TEXT_337 = NL + "\t\t\tcase ";
protected final String TEXT_338 = " :" + NL + "\t\t\t\t";
protected final String TEXT_339 = " = newIndexBits;" + NL + "\t\t\t\tbreak;";
- protected final String TEXT_340 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_341 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_340 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_341 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_342 = NL + "\t@Override";
protected final String TEXT_343 = NL + "\t@SuppressWarnings(";
protected final String TEXT_344 = "\"unchecked\"";
@@ -416,9 +465,12 @@
protected final String TEXT_386 = NL + "\t\treturn super.eInvoke(operationID, arguments);";
protected final String TEXT_387 = NL + "\t\treturn eDynamicInvoke(operationID, arguments);";
protected final String TEXT_388 = NL + "\t}" + NL;
- protected final String TEXT_389 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_389 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_390 = NL + "\t@Override";
- protected final String TEXT_391 = NL + "\tpublic String toString()" + NL + "\t{" + NL + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL + "\t\tStringBuffer result = new StringBuffer(super.toString());";
+ protected final String TEXT_391 = NL + "\tpublic String toString()" + NL + "\t{" + NL
+ + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL
+ + "\t\tStringBuffer result = new StringBuffer(super.toString());";
protected final String TEXT_392 = NL + "\t\tresult.append(\" (";
protected final String TEXT_393 = ": \");";
protected final String TEXT_394 = NL + "\t\tresult.append(\", ";
@@ -464,19 +516,27 @@
protected final String TEXT_434 = "_EFLAG_OFFSET]);";
protected final String TEXT_435 = NL + "\t\tresult.append(";
protected final String TEXT_436 = ");";
- protected final String TEXT_437 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL + "\t}" + NL;
- protected final String TEXT_438 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_437 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL
+ + "\t}" + NL;
+ protected final String TEXT_438 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_439 = NL + "\t@";
- protected final String TEXT_440 = NL + "\tprotected int hash = -1;" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int getHash()" + NL + "\t{" + NL
- + "\t\tif (hash == -1)" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_441 = " theKey = getKey();" + NL + "\t\t\thash = (theKey == null ? 0 : theKey.hashCode());" + NL + "\t\t}" + NL + "\t\treturn hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
- + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setHash(int hash)" + NL + "\t{" + NL + "\t\tthis.hash = hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
- + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_440 = NL + "\tprotected int hash = -1;" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic int getHash()" + NL + "\t{" + NL + "\t\tif (hash == -1)" + NL + "\t\t{" + NL
+ + "\t\t\t";
+ protected final String TEXT_441 = " theKey = getKey();" + NL
+ + "\t\t\thash = (theKey == null ? 0 : theKey.hashCode());" + NL + "\t\t}" + NL + "\t\treturn hash;" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setHash(int hash)" + NL + "\t{" + NL
+ + "\t\tthis.hash = hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_442 = " getKey()" + NL + "\t{";
protected final String TEXT_443 = NL + "\t\treturn new ";
protected final String TEXT_444 = "(getTypedKey());";
protected final String TEXT_445 = NL + "\t\treturn getTypedKey();";
- protected final String TEXT_446 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey(";
+ protected final String TEXT_446 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey(";
protected final String TEXT_447 = " key)" + NL + "\t{";
protected final String TEXT_448 = NL + "\t\tgetTypedKey().addAll(";
protected final String TEXT_449 = "(";
@@ -488,12 +548,14 @@
protected final String TEXT_455 = "());";
protected final String TEXT_456 = NL + "\t\tsetTypedKey((";
protected final String TEXT_457 = ")key);";
- protected final String TEXT_458 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_458 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_459 = " getValue()" + NL + "\t{";
protected final String TEXT_460 = NL + "\t\treturn new ";
protected final String TEXT_461 = "(getTypedValue());";
protected final String TEXT_462 = NL + "\t\treturn getTypedValue();";
- protected final String TEXT_463 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_463 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_464 = " setValue(";
protected final String TEXT_465 = " value)" + NL + "\t{" + NL + "\t\t";
protected final String TEXT_466 = " oldValue = getValue();";
@@ -507,7 +569,9 @@
protected final String TEXT_474 = "());";
protected final String TEXT_475 = NL + "\t\tsetTypedValue((";
protected final String TEXT_476 = ")value);";
- protected final String TEXT_477 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_477 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_478 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_479 = NL + "\tpublic ";
protected final String TEXT_480 = " getEMap()" + NL + "\t{" + NL + "\t\t";
@@ -590,7 +654,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenClass genClass = parameter;
targetPath = genClass.getGenModel().getModelDirectory();
@@ -604,15 +669,18 @@
protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
GenClass genClass = parameter;
- argument = ((Object[]) new Object[] { new Object[] { genClass, genClass.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE, Boolean.TRUE } })[0];
+ argument = ((Object[]) new Object[] { new Object[] { genClass,
+ genClass.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE, Boolean.TRUE } })[0];
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -640,10 +708,14 @@
final boolean isGWT = genModel.getRuntimePlatform() == GenRuntimePlatform.GWT;
final String publicStaticFinalFlag = isImplementation ? "public static final " : "";
final String singleWildcard = isJDK50 ? "<?>" : "";
- final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - " + genClass.getOffsetCorrectionField(null) : "";
- final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(null) : "";
- final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION" : "";
- final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION" : "";
+ final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - "
+ + genClass.getOffsetCorrectionField(null) : "";
+ final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(null) : "";
+ final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION"
+ : "";
+ final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION"
+ : "";
stringBuffer.append(TEXT_1);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
@@ -654,7 +726,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -696,7 +771,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_C2iO4eXDEeCxnsoQRwU99Q", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_C2iO4eXDEeCxnsoQRwU99Q",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -778,7 +855,8 @@
stringBuffer.append(TEXT_36);
if (isGWT) {
stringBuffer.append(TEXT_37);
- stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ stringBuffer
+ .append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
}
stringBuffer.append(TEXT_38);
stringBuffer.append(eVirtualIndexBitField);
@@ -787,7 +865,8 @@
}
}
}
- if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled() && genModel.getBooleanFlagsReservedBits() == -1) {
+ if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled()
+ && genModel.getBooleanFlagsReservedBits() == -1) {
stringBuffer.append(TEXT_40);
if (isGWT) {
stringBuffer.append(TEXT_41);
@@ -799,7 +878,8 @@
}
if (isImplementation && !genModel.isReflectiveDelegation()) {
for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {
- if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
String rawListItemType = genFeature.getRawListItemType(genClass);
int index = rawListItemType.indexOf('[');
String head = rawListItemType;
@@ -815,7 +895,8 @@
stringBuffer.append(TEXT_46);
stringBuffer.append(genFeature.getGetArrayAccessor());
stringBuffer.append(TEXT_47);
- if (genFeature.getQualifiedListItemType(genClass).contains("<") || genFeature.getArrayItemType(genClass).contains("<")) {
+ if (genFeature.getQualifiedListItemType(genClass).contains("<")
+ || genFeature.getArrayItemType(genClass).contains("<")) {
stringBuffer.append(TEXT_48);
}
stringBuffer.append(TEXT_49);
@@ -853,7 +934,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0jpGTmJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0jpGTmJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -887,7 +971,8 @@
}
}
}
- if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenOperations().isEmpty()) {
+ if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection()
+ && !genClass.getImplementedGenOperations().isEmpty()) {
stringBuffer.append(TEXT_65);
stringBuffer.append(genClass.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_66);
@@ -928,7 +1013,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_JLBM0HroEeC0XN9kbwkPYQ", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_JLBM0HroEeC0XN9kbwkPYQ",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -975,7 +1062,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kFyMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kFyMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -984,7 +1073,8 @@
new Runnable() {
public void run() {
GenClass classExtendsGenClass = genClass.getClassExtendsGenClass();
- List<GenFeature> classExtendsAllGenFeatures = classExtendsGenClass == null ? Collections.<GenFeature> emptyList() : classExtendsGenClass.getAllGenFeatures();
+ List<GenFeature> classExtendsAllGenFeatures = classExtendsGenClass == null ? Collections
+ .<GenFeature> emptyList() : classExtendsGenClass.getAllGenFeatures();
for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {
stringBuffer.append(TEXT_86);
{
@@ -1011,7 +1101,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_odzp0LM-EeKd56X4hcZPSw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_odzp0LM-EeKd56X4hcZPSw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -1022,7 +1115,8 @@
}
new Runnable() {
public void run() {
- for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass.getDeclaredGenFeatures())) {
+ for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass
+ .getDeclaredGenFeatures())) {
stringBuffer.append(TEXT_87);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
@@ -1046,7 +1140,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kO8IGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kO8IGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -1054,7 +1151,8 @@
}//for
}
}.run();
- for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass.getDeclaredGenOperations())) {
+ for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass
+ .getDeclaredGenOperations())) {
stringBuffer.append(TEXT_88);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.genOperation.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
@@ -1078,13 +1176,16 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0tBrwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0tBrwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
//Class/implementedGenOperation.override.javajetinc
}//for
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {
stringBuffer.append(TEXT_89);
if (genModel.useGenerics()) {
for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {
@@ -1111,8 +1212,11 @@
stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
stringBuffer.append(TEXT_98);
if (genFeature.isListType()) {
- String cast = "(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")
- + (!genModel.useGenerics() ? ")" : "<" + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");
+ String cast = "("
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")
+ + (!genModel.useGenerics() ? ")" : "<"
+ + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)("
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");
if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
stringBuffer.append(TEXT_99);
stringBuffer.append(cast);
@@ -1155,7 +1259,8 @@
stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
stringBuffer.append(positiveOffsetCorrection);
stringBuffer.append(TEXT_116);
- } else if (genFeature.isVolatile() || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {
+ } else if (genFeature.isVolatile()
+ || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {
stringBuffer.append(TEXT_117);
stringBuffer.append(genFeature.getImportedType(genClass));
stringBuffer.append(TEXT_118);
@@ -1184,7 +1289,8 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_128);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
stringBuffer.append(TEXT_129);
@@ -1211,7 +1317,8 @@
}
stringBuffer.append(TEXT_139);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {
stringBuffer.append(TEXT_140);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_141);
@@ -1281,7 +1388,8 @@
}
stringBuffer.append(TEXT_170);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {
stringBuffer.append(TEXT_171);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_172);
@@ -1296,7 +1404,8 @@
for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_177);
stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
stringBuffer.append(TEXT_178);
@@ -1314,7 +1423,8 @@
}
stringBuffer.append(TEXT_184);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEGetGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEGetGenFeatures())) {
stringBuffer.append(TEXT_185);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_186);
@@ -1396,11 +1506,13 @@
}
stringBuffer.append(TEXT_222);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getESetGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getESetGenFeatures())) {
stringBuffer.append(TEXT_223);
if (genModel.useGenerics()) {
for (GenFeature genFeature : genClass.getESetGenFeatures()) {
- if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
stringBuffer.append(TEXT_224);
break;
}
@@ -1475,7 +1587,8 @@
stringBuffer.append(TEXT_255);
stringBuffer.append(genFeature.getAccessorName());
stringBuffer.append(TEXT_256);
- if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType() || !genFeature.getRawType().equals(genFeature.getType(genClass))) {
+ if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()
+ || !genFeature.getRawType().equals(genFeature.getType(genClass))) {
stringBuffer.append(TEXT_257);
stringBuffer.append(genFeature.getObjectType(genClass));
stringBuffer.append(TEXT_258);
@@ -1492,7 +1605,8 @@
}
stringBuffer.append(TEXT_264);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {
stringBuffer.append(TEXT_265);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.eUnset.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
@@ -1515,13 +1629,16 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uN-kGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uN-kGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
//Class/eUnset.override.javajetinc
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {
stringBuffer.append(TEXT_266);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Class.Class.eIsSet.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
@@ -1544,13 +1661,17 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uXvkGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uXvkGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
//Class/eIsSet.override.javajetinc
}
- if (isImplementation && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty())) {
+ if (isImplementation
+ && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection()
+ && !genClass.getGenFeatures().isEmpty())) {
if (!genClass.getMixinGenFeatures().isEmpty()) {
stringBuffer.append(TEXT_267);
if (genModel.useClassOverrideAnnotation()) {
@@ -1615,8 +1736,12 @@
}
stringBuffer.append(TEXT_296);
}
- if (genModel.isOperationReflection() && isImplementation
- && (!genClass.getMixinGenOperations().isEmpty() || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(), genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) {
+ if (genModel.isOperationReflection()
+ && isImplementation
+ && (!genClass.getMixinGenOperations().isEmpty()
+ || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(),
+ genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection()
+ && !genClass.getGenOperations().isEmpty())) {
stringBuffer.append(TEXT_297);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_298);
@@ -1627,7 +1752,8 @@
for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) {
List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations();
List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations();
- if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations).isEmpty()) {
+ if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations)
+ .isEmpty()) {
stringBuffer.append(TEXT_301);
stringBuffer.append(extendedGenClass.getRawImportedInterfaceName());
stringBuffer.append(TEXT_302);
@@ -1654,7 +1780,10 @@
stringBuffer.append(TEXT_309);
stringBuffer.append(mixinGenClass.getQualifiedOperationID(genOperation));
stringBuffer.append(TEXT_310);
- stringBuffer.append(genClass.getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation : genOperation));
+ stringBuffer
+ .append(genClass
+ .getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation
+ : genOperation));
stringBuffer.append(positiveOperationOffsetCorrection);
stringBuffer.append(TEXT_311);
}
@@ -1698,7 +1827,8 @@
{
List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());
if (!eVirtualIndexBitFields.isEmpty()) {
- List<String> allEVirtualIndexBitFields = genClass.getAllEVirtualIndexBitFields(new ArrayList<String>());
+ List<String> allEVirtualIndexBitFields = genClass
+ .getAllEVirtualIndexBitFields(new ArrayList<String>());
stringBuffer.append(TEXT_328);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_329);
@@ -1735,13 +1865,17 @@
if (genModel.useGenerics()) {
boolean isUnchecked = false;
boolean isRaw = false;
- LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) {
+ LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass
+ .getImplementedGenOperations() : genClass.getAllGenOperations())) {
for (GenParameter genParameter : genOperation.getGenParameters()) {
if (genParameter.isUncheckedCast()) {
- if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType()) {
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()) {
isUnchecked = true;
}
- if (genParameter.usesOperationTypeParameters() && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments().isEmpty()) {
+ if (genParameter.usesOperationTypeParameters()
+ && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments()
+ .isEmpty()) {
isRaw = true;
break LOOP;
}
@@ -1762,11 +1896,14 @@
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EList"));
stringBuffer.append(singleWildcard);
stringBuffer.append(TEXT_348);
- stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
stringBuffer.append(TEXT_349);
stringBuffer.append(negativeOperationOffsetCorrection);
stringBuffer.append(TEXT_350);
- for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) {
+ for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass
+ .getImplementedGenOperations() : genClass.getAllGenOperations())) {
List<GenParameter> genParameters = genOperation.getGenParameters();
int size = genParameters.size();
boolean hasCheckedException = genOperation.hasCheckedException();
@@ -1787,9 +1924,13 @@
if (!isJDK50 && genParameter.isPrimitiveType()) {
stringBuffer.append(TEXT_356);
}
- if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()
+ || !genParameter.usesOperationTypeParameters()
+ && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
stringBuffer.append(TEXT_357);
- stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass));
+ stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter
+ .getRawImportedType() : genParameter.getObjectType(genClass));
stringBuffer.append(TEXT_358);
}
stringBuffer.append(TEXT_359);
@@ -1823,9 +1964,13 @@
if (!isJDK50 && genParameter.isPrimitiveType()) {
stringBuffer.append(TEXT_371);
}
- if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()
+ || !genParameter.usesOperationTypeParameters()
+ && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
stringBuffer.append(TEXT_372);
- stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass));
+ stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter
+ .getRawImportedType() : genParameter.getObjectType(genClass));
stringBuffer.append(TEXT_373);
}
stringBuffer.append(TEXT_374);
@@ -1850,7 +1995,9 @@
stringBuffer.append(TEXT_382);
stringBuffer.append(genModel.getImportedName("java.lang.Throwable"));
stringBuffer.append(TEXT_383);
- stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
stringBuffer.append(TEXT_384);
}
}
@@ -1862,7 +2009,8 @@
}
stringBuffer.append(TEXT_388);
}
- if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {
+ if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation()
+ && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {
stringBuffer.append(TEXT_389);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_390);
@@ -2000,7 +2148,8 @@
String objectType = genModel.getImportedName("java.lang.Object");
String keyType = isJDK50 ? keyFeature.getObjectType(genClass) : objectType;
String valueType = isJDK50 ? valueFeature.getObjectType(genClass) : objectType;
- String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap") + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");
+ String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap")
+ + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");
stringBuffer.append(TEXT_438);
if (isGWT) {
stringBuffer.append(TEXT_439);
@@ -2114,7 +2263,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ug5gGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ug5gGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -2130,7 +2281,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenClass genClass = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (!genClass.isInterface());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/EnumClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/EnumClass.java
index 9e094f6..166afbb 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/EnumClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/EnumClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:16 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,8 +29,10 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * A representation of the literals of the enumeration '<em><b>";
- protected final String TEXT_5 = "</b></em>'," + NL + " * and utility methods for working with them." + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A representation of the literals of the enumeration '<em><b>";
+ protected final String TEXT_5 = "</b></em>'," + NL + " * and utility methods for working with them." + NL
+ + " * <!-- end-user-doc -->";
protected final String TEXT_6 = NL + " * <!-- begin-model-doc -->" + NL + " * ";
protected final String TEXT_7 = NL + " * <!-- end-model-doc -->";
protected final String TEXT_8 = NL + " * @see ";
@@ -50,7 +52,8 @@
protected final String TEXT_22 = NL + "{";
protected final String TEXT_23 = NL + "\t;" + NL;
protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The '<em><b>";
- protected final String TEXT_25 = "</b></em>' literal object." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_25 = "</b></em>' literal object." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_26 = NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_27 = "(";
protected final String TEXT_28 = ", \"";
@@ -59,14 +62,16 @@
protected final String TEXT_31 = ",";
protected final String TEXT_32 = ";";
protected final String TEXT_33 = NL;
- protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_35 = " copyright = ";
protected final String TEXT_36 = ";";
protected final String TEXT_37 = NL;
protected final String TEXT_38 = NL + "\t/**" + NL + "\t * The '<em><b>";
protected final String TEXT_39 = "</b></em>' literal value." + NL + "\t * <!-- begin-user-doc -->";
protected final String TEXT_40 = NL + "\t * <p>" + NL + "\t * If the meaning of '<em><b>";
- protected final String TEXT_41 = "</b></em>' literal object isn't clear," + NL + "\t * there really should be more of a description here..." + NL + "\t * </p>";
+ protected final String TEXT_41 = "</b></em>' literal object isn't clear," + NL
+ + "\t * there really should be more of a description here..." + NL + "\t * </p>";
protected final String TEXT_42 = NL + "\t * <!-- end-user-doc -->";
protected final String TEXT_43 = NL + "\t * <!-- begin-model-doc -->" + NL + "\t * ";
protected final String TEXT_44 = NL + "\t * <!-- end-model-doc -->";
@@ -74,12 +79,15 @@
protected final String TEXT_46 = NL + "\t * @model ";
protected final String TEXT_47 = NL + "\t * ";
protected final String TEXT_48 = NL + "\t * @model";
- protected final String TEXT_49 = NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tpublic static final int ";
+ protected final String TEXT_49 = NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tpublic static final int ";
protected final String TEXT_50 = " = ";
protected final String TEXT_51 = ";" + NL;
protected final String TEXT_52 = NL + "\t/**" + NL + "\t * The '<em><b>";
- protected final String TEXT_53 = "</b></em>' literal object." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
- protected final String TEXT_54 = NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_53 = "</b></em>' literal object." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_54 = NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tpublic static final ";
protected final String TEXT_55 = " ";
protected final String TEXT_56 = " = new ";
protected final String TEXT_57 = "(";
@@ -88,61 +96,101 @@
protected final String TEXT_60 = ");";
protected final String TEXT_61 = NL;
protected final String TEXT_62 = NL + "\t/**" + NL + "\t * An array of all the '<em><b>";
- protected final String TEXT_63 = "</b></em>' enumerators." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final ";
+ protected final String TEXT_63 = "</b></em>' enumerators." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final ";
protected final String TEXT_64 = "[] VALUES_ARRAY =" + NL + "\t\tnew ";
protected final String TEXT_65 = "[]" + NL + "\t\t{";
protected final String TEXT_66 = NL + "\t\t\t";
protected final String TEXT_67 = ",";
- protected final String TEXT_68 = NL + "\t\t};" + NL + "" + NL + "\t/**" + NL + "\t * A public read-only list of all the '<em><b>";
- protected final String TEXT_69 = "</b></em>' enumerators." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final List";
+ protected final String TEXT_68 = NL + "\t\t};" + NL + "" + NL + "\t/**" + NL
+ + "\t * A public read-only list of all the '<em><b>";
+ protected final String TEXT_69 = "</b></em>' enumerators." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final List";
protected final String TEXT_70 = "<";
protected final String TEXT_71 = ">";
- protected final String TEXT_72 = " VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));" + NL + "" + NL + "\t/**" + NL + "\t * Returns the '<em><b>";
- protected final String TEXT_73 = "</b></em>' literal with the specified literal value." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_72 = " VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));" + NL + ""
+ + NL + "\t/**" + NL + "\t * Returns the '<em><b>";
+ protected final String TEXT_73 = "</b></em>' literal with the specified literal value." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param literal the literal." + NL + "\t * @return the matching enumerator or <code>null</code>."
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
protected final String TEXT_74 = " get(";
- protected final String TEXT_75 = " literal)" + NL + "\t{" + NL + "\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i)" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_76 = " result = VALUES_ARRAY[i];" + NL + "\t\t\tif (result.toString().equals(literal))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn null;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * Returns the '<em><b>";
- protected final String TEXT_77 = "</b></em>' literal with the specified name." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_75 = " literal)" + NL + "\t{" + NL
+ + "\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_76 = " result = VALUES_ARRAY[i];" + NL + "\t\t\tif (result.toString().equals(literal))"
+ + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn null;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the '<em><b>";
+ protected final String TEXT_77 = "</b></em>' literal with the specified name." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param name the name."
+ + NL + "\t * @return the matching enumerator or <code>null</code>." + NL + "\t * @generated" + NL + "\t */"
+ + NL + "\tpublic static ";
protected final String TEXT_78 = " getByName(";
- protected final String TEXT_79 = " name)" + NL + "\t{" + NL + "\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i)" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_80 = " result = VALUES_ARRAY[i];" + NL + "\t\t\tif (result.getName().equals(name))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn null;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * Returns the '<em><b>";
- protected final String TEXT_81 = "</b></em>' literal with the specified integer value." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_79 = " name)" + NL + "\t{" + NL + "\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i)"
+ + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_80 = " result = VALUES_ARRAY[i];" + NL + "\t\t\tif (result.getName().equals(name))"
+ + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn null;"
+ + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the '<em><b>";
+ protected final String TEXT_81 = "</b></em>' literal with the specified integer value." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param value the integer value." + NL
+ + "\t * @return the matching enumerator or <code>null</code>." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static ";
protected final String TEXT_82 = " get(int value)" + NL + "\t{" + NL + "\t\tswitch (value)" + NL + "\t\t{";
protected final String TEXT_83 = NL + "\t\t\tcase ";
protected final String TEXT_84 = ": return ";
protected final String TEXT_85 = ";";
protected final String TEXT_86 = NL + "\t\t}" + NL + "\t\treturn null;" + NL + "\t}" + NL;
- protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate final int value;" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate final int value;"
+ + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprivate final ";
+ protected final String TEXT_88 = " name;" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate final ";
- protected final String TEXT_88 = " name;" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate final ";
protected final String TEXT_89 = " literal;" + NL;
- protected final String TEXT_90 = NL + "\t/**" + NL + "\t * Only this class can construct instances." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
+ protected final String TEXT_90 = NL + "\t/**" + NL + "\t * Only this class can construct instances." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate ";
protected final String TEXT_91 = "(int value, ";
protected final String TEXT_92 = " name, ";
protected final String TEXT_93 = " literal)" + NL + "\t{";
- protected final String TEXT_94 = NL + "\t\tthis.value = value;" + NL + "\t\tthis.name = name;" + NL + "\t\tthis.literal = literal;";
+ protected final String TEXT_94 = NL + "\t\tthis.value = value;" + NL + "\t\tthis.name = name;" + NL
+ + "\t\tthis.literal = literal;";
protected final String TEXT_95 = NL + "\t\tsuper(value, name, literal);";
protected final String TEXT_96 = NL + "\t}" + NL;
- protected final String TEXT_97 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int getValue()" + NL + "\t{" + NL + "\t return value;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_98 = " getName()" + NL + "\t{" + NL + "\t return name;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_99 = " getLiteral()" + NL + "\t{" + NL + "\t return literal;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the literal value of the enumerator, which is its string representation." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_97 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int getValue()"
+ + NL + "\t{" + NL + "\t return value;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_98 = " getName()" + NL + "\t{" + NL + "\t return name;" + NL + "\t}" + NL + "" + NL
+ + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_99 = " getLiteral()" + NL + "\t{" + NL + "\t return literal;" + NL + "\t}" + NL + ""
+ + NL + "\t/**" + NL
+ + "\t * Returns the literal value of the enumerator, which is its string representation." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_100 = NL + "\t@Override";
protected final String TEXT_101 = NL + "\tpublic ";
protected final String TEXT_102 = " toString()" + NL + "\t{" + NL + "\t\treturn literal;" + NL + "\t}" + NL + "\t";
protected final String TEXT_103 = NL + "} //";
protected final String TEXT_104 = NL;
- protected final String TEXT_105 = NL + "/**" + NL + " * A private implementation interface used to hide the inheritance from Enumerator." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "interface Internal";
- protected final String TEXT_106 = " extends org.eclipse.emf.common.util.Enumerator" + NL + "{" + NL + "\t// Empty " + NL + "}";
- protected final String TEXT_107 = NL + "/**" + NL + " * A private implementation class to construct the instances." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "class Internal";
- protected final String TEXT_108 = " extends org.eclipse.emf.common.util.AbstractEnumerator" + NL + "{" + NL + "\t/**" + NL + "\t * Only this class can construct instances." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated"
- + NL + "\t */" + NL + "\tprotected Internal";
+ protected final String TEXT_105 = NL + "/**" + NL
+ + " * A private implementation interface used to hide the inheritance from Enumerator." + NL
+ + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL
+ + "interface Internal";
+ protected final String TEXT_106 = " extends org.eclipse.emf.common.util.Enumerator" + NL + "{" + NL + "\t// Empty "
+ + NL + "}";
+ protected final String TEXT_107 = NL + "/**" + NL + " * A private implementation class to construct the instances."
+ + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */"
+ + NL + "class Internal";
+ protected final String TEXT_108 = " extends org.eclipse.emf.common.util.AbstractEnumerator" + NL + "{" + NL
+ + "\t/**" + NL + "\t * Only this class can construct instances." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected Internal";
protected final String TEXT_109 = "(int value, ";
protected final String TEXT_110 = " name, ";
- protected final String TEXT_111 = " literal)" + NL + "\t{" + NL + "\t\tsuper(value, name, literal);" + NL + "\t}" + NL + "}";
+ protected final String TEXT_111 = " literal)" + NL + "\t{" + NL + "\t\tsuper(value, name, literal);" + NL + "\t}"
+ + NL + "}";
protected final String TEXT_112 = NL;
protected final String TEXT_113 = NL;
protected final String TEXT_114 = NL;
@@ -218,7 +266,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenEnum genEnum = parameter;
targetPath = genEnum.getGenModel().getModelDirectory();
@@ -238,9 +287,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -272,7 +323,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -299,7 +353,8 @@
stringBuffer.append(TEXT_10);
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genEnum.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genEnum.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
@@ -329,7 +384,9 @@
stringBuffer.append(TEXT_20);
}
stringBuffer.append(TEXT_21);
- stringBuffer.append(genModel.isSuppressEMFMetaData() && !genModel.isSuppressInterfaces() ? "Internal" + genEnum.getName() : genModel.getImportedName(isEnum ? "org.eclipse.emf.common.util.Enumerator" : "org.eclipse.emf.common.util.AbstractEnumerator"));
+ stringBuffer.append(genModel.isSuppressEMFMetaData() && !genModel.isSuppressInterfaces() ? "Internal"
+ + genEnum.getName() : genModel.getImportedName(isEnum ? "org.eclipse.emf.common.util.Enumerator"
+ : "org.eclipse.emf.common.util.AbstractEnumerator"));
stringBuffer.append(TEXT_22);
if (isEnum) {
if (genEnum.getGenEnumLiterals().isEmpty()) {
@@ -389,7 +446,8 @@
stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genEnumLiteral.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genEnumLiteral.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
@@ -544,7 +602,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenEnum genEnum = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && true;
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryClass.java
index a4291fe..61008e4 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:15 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -33,29 +33,43 @@
protected final String TEXT_5 = ";";
protected final String TEXT_6 = NL;
protected final String TEXT_7 = NL;
- protected final String TEXT_8 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Factory</b> for the model." + NL + " * It provides a create method for each non-abstract class of the model." + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_8 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Factory</b> for the model." + NL
+ + " * It provides a create method for each non-abstract class of the model." + NL
+ + " * <!-- end-user-doc -->";
protected final String TEXT_9 = NL + " * @see ";
protected final String TEXT_10 = NL + " * @generated" + NL + " */";
- protected final String TEXT_11 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * An implementation of the model <b>Factory</b>." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */";
+ protected final String TEXT_11 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model <b>Factory</b>." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @generated" + NL + " */";
protected final String TEXT_12 = NL + "public class ";
protected final String TEXT_13 = " extends ";
protected final String TEXT_14 = " implements ";
protected final String TEXT_15 = NL + "public interface ";
protected final String TEXT_16 = " extends ";
protected final String TEXT_17 = NL + "{";
- protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_19 = " copyright = ";
protected final String TEXT_20 = ";";
protected final String TEXT_21 = NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_23 = " eINSTANCE = init();" + NL;
- protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_25 = " INSTANCE = ";
protected final String TEXT_26 = ".eINSTANCE;" + NL;
- protected final String TEXT_27 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_27 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_28 = " eINSTANCE = ";
protected final String TEXT_29 = ".init();" + NL;
- protected final String TEXT_30 = NL + "\t/**" + NL + "\t * Creates the default factory implementation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_30 = NL + "\t/**" + NL + "\t * Creates the default factory implementation." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_31 = NL + "\tpublic static ";
protected final String TEXT_32 = " init()" + NL + "\t{" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t";
protected final String TEXT_33 = " the";
@@ -64,39 +78,60 @@
protected final String TEXT_36 = ".Registry.INSTANCE.getEFactory(";
protected final String TEXT_37 = ".eNS_URI);" + NL + "\t\t\tif (the";
protected final String TEXT_38 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\treturn the";
- protected final String TEXT_39 = ";" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_39 = ";" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL
+ + "\t\t{" + NL + "\t\t\t";
protected final String TEXT_40 = ".INSTANCE.log(exception);" + NL + "\t\t}" + NL + "\t\treturn new ";
- protected final String TEXT_41 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Creates an instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_42 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_41 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_42 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_43 = NL + "\t@Override";
- protected final String TEXT_44 = NL + "\tpublic EObject create(EClass eClass)" + NL + "\t{" + NL + "\t\tswitch (eClass.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_44 = NL + "\tpublic EObject create(EClass eClass)" + NL + "\t{" + NL
+ + "\t\tswitch (eClass.getClassifierID())" + NL + "\t\t{";
protected final String TEXT_45 = NL + "\t\t\tcase ";
protected final String TEXT_46 = ".";
protected final String TEXT_47 = ": return ";
protected final String TEXT_48 = "create";
protected final String TEXT_49 = "();";
- protected final String TEXT_50 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The class '\" + eClass.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_50 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The class '\" + eClass.getName() + \"' is not a valid classifier\");";
protected final String TEXT_51 = NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_52 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_52 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_53 = NL + "\t@Override";
protected final String TEXT_54 = NL + "\tpublic Object createFromString(";
- protected final String TEXT_55 = " eDataType, String initialValue)" + NL + "\t{" + NL + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_55 = " eDataType, String initialValue)" + NL + "\t{" + NL
+ + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
protected final String TEXT_56 = NL + "\t\t\tcase ";
protected final String TEXT_57 = ".";
protected final String TEXT_58 = ":" + NL + "\t\t\t\treturn create";
protected final String TEXT_59 = "FromString(eDataType, initialValue);";
- protected final String TEXT_60 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
- protected final String TEXT_61 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_60 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_61 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_62 = NL + "\t@Override";
protected final String TEXT_63 = NL + "\tpublic String convertToString(";
- protected final String TEXT_64 = " eDataType, Object instanceValue)" + NL + "\t{" + NL + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_64 = " eDataType, Object instanceValue)" + NL + "\t{" + NL
+ + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
protected final String TEXT_65 = NL + "\t\t\tcase ";
protected final String TEXT_66 = ".";
protected final String TEXT_67 = ":" + NL + "\t\t\t\treturn convert";
protected final String TEXT_68 = "ToString(eDataType, instanceValue);";
- protected final String TEXT_69 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_69 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
protected final String TEXT_70 = NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_71 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_71 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_72 = " create";
protected final String TEXT_73 = "()" + NL + "\t{";
protected final String TEXT_74 = NL + "\t\t";
@@ -112,7 +147,8 @@
protected final String TEXT_84 = ";";
protected final String TEXT_85 = NL + "\t\treturn ";
protected final String TEXT_86 = ";" + NL + "\t}" + NL;
- protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_88 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_89 = NL + "\tpublic ";
protected final String TEXT_90 = " create";
@@ -125,7 +161,9 @@
protected final String TEXT_97 = NL + "\t\t";
protected final String TEXT_98 = NL + "\t\t";
protected final String TEXT_99 = " result = ";
- protected final String TEXT_100 = ".get(literal);" + NL + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + literal + \"' is not a valid enumerator of '\" + ";
+ protected final String TEXT_100 = ".get(literal);"
+ + NL
+ + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + literal + \"' is not a valid enumerator of '\" + ";
protected final String TEXT_101 = ".getName() + \"'\");";
protected final String TEXT_102 = NL + "\t\treturn result;";
protected final String TEXT_103 = NL + "\t\treturn new ";
@@ -193,13 +231,16 @@
protected final String TEXT_165 = "new ";
protected final String TEXT_166 = "(result)";
protected final String TEXT_167 = "result";
- protected final String TEXT_168 = ", null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
+ protected final String TEXT_168 = ", null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL
+ + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL
+ + "\t\t\texception = e;" + NL + "\t\t}";
protected final String TEXT_169 = NL + "\t\tif (";
protected final String TEXT_170 = "result != null || ";
protected final String TEXT_171 = "exception == null) return result;" + NL + " " + NL + "\t\tthrow exception;";
protected final String TEXT_172 = NL + "\t\treturn (";
protected final String TEXT_173 = ")super.createFromString(literal);";
- protected final String TEXT_174 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_174 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
protected final String TEXT_175 = "();";
protected final String TEXT_176 = NL + "\t\treturn ((";
protected final String TEXT_177 = ")super.createFromString(";
@@ -211,7 +252,8 @@
protected final String TEXT_183 = "super.createFromString(";
protected final String TEXT_184 = ", literal);";
protected final String TEXT_185 = NL + "\t}" + NL;
- protected final String TEXT_186 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_186 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_187 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_188 = NL + "\tpublic ";
protected final String TEXT_189 = " create";
@@ -221,7 +263,9 @@
protected final String TEXT_193 = "(initialValue);";
protected final String TEXT_194 = NL + "\t\t";
protected final String TEXT_195 = " result = ";
- protected final String TEXT_196 = ".get(initialValue);" + NL + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + initialValue + \"' is not a valid enumerator of '\" + eDataType.getName() + \"'\");";
+ protected final String TEXT_196 = ".get(initialValue);"
+ + NL
+ + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + initialValue + \"' is not a valid enumerator of '\" + eDataType.getName() + \"'\");";
protected final String TEXT_197 = NL + "\t\treturn result;";
protected final String TEXT_198 = NL + "\t\treturn ";
protected final String TEXT_199 = "(";
@@ -276,22 +320,27 @@
protected final String TEXT_248 = ".createFromString(";
protected final String TEXT_249 = ", initialValue);";
protected final String TEXT_250 = NL + "\t\t\tif (result != null && ";
- protected final String TEXT_251 = ".INSTANCE.validate(eDataType, result, null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
- protected final String TEXT_252 = NL + "\t\tif (result != null || exception == null) return result;" + NL + " " + NL + "\t\tthrow exception;";
+ protected final String TEXT_251 = ".INSTANCE.validate(eDataType, result, null, null))" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL
+ + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
+ protected final String TEXT_252 = NL + "\t\tif (result != null || exception == null) return result;" + NL + " "
+ + NL + "\t\tthrow exception;";
protected final String TEXT_253 = NL + "\t\treturn create";
protected final String TEXT_254 = "(initialValue);";
protected final String TEXT_255 = NL + "\t\treturn ";
protected final String TEXT_256 = "(";
protected final String TEXT_257 = ")";
protected final String TEXT_258 = "super.createFromString(initialValue);";
- protected final String TEXT_259 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_259 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
protected final String TEXT_260 = "();";
protected final String TEXT_261 = NL + "\t\treturn ";
protected final String TEXT_262 = "(";
protected final String TEXT_263 = ")";
protected final String TEXT_264 = "super.createFromString(eDataType, initialValue);";
protected final String TEXT_265 = NL + "\t}" + NL;
- protected final String TEXT_266 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
+ protected final String TEXT_266 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
protected final String TEXT_267 = "(";
protected final String TEXT_268 = "final ";
protected final String TEXT_269 = " ";
@@ -313,7 +362,8 @@
protected final String TEXT_285 = NL + "\t\treturn ";
protected final String TEXT_286 = ".convertToString(";
protected final String TEXT_287 = ", instanceValue);";
- protected final String TEXT_288 = NL + "\t\tif (instanceValue == null) return null;" + NL + "\t\tif (instanceValue.isEmpty()) return \"\";" + NL + "\t\t";
+ protected final String TEXT_288 = NL + "\t\tif (instanceValue == null) return null;" + NL
+ + "\t\tif (instanceValue.isEmpty()) return \"\";" + NL + "\t\t";
protected final String TEXT_289 = " result = new ";
protected final String TEXT_290 = "();";
protected final String TEXT_291 = NL + "\t\tfor (";
@@ -338,7 +388,8 @@
protected final String TEXT_310 = ".convertToString(";
protected final String TEXT_311 = ", ";
protected final String TEXT_312 = "));";
- protected final String TEXT_313 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL + "\t\treturn result.substring(0, result.length() - 1);";
+ protected final String TEXT_313 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL
+ + "\t\treturn result.substring(0, result.length() - 1);";
protected final String TEXT_314 = NL + "\t\tif (instanceValue == null) return null;";
protected final String TEXT_315 = NL + "\t\tif (";
protected final String TEXT_316 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
@@ -361,7 +412,9 @@
protected final String TEXT_333 = NL + "\t\t\t\tString value = ";
protected final String TEXT_334 = ".convertToString(";
protected final String TEXT_335 = ", instanceValue);";
- protected final String TEXT_336 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_336 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
protected final String TEXT_337 = NL + "\t\ttry" + NL + "\t\t{";
protected final String TEXT_338 = NL + "\t\t\tString value = convert";
protected final String TEXT_339 = "(instanceValue);";
@@ -382,11 +435,15 @@
protected final String TEXT_354 = "(instanceValue)";
protected final String TEXT_355 = "instanceValue";
protected final String TEXT_356 = ");";
- protected final String TEXT_357 = NL + "\t\t\tif (value != null) return value;" + NL + "\t\t}" + NL + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL + "\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t}";
- protected final String TEXT_358 = NL + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+";
+ protected final String TEXT_357 = NL + "\t\t\tif (value != null) return value;" + NL + "\t\t}" + NL
+ + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL
+ + "\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t}";
+ protected final String TEXT_358 = NL
+ + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+";
protected final String TEXT_359 = ".getName());";
protected final String TEXT_360 = NL + "\t\treturn super.convertToString(instanceValue);";
- protected final String TEXT_361 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_361 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
protected final String TEXT_362 = "();";
protected final String TEXT_363 = NL + "\t\treturn super.convertToString(";
protected final String TEXT_364 = ", new ";
@@ -394,7 +451,8 @@
protected final String TEXT_366 = NL + "\t\treturn super.convertToString(";
protected final String TEXT_367 = ", instanceValue);";
protected final String TEXT_368 = NL + "\t}" + NL;
- protected final String TEXT_369 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_369 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_370 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_371 = NL + "\tpublic String convert";
protected final String TEXT_372 = "ToString(";
@@ -430,7 +488,8 @@
protected final String TEXT_402 = ".convertToString(";
protected final String TEXT_403 = ", ";
protected final String TEXT_404 = "));";
- protected final String TEXT_405 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL + "\t\treturn result.substring(0, result.length() - 1);";
+ protected final String TEXT_405 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL
+ + "\t\treturn result.substring(0, result.length() - 1);";
protected final String TEXT_406 = NL + "\t\treturn instanceValue == null ? null : convert";
protected final String TEXT_407 = "(((";
protected final String TEXT_408 = ")instanceValue)";
@@ -448,8 +507,11 @@
protected final String TEXT_420 = NL + "\t\t\t\tString value = ";
protected final String TEXT_421 = ".convertToString(";
protected final String TEXT_422 = ", instanceValue);";
- protected final String TEXT_423 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
- protected final String TEXT_424 = NL + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+eDataType.getName());";
+ protected final String TEXT_423 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_424 = NL
+ + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+eDataType.getName());";
protected final String TEXT_425 = NL + "\t\treturn instanceValue == null ? null : convert";
protected final String TEXT_426 = "(";
protected final String TEXT_427 = "(";
@@ -462,32 +524,42 @@
protected final String TEXT_434 = "((";
protected final String TEXT_435 = ")instanceValue);";
protected final String TEXT_436 = NL + "\t\treturn super.convertToString(instanceValue);";
- protected final String TEXT_437 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_437 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
protected final String TEXT_438 = "();";
protected final String TEXT_439 = NL + "\t\treturn super.convertToString(eDataType, instanceValue);";
protected final String TEXT_440 = NL + "\t}" + NL;
protected final String TEXT_441 = NL + "\t/**" + NL + "\t * Returns a new object of class '<em>";
- protected final String TEXT_442 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return a new object of class '<em>";
+ protected final String TEXT_442 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return a new object of class '<em>";
protected final String TEXT_443 = "</em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_444 = " create";
protected final String TEXT_445 = "();" + NL;
protected final String TEXT_446 = NL + "\t/**" + NL + "\t * Returns an instance of data type '<em>";
- protected final String TEXT_447 = "</em>' corresponding the given literal." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param literal a literal of the data type." + NL + "\t * @return a new instance value of the data type." + NL
- + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_447 = "</em>' corresponding the given literal." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param literal a literal of the data type." + NL
+ + "\t * @return a new instance value of the data type." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_448 = " create";
- protected final String TEXT_449 = "(String literal);" + NL + "" + NL + "\t/**" + NL + "\t * Returns a literal representation of an instance of data type '<em>";
- protected final String TEXT_450 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param instanceValue an instance value of the data type." + NL + "\t * @return a literal representation of the instance value." + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tString convert";
+ protected final String TEXT_449 = "(String literal);" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns a literal representation of an instance of data type '<em>";
+ protected final String TEXT_450 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param instanceValue an instance value of the data type." + NL
+ + "\t * @return a literal representation of the instance value." + NL + "\t * @generated" + NL + "\t */"
+ + NL + "\tString convert";
protected final String TEXT_451 = "(";
protected final String TEXT_452 = " instanceValue);" + NL;
- protected final String TEXT_453 = NL + "\t/**" + NL + "\t * Returns the package supported by this factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the package supported by this factory." + NL + "\t * @generated" + NL
- + "\t */" + NL + "\t";
+ protected final String TEXT_453 = NL + "\t/**" + NL + "\t * Returns the package supported by this factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the package supported by this factory." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_454 = " get";
protected final String TEXT_455 = "();" + NL;
- protected final String TEXT_456 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_456 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_457 = " get";
protected final String TEXT_458 = "()" + NL + "\t{" + NL + "\t\treturn (";
- protected final String TEXT_459 = ")getEPackage();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @deprecated" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_459 = ")getEPackage();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @deprecated" + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_460 = NL + "\t@Deprecated";
protected final String TEXT_461 = NL + "\tpublic static ";
protected final String TEXT_462 = " getPackage()" + NL + "\t{" + NL + "\t\treturn ";
@@ -568,7 +640,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -582,15 +655,18 @@
protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
- argument = ((Object[]) new Object[] { new Object[] { genPackage, genPackage.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE, Boolean.TRUE } })[0];
+ argument = ((Object[]) new Object[] { new Object[] { genPackage,
+ genPackage.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE, Boolean.TRUE } })[0];
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -625,7 +701,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -644,7 +723,8 @@
genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");
genModel.addImport("org.eclipse.emf.ecore.EClass");
genModel.addImport("org.eclipse.emf.ecore.EObject");
- if (!genPackage.hasJavaLangConflict() && !genPackage.hasInterfaceImplConflict() && !genPackage.getClassPackageName().equals(genPackage.getInterfacePackageName()))
+ if (!genPackage.hasJavaLangConflict() && !genPackage.hasInterfaceImplConflict()
+ && !genPackage.getClassPackageName().equals(genPackage.getInterfacePackageName()))
genModel.addImport(genPackage.getInterfacePackageName() + ".*");
}
genModel.markImportLocation(stringBuffer);
@@ -710,7 +790,8 @@
}
if (isImplementation) {
stringBuffer.append(TEXT_30);
- String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage.getImportedFactoryInterfaceName();
+ String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage
+ .getImportedFactoryInterfaceName();
stringBuffer.append(TEXT_31);
stringBuffer.append(factoryType);
stringBuffer.append(TEXT_32);
@@ -830,7 +911,8 @@
stringBuffer.append(genClass.getImportedClassName());
stringBuffer.append(genClass.getClassTypeArguments());
stringBuffer.append(TEXT_82);
- if (genModel.isSuppressInterfaces() && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {
+ if (genModel.isSuppressInterfaces()
+ && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {
stringBuffer.append(TEXT_83);
}
stringBuffer.append(TEXT_84);
@@ -880,9 +962,11 @@
stringBuffer.append(TEXT_102);
} else if (genDataType.getBaseType() != null) {
GenDataType genBaseType = genDataType.getBaseType();
- boolean isPrimitiveConversion = !genDataType.isPrimitiveType() && genBaseType.isPrimitiveType();
+ boolean isPrimitiveConversion = !genDataType.isPrimitiveType()
+ && genBaseType.isPrimitiveType();
if (genBaseType.getGenPackage() == genPackage) {
- if (isPrimitiveConversion && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (isPrimitiveConversion
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_103);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_104);
@@ -894,17 +978,20 @@
stringBuffer.append(TEXT_107);
}
} else if (genBaseType.getGenPackage().isDataTypeConverters()) {
- if (isPrimitiveConversion && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (isPrimitiveConversion
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_108);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_109);
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_110);
stringBuffer.append(genBaseType.getName());
stringBuffer.append(TEXT_111);
} else {
stringBuffer.append(TEXT_112);
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_113);
stringBuffer.append(genBaseType.getName());
stringBuffer.append(TEXT_114);
@@ -916,7 +1003,8 @@
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_117);
}
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_118);
stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_119);
@@ -929,7 +1017,8 @@
stringBuffer.append(genModel.getImportedName("java.util.ArrayList"));
if (genModel.useGenerics()) {
stringBuffer.append(TEXT_122);
- stringBuffer.append(genItemType.getObjectType().getImportedParameterizedInstanceClassName());
+ stringBuffer.append(genItemType.getObjectType()
+ .getImportedParameterizedInstanceClassName());
stringBuffer.append(TEXT_123);
}
stringBuffer.append(TEXT_124);
@@ -963,13 +1052,15 @@
if (genItemType.getGenPackage().isDataTypeConverters()) {
genItemType = genItemType.getObjectType();
stringBuffer.append(TEXT_136);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_137);
stringBuffer.append(genItemType.getName());
stringBuffer.append(TEXT_138);
} else {
stringBuffer.append(TEXT_139);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_140);
stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_141);
@@ -1007,7 +1098,8 @@
if (!genDataType.isPrimitiveType())
genMemberType = genMemberType.getObjectType();
stringBuffer.append(TEXT_154);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_155);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_156);
@@ -1015,7 +1107,8 @@
stringBuffer.append(TEXT_157);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_158);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_159);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_160);
@@ -1025,11 +1118,13 @@
if (!genDataType.isPrimitiveType()) {
stringBuffer.append(TEXT_162);
}
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
stringBuffer.append(TEXT_163);
stringBuffer.append(eDataType);
stringBuffer.append(TEXT_164);
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_165);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_166);
@@ -1043,7 +1138,11 @@
stringBuffer.append(TEXT_170);
}
stringBuffer.append(TEXT_171);
- } else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
stringBuffer.append(TEXT_172);
stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
stringBuffer.append(TEXT_173);
@@ -1051,7 +1150,8 @@
stringBuffer.append(TEXT_174);
stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
stringBuffer.append(TEXT_175);
- } else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_176);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_177);
@@ -1073,7 +1173,8 @@
stringBuffer.append(TEXT_185);
}
stringBuffer.append(TEXT_186);
- if (!genPackage.isDataTypeConverters() && genModel.useGenerics() && genDataType.isUncheckedCast() && !genDataType.hasCreatorBody()) {
+ if (!genPackage.isDataTypeConverters() && genModel.useGenerics() && genDataType.isUncheckedCast()
+ && !genDataType.hasCreatorBody()) {
stringBuffer.append(TEXT_187);
}
stringBuffer.append(TEXT_188);
@@ -1103,7 +1204,8 @@
GenDataType genBaseType = genDataType.getBaseType();
if (genBaseType.getGenPackage() == genPackage) {
stringBuffer.append(TEXT_198);
- if (!genDataType.getObjectInstanceClassName().equals(genBaseType.getObjectInstanceClassName())) {
+ if (!genDataType.getObjectInstanceClassName().equals(
+ genBaseType.getObjectInstanceClassName())) {
stringBuffer.append(TEXT_199);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_200);
@@ -1120,7 +1222,8 @@
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_206);
}
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_207);
stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_208);
@@ -1138,7 +1241,8 @@
stringBuffer.append(genModel.getImportedName("java.util.ArrayList"));
if (genModel.useGenerics()) {
stringBuffer.append(TEXT_213);
- stringBuffer.append(genItemType.getObjectType().getImportedParameterizedInstanceClassName());
+ stringBuffer.append(genItemType.getObjectType()
+ .getImportedParameterizedInstanceClassName());
stringBuffer.append(TEXT_214);
}
stringBuffer.append(TEXT_215);
@@ -1168,7 +1272,8 @@
stringBuffer.append(genItemType.getObjectInstanceClassName());
stringBuffer.append(TEXT_227);
}
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_228);
stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_229);
@@ -1177,7 +1282,8 @@
}
} else if (!genDataType.getMemberTypes().isEmpty()) {
if (genPackage.isDataTypeConverters()) {
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_231);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_232);
@@ -1196,7 +1302,9 @@
stringBuffer.append(TEXT_238);
if (genMemberType.getGenPackage() == genPackage) {
stringBuffer.append(TEXT_239);
- if (!genDataType.isObjectType() && !genDataType.getObjectInstanceClassName().equals(genMemberType.getObjectInstanceClassName())) {
+ if (!genDataType.isObjectType()
+ && !genDataType.getObjectInstanceClassName().equals(
+ genMemberType.getObjectInstanceClassName())) {
stringBuffer.append(TEXT_240);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_241);
@@ -1213,13 +1321,15 @@
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_247);
}
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_248);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_249);
}
stringBuffer.append(TEXT_250);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
stringBuffer.append(TEXT_251);
}
stringBuffer.append(TEXT_252);
@@ -1228,7 +1338,11 @@
stringBuffer.append(TEXT_253);
stringBuffer.append(genDataType.getName());
stringBuffer.append(TEXT_254);
- } else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
stringBuffer.append(TEXT_255);
if (!genDataType.isObjectType()) {
stringBuffer.append(TEXT_256);
@@ -1273,7 +1387,8 @@
stringBuffer.append(TEXT_274);
} else if (genDataType.getBaseType() != null) {
GenDataType genBaseType = genDataType.getBaseType();
- boolean isPrimitiveConversion = !genDataType.isPrimitiveType() && genBaseType.isPrimitiveType();
+ boolean isPrimitiveConversion = !genDataType.isPrimitiveType()
+ && genBaseType.isPrimitiveType();
if (genBaseType.getGenPackage() == genPackage) {
if (isPrimitiveConversion) {
stringBuffer.append(TEXT_275);
@@ -1298,7 +1413,8 @@
stringBuffer.append(TEXT_284);
} else {
stringBuffer.append(TEXT_285);
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_286);
stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_287);
@@ -1346,7 +1462,8 @@
if (genItemType.getGenPackage().isDataTypeConverters()) {
genItemType = genItemType.getObjectType();
stringBuffer.append(TEXT_304);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_305);
stringBuffer.append(genItemType.getName());
stringBuffer.append(TEXT_306);
@@ -1356,7 +1473,8 @@
stringBuffer.append(TEXT_308);
} else {
stringBuffer.append(TEXT_309);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_310);
stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_311);
@@ -1374,15 +1492,18 @@
stringBuffer.append(TEXT_316);
if (genMemberType.getGenPackage() == genPackage) {
if (genPackage.isDataTypeConverters()) {
- if (genMemberType.getQualifiedInstanceClassName().equals(genDataType.getQualifiedInstanceClassName())) {
+ if (genMemberType.getQualifiedInstanceClassName().equals(
+ genDataType.getQualifiedInstanceClassName())) {
stringBuffer.append(TEXT_317);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_318);
- } else if (genMemberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ } else if (genMemberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_319);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_320);
- stringBuffer.append(genMemberType.getObjectType().getImportedInstanceClassName());
+ stringBuffer.append(genMemberType.getObjectType()
+ .getImportedInstanceClassName());
stringBuffer.append(TEXT_321);
stringBuffer.append(genMemberType.getPrimitiveValueFunction());
stringBuffer.append(TEXT_322);
@@ -1390,7 +1511,8 @@
stringBuffer.append(TEXT_323);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_324);
- stringBuffer.append(genMemberType.getObjectType().getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(genMemberType.getObjectType()
+ .getImportedBoundedWildcardInstanceClassName());
stringBuffer.append(TEXT_325);
}
} else {
@@ -1404,7 +1526,8 @@
if (genMemberType.getGenPackage().isDataTypeConverters()) {
genMemberType = genMemberType.getObjectType();
stringBuffer.append(TEXT_329);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_330);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_331);
@@ -1412,7 +1535,8 @@
stringBuffer.append(TEXT_332);
} else {
stringBuffer.append(TEXT_333);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_334);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_335);
@@ -1446,13 +1570,15 @@
} else {
if (genMemberType.getGenPackage().isDataTypeConverters()) {
stringBuffer.append(TEXT_347);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_348);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_349);
} else {
stringBuffer.append(TEXT_350);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_351);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_352);
@@ -1472,13 +1598,18 @@
stringBuffer.append(TEXT_358);
stringBuffer.append(eDataType);
stringBuffer.append(TEXT_359);
- } else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
stringBuffer.append(TEXT_360);
} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
stringBuffer.append(TEXT_361);
stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
stringBuffer.append(TEXT_362);
- } else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_363);
stringBuffer.append(eDataType);
stringBuffer.append(TEXT_364);
@@ -1492,7 +1623,8 @@
stringBuffer.append(TEXT_368);
}
stringBuffer.append(TEXT_369);
- if (genModel.useGenerics() && (genDataType.getItemType() != null || genDataType.isUncheckedCast()) && (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody())) {
+ if (genModel.useGenerics() && (genDataType.getItemType() != null || genDataType.isUncheckedCast())
+ && (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody())) {
stringBuffer.append(TEXT_370);
}
stringBuffer.append(TEXT_371);
@@ -1520,7 +1652,8 @@
stringBuffer.append(TEXT_380);
} else {
stringBuffer.append(TEXT_381);
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_382);
stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_383);
@@ -1569,7 +1702,8 @@
stringBuffer.append(TEXT_400);
} else {
stringBuffer.append(TEXT_401);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_402);
stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_403);
@@ -1611,7 +1745,8 @@
stringBuffer.append(TEXT_419);
} else {
stringBuffer.append(TEXT_420);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_421);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_422);
@@ -1644,7 +1779,11 @@
stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
stringBuffer.append(TEXT_435);
}
- } else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
stringBuffer.append(TEXT_436);
} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
stringBuffer.append(TEXT_437);
@@ -1726,7 +1865,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genPackage.hasClassifiers());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryInterface.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryInterface.java
index 26e3b18..3275386 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryInterface.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/FactoryInterface.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:16 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -33,29 +33,43 @@
protected final String TEXT_5 = ";";
protected final String TEXT_6 = NL;
protected final String TEXT_7 = NL;
- protected final String TEXT_8 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Factory</b> for the model." + NL + " * It provides a create method for each non-abstract class of the model." + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_8 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Factory</b> for the model." + NL
+ + " * It provides a create method for each non-abstract class of the model." + NL
+ + " * <!-- end-user-doc -->";
protected final String TEXT_9 = NL + " * @see ";
protected final String TEXT_10 = NL + " * @generated" + NL + " */";
- protected final String TEXT_11 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * An implementation of the model <b>Factory</b>." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */";
+ protected final String TEXT_11 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model <b>Factory</b>." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @generated" + NL + " */";
protected final String TEXT_12 = NL + "public class ";
protected final String TEXT_13 = " extends ";
protected final String TEXT_14 = " implements ";
protected final String TEXT_15 = NL + "public interface ";
protected final String TEXT_16 = " extends ";
protected final String TEXT_17 = NL + "{";
- protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_19 = " copyright = ";
protected final String TEXT_20 = ";";
protected final String TEXT_21 = NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_23 = " eINSTANCE = init();" + NL;
- protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_25 = " INSTANCE = ";
protected final String TEXT_26 = ".eINSTANCE;" + NL;
- protected final String TEXT_27 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_27 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_28 = " eINSTANCE = ";
protected final String TEXT_29 = ".init();" + NL;
- protected final String TEXT_30 = NL + "\t/**" + NL + "\t * Creates the default factory implementation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_30 = NL + "\t/**" + NL + "\t * Creates the default factory implementation." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_31 = NL + "\tpublic static ";
protected final String TEXT_32 = " init()" + NL + "\t{" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\t";
protected final String TEXT_33 = " the";
@@ -64,39 +78,60 @@
protected final String TEXT_36 = ".Registry.INSTANCE.getEFactory(";
protected final String TEXT_37 = ".eNS_URI);" + NL + "\t\t\tif (the";
protected final String TEXT_38 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\treturn the";
- protected final String TEXT_39 = ";" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL + "\t\t\t";
+ protected final String TEXT_39 = ";" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL
+ + "\t\t{" + NL + "\t\t\t";
protected final String TEXT_40 = ".INSTANCE.log(exception);" + NL + "\t\t}" + NL + "\t\treturn new ";
- protected final String TEXT_41 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Creates an instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_42 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_41 = "();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_42 = "()" + NL + "\t{" + NL + "\t\tsuper();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_43 = NL + "\t@Override";
- protected final String TEXT_44 = NL + "\tpublic EObject create(EClass eClass)" + NL + "\t{" + NL + "\t\tswitch (eClass.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_44 = NL + "\tpublic EObject create(EClass eClass)" + NL + "\t{" + NL
+ + "\t\tswitch (eClass.getClassifierID())" + NL + "\t\t{";
protected final String TEXT_45 = NL + "\t\t\tcase ";
protected final String TEXT_46 = ".";
protected final String TEXT_47 = ": return ";
protected final String TEXT_48 = "create";
protected final String TEXT_49 = "();";
- protected final String TEXT_50 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The class '\" + eClass.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_50 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The class '\" + eClass.getName() + \"' is not a valid classifier\");";
protected final String TEXT_51 = NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_52 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_52 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_53 = NL + "\t@Override";
protected final String TEXT_54 = NL + "\tpublic Object createFromString(";
- protected final String TEXT_55 = " eDataType, String initialValue)" + NL + "\t{" + NL + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_55 = " eDataType, String initialValue)" + NL + "\t{" + NL
+ + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
protected final String TEXT_56 = NL + "\t\t\tcase ";
protected final String TEXT_57 = ".";
protected final String TEXT_58 = ":" + NL + "\t\t\t\treturn create";
protected final String TEXT_59 = "FromString(eDataType, initialValue);";
- protected final String TEXT_60 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
- protected final String TEXT_61 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_60 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_61 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_62 = NL + "\t@Override";
protected final String TEXT_63 = NL + "\tpublic String convertToString(";
- protected final String TEXT_64 = " eDataType, Object instanceValue)" + NL + "\t{" + NL + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
+ protected final String TEXT_64 = " eDataType, Object instanceValue)" + NL + "\t{" + NL
+ + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
protected final String TEXT_65 = NL + "\t\t\tcase ";
protected final String TEXT_66 = ".";
protected final String TEXT_67 = ":" + NL + "\t\t\t\treturn convert";
protected final String TEXT_68 = "ToString(eDataType, instanceValue);";
- protected final String TEXT_69 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
+ protected final String TEXT_69 = NL
+ + "\t\t\tdefault:"
+ + NL
+ + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
protected final String TEXT_70 = NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_71 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_71 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_72 = " create";
protected final String TEXT_73 = "()" + NL + "\t{";
protected final String TEXT_74 = NL + "\t\t";
@@ -112,7 +147,8 @@
protected final String TEXT_84 = ";";
protected final String TEXT_85 = NL + "\t\treturn ";
protected final String TEXT_86 = ";" + NL + "\t}" + NL;
- protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_87 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_88 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_89 = NL + "\tpublic ";
protected final String TEXT_90 = " create";
@@ -125,7 +161,9 @@
protected final String TEXT_97 = NL + "\t\t";
protected final String TEXT_98 = NL + "\t\t";
protected final String TEXT_99 = " result = ";
- protected final String TEXT_100 = ".get(literal);" + NL + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + literal + \"' is not a valid enumerator of '\" + ";
+ protected final String TEXT_100 = ".get(literal);"
+ + NL
+ + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + literal + \"' is not a valid enumerator of '\" + ";
protected final String TEXT_101 = ".getName() + \"'\");";
protected final String TEXT_102 = NL + "\t\treturn result;";
protected final String TEXT_103 = NL + "\t\treturn new ";
@@ -193,13 +231,16 @@
protected final String TEXT_165 = "new ";
protected final String TEXT_166 = "(result)";
protected final String TEXT_167 = "result";
- protected final String TEXT_168 = ", null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
+ protected final String TEXT_168 = ", null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL
+ + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL
+ + "\t\t\texception = e;" + NL + "\t\t}";
protected final String TEXT_169 = NL + "\t\tif (";
protected final String TEXT_170 = "result != null || ";
protected final String TEXT_171 = "exception == null) return result;" + NL + " " + NL + "\t\tthrow exception;";
protected final String TEXT_172 = NL + "\t\treturn (";
protected final String TEXT_173 = ")super.createFromString(literal);";
- protected final String TEXT_174 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_174 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
protected final String TEXT_175 = "();";
protected final String TEXT_176 = NL + "\t\treturn ((";
protected final String TEXT_177 = ")super.createFromString(";
@@ -211,7 +252,8 @@
protected final String TEXT_183 = "super.createFromString(";
protected final String TEXT_184 = ", literal);";
protected final String TEXT_185 = NL + "\t}" + NL;
- protected final String TEXT_186 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_186 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_187 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_188 = NL + "\tpublic ";
protected final String TEXT_189 = " create";
@@ -221,7 +263,9 @@
protected final String TEXT_193 = "(initialValue);";
protected final String TEXT_194 = NL + "\t\t";
protected final String TEXT_195 = " result = ";
- protected final String TEXT_196 = ".get(initialValue);" + NL + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + initialValue + \"' is not a valid enumerator of '\" + eDataType.getName() + \"'\");";
+ protected final String TEXT_196 = ".get(initialValue);"
+ + NL
+ + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + initialValue + \"' is not a valid enumerator of '\" + eDataType.getName() + \"'\");";
protected final String TEXT_197 = NL + "\t\treturn result;";
protected final String TEXT_198 = NL + "\t\treturn ";
protected final String TEXT_199 = "(";
@@ -276,22 +320,27 @@
protected final String TEXT_248 = ".createFromString(";
protected final String TEXT_249 = ", initialValue);";
protected final String TEXT_250 = NL + "\t\t\tif (result != null && ";
- protected final String TEXT_251 = ".INSTANCE.validate(eDataType, result, null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
- protected final String TEXT_252 = NL + "\t\tif (result != null || exception == null) return result;" + NL + " " + NL + "\t\tthrow exception;";
+ protected final String TEXT_251 = ".INSTANCE.validate(eDataType, result, null, null))" + NL + "\t\t\t{" + NL
+ + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL
+ + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
+ protected final String TEXT_252 = NL + "\t\tif (result != null || exception == null) return result;" + NL + " "
+ + NL + "\t\tthrow exception;";
protected final String TEXT_253 = NL + "\t\treturn create";
protected final String TEXT_254 = "(initialValue);";
protected final String TEXT_255 = NL + "\t\treturn ";
protected final String TEXT_256 = "(";
protected final String TEXT_257 = ")";
protected final String TEXT_258 = "super.createFromString(initialValue);";
- protected final String TEXT_259 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_259 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
protected final String TEXT_260 = "();";
protected final String TEXT_261 = NL + "\t\treturn ";
protected final String TEXT_262 = "(";
protected final String TEXT_263 = ")";
protected final String TEXT_264 = "super.createFromString(eDataType, initialValue);";
protected final String TEXT_265 = NL + "\t}" + NL;
- protected final String TEXT_266 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
+ protected final String TEXT_266 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
protected final String TEXT_267 = "(";
protected final String TEXT_268 = "final ";
protected final String TEXT_269 = " ";
@@ -313,7 +362,8 @@
protected final String TEXT_285 = NL + "\t\treturn ";
protected final String TEXT_286 = ".convertToString(";
protected final String TEXT_287 = ", instanceValue);";
- protected final String TEXT_288 = NL + "\t\tif (instanceValue == null) return null;" + NL + "\t\tif (instanceValue.isEmpty()) return \"\";" + NL + "\t\t";
+ protected final String TEXT_288 = NL + "\t\tif (instanceValue == null) return null;" + NL
+ + "\t\tif (instanceValue.isEmpty()) return \"\";" + NL + "\t\t";
protected final String TEXT_289 = " result = new ";
protected final String TEXT_290 = "();";
protected final String TEXT_291 = NL + "\t\tfor (";
@@ -338,7 +388,8 @@
protected final String TEXT_310 = ".convertToString(";
protected final String TEXT_311 = ", ";
protected final String TEXT_312 = "));";
- protected final String TEXT_313 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL + "\t\treturn result.substring(0, result.length() - 1);";
+ protected final String TEXT_313 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL
+ + "\t\treturn result.substring(0, result.length() - 1);";
protected final String TEXT_314 = NL + "\t\tif (instanceValue == null) return null;";
protected final String TEXT_315 = NL + "\t\tif (";
protected final String TEXT_316 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
@@ -361,7 +412,9 @@
protected final String TEXT_333 = NL + "\t\t\t\tString value = ";
protected final String TEXT_334 = ".convertToString(";
protected final String TEXT_335 = ", instanceValue);";
- protected final String TEXT_336 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_336 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
protected final String TEXT_337 = NL + "\t\ttry" + NL + "\t\t{";
protected final String TEXT_338 = NL + "\t\t\tString value = convert";
protected final String TEXT_339 = "(instanceValue);";
@@ -382,11 +435,15 @@
protected final String TEXT_354 = "(instanceValue)";
protected final String TEXT_355 = "instanceValue";
protected final String TEXT_356 = ");";
- protected final String TEXT_357 = NL + "\t\t\tif (value != null) return value;" + NL + "\t\t}" + NL + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL + "\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t}";
- protected final String TEXT_358 = NL + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+";
+ protected final String TEXT_357 = NL + "\t\t\tif (value != null) return value;" + NL + "\t\t}" + NL
+ + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL
+ + "\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t}";
+ protected final String TEXT_358 = NL
+ + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+";
protected final String TEXT_359 = ".getName());";
protected final String TEXT_360 = NL + "\t\treturn super.convertToString(instanceValue);";
- protected final String TEXT_361 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_361 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
protected final String TEXT_362 = "();";
protected final String TEXT_363 = NL + "\t\treturn super.convertToString(";
protected final String TEXT_364 = ", new ";
@@ -394,7 +451,8 @@
protected final String TEXT_366 = NL + "\t\treturn super.convertToString(";
protected final String TEXT_367 = ", instanceValue);";
protected final String TEXT_368 = NL + "\t}" + NL;
- protected final String TEXT_369 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_369 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_370 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_371 = NL + "\tpublic String convert";
protected final String TEXT_372 = "ToString(";
@@ -430,7 +488,8 @@
protected final String TEXT_402 = ".convertToString(";
protected final String TEXT_403 = ", ";
protected final String TEXT_404 = "));";
- protected final String TEXT_405 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL + "\t\treturn result.substring(0, result.length() - 1);";
+ protected final String TEXT_405 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL
+ + "\t\treturn result.substring(0, result.length() - 1);";
protected final String TEXT_406 = NL + "\t\treturn instanceValue == null ? null : convert";
protected final String TEXT_407 = "(((";
protected final String TEXT_408 = ")instanceValue)";
@@ -448,8 +507,11 @@
protected final String TEXT_420 = NL + "\t\t\t\tString value = ";
protected final String TEXT_421 = ".convertToString(";
protected final String TEXT_422 = ", instanceValue);";
- protected final String TEXT_423 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
- protected final String TEXT_424 = NL + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+eDataType.getName());";
+ protected final String TEXT_423 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL
+ + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Keep trying other member types until all have failed." + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_424 = NL
+ + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+eDataType.getName());";
protected final String TEXT_425 = NL + "\t\treturn instanceValue == null ? null : convert";
protected final String TEXT_426 = "(";
protected final String TEXT_427 = "(";
@@ -462,32 +524,42 @@
protected final String TEXT_434 = "((";
protected final String TEXT_435 = ")instanceValue);";
protected final String TEXT_436 = NL + "\t\treturn super.convertToString(instanceValue);";
- protected final String TEXT_437 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+ protected final String TEXT_437 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
protected final String TEXT_438 = "();";
protected final String TEXT_439 = NL + "\t\treturn super.convertToString(eDataType, instanceValue);";
protected final String TEXT_440 = NL + "\t}" + NL;
protected final String TEXT_441 = NL + "\t/**" + NL + "\t * Returns a new object of class '<em>";
- protected final String TEXT_442 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return a new object of class '<em>";
+ protected final String TEXT_442 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return a new object of class '<em>";
protected final String TEXT_443 = "</em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_444 = " create";
protected final String TEXT_445 = "();" + NL;
protected final String TEXT_446 = NL + "\t/**" + NL + "\t * Returns an instance of data type '<em>";
- protected final String TEXT_447 = "</em>' corresponding the given literal." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param literal a literal of the data type." + NL + "\t * @return a new instance value of the data type." + NL
- + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_447 = "</em>' corresponding the given literal." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param literal a literal of the data type." + NL
+ + "\t * @return a new instance value of the data type." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_448 = " create";
- protected final String TEXT_449 = "(String literal);" + NL + "" + NL + "\t/**" + NL + "\t * Returns a literal representation of an instance of data type '<em>";
- protected final String TEXT_450 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param instanceValue an instance value of the data type." + NL + "\t * @return a literal representation of the instance value." + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tString convert";
+ protected final String TEXT_449 = "(String literal);" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns a literal representation of an instance of data type '<em>";
+ protected final String TEXT_450 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param instanceValue an instance value of the data type." + NL
+ + "\t * @return a literal representation of the instance value." + NL + "\t * @generated" + NL + "\t */"
+ + NL + "\tString convert";
protected final String TEXT_451 = "(";
protected final String TEXT_452 = " instanceValue);" + NL;
- protected final String TEXT_453 = NL + "\t/**" + NL + "\t * Returns the package supported by this factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the package supported by this factory." + NL + "\t * @generated" + NL
- + "\t */" + NL + "\t";
+ protected final String TEXT_453 = NL + "\t/**" + NL + "\t * Returns the package supported by this factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the package supported by this factory." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_454 = " get";
protected final String TEXT_455 = "();" + NL;
- protected final String TEXT_456 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_456 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_457 = " get";
protected final String TEXT_458 = "()" + NL + "\t{" + NL + "\t\treturn (";
- protected final String TEXT_459 = ")getEPackage();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @deprecated" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_459 = ")getEPackage();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @deprecated" + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_460 = NL + "\t@Deprecated";
protected final String TEXT_461 = NL + "\tpublic static ";
protected final String TEXT_462 = " getPackage()" + NL + "\t{" + NL + "\t\treturn ";
@@ -568,7 +640,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -588,9 +661,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -625,7 +700,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -644,7 +722,8 @@
genModel.addPseudoImport("org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic");
genModel.addImport("org.eclipse.emf.ecore.EClass");
genModel.addImport("org.eclipse.emf.ecore.EObject");
- if (!genPackage.hasJavaLangConflict() && !genPackage.hasInterfaceImplConflict() && !genPackage.getClassPackageName().equals(genPackage.getInterfacePackageName()))
+ if (!genPackage.hasJavaLangConflict() && !genPackage.hasInterfaceImplConflict()
+ && !genPackage.getClassPackageName().equals(genPackage.getInterfacePackageName()))
genModel.addImport(genPackage.getInterfacePackageName() + ".*");
}
genModel.markImportLocation(stringBuffer);
@@ -710,7 +789,8 @@
}
if (isImplementation) {
stringBuffer.append(TEXT_30);
- String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage.getImportedFactoryInterfaceName();
+ String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage
+ .getImportedFactoryInterfaceName();
stringBuffer.append(TEXT_31);
stringBuffer.append(factoryType);
stringBuffer.append(TEXT_32);
@@ -830,7 +910,8 @@
stringBuffer.append(genClass.getImportedClassName());
stringBuffer.append(genClass.getClassTypeArguments());
stringBuffer.append(TEXT_82);
- if (genModel.isSuppressInterfaces() && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {
+ if (genModel.isSuppressInterfaces()
+ && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {
stringBuffer.append(TEXT_83);
}
stringBuffer.append(TEXT_84);
@@ -880,9 +961,11 @@
stringBuffer.append(TEXT_102);
} else if (genDataType.getBaseType() != null) {
GenDataType genBaseType = genDataType.getBaseType();
- boolean isPrimitiveConversion = !genDataType.isPrimitiveType() && genBaseType.isPrimitiveType();
+ boolean isPrimitiveConversion = !genDataType.isPrimitiveType()
+ && genBaseType.isPrimitiveType();
if (genBaseType.getGenPackage() == genPackage) {
- if (isPrimitiveConversion && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (isPrimitiveConversion
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_103);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_104);
@@ -894,17 +977,20 @@
stringBuffer.append(TEXT_107);
}
} else if (genBaseType.getGenPackage().isDataTypeConverters()) {
- if (isPrimitiveConversion && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (isPrimitiveConversion
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_108);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_109);
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_110);
stringBuffer.append(genBaseType.getName());
stringBuffer.append(TEXT_111);
} else {
stringBuffer.append(TEXT_112);
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_113);
stringBuffer.append(genBaseType.getName());
stringBuffer.append(TEXT_114);
@@ -916,7 +1002,8 @@
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_117);
}
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_118);
stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_119);
@@ -929,7 +1016,8 @@
stringBuffer.append(genModel.getImportedName("java.util.ArrayList"));
if (genModel.useGenerics()) {
stringBuffer.append(TEXT_122);
- stringBuffer.append(genItemType.getObjectType().getImportedParameterizedInstanceClassName());
+ stringBuffer.append(genItemType.getObjectType()
+ .getImportedParameterizedInstanceClassName());
stringBuffer.append(TEXT_123);
}
stringBuffer.append(TEXT_124);
@@ -963,13 +1051,15 @@
if (genItemType.getGenPackage().isDataTypeConverters()) {
genItemType = genItemType.getObjectType();
stringBuffer.append(TEXT_136);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_137);
stringBuffer.append(genItemType.getName());
stringBuffer.append(TEXT_138);
} else {
stringBuffer.append(TEXT_139);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_140);
stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_141);
@@ -1007,7 +1097,8 @@
if (!genDataType.isPrimitiveType())
genMemberType = genMemberType.getObjectType();
stringBuffer.append(TEXT_154);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_155);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_156);
@@ -1015,7 +1106,8 @@
stringBuffer.append(TEXT_157);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_158);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_159);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_160);
@@ -1025,11 +1117,13 @@
if (!genDataType.isPrimitiveType()) {
stringBuffer.append(TEXT_162);
}
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
stringBuffer.append(TEXT_163);
stringBuffer.append(eDataType);
stringBuffer.append(TEXT_164);
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_165);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_166);
@@ -1043,7 +1137,11 @@
stringBuffer.append(TEXT_170);
}
stringBuffer.append(TEXT_171);
- } else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
stringBuffer.append(TEXT_172);
stringBuffer.append(genDataType.getImportedParameterizedObjectInstanceClassName());
stringBuffer.append(TEXT_173);
@@ -1051,7 +1149,8 @@
stringBuffer.append(TEXT_174);
stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
stringBuffer.append(TEXT_175);
- } else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_176);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_177);
@@ -1073,7 +1172,8 @@
stringBuffer.append(TEXT_185);
}
stringBuffer.append(TEXT_186);
- if (!genPackage.isDataTypeConverters() && genModel.useGenerics() && genDataType.isUncheckedCast() && !genDataType.hasCreatorBody()) {
+ if (!genPackage.isDataTypeConverters() && genModel.useGenerics() && genDataType.isUncheckedCast()
+ && !genDataType.hasCreatorBody()) {
stringBuffer.append(TEXT_187);
}
stringBuffer.append(TEXT_188);
@@ -1103,7 +1203,8 @@
GenDataType genBaseType = genDataType.getBaseType();
if (genBaseType.getGenPackage() == genPackage) {
stringBuffer.append(TEXT_198);
- if (!genDataType.getObjectInstanceClassName().equals(genBaseType.getObjectInstanceClassName())) {
+ if (!genDataType.getObjectInstanceClassName().equals(
+ genBaseType.getObjectInstanceClassName())) {
stringBuffer.append(TEXT_199);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_200);
@@ -1120,7 +1221,8 @@
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_206);
}
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_207);
stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_208);
@@ -1138,7 +1240,8 @@
stringBuffer.append(genModel.getImportedName("java.util.ArrayList"));
if (genModel.useGenerics()) {
stringBuffer.append(TEXT_213);
- stringBuffer.append(genItemType.getObjectType().getImportedParameterizedInstanceClassName());
+ stringBuffer.append(genItemType.getObjectType()
+ .getImportedParameterizedInstanceClassName());
stringBuffer.append(TEXT_214);
}
stringBuffer.append(TEXT_215);
@@ -1168,7 +1271,8 @@
stringBuffer.append(genItemType.getObjectInstanceClassName());
stringBuffer.append(TEXT_227);
}
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_228);
stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_229);
@@ -1177,7 +1281,8 @@
}
} else if (!genDataType.getMemberTypes().isEmpty()) {
if (genPackage.isDataTypeConverters()) {
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_231);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_232);
@@ -1196,7 +1301,9 @@
stringBuffer.append(TEXT_238);
if (genMemberType.getGenPackage() == genPackage) {
stringBuffer.append(TEXT_239);
- if (!genDataType.isObjectType() && !genDataType.getObjectInstanceClassName().equals(genMemberType.getObjectInstanceClassName())) {
+ if (!genDataType.isObjectType()
+ && !genDataType.getObjectInstanceClassName().equals(
+ genMemberType.getObjectInstanceClassName())) {
stringBuffer.append(TEXT_240);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_241);
@@ -1213,13 +1320,15 @@
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_247);
}
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_248);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_249);
}
stringBuffer.append(TEXT_250);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.util.Diagnostician"));
stringBuffer.append(TEXT_251);
}
stringBuffer.append(TEXT_252);
@@ -1228,7 +1337,11 @@
stringBuffer.append(TEXT_253);
stringBuffer.append(genDataType.getName());
stringBuffer.append(TEXT_254);
- } else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
stringBuffer.append(TEXT_255);
if (!genDataType.isObjectType()) {
stringBuffer.append(TEXT_256);
@@ -1273,7 +1386,8 @@
stringBuffer.append(TEXT_274);
} else if (genDataType.getBaseType() != null) {
GenDataType genBaseType = genDataType.getBaseType();
- boolean isPrimitiveConversion = !genDataType.isPrimitiveType() && genBaseType.isPrimitiveType();
+ boolean isPrimitiveConversion = !genDataType.isPrimitiveType()
+ && genBaseType.isPrimitiveType();
if (genBaseType.getGenPackage() == genPackage) {
if (isPrimitiveConversion) {
stringBuffer.append(TEXT_275);
@@ -1298,7 +1412,8 @@
stringBuffer.append(TEXT_284);
} else {
stringBuffer.append(TEXT_285);
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_286);
stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_287);
@@ -1346,7 +1461,8 @@
if (genItemType.getGenPackage().isDataTypeConverters()) {
genItemType = genItemType.getObjectType();
stringBuffer.append(TEXT_304);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_305);
stringBuffer.append(genItemType.getName());
stringBuffer.append(TEXT_306);
@@ -1356,7 +1472,8 @@
stringBuffer.append(TEXT_308);
} else {
stringBuffer.append(TEXT_309);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_310);
stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_311);
@@ -1374,15 +1491,18 @@
stringBuffer.append(TEXT_316);
if (genMemberType.getGenPackage() == genPackage) {
if (genPackage.isDataTypeConverters()) {
- if (genMemberType.getQualifiedInstanceClassName().equals(genDataType.getQualifiedInstanceClassName())) {
+ if (genMemberType.getQualifiedInstanceClassName().equals(
+ genDataType.getQualifiedInstanceClassName())) {
stringBuffer.append(TEXT_317);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_318);
- } else if (genMemberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ } else if (genMemberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_319);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_320);
- stringBuffer.append(genMemberType.getObjectType().getImportedInstanceClassName());
+ stringBuffer.append(genMemberType.getObjectType()
+ .getImportedInstanceClassName());
stringBuffer.append(TEXT_321);
stringBuffer.append(genMemberType.getPrimitiveValueFunction());
stringBuffer.append(TEXT_322);
@@ -1390,7 +1510,8 @@
stringBuffer.append(TEXT_323);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_324);
- stringBuffer.append(genMemberType.getObjectType().getImportedBoundedWildcardInstanceClassName());
+ stringBuffer.append(genMemberType.getObjectType()
+ .getImportedBoundedWildcardInstanceClassName());
stringBuffer.append(TEXT_325);
}
} else {
@@ -1404,7 +1525,8 @@
if (genMemberType.getGenPackage().isDataTypeConverters()) {
genMemberType = genMemberType.getObjectType();
stringBuffer.append(TEXT_329);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_330);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_331);
@@ -1412,7 +1534,8 @@
stringBuffer.append(TEXT_332);
} else {
stringBuffer.append(TEXT_333);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_334);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_335);
@@ -1446,13 +1569,15 @@
} else {
if (genMemberType.getGenPackage().isDataTypeConverters()) {
stringBuffer.append(TEXT_347);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_348);
stringBuffer.append(genMemberType.getName());
stringBuffer.append(TEXT_349);
} else {
stringBuffer.append(TEXT_350);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_351);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_352);
@@ -1472,13 +1597,18 @@
stringBuffer.append(TEXT_358);
stringBuffer.append(eDataType);
stringBuffer.append(TEXT_359);
- } else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
stringBuffer.append(TEXT_360);
} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
stringBuffer.append(TEXT_361);
stringBuffer.append(genModel.getImportedName("java.lang.UnsupportedOperationException"));
stringBuffer.append(TEXT_362);
- } else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_363);
stringBuffer.append(eDataType);
stringBuffer.append(TEXT_364);
@@ -1492,7 +1622,8 @@
stringBuffer.append(TEXT_368);
}
stringBuffer.append(TEXT_369);
- if (genModel.useGenerics() && (genDataType.getItemType() != null || genDataType.isUncheckedCast()) && (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody())) {
+ if (genModel.useGenerics() && (genDataType.getItemType() != null || genDataType.isUncheckedCast())
+ && (genPackage.isDataTypeConverters() || genDataType.hasCreatorBody())) {
stringBuffer.append(TEXT_370);
}
stringBuffer.append(TEXT_371);
@@ -1520,7 +1651,8 @@
stringBuffer.append(TEXT_380);
} else {
stringBuffer.append(TEXT_381);
- stringBuffer.append(genBaseType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genBaseType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_382);
stringBuffer.append(genBaseType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_383);
@@ -1569,7 +1701,8 @@
stringBuffer.append(TEXT_400);
} else {
stringBuffer.append(TEXT_401);
- stringBuffer.append(genItemType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genItemType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_402);
stringBuffer.append(genItemType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_403);
@@ -1611,7 +1744,8 @@
stringBuffer.append(TEXT_419);
} else {
stringBuffer.append(TEXT_420);
- stringBuffer.append(genMemberType.getGenPackage().getQualifiedEFactoryInternalInstanceAccessor());
+ stringBuffer.append(genMemberType.getGenPackage()
+ .getQualifiedEFactoryInternalInstanceAccessor());
stringBuffer.append(TEXT_421);
stringBuffer.append(genMemberType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_422);
@@ -1644,7 +1778,11 @@
stringBuffer.append(genDataType.getImportedBoundedWildcardInstanceClassName());
stringBuffer.append(TEXT_435);
}
- } else if (!genDataType.hasConversionDelegate() && genModel.useGenerics() && (genDataType.isArrayType() || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType.getEcoreDataType().getInstanceTypeName().contains("<"))) {
+ } else if (!genDataType.hasConversionDelegate()
+ && genModel.useGenerics()
+ && (genDataType.isArrayType()
+ || !genDataType.getEcoreDataType().getETypeParameters().isEmpty() || genDataType
+ .getEcoreDataType().getInstanceTypeName().contains("<"))) {
stringBuffer.append(TEXT_436);
} else if (!genDataType.hasConversionDelegate() && genDataType.isArrayType()) {
stringBuffer.append(TEXT_437);
@@ -1726,7 +1864,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genPackage.hasClassifiers() && !genModel.isSuppressInterfaces());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Interface.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Interface.java
index dbdc0a9..a5008eb 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Interface.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Interface.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:16 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -34,45 +34,63 @@
protected final String TEXT_6 = NL;
protected final String TEXT_7 = NL;
protected final String TEXT_8 = NL;
- protected final String TEXT_9 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * An implementation of the model object '<em><b>";
- protected final String TEXT_10 = "</b></em>'." + NL + " * <!-- end-user-doc -->" + NL + " * <p>";
- protected final String TEXT_11 = NL + " * The following features are implemented:" + NL + " * <ul>";
+ protected final String TEXT_9 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model object '<em><b>";
+ protected final String TEXT_10 = "</b></em>'." + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_11 = NL + " * <p>" + NL + " * The following features are implemented:" + NL + " * </p>"
+ + NL + " * <ul>";
protected final String TEXT_12 = NL + " * <li>{@link ";
protected final String TEXT_13 = "#";
protected final String TEXT_14 = " <em>";
protected final String TEXT_15 = "</em>}</li>";
protected final String TEXT_16 = NL + " * </ul>";
- protected final String TEXT_17 = NL + " * </p>" + NL + " *" + NL + " * @generated" + NL + " */";
+ protected final String TEXT_17 = NL + " *" + NL + " * @generated" + NL + " */";
protected final String TEXT_18 = NL + "public";
protected final String TEXT_19 = " abstract";
protected final String TEXT_20 = " class ";
protected final String TEXT_21 = NL + "public interface ";
protected final String TEXT_22 = NL + "{";
- protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_24 = " copyright = ";
protected final String TEXT_25 = ";";
protected final String TEXT_26 = NL;
- protected final String TEXT_27 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_27 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_28 = " mofDriverNumber = \"";
protected final String TEXT_29 = "\";";
protected final String TEXT_30 = NL;
- protected final String TEXT_31 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final long serialVersionUID = 1L;" + NL;
- protected final String TEXT_32 = NL + "\t/**" + NL + "\t * An array of objects representing the values of non-primitive features." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_31 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate static final long serialVersionUID = 1L;" + NL;
+ protected final String TEXT_32 = NL + "\t/**" + NL
+ + "\t * An array of objects representing the values of non-primitive features." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_33 = NL + "\t@";
protected final String TEXT_34 = NL + "\tprotected Object[] ";
protected final String TEXT_35 = ";" + NL;
- protected final String TEXT_36 = NL + "\t/**" + NL + "\t * A bit field representing the indices of non-primitive feature values." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_36 = NL + "\t/**" + NL
+ + "\t * A bit field representing the indices of non-primitive feature values." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_37 = NL + "\t@";
protected final String TEXT_38 = NL + "\tprotected int ";
protected final String TEXT_39 = ";" + NL;
- protected final String TEXT_40 = NL + "\t/**" + NL + "\t * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ protected final String TEXT_40 = NL
+ + "\t/**"
+ + NL
+ + "\t * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ "\t * @ordered" + NL + "\t */";
protected final String TEXT_41 = NL + "\t@";
protected final String TEXT_42 = NL + "\tprotected int ";
protected final String TEXT_43 = " = 0;" + NL;
protected final String TEXT_44 = NL + "\t/**" + NL + "\t * The empty value for the '{@link #";
protected final String TEXT_45 = "() <em>";
- protected final String TEXT_46 = "</em>}' array accessor." + NL + "\t * This is specialized for the more specific element type known in this context." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_46 = "</em>}' array accessor." + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_47 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_48 = NL + "\t@SuppressWarnings(\"rawtypes\")";
protected final String TEXT_49 = NL + "\tprotected static final ";
@@ -81,21 +99,26 @@
protected final String TEXT_52 = " [0]";
protected final String TEXT_53 = ";" + NL;
protected final String TEXT_54 = NL;
- protected final String TEXT_55 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
+ protected final String TEXT_55 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
protected final String TEXT_56 = " = ";
protected final String TEXT_57 = ".getFeatureID(";
protected final String TEXT_58 = ") - ";
protected final String TEXT_59 = ";" + NL;
- protected final String TEXT_60 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
+ protected final String TEXT_60 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int ";
protected final String TEXT_61 = " = ";
protected final String TEXT_62 = ".getFeatureID(";
protected final String TEXT_63 = ") - ";
protected final String TEXT_64 = ";" + NL;
- protected final String TEXT_65 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static final int \"EOPERATION_OFFSET_CORRECTION\" = ";
+ protected final String TEXT_65 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate static final int \"EOPERATION_OFFSET_CORRECTION\" = ";
protected final String TEXT_66 = ".getOperationID(";
protected final String TEXT_67 = ") - ";
protected final String TEXT_68 = ";" + NL;
- protected final String TEXT_69 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_69 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_70 = "public";
protected final String TEXT_71 = "protected";
protected final String TEXT_72 = " ";
@@ -106,7 +129,8 @@
protected final String TEXT_77 = "_EFLAG";
protected final String TEXT_78 = "_DEFAULT";
protected final String TEXT_79 = ";";
- protected final String TEXT_80 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_80 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_81 = NL + "\t@Override";
protected final String TEXT_82 = NL + "\tprotected ";
protected final String TEXT_83 = " eStaticClass()" + NL + "\t{" + NL + "\t\treturn ";
@@ -115,7 +139,8 @@
protected final String TEXT_86 = NL;
protected final String TEXT_87 = NL;
protected final String TEXT_88 = NL;
- protected final String TEXT_89 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_89 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_90 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_91 = NL + "\t@Override";
protected final String TEXT_92 = NL + "\tpublic ";
@@ -132,7 +157,8 @@
protected final String TEXT_103 = "()).eMap()).basicAdd(otherEnd, msgs);";
protected final String TEXT_104 = NL + "\t\t\t\treturn (";
protected final String TEXT_105 = "()).basicAdd(otherEnd, msgs);";
- protected final String TEXT_106 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);";
+ protected final String TEXT_106 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL
+ + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);";
protected final String TEXT_107 = NL + "\t\t\t\treturn basicSet";
protected final String TEXT_108 = "((";
protected final String TEXT_109 = ")otherEnd, msgs);";
@@ -166,7 +192,8 @@
protected final String TEXT_137 = NL + "\t\treturn super.eInverseAdd(otherEnd, featureID, msgs);";
protected final String TEXT_138 = NL + "\t\treturn eDynamicInverseAdd(otherEnd, featureID, msgs);";
protected final String TEXT_139 = NL + "\t}" + NL;
- protected final String TEXT_140 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_140 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_141 = NL + "\t@Override";
protected final String TEXT_142 = NL + "\tpublic ";
protected final String TEXT_143 = " eInverseRemove(";
@@ -197,7 +224,8 @@
protected final String TEXT_168 = NL + "\t\treturn super.eInverseRemove(otherEnd, featureID, msgs);";
protected final String TEXT_169 = NL + "\t\treturn eDynamicInverseRemove(otherEnd, featureID, msgs);";
protected final String TEXT_170 = NL + "\t}" + NL;
- protected final String TEXT_171 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_171 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_172 = NL + "\t@Override";
protected final String TEXT_173 = NL + "\tpublic ";
protected final String TEXT_174 = " eBasicRemoveFromContainerFeature(";
@@ -211,9 +239,11 @@
protected final String TEXT_182 = NL + "\t\treturn super.eBasicRemoveFromContainerFeature(msgs);";
protected final String TEXT_183 = NL + "\t\treturn eDynamicBasicRemoveFromContainer(msgs);";
protected final String TEXT_184 = NL + "\t}" + NL;
- protected final String TEXT_185 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_185 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_186 = NL + "\t@Override";
- protected final String TEXT_187 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_187 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)"
+ + NL + "\t{" + NL + "\t\tswitch (featureID";
protected final String TEXT_188 = ")" + NL + "\t\t{";
protected final String TEXT_189 = NL + "\t\t\tcase ";
protected final String TEXT_190 = ":";
@@ -249,10 +279,12 @@
protected final String TEXT_220 = NL + "\t\treturn super.eGet(featureID, resolve, coreType);";
protected final String TEXT_221 = NL + "\t\treturn eDynamicGet(featureID, resolve, coreType);";
protected final String TEXT_222 = NL + "\t}" + NL;
- protected final String TEXT_223 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_223 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_224 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_225 = NL + "\t@Override";
- protected final String TEXT_226 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_226 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
protected final String TEXT_227 = ")" + NL + "\t\t{";
protected final String TEXT_228 = NL + "\t\t\tcase ";
protected final String TEXT_229 = ":";
@@ -293,7 +325,8 @@
protected final String TEXT_264 = NL + "\t}" + NL;
protected final String TEXT_265 = NL;
protected final String TEXT_266 = NL;
- protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_268 = NL + "\t@Override";
protected final String TEXT_269 = NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class";
protected final String TEXT_270 = " baseClass)" + NL + "\t{";
@@ -304,8 +337,10 @@
protected final String TEXT_275 = ": return ";
protected final String TEXT_276 = ";";
protected final String TEXT_277 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
- protected final String TEXT_278 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);" + NL + "\t}";
- protected final String TEXT_279 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_278 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);"
+ + NL + "\t}";
+ protected final String TEXT_279 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_280 = NL + "\t@Override";
protected final String TEXT_281 = NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class";
protected final String TEXT_282 = " baseClass)" + NL + "\t{";
@@ -322,8 +357,10 @@
protected final String TEXT_293 = ": return ";
protected final String TEXT_294 = ";";
protected final String TEXT_295 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
- protected final String TEXT_296 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);" + NL + "\t}" + NL;
- protected final String TEXT_297 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_296 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);"
+ + NL + "\t}" + NL;
+ protected final String TEXT_297 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_298 = NL + "\t@Override";
protected final String TEXT_299 = NL + "\tpublic int eDerivedOperationID(int baseOperationID, Class";
protected final String TEXT_300 = " baseClass)" + NL + "\t{";
@@ -332,7 +369,9 @@
protected final String TEXT_303 = NL + "\t\t\t\tcase ";
protected final String TEXT_304 = ": return ";
protected final String TEXT_305 = ";";
- protected final String TEXT_306 = NL + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_306 = NL
+ + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL
+ + "\t\t}";
protected final String TEXT_307 = NL + "\t\tif (baseClass == ";
protected final String TEXT_308 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{";
protected final String TEXT_309 = NL + "\t\t\t\tcase ";
@@ -346,29 +385,39 @@
protected final String TEXT_317 = ": return ";
protected final String TEXT_318 = ";";
protected final String TEXT_319 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
- protected final String TEXT_320 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t}" + NL;
- protected final String TEXT_321 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_320 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_321 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_322 = NL + "\t@Override";
protected final String TEXT_323 = NL + "\tprotected Object[] eVirtualValues()" + NL + "\t{" + NL + "\t\treturn ";
- protected final String TEXT_324 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_324 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_325 = NL + "\t@Override";
- protected final String TEXT_326 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_326 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL
+ + "\t\t";
protected final String TEXT_327 = " = newValues;" + NL + "\t}" + NL;
- protected final String TEXT_328 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_328 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_329 = NL + "\t@Override";
- protected final String TEXT_330 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{";
+ protected final String TEXT_330 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL
+ + "\t\tswitch (offset)" + NL + "\t\t{";
protected final String TEXT_331 = NL + "\t\t\tcase ";
protected final String TEXT_332 = " :" + NL + "\t\t\t\treturn ";
protected final String TEXT_333 = ";";
- protected final String TEXT_334 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
- + "\t */";
+ protected final String TEXT_334 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();"
+ + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_335 = NL + "\t@Override";
- protected final String TEXT_336 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{";
+ protected final String TEXT_336 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL
+ + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{";
protected final String TEXT_337 = NL + "\t\t\tcase ";
protected final String TEXT_338 = " :" + NL + "\t\t\t\t";
protected final String TEXT_339 = " = newIndexBits;" + NL + "\t\t\t\tbreak;";
- protected final String TEXT_340 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_341 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_340 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();"
+ + NL + "\t\t}" + NL + "\t}" + NL;
+ protected final String TEXT_341 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_342 = NL + "\t@Override";
protected final String TEXT_343 = NL + "\t@SuppressWarnings(";
protected final String TEXT_344 = "\"unchecked\"";
@@ -416,9 +465,12 @@
protected final String TEXT_386 = NL + "\t\treturn super.eInvoke(operationID, arguments);";
protected final String TEXT_387 = NL + "\t\treturn eDynamicInvoke(operationID, arguments);";
protected final String TEXT_388 = NL + "\t}" + NL;
- protected final String TEXT_389 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_389 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_390 = NL + "\t@Override";
- protected final String TEXT_391 = NL + "\tpublic String toString()" + NL + "\t{" + NL + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL + "\t\tStringBuffer result = new StringBuffer(super.toString());";
+ protected final String TEXT_391 = NL + "\tpublic String toString()" + NL + "\t{" + NL
+ + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL
+ + "\t\tStringBuffer result = new StringBuffer(super.toString());";
protected final String TEXT_392 = NL + "\t\tresult.append(\" (";
protected final String TEXT_393 = ": \");";
protected final String TEXT_394 = NL + "\t\tresult.append(\", ";
@@ -464,19 +516,27 @@
protected final String TEXT_434 = "_EFLAG_OFFSET]);";
protected final String TEXT_435 = NL + "\t\tresult.append(";
protected final String TEXT_436 = ");";
- protected final String TEXT_437 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL + "\t}" + NL;
- protected final String TEXT_438 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_437 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL
+ + "\t}" + NL;
+ protected final String TEXT_438 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_439 = NL + "\t@";
- protected final String TEXT_440 = NL + "\tprotected int hash = -1;" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int getHash()" + NL + "\t{" + NL
- + "\t\tif (hash == -1)" + NL + "\t\t{" + NL + "\t\t\t";
- protected final String TEXT_441 = " theKey = getKey();" + NL + "\t\t\thash = (theKey == null ? 0 : theKey.hashCode());" + NL + "\t\t}" + NL + "\t\treturn hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
- + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setHash(int hash)" + NL + "\t{" + NL + "\t\tthis.hash = hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
- + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_440 = NL + "\tprotected int hash = -1;" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic int getHash()" + NL + "\t{" + NL + "\t\tif (hash == -1)" + NL + "\t\t{" + NL
+ + "\t\t\t";
+ protected final String TEXT_441 = " theKey = getKey();" + NL
+ + "\t\t\thash = (theKey == null ? 0 : theKey.hashCode());" + NL + "\t\t}" + NL + "\t\treturn hash;" + NL
+ + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setHash(int hash)" + NL + "\t{" + NL
+ + "\t\tthis.hash = hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_442 = " getKey()" + NL + "\t{";
protected final String TEXT_443 = NL + "\t\treturn new ";
protected final String TEXT_444 = "(getTypedKey());";
protected final String TEXT_445 = NL + "\t\treturn getTypedKey();";
- protected final String TEXT_446 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey(";
+ protected final String TEXT_446 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey(";
protected final String TEXT_447 = " key)" + NL + "\t{";
protected final String TEXT_448 = NL + "\t\tgetTypedKey().addAll(";
protected final String TEXT_449 = "(";
@@ -488,12 +548,14 @@
protected final String TEXT_455 = "());";
protected final String TEXT_456 = NL + "\t\tsetTypedKey((";
protected final String TEXT_457 = ")key);";
- protected final String TEXT_458 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_458 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_459 = " getValue()" + NL + "\t{";
protected final String TEXT_460 = NL + "\t\treturn new ";
protected final String TEXT_461 = "(getTypedValue());";
protected final String TEXT_462 = NL + "\t\treturn getTypedValue();";
- protected final String TEXT_463 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_463 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_464 = " setValue(";
protected final String TEXT_465 = " value)" + NL + "\t{" + NL + "\t\t";
protected final String TEXT_466 = " oldValue = getValue();";
@@ -507,7 +569,9 @@
protected final String TEXT_474 = "());";
protected final String TEXT_475 = NL + "\t\tsetTypedValue((";
protected final String TEXT_476 = ")value);";
- protected final String TEXT_477 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_477 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_478 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_479 = NL + "\tpublic ";
protected final String TEXT_480 = " getEMap()" + NL + "\t{" + NL + "\t\t";
@@ -590,7 +654,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenClass genClass = parameter;
targetPath = genClass.getGenModel().getModelDirectory();
@@ -610,9 +675,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -640,10 +707,14 @@
final boolean isGWT = genModel.getRuntimePlatform() == GenRuntimePlatform.GWT;
final String publicStaticFinalFlag = isImplementation ? "public static final " : "";
final String singleWildcard = isJDK50 ? "<?>" : "";
- final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - " + genClass.getOffsetCorrectionField(null) : "";
- final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(null) : "";
- final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION" : "";
- final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION" : "";
+ final String negativeOffsetCorrection = genClass.hasOffsetCorrection() ? " - "
+ + genClass.getOffsetCorrectionField(null) : "";
+ final String positiveOffsetCorrection = genClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(null) : "";
+ final String negativeOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " - EOPERATION_OFFSET_CORRECTION"
+ : "";
+ final String positiveOperationOffsetCorrection = genClass.hasOffsetCorrection() ? " + EOPERATION_OFFSET_CORRECTION"
+ : "";
stringBuffer.append(TEXT_1);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%>
@@ -654,7 +725,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -696,7 +770,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_BsLUkeXDEeCxnsoQRwU99Q", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_BsLUkeXDEeCxnsoQRwU99Q",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -778,7 +854,8 @@
stringBuffer.append(TEXT_36);
if (isGWT) {
stringBuffer.append(TEXT_37);
- stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ stringBuffer
+ .append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
}
stringBuffer.append(TEXT_38);
stringBuffer.append(eVirtualIndexBitField);
@@ -787,7 +864,8 @@
}
}
}
- if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled() && genModel.getBooleanFlagsReservedBits() == -1) {
+ if (isImplementation && genClass.isModelRoot() && genModel.isBooleanFlagsEnabled()
+ && genModel.getBooleanFlagsReservedBits() == -1) {
stringBuffer.append(TEXT_40);
if (isGWT) {
stringBuffer.append(TEXT_41);
@@ -799,7 +877,8 @@
}
if (isImplementation && !genModel.isReflectiveDelegation()) {
for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {
- if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
String rawListItemType = genFeature.getRawListItemType(genClass);
int index = rawListItemType.indexOf('[');
String head = rawListItemType;
@@ -815,7 +894,8 @@
stringBuffer.append(TEXT_46);
stringBuffer.append(genFeature.getGetArrayAccessor());
stringBuffer.append(TEXT_47);
- if (genFeature.getQualifiedListItemType(genClass).contains("<") || genFeature.getArrayItemType(genClass).contains("<")) {
+ if (genFeature.getQualifiedListItemType(genClass).contains("<")
+ || genFeature.getArrayItemType(genClass).contains("<")) {
stringBuffer.append(TEXT_48);
}
stringBuffer.append(TEXT_49);
@@ -853,7 +933,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0u0bgWJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0u0bgWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -887,7 +970,8 @@
}
}
}
- if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection() && !genClass.getImplementedGenOperations().isEmpty()) {
+ if (genModel.isOperationReflection() && isImplementation && genClass.hasOffsetCorrection()
+ && !genClass.getImplementedGenOperations().isEmpty()) {
stringBuffer.append(TEXT_65);
stringBuffer.append(genClass.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_66);
@@ -928,7 +1012,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_K9da0HroEeC0XN9kbwkPYQ", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_K9da0HroEeC0XN9kbwkPYQ",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -975,7 +1061,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vQgYGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vQgYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -984,7 +1072,8 @@
new Runnable() {
public void run() {
GenClass classExtendsGenClass = genClass.getClassExtendsGenClass();
- List<GenFeature> classExtendsAllGenFeatures = classExtendsGenClass == null ? Collections.<GenFeature> emptyList() : classExtendsGenClass.getAllGenFeatures();
+ List<GenFeature> classExtendsAllGenFeatures = classExtendsGenClass == null ? Collections
+ .<GenFeature> emptyList() : classExtendsGenClass.getAllGenFeatures();
for (GenFeature genFeature : genClass.getReifiedGenFeatures()) {
stringBuffer.append(TEXT_86);
{
@@ -1011,7 +1100,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_onysQLM-EeKd56X4hcZPSw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_onysQLM-EeKd56X4hcZPSw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -1022,7 +1114,8 @@
}
new Runnable() {
public void run() {
- for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass.getDeclaredGenFeatures())) {
+ for (GenFeature genFeature : (isImplementation ? genClass.getImplementedGenFeatures() : genClass
+ .getDeclaredGenFeatures())) {
stringBuffer.append(TEXT_87);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genFeature.override" args="genFeature:genFeature,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
@@ -1046,7 +1139,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vaRYGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vaRYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -1054,7 +1150,8 @@
}//for
}
}.run();
- for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass.getDeclaredGenOperations())) {
+ for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass
+ .getDeclaredGenOperations())) {
stringBuffer.append(TEXT_88);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.genOperation.override" args="genOperation:genOperation,genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
@@ -1078,13 +1175,16 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01-MYGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01-MYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
//Class/implementedGenOperation.override.javajetinc
}//for
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) {
stringBuffer.append(TEXT_89);
if (genModel.useGenerics()) {
for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) {
@@ -1111,8 +1211,11 @@
stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
stringBuffer.append(TEXT_98);
if (genFeature.isListType()) {
- String cast = "(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")
- + (!genModel.useGenerics() ? ")" : "<" + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");
+ String cast = "("
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")
+ + (!genModel.useGenerics() ? ")" : "<"
+ + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)("
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)");
if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
stringBuffer.append(TEXT_99);
stringBuffer.append(cast);
@@ -1155,7 +1258,8 @@
stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
stringBuffer.append(positiveOffsetCorrection);
stringBuffer.append(TEXT_116);
- } else if (genFeature.isVolatile() || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {
+ } else if (genFeature.isVolatile()
+ || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) {
stringBuffer.append(TEXT_117);
stringBuffer.append(genFeature.getImportedType(genClass));
stringBuffer.append(TEXT_118);
@@ -1184,7 +1288,8 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_128);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
stringBuffer.append(TEXT_129);
@@ -1211,7 +1316,8 @@
}
stringBuffer.append(TEXT_139);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) {
stringBuffer.append(TEXT_140);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_141);
@@ -1281,7 +1387,8 @@
}
stringBuffer.append(TEXT_170);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) {
stringBuffer.append(TEXT_171);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_172);
@@ -1296,7 +1403,8 @@
for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_177);
stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
stringBuffer.append(TEXT_178);
@@ -1314,7 +1422,8 @@
}
stringBuffer.append(TEXT_184);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEGetGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEGetGenFeatures())) {
stringBuffer.append(TEXT_185);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_186);
@@ -1396,11 +1505,13 @@
}
stringBuffer.append(TEXT_222);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getESetGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getESetGenFeatures())) {
stringBuffer.append(TEXT_223);
if (genModel.useGenerics()) {
for (GenFeature genFeature : genClass.getESetGenFeatures()) {
- if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
stringBuffer.append(TEXT_224);
break;
}
@@ -1475,7 +1586,8 @@
stringBuffer.append(TEXT_255);
stringBuffer.append(genFeature.getAccessorName());
stringBuffer.append(TEXT_256);
- if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType() || !genFeature.getRawType().equals(genFeature.getType(genClass))) {
+ if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()
+ || !genFeature.getRawType().equals(genFeature.getType(genClass))) {
stringBuffer.append(TEXT_257);
stringBuffer.append(genFeature.getObjectType(genClass));
stringBuffer.append(TEXT_258);
@@ -1492,7 +1604,8 @@
}
stringBuffer.append(TEXT_264);
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEUnsetGenFeatures())) {
stringBuffer.append(TEXT_265);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eUnset.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
@@ -1515,13 +1628,16 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03KfMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03KfMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
//Class/eUnset.override.javajetinc
}
- if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {
+ if (isImplementation && !genModel.isReflectiveDelegation()
+ && genClass.implementsAny(genClass.getEIsSetGenFeatures())) {
stringBuffer.append(TEXT_266);
{
//<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#LogicalName=org.eclipse.egf.emf.pattern.model.call.Interface.Interface.eIsSet.override" args="genClass:genClass,genPackage:genPackage,genModel:genModel,isJDK50:isJDK50,isInterface:isInterface,isImplementation:isImplementation,isGWT:isGWT,publicStaticFinalFlag:publicStaticFinalFlag,singleWildcard:singleWildcard,negativeOffsetCorrection:negativeOffsetCorrection,positiveOffsetCorrection:positiveOffsetCorrection,negativeOperationOffsetCorrection:negativeOperationOffsetCorrection,positiveOperationOffsetCorrection:positiveOperationOffsetCorrection"%>
@@ -1544,13 +1660,17 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03TpIGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03TpIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
//Class/eIsSet.override.javajetinc
}
- if (isImplementation && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty())) {
+ if (isImplementation
+ && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection()
+ && !genClass.getGenFeatures().isEmpty())) {
if (!genClass.getMixinGenFeatures().isEmpty()) {
stringBuffer.append(TEXT_267);
if (genModel.useClassOverrideAnnotation()) {
@@ -1615,8 +1735,12 @@
}
stringBuffer.append(TEXT_296);
}
- if (genModel.isOperationReflection() && isImplementation
- && (!genClass.getMixinGenOperations().isEmpty() || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(), genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) {
+ if (genModel.isOperationReflection()
+ && isImplementation
+ && (!genClass.getMixinGenOperations().isEmpty()
+ || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(),
+ genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection()
+ && !genClass.getGenOperations().isEmpty())) {
stringBuffer.append(TEXT_297);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_298);
@@ -1627,7 +1751,8 @@
for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) {
List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations();
List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations();
- if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations).isEmpty()) {
+ if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations)
+ .isEmpty()) {
stringBuffer.append(TEXT_301);
stringBuffer.append(extendedGenClass.getRawImportedInterfaceName());
stringBuffer.append(TEXT_302);
@@ -1654,7 +1779,10 @@
stringBuffer.append(TEXT_309);
stringBuffer.append(mixinGenClass.getQualifiedOperationID(genOperation));
stringBuffer.append(TEXT_310);
- stringBuffer.append(genClass.getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation : genOperation));
+ stringBuffer
+ .append(genClass
+ .getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation
+ : genOperation));
stringBuffer.append(positiveOperationOffsetCorrection);
stringBuffer.append(TEXT_311);
}
@@ -1698,7 +1826,8 @@
{
List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>());
if (!eVirtualIndexBitFields.isEmpty()) {
- List<String> allEVirtualIndexBitFields = genClass.getAllEVirtualIndexBitFields(new ArrayList<String>());
+ List<String> allEVirtualIndexBitFields = genClass
+ .getAllEVirtualIndexBitFields(new ArrayList<String>());
stringBuffer.append(TEXT_328);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_329);
@@ -1735,13 +1864,17 @@
if (genModel.useGenerics()) {
boolean isUnchecked = false;
boolean isRaw = false;
- LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) {
+ LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass
+ .getImplementedGenOperations() : genClass.getAllGenOperations())) {
for (GenParameter genParameter : genOperation.getGenParameters()) {
if (genParameter.isUncheckedCast()) {
- if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType()) {
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()) {
isUnchecked = true;
}
- if (genParameter.usesOperationTypeParameters() && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments().isEmpty()) {
+ if (genParameter.usesOperationTypeParameters()
+ && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments()
+ .isEmpty()) {
isRaw = true;
break LOOP;
}
@@ -1762,11 +1895,14 @@
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EList"));
stringBuffer.append(singleWildcard);
stringBuffer.append(TEXT_348);
- stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
stringBuffer.append(TEXT_349);
stringBuffer.append(negativeOperationOffsetCorrection);
stringBuffer.append(TEXT_350);
- for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) {
+ for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass
+ .getImplementedGenOperations() : genClass.getAllGenOperations())) {
List<GenParameter> genParameters = genOperation.getGenParameters();
int size = genParameters.size();
boolean hasCheckedException = genOperation.hasCheckedException();
@@ -1787,9 +1923,13 @@
if (!isJDK50 && genParameter.isPrimitiveType()) {
stringBuffer.append(TEXT_356);
}
- if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()
+ || !genParameter.usesOperationTypeParameters()
+ && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
stringBuffer.append(TEXT_357);
- stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass));
+ stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter
+ .getRawImportedType() : genParameter.getObjectType(genClass));
stringBuffer.append(TEXT_358);
}
stringBuffer.append(TEXT_359);
@@ -1823,9 +1963,13 @@
if (!isJDK50 && genParameter.isPrimitiveType()) {
stringBuffer.append(TEXT_371);
}
- if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
+ if (genParameter.getTypeGenDataType() == null
+ || !genParameter.getTypeGenDataType().isObjectType()
+ || !genParameter.usesOperationTypeParameters()
+ && !genParameter.getRawType().equals(genParameter.getType(genClass))) {
stringBuffer.append(TEXT_372);
- stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass));
+ stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter
+ .getRawImportedType() : genParameter.getObjectType(genClass));
stringBuffer.append(TEXT_373);
}
stringBuffer.append(TEXT_374);
@@ -1850,7 +1994,9 @@
stringBuffer.append(TEXT_382);
stringBuffer.append(genModel.getImportedName("java.lang.Throwable"));
stringBuffer.append(TEXT_383);
- stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
stringBuffer.append(TEXT_384);
}
}
@@ -1862,7 +2008,8 @@
}
stringBuffer.append(TEXT_388);
}
- if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {
+ if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation()
+ && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {
stringBuffer.append(TEXT_389);
if (genModel.useClassOverrideAnnotation()) {
stringBuffer.append(TEXT_390);
@@ -2000,7 +2147,8 @@
String objectType = genModel.getImportedName("java.lang.Object");
String keyType = isJDK50 ? keyFeature.getObjectType(genClass) : objectType;
String valueType = isJDK50 ? valueFeature.getObjectType(genClass) : objectType;
- String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap") + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");
+ String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap")
+ + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : "");
stringBuffer.append(TEXT_438);
if (isGWT) {
stringBuffer.append(TEXT_439);
@@ -2114,7 +2262,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03daIGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03daIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -2130,8 +2280,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenClass genClass = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
- canGenerate = canGenerate && (!genClass.isExternalInterface() && (!genModel.isSuppressInterfaces() || genClass.isInterface()));
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (!genClass.isExternalInterface() && (!genModel.isSuppressInterfaces() || genClass.isInterface()));
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ManifestMF.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ManifestMF.java
index ad79d0a..a142e08 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ManifestMF.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ManifestMF.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:14 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,8 +26,10 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
- protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL + "Bundle-ClassPath: ";
+ protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL
+ + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
+ protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL
+ + "Bundle-ClassPath: ";
protected final String TEXT_3 = ".jar";
protected final String TEXT_4 = ".";
protected final String TEXT_5 = NL + "Bundle-Activator: ";
@@ -125,7 +127,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getModelProjectDirectory() + "/META-INF/MANIFEST.MF";
@@ -145,9 +148,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -227,7 +232,8 @@
if (genModel.isOSGiCompatible()) {
stringBuffer.append(TEXT_21);
}
- } else {
+ } else if (!pluginID.equals("org.eclipse.xtext.xbase.lib")
+ && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {
stringBuffer.append(TEXT_22);
}
}
@@ -235,7 +241,8 @@
if (genModel.isOSGiCompatible() && genModel.hasModelPluginClass()) {
stringBuffer.append(TEXT_23);
}
- if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
+ if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22
+ || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
stringBuffer.append(TEXT_24);
}
stringBuffer.append(TEXT_25);
@@ -246,8 +253,12 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
- canGenerate = canGenerate && (genModel.isBundleManifest()) && (genModel.hasPluginSupport() && !genModel.sameModelEditProject() && !genModel.sameModelEditorProject());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genModel.isBundleManifest())
+ && (genModel.hasPluginSupport() && !genModel.sameModelEditProject() && !genModel
+ .sameModelEditorProject());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ModuleGWTXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ModuleGWTXML.java
index 79af1a2..1c79da8 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ModuleGWTXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ModuleGWTXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,10 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">" + NL;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ + NL
+ + "<!DOCTYPE module PUBLIC \"-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN\" \"http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd\">"
+ + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL + NL + "<module>";
protected final String TEXT_4 = NL + " <inherits name=\"";
@@ -108,10 +111,12 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
- targetPathName = genModel.getModelDirectory() + "/" + genModel.getQualifiedModelModuleName().replace(".", "/") + ".gwt.xml";
+ targetPathName = genModel.getModelDirectory() + "/" + genModel.getQualifiedModelModuleName().replace(".", "/")
+ + ".gwt.xml";
overwrite = false;
encoding = "UTF-8";
@@ -128,9 +133,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -162,7 +169,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -185,8 +195,11 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
- canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT && !genModel.sameModelEditProject() && !genModel.sameModelEditorProject());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT && !genModel.sameModelEditProject() && !genModel
+ .sameModelEditorProject());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageClass.java
index 9e67949..7410817 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:15 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -32,10 +32,13 @@
protected final String TEXT_4 = NL + "package ";
protected final String TEXT_5 = ";";
protected final String TEXT_6 = NL;
- protected final String TEXT_7 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Package</b> for the model." + NL + " * It contains accessors for the meta objects to represent" + NL + " * <ul>" + NL + " * <li>each class,</li>" + NL
- + " * <li>each feature of each class,</li>";
+ protected final String TEXT_7 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Package</b> for the model." + NL
+ + " * It contains accessors for the meta objects to represent" + NL + " * <ul>" + NL
+ + " * <li>each class,</li>" + NL + " * <li>each feature of each class,</li>";
protected final String TEXT_8 = NL + " * <li>each operation of each class,</li>";
- protected final String TEXT_9 = NL + " * <li>each enum,</li>" + NL + " * <li>and each data type</li>" + NL + " * </ul>" + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_9 = NL + " * <li>each enum,</li>" + NL + " * <li>and each data type</li>" + NL
+ + " * </ul>" + NL + " * <!-- end-user-doc -->";
protected final String TEXT_10 = NL + " * <!-- begin-model-doc -->" + NL + " * ";
protected final String TEXT_11 = NL + " * <!-- end-model-doc -->";
protected final String TEXT_12 = NL + " * @see ";
@@ -43,44 +46,60 @@
protected final String TEXT_14 = NL + " * ";
protected final String TEXT_15 = NL + " * @model";
protected final String TEXT_16 = NL + " * @generated" + NL + " */";
- protected final String TEXT_17 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * An implementation of the model <b>Package</b>." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */";
+ protected final String TEXT_17 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model <b>Package</b>." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @generated" + NL + " */";
protected final String TEXT_18 = NL + "public class ";
protected final String TEXT_19 = " extends ";
protected final String TEXT_20 = " implements ";
protected final String TEXT_21 = NL + "public interface ";
protected final String TEXT_22 = " extends ";
protected final String TEXT_23 = NL + "{";
- protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_25 = " copyright = ";
protected final String TEXT_26 = ";";
protected final String TEXT_27 = NL;
- protected final String TEXT_28 = NL + "\t/**" + NL + "\t * The package name." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_28 = NL + "\t/**" + NL + "\t * The package name." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_29 = " eNAME = \"";
protected final String TEXT_30 = "\";";
- protected final String TEXT_31 = NL + NL + "\t/**" + NL + "\t * The package namespace URI." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_31 = NL + NL + "\t/**" + NL + "\t * The package namespace URI." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_32 = " eNS_URI = \"";
protected final String TEXT_33 = "\";";
- protected final String TEXT_34 = NL + NL + "\t/**" + NL + "\t * The package namespace name." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_34 = NL + NL + "\t/**" + NL + "\t * The package namespace name." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_35 = " eNS_PREFIX = \"";
protected final String TEXT_36 = "\";";
- protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * The package content type ID." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * The package content type ID." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_38 = " eCONTENT_TYPE = \"";
protected final String TEXT_39 = "\";";
- protected final String TEXT_40 = NL + NL + "\t/**" + NL + "\t * The singleton instance of the package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_40 = NL + NL + "\t/**" + NL + "\t * The singleton instance of the package." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_41 = " eINSTANCE = ";
protected final String TEXT_42 = ".init();" + NL;
protected final String TEXT_43 = NL + "\t/**";
protected final String TEXT_44 = NL + "\t * The meta object id for the '{@link ";
protected final String TEXT_45 = " <em>";
- protected final String TEXT_46 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_46 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_47 = NL + "\t * The meta object id for the '{@link ";
protected final String TEXT_48 = " <em>";
- protected final String TEXT_49 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_49 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_50 = NL + "\t * The meta object id for the '{@link ";
protected final String TEXT_51 = " <em>";
- protected final String TEXT_52 = "</em>}' enum." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_52 = "</em>}' enum." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_53 = NL + "\t * The meta object id for the '<em>";
- protected final String TEXT_54 = "</em>' data type." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_54 = "</em>' data type." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->";
protected final String TEXT_55 = NL + "\t * @see ";
protected final String TEXT_56 = NL + "\t * @see ";
protected final String TEXT_57 = "#get";
@@ -90,41 +109,79 @@
protected final String TEXT_61 = ";" + NL;
protected final String TEXT_62 = NL + "\t/**" + NL + "\t * The feature id for the '<em><b>";
protected final String TEXT_63 = "</b></em>' ";
- protected final String TEXT_64 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_64 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_65 = "int ";
protected final String TEXT_66 = " = ";
protected final String TEXT_67 = ";" + NL;
protected final String TEXT_68 = NL + "\t/**" + NL + "\t * The number of structural features of the '<em>";
- protected final String TEXT_69 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_69 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_70 = "int ";
protected final String TEXT_71 = " = ";
protected final String TEXT_72 = ";" + NL;
protected final String TEXT_73 = NL + "\t/**" + NL + "\t * The operation id for the '<em>";
- protected final String TEXT_74 = "</em>' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_74 = "</em>' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_75 = "int ";
protected final String TEXT_76 = " = ";
protected final String TEXT_77 = ";" + NL;
protected final String TEXT_78 = NL + "\t/**" + NL + "\t * The number of operations of the '<em>";
- protected final String TEXT_79 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_79 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_80 = "int ";
protected final String TEXT_81 = " = ";
protected final String TEXT_82 = ";" + NL;
- protected final String TEXT_83 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected String packageFilename = \"";
+ protected final String TEXT_83 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected String packageFilename = \"";
protected final String TEXT_84 = "\";";
protected final String TEXT_85 = NL;
- protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
+ protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
protected final String TEXT_87 = " ";
protected final String TEXT_88 = " = null;" + NL;
- protected final String TEXT_89 = NL + "\t/**" + NL + "\t * Creates an instance of the model <b>Package</b>, registered with" + NL + "\t * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package" + NL + "\t * package URI value." + NL
- + "\t * <p>Note: the correct way to create the package is via the static" + NL + "\t * factory method {@link #init init()}, which also performs" + NL + "\t * initialization of the package, or returns the registered package," + NL + "\t * if one already exists." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see org.eclipse.emf.ecore.EPackage.Registry" + NL + "\t * @see ";
- protected final String TEXT_90 = "#eNS_URI" + NL + "\t * @see #init()" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
+ protected final String TEXT_89 = NL + "\t/**" + NL
+ + "\t * Creates an instance of the model <b>Package</b>, registered with" + NL
+ + "\t * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package" + NL
+ + "\t * package URI value." + NL + "\t * <p>Note: the correct way to create the package is via the static"
+ + NL + "\t * factory method {@link #init init()}, which also performs" + NL
+ + "\t * initialization of the package, or returns the registered package," + NL
+ + "\t * if one already exists." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @see org.eclipse.emf.ecore.EPackage.Registry" + NL + "\t * @see ";
+ protected final String TEXT_90 = "#eNS_URI" + NL + "\t * @see #init()" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate ";
protected final String TEXT_91 = "()" + NL + "\t{" + NL + "\t\tsuper(eNS_URI, ";
- protected final String TEXT_92 = ");" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static boolean isInited = false;" + NL + "" + NL + "\t/**" + NL
- + "\t * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends." + NL + "\t * " + NL + "\t * <p>This method is used to initialize {@link ";
- protected final String TEXT_93 = "#eINSTANCE} when that field is accessed." + NL + "\t * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
- + NL + "\t * @see #eNS_URI";
- protected final String TEXT_94 = NL + "\t * @see #createPackageContents()" + NL + "\t * @see #initializePackageContents()";
+ protected final String TEXT_92 = ");"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprivate static boolean isInited = false;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends."
+ + NL + "\t * " + NL + "\t * <p>This method is used to initialize {@link ";
+ protected final String TEXT_93 = "#eINSTANCE} when that field is accessed."
+ + NL
+ + "\t * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #eNS_URI";
+ protected final String TEXT_94 = NL + "\t * @see #createPackageContents()" + NL
+ + "\t * @see #initializePackageContents()";
protected final String TEXT_95 = NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
protected final String TEXT_96 = " init()" + NL + "\t{" + NL + "\t\tif (isInited) return (";
protected final String TEXT_97 = ")";
@@ -186,35 +243,48 @@
protected final String TEXT_153 = ".INSTANCE;" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL;
protected final String TEXT_154 = NL + "\t\t// Mark meta-data to indicate it can't be changed" + NL + "\t\tthe";
protected final String TEXT_155 = ".freeze();" + NL;
- protected final String TEXT_156 = NL + " " + NL + "\t\t// Update the registry and return the package" + NL + "\t\t";
+ protected final String TEXT_156 = NL + " " + NL + "\t\t// Update the registry and return the package" + NL
+ + "\t\t";
protected final String TEXT_157 = ".Registry.INSTANCE.put(";
protected final String TEXT_158 = ".eNS_URI, the";
protected final String TEXT_159 = ");" + NL + "\t\treturn the";
protected final String TEXT_160 = ";" + NL + "\t}";
- protected final String TEXT_161 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static void initializeRegistryHelpers()" + NL + "\t{";
+ protected final String TEXT_161 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void initializeRegistryHelpers()" + NL + "\t{";
protected final String TEXT_162 = NL + "\t\t";
protected final String TEXT_163 = ".register" + NL + "\t\t\t(";
protected final String TEXT_164 = ".class, " + NL + "\t\t\t new ";
- protected final String TEXT_165 = ".Helper() " + NL + "\t\t\t {" + NL + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return instance instanceof ";
- protected final String TEXT_166 = ";" + NL + "\t\t\t\t }" + NL + "" + NL + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return new ";
+ protected final String TEXT_165 = ".Helper() " + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t return instance instanceof ";
+ protected final String TEXT_166 = ";" + NL + "\t\t\t\t }" + NL + "" + NL
+ + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return new ";
protected final String TEXT_167 = "[size];" + NL + "\t\t\t\t }" + NL + "\t\t\t });";
protected final String TEXT_168 = NL + "\t\t";
protected final String TEXT_169 = ".register" + NL + "\t\t\t(";
protected final String TEXT_170 = ".class, " + NL + "\t\t\t new ";
- protected final String TEXT_171 = ".Helper() " + NL + "\t\t\t {" + NL + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return instance instanceof ";
- protected final String TEXT_172 = ";" + NL + "\t\t\t\t }" + NL + "" + NL + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {";
+ protected final String TEXT_171 = ".Helper() " + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t return instance instanceof ";
+ protected final String TEXT_172 = ";" + NL + "\t\t\t\t }" + NL + "" + NL
+ + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {";
protected final String TEXT_173 = NL + "\t\t\t\t\t return new ";
protected final String TEXT_174 = "[size]";
protected final String TEXT_175 = ";";
protected final String TEXT_176 = NL + "\t\t\t\t\t return new ";
protected final String TEXT_177 = "[size];";
protected final String TEXT_178 = NL + "\t\t\t\t }" + NL + "\t\t});";
- protected final String TEXT_179 = NL + "\t}" + NL + "" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class WhiteList implements ";
+ protected final String TEXT_179 = NL + "\t}" + NL + "" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class WhiteList implements ";
protected final String TEXT_180 = ", EBasicWhiteList" + NL + "\t{";
- protected final String TEXT_181 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_181 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
protected final String TEXT_182 = " ";
protected final String TEXT_183 = ";" + NL;
- protected final String TEXT_184 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_184 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
protected final String TEXT_185 = " ";
protected final String TEXT_186 = ";" + NL;
protected final String TEXT_187 = NL + "\t}";
@@ -223,28 +293,32 @@
protected final String TEXT_190 = NL + "\t/**";
protected final String TEXT_191 = NL + "\t * Returns the meta object for class '{@link ";
protected final String TEXT_192 = " <em>";
- protected final String TEXT_193 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for class '<em>";
+ protected final String TEXT_193 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for class '<em>";
protected final String TEXT_194 = "</em>'." + NL + "\t * @see ";
protected final String TEXT_195 = NL + "\t * @model ";
protected final String TEXT_196 = NL + "\t * ";
protected final String TEXT_197 = NL + "\t * @model";
protected final String TEXT_198 = NL + "\t * Returns the meta object for enum '{@link ";
protected final String TEXT_199 = " <em>";
- protected final String TEXT_200 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for enum '<em>";
+ protected final String TEXT_200 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for enum '<em>";
protected final String TEXT_201 = "</em>'." + NL + "\t * @see ";
protected final String TEXT_202 = NL + "\t * Returns the meta object for data type '<em>";
protected final String TEXT_203 = "</em>'.";
protected final String TEXT_204 = NL + "\t * Returns the meta object for data type '{@link ";
protected final String TEXT_205 = " <em>";
protected final String TEXT_206 = "</em>}'.";
- protected final String TEXT_207 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for data type '<em>";
+ protected final String TEXT_207 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the meta object for data type '<em>";
protected final String TEXT_208 = "</em>'.";
protected final String TEXT_209 = NL + "\t * @see ";
protected final String TEXT_210 = NL + "\t * @model ";
protected final String TEXT_211 = NL + "\t * ";
protected final String TEXT_212 = NL + "\t * @model";
protected final String TEXT_213 = NL + "\t * @generated" + NL + "\t */";
- protected final String TEXT_214 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_214 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_215 = NL + "\tpublic ";
protected final String TEXT_216 = " get";
protected final String TEXT_217 = "()" + NL + "\t{";
@@ -264,14 +338,16 @@
protected final String TEXT_231 = " '{@link ";
protected final String TEXT_232 = "#";
protected final String TEXT_233 = " <em>";
- protected final String TEXT_234 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the ";
+ protected final String TEXT_234 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the ";
protected final String TEXT_235 = " '<em>";
protected final String TEXT_236 = "</em>'." + NL + "\t * @see ";
protected final String TEXT_237 = "#";
protected final String TEXT_238 = "()";
protected final String TEXT_239 = NL + "\t * @see #get";
protected final String TEXT_240 = "()" + NL + "\t * @generated" + NL + "\t */";
- protected final String TEXT_241 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_241 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_242 = NL + "\tpublic ";
protected final String TEXT_243 = " get";
protected final String TEXT_244 = "()" + NL + "\t{";
@@ -292,12 +368,14 @@
protected final String TEXT_259 = "#";
protected final String TEXT_260 = "(";
protected final String TEXT_261 = ") <em>";
- protected final String TEXT_262 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the '<em>";
+ protected final String TEXT_262 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the '<em>";
protected final String TEXT_263 = "</em>' operation." + NL + "\t * @see ";
protected final String TEXT_264 = "#";
protected final String TEXT_265 = "(";
protected final String TEXT_266 = ")" + NL + "\t * @generated" + NL + "\t */";
- protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_268 = NL + "\tpublic ";
protected final String TEXT_269 = " get";
protected final String TEXT_270 = "()" + NL + "\t{";
@@ -312,9 +390,13 @@
protected final String TEXT_279 = " get";
protected final String TEXT_280 = "();";
protected final String TEXT_281 = NL;
- protected final String TEXT_282 = NL + "\t/**" + NL + "\t * Returns the factory that creates the instances of the model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the factory that creates the instances of the model." + NL
- + "\t * @generated" + NL + "\t */";
- protected final String TEXT_283 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_282 = NL + "\t/**" + NL
+ + "\t * Returns the factory that creates the instances of the model." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the factory that creates the instances of the model." + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_283 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_284 = NL + "\tpublic ";
protected final String TEXT_285 = " get";
protected final String TEXT_286 = "()" + NL + "\t{" + NL + "\t\treturn (";
@@ -323,9 +405,14 @@
protected final String TEXT_289 = " get";
protected final String TEXT_290 = "();";
protected final String TEXT_291 = NL;
- protected final String TEXT_292 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate boolean isCreated = false;" + NL + "" + NL + "\t/**" + NL
- + "\t * Creates the meta-model objects for the package. This method is" + NL + "\t * guarded to have no affect on any invocation but its first." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void createPackageContents()" + NL + "\t{" + NL + "\t\tif (isCreated) return;" + NL + "\t\tisCreated = true;";
+ protected final String TEXT_292 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isCreated = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates the meta-model objects for the package. This method is" + NL
+ + "\t * guarded to have no affect on any invocation but its first." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void createPackageContents()" + NL + "\t{" + NL + "\t\tif (isCreated) return;" + NL
+ + "\t\tisCreated = true;";
protected final String TEXT_293 = NL + NL + "\t\t// Create classes and their features";
protected final String TEXT_294 = NL + "\t\t";
protected final String TEXT_295 = " = create";
@@ -347,10 +434,17 @@
protected final String TEXT_311 = NL + "\t\t";
protected final String TEXT_312 = " = createEDataType(";
protected final String TEXT_313 = ");";
- protected final String TEXT_314 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate boolean isInitialized = false;" + NL;
- protected final String TEXT_315 = NL + "\t/**" + NL + "\t * Complete the initialization of the package and its meta-model. This" + NL + "\t * method is guarded to have no affect on any invocation but its first." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void initializePackageContents()" + NL + "\t{" + NL + "\t\tif (isInitialized) return;" + NL + "\t\tisInitialized = true;" + NL + "" + NL + "\t\t// Initialize package" + NL
- + "\t\tsetName(eNAME);" + NL + "\t\tsetNsPrefix(eNS_PREFIX);" + NL + "\t\tsetNsURI(eNS_URI);";
+ protected final String TEXT_314 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isInitialized = false;" + NL;
+ protected final String TEXT_315 = NL + "\t/**" + NL
+ + "\t * Complete the initialization of the package and its meta-model. This" + NL
+ + "\t * method is guarded to have no affect on any invocation but its first." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void initializePackageContents()" + NL + "\t{" + NL
+ + "\t\tif (isInitialized) return;" + NL + "\t\tisInitialized = true;" + NL + "" + NL
+ + "\t\t// Initialize package" + NL + "\t\tsetName(eNAME);" + NL + "\t\tsetNsPrefix(eNS_PREFIX);" + NL
+ + "\t\tsetNsURI(eNS_URI);";
protected final String TEXT_316 = NL + NL + "\t\t// Obtain other dependent packages";
protected final String TEXT_317 = NL + "\t\t";
protected final String TEXT_318 = " ";
@@ -606,7 +700,8 @@
protected final String TEXT_568 = "Annotations();";
protected final String TEXT_569 = NL + "\t}" + NL;
protected final String TEXT_570 = NL + "\t/**" + NL + "\t * Initializes the annotations for <b>";
- protected final String TEXT_571 = "</b>." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void create";
+ protected final String TEXT_571 = "</b>." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void create";
protected final String TEXT_572 = "Annotations()" + NL + "\t{" + NL + "\t\tString source = ";
protected final String TEXT_573 = "null;";
protected final String TEXT_574 = "\"";
@@ -651,63 +746,95 @@
protected final String TEXT_613 = ",";
protected final String TEXT_614 = NL + "\t\t });";
protected final String TEXT_615 = NL + "\t}" + NL;
- protected final String TEXT_616 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate boolean isLoaded = false;" + NL + "" + NL + "\t/**" + NL
- + "\t * Laods the package and any sub-packages from their serialized form." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void loadPackage()" + NL + "\t{" + NL
- + "\t\tif (isLoaded) return;" + NL + "\t\tisLoaded = true;" + NL + "" + NL + "\t\t";
- protected final String TEXT_617 = " url = getClass().getResource(packageFilename);" + NL + "\t\tif (url == null)" + NL + "\t\t{" + NL + "\t\t\tthrow new RuntimeException(\"Missing serialized package: \" + packageFilename);";
+ protected final String TEXT_616 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isLoaded = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Laods the package and any sub-packages from their serialized form." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void loadPackage()" + NL + "\t{" + NL + "\t\tif (isLoaded) return;" + NL
+ + "\t\tisLoaded = true;" + NL + "" + NL + "\t\t";
+ protected final String TEXT_617 = " url = getClass().getResource(packageFilename);" + NL + "\t\tif (url == null)"
+ + NL + "\t\t{" + NL
+ + "\t\t\tthrow new RuntimeException(\"Missing serialized package: \" + packageFilename);";
protected final String TEXT_618 = NL + "\t\t}" + NL + "\t\t";
protected final String TEXT_619 = " uri = ";
protected final String TEXT_620 = ".createURI(url.toString());" + NL + "\t\t";
protected final String TEXT_621 = " resource = new ";
- protected final String TEXT_622 = "().createResource(uri);" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\tresource.load(null);" + NL + "\t\t}" + NL + "\t\tcatch (";
+ protected final String TEXT_622 = "().createResource(uri);" + NL + "\t\ttry" + NL + "\t\t{" + NL
+ + "\t\t\tresource.load(null);" + NL + "\t\t}" + NL + "\t\tcatch (";
protected final String TEXT_623 = " exception)" + NL + "\t\t{" + NL + "\t\t\tthrow new ";
protected final String TEXT_624 = "(exception);" + NL + "\t\t}" + NL + "\t\tinitializeFromLoadedEPackage(this, (";
- protected final String TEXT_625 = ")resource.getContents().get(0));" + NL + "\t\tcreateResource(eNS_URI);" + NL + "\t}" + NL;
- protected final String TEXT_626 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate boolean isFixed = false;" + NL + "" + NL + "\t/**" + NL
- + "\t * Fixes up the loaded package, to make it appear as if it had been programmatically built." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void fixPackageContents()" + NL
- + "\t{" + NL + "\t\tif (isFixed) return;" + NL + "\t\tisFixed = true;" + NL + "\t\tfixEClassifiers();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Sets the instance class on the given classifier." + NL + "\t * <!-- begin-user-doc -->" + NL
+ protected final String TEXT_625 = ")resource.getContents().get(0));" + NL + "\t\tcreateResource(eNS_URI);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_626 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isFixed = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Fixes up the loaded package, to make it appear as if it had been programmatically built." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void fixPackageContents()" + NL + "\t{" + NL + "\t\tif (isFixed) return;" + NL
+ + "\t\tisFixed = true;" + NL + "\t\tfixEClassifiers();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Sets the instance class on the given classifier." + NL + "\t * <!-- begin-user-doc -->" + NL
+ "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_627 = NL + "\t@Override";
protected final String TEXT_628 = NL + "\tprotected void fixInstanceClass(";
- protected final String TEXT_629 = " eClassifier)" + NL + "\t{" + NL + "\t\tif (eClassifier.getInstanceClassName() == null)" + NL + "\t\t{";
+ protected final String TEXT_629 = " eClassifier)" + NL + "\t{" + NL
+ + "\t\tif (eClassifier.getInstanceClassName() == null)" + NL + "\t\t{";
protected final String TEXT_630 = NL + "\t\t\teClassifier.setInstanceClassName(\"";
protected final String TEXT_631 = ".\" + eClassifier.getName());";
protected final String TEXT_632 = NL + "\t\t\tsetGeneratedClassName(eClassifier);";
protected final String TEXT_633 = NL + "\t\t\tswitch (eClassifier.getClassifierID())" + NL + "\t\t\t{";
protected final String TEXT_634 = NL + "\t\t\t\tcase ";
protected final String TEXT_635 = ":";
- protected final String TEXT_636 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tbreak;" + NL + "\t\t\t\t}" + NL + "\t\t\t\tdefault:" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\teClassifier.setInstanceClassName(\"";
+ protected final String TEXT_636 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tbreak;" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tdefault:" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\teClassifier.setInstanceClassName(\"";
protected final String TEXT_637 = ".\" + eClassifier.getName());";
- protected final String TEXT_638 = NL + "\t\t\t\t\tsetGeneratedClassName(eClassifier);" + NL + "\t\t\t\t\tbreak;" + NL + "\t\t\t\t}" + NL + "\t\t\t}";
+ protected final String TEXT_638 = NL + "\t\t\t\t\tsetGeneratedClassName(eClassifier);" + NL + "\t\t\t\t\tbreak;"
+ + NL + "\t\t\t\t}" + NL + "\t\t\t}";
protected final String TEXT_639 = NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_640 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_640 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_641 = " addEOperation(";
protected final String TEXT_642 = " owner, ";
- protected final String TEXT_643 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)" + NL + "\t{" + NL + "\t\t";
- protected final String TEXT_644 = " o = addEOperation(owner, type, name, lowerBound, upperBound);" + NL + "\t\to.setUnique(isUnique);" + NL + "\t\to.setOrdered(isOrdered);" + NL + "\t\treturn o;" + NL + "\t}" + NL + "\t";
- protected final String TEXT_645 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_643 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)"
+ + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_644 = " o = addEOperation(owner, type, name, lowerBound, upperBound);" + NL
+ + "\t\to.setUnique(isUnique);" + NL + "\t\to.setOrdered(isOrdered);" + NL + "\t\treturn o;" + NL + "\t}"
+ + NL + "\t";
+ protected final String TEXT_645 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_646 = " addEParameter(";
protected final String TEXT_647 = " owner, ";
- protected final String TEXT_648 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)" + NL + "\t{" + NL + "\t\t";
- protected final String TEXT_649 = " p = ecoreFactory.createEParameter();" + NL + "\t\tp.setEType(type);" + NL + "\t\tp.setName(name);" + NL + "\t\tp.setLowerBound(lowerBound);" + NL + "\t\tp.setUpperBound(upperBound);" + NL + "\t\tp.setUnique(isUnique);" + NL
- + "\t\tp.setOrdered(isOrdered);" + NL + "\t\towner.getEParameters().add(p);" + NL + "\t\treturn p;" + NL + "\t}" + NL + "\t";
- protected final String TEXT_650 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * Defines literals for the meta objects that represent" + NL + "\t * <ul>" + NL + "\t * <li>each class,</li>" + NL + "\t * <li>each feature of each class,</li>";
+ protected final String TEXT_648 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)"
+ + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_649 = " p = ecoreFactory.createEParameter();" + NL + "\t\tp.setEType(type);" + NL
+ + "\t\tp.setName(name);" + NL + "\t\tp.setLowerBound(lowerBound);" + NL
+ + "\t\tp.setUpperBound(upperBound);" + NL + "\t\tp.setUnique(isUnique);" + NL
+ + "\t\tp.setOrdered(isOrdered);" + NL + "\t\towner.getEParameters().add(p);" + NL + "\t\treturn p;" + NL
+ + "\t}" + NL + "\t";
+ protected final String TEXT_650 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * Defines literals for the meta objects that represent" + NL + "\t * <ul>" + NL
+ + "\t * <li>each class,</li>" + NL + "\t * <li>each feature of each class,</li>";
protected final String TEXT_651 = NL + "\t * <li>each operation of each class,</li>";
- protected final String TEXT_652 = NL + "\t * <li>each enum,</li>" + NL + "\t * <li>and each data type</li>" + NL + "\t * </ul>" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_652 = NL + "\t * <li>each enum,</li>" + NL + "\t * <li>and each data type</li>"
+ + NL + "\t * </ul>" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_653 = "public ";
protected final String TEXT_654 = "interface Literals" + NL + "\t{";
protected final String TEXT_655 = NL + "\t\t/**";
protected final String TEXT_656 = NL + "\t\t * The meta object literal for the '{@link ";
protected final String TEXT_657 = " <em>";
- protected final String TEXT_658 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_658 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
protected final String TEXT_659 = NL + "\t\t * The meta object literal for the '{@link ";
protected final String TEXT_660 = " <em>";
- protected final String TEXT_661 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_661 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
protected final String TEXT_662 = NL + "\t\t * The meta object literal for the '{@link ";
protected final String TEXT_663 = " <em>";
- protected final String TEXT_664 = "</em>}' enum." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_664 = "</em>}' enum." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
protected final String TEXT_665 = NL + "\t\t * The meta object literal for the '<em>";
- protected final String TEXT_666 = "</em>' data type." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->";
+ protected final String TEXT_666 = "</em>' data type." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->";
protected final String TEXT_667 = NL + "\t\t * @see ";
protected final String TEXT_668 = NL + "\t\t * @see ";
protected final String TEXT_669 = "#get";
@@ -717,12 +844,14 @@
protected final String TEXT_673 = "();" + NL;
protected final String TEXT_674 = NL + "\t\t/**" + NL + "\t\t * The meta object literal for the '<em><b>";
protected final String TEXT_675 = "</b></em>' ";
- protected final String TEXT_676 = " feature." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_676 = " feature." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
protected final String TEXT_677 = " ";
protected final String TEXT_678 = " = eINSTANCE.get";
protected final String TEXT_679 = "();" + NL;
protected final String TEXT_680 = NL + "\t\t/**" + NL + "\t\t * The meta object literal for the '<em><b>";
- protected final String TEXT_681 = "</b></em>' operation." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_681 = "</b></em>' operation." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
protected final String TEXT_682 = " ";
protected final String TEXT_683 = " = eINSTANCE.get";
protected final String TEXT_684 = "();" + NL;
@@ -803,7 +932,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -817,15 +947,20 @@
protected void method_setArgument(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
- argument = ((Object[]) new Object[] { new Object[] { genPackage, genPackage.getGenModel().isSuppressEMFMetaData() || genPackage.getGenModel().isSuppressInterfaces() ? Boolean.TRUE : Boolean.FALSE, Boolean.TRUE } })[0];
+ argument = ((Object[]) new Object[] { new Object[] {
+ genPackage,
+ genPackage.getGenModel().isSuppressEMFMetaData() || genPackage.getGenModel().isSuppressInterfaces() ? Boolean.TRUE
+ : Boolean.FALSE, Boolean.TRUE } })[0];
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -861,7 +996,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -886,7 +1024,8 @@
genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + ".Literals");
}
for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers())
- genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + "." + genPackage.getClassifierID(genClassifier));
+ genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + "."
+ + genPackage.getClassifierID(genClassifier));
}
if (isInterface) {
stringBuffer.append(TEXT_7);
@@ -903,7 +1042,8 @@
stringBuffer.append(genPackage.getQualifiedFactoryInterfaceName());
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genPackage.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genPackage.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
@@ -1261,7 +1401,8 @@
if (genClassifier instanceof GenClass) {
GenClass genClass = (GenClass) genClassifier;
if (!genClass.isDynamic()) {
- String theClass = genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getRawImportedInterfaceName();
+ String theClass = genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getRawImportedInterfaceName();
if (helpers.add(theClass)) {
stringBuffer.append(TEXT_162);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
@@ -1270,7 +1411,8 @@
stringBuffer.append(TEXT_164);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
stringBuffer.append(TEXT_165);
- stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getRawImportedInterfaceName() + genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getRawImportedInterfaceName() + genClass.getInterfaceWildTypeArguments());
stringBuffer.append(TEXT_166);
stringBuffer.append(theClass);
stringBuffer.append(TEXT_167);
@@ -1320,7 +1462,8 @@
GenClass genClass = (GenClass) genClassifier;
if (!genClass.isDynamic()) {
stringBuffer.append(TEXT_181);
- stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getImportedWildcardInstanceClassName());
+ stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getImportedWildcardInstanceClassName());
stringBuffer.append(TEXT_182);
stringBuffer.append(genClass.getSafeUncapName());
stringBuffer.append(TEXT_183);
@@ -1358,7 +1501,8 @@
stringBuffer.append(genClass.getQualifiedInterfaceName());
if (!genModel.isSuppressEMFModelTags() && (genClass.isExternalInterface() || genClass.isDynamic())) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
@@ -1405,7 +1549,8 @@
}
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genDataType.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genDataType.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
@@ -1678,27 +1823,34 @@
Information next() {
Information information = new Information();
EGenericType eGenericType = information.eGenericType = (EGenericType) iterator.next();
- for (EObject container = eGenericType.eContainer(); container instanceof EGenericType; container = container.eContainer()) {
+ for (EObject container = eGenericType.eContainer(); container instanceof EGenericType; container = container
+ .eContainer()) {
++information.depth;
}
if (eGenericType.getEClassifier() != null) {
GenClassifier genClassifier = genModel.findGenClassifier(eGenericType.getEClassifier());
- information.type = genPackage.getPackageInstanceVariable(genClassifier.getGenPackage()) + ".get" + genClassifier.getClassifierAccessorName() + "()";
+ information.type = genPackage.getPackageInstanceVariable(genClassifier.getGenPackage())
+ + ".get" + genClassifier.getClassifierAccessorName() + "()";
} else if (eGenericType.getETypeParameter() != null) {
ETypeParameter eTypeParameter = eGenericType.getETypeParameter();
if (eTypeParameter.eContainer() instanceof EClass) {
- information.type = genModel.findGenClassifier((EClass) eTypeParameter.eContainer()).getClassifierInstanceName() + "_" + eGenericType.getETypeParameter().getName();
+ information.type = genModel.findGenClassifier((EClass) eTypeParameter.eContainer())
+ .getClassifierInstanceName() + "_" + eGenericType.getETypeParameter().getName();
} else {
- information.type = "t" + (((EOperation) eTypeParameter.eContainer()).getETypeParameters().indexOf(eTypeParameter) + 1);
+ information.type = "t"
+ + (((EOperation) eTypeParameter.eContainer()).getETypeParameters().indexOf(
+ eTypeParameter) + 1);
}
} else {
information.type = "";
}
if (information.depth > 0) {
if (eGenericType.eContainmentFeature().isMany()) {
- information.accessor = "getE" + eGenericType.eContainmentFeature().getName().substring(1) + "().add";
+ information.accessor = "getE"
+ + eGenericType.eContainmentFeature().getName().substring(1) + "().add";
} else {
- information.accessor = "setE" + eGenericType.eContainmentFeature().getName().substring(1);
+ information.accessor = "setE"
+ + eGenericType.eContainmentFeature().getName().substring(1);
}
}
return information;
@@ -1739,9 +1891,11 @@
stringBuffer.append(TEXT_326);
for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {
- if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) {
+ if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty()
+ || genTypeParameter.isUsed()) {
stringBuffer.append(TEXT_327);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.ETypeParameter"));
stringBuffer.append(TEXT_328);
stringBuffer.append(genClassifier.getClassifierInstanceName());
stringBuffer.append(TEXT_329);
@@ -1773,7 +1927,8 @@
String prefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
}
stringBuffer.append(TEXT_337);
stringBuffer.append(prefix);
@@ -1808,7 +1963,8 @@
stringBuffer.append(TEXT_349);
stringBuffer.append(genClass.getClassifierInstanceName());
stringBuffer.append(TEXT_350);
- stringBuffer.append(genPackage.getPackageInstanceVariable(baseGenClass.getGenPackage()));
+ stringBuffer
+ .append(genPackage.getPackageInstanceVariable(baseGenClass.getGenPackage()));
stringBuffer.append(TEXT_351);
stringBuffer.append(baseGenClass.getClassifierAccessorName());
stringBuffer.append(TEXT_352);
@@ -1853,7 +2009,9 @@
}
for (Iterator<GenClass> c = genPackage.getGenClasses().iterator(); c.hasNext();) {
GenClass genClass = c.next();
- boolean hasInstanceTypeName = genModel.useGenerics() && genClass.getEcoreClass().getInstanceTypeName() != null && genClass.getEcoreClass().getInstanceTypeName().contains("<");
+ boolean hasInstanceTypeName = genModel.useGenerics()
+ && genClass.getEcoreClass().getInstanceTypeName() != null
+ && genClass.getEcoreClass().getInstanceTypeName().contains("<");
stringBuffer.append(TEXT_366);
stringBuffer.append(genClass.getClassifierInstanceName());
stringBuffer.append(TEXT_367);
@@ -1883,7 +2041,8 @@
}
for (GenFeature genFeature : genClass.getGenFeatures()) {
if (genFeature.hasGenericType()) {
- for (InformationIterator i = new InformationIterator(genFeature.getEcoreFeature().getEGenericType()); i.hasNext();) {
+ for (InformationIterator i = new InformationIterator(genFeature.getEcoreFeature()
+ .getEGenericType()); i.hasNext();) {
Information info = i.next();
String prefix = "";
if (maxGenericTypeAssignment <= info.depth) {
@@ -1910,14 +2069,18 @@
}
if (genFeature.isReferenceType()) {
GenFeature reverseGenFeature = genFeature.getReverse();
- String reverse = reverseGenFeature == null ? "null" : genPackage.getPackageInstanceVariable(reverseGenFeature.getGenPackage()) + ".get" + reverseGenFeature.getFeatureAccessorName() + "()";
+ String reverse = reverseGenFeature == null ? "null" : genPackage
+ .getPackageInstanceVariable(reverseGenFeature.getGenPackage())
+ + ".get"
+ + reverseGenFeature.getFeatureAccessorName() + "()";
stringBuffer.append(TEXT_385);
stringBuffer.append(genFeature.getFeatureAccessorName());
stringBuffer.append(TEXT_386);
if (genFeature.hasGenericType()) {
stringBuffer.append(TEXT_387);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_388);
stringBuffer.append(genFeature.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_389);
@@ -1959,7 +2122,8 @@
stringBuffer.append(TEXT_406);
stringBuffer.append(genFeature.getFeatureAccessorName());
stringBuffer.append(TEXT_407);
- stringBuffer.append(genPackage.getPackageInstanceVariable(keyFeature.getGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(keyFeature
+ .getGenPackage()));
stringBuffer.append(TEXT_408);
stringBuffer.append(keyFeature.getFeatureAccessorName());
stringBuffer.append(TEXT_409);
@@ -1971,7 +2135,8 @@
if (genFeature.hasGenericType()) {
stringBuffer.append(TEXT_412);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_413);
stringBuffer.append(genFeature.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_414);
@@ -2009,7 +2174,9 @@
}
for (GenOperation genOperation : genClass.getGenOperations()) {
String prefix = "";
- if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty() || !genOperation.getGenExceptions().isEmpty() || !genOperation.getGenTypeParameters().isEmpty()) {
+ if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty()
+ || !genOperation.getGenExceptions().isEmpty()
+ || !genOperation.getGenTypeParameters().isEmpty()) {
if (firstOperationAssignment) {
firstOperationAssignment = false;
prefix = genModel.getImportedName("org.eclipse.emf.ecore.EOperation") + " op = ";
@@ -2033,7 +2200,8 @@
if (genOperation.isVoid() || genOperation.hasGenericType()) {
stringBuffer.append(TEXT_435);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_436);
stringBuffer.append(genOperation.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_437);
@@ -2051,7 +2219,8 @@
stringBuffer.append(TEXT_443);
stringBuffer.append(genModel.getNonNLS());
} else if (!genOperation.isVoid()) {
- if (!genOperation.getEcoreOperation().isOrdered() || !genOperation.getEcoreOperation().isUnique()) {
+ if (!genOperation.getEcoreOperation().isOrdered()
+ || !genOperation.getEcoreOperation().isUnique()) {
needsAddEOperation = true;
stringBuffer.append(TEXT_444);
stringBuffer.append(prefix);
@@ -2064,7 +2233,8 @@
stringBuffer.append(genClass.getClassifierInstanceName());
}
stringBuffer.append(TEXT_448);
- stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_449);
stringBuffer.append(genOperation.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_450);
@@ -2091,7 +2261,8 @@
stringBuffer.append(genClass.getClassifierInstanceName());
}
stringBuffer.append(TEXT_460);
- stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_461);
stringBuffer.append(genOperation.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_462);
@@ -2120,13 +2291,18 @@
stringBuffer.append(genModel.getNonNLS());
}
if (genModel.useGenerics()) {
- for (ListIterator<GenTypeParameter> t = genOperation.getGenTypeParameters().listIterator(); t.hasNext();) {
+ for (ListIterator<GenTypeParameter> t = genOperation.getGenTypeParameters()
+ .listIterator(); t.hasNext();) {
GenTypeParameter genTypeParameter = t.next();
String typeParameterVariable = "";
- if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) {
+ if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty()
+ || genTypeParameter.isUsed()) {
if (maxTypeParameterAssignment <= t.previousIndex()) {
++maxTypeParameterAssignment;
- typeParameterVariable = genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter") + " t" + t.nextIndex() + " = ";
+ typeParameterVariable = genModel
+ .getImportedName("org.eclipse.emf.ecore.ETypeParameter")
+ + " t"
+ + t.nextIndex() + " = ";
} else {
typeParameterVariable = "t" + t.nextIndex() + " = ";
}
@@ -2137,13 +2313,16 @@
stringBuffer.append(genTypeParameter.getName());
stringBuffer.append(TEXT_474);
stringBuffer.append(genModel.getNonNLS());
- for (EGenericType typeParameter : genTypeParameter.getEcoreTypeParameter().getEBounds()) {
- for (InformationIterator i = new InformationIterator(typeParameter); i.hasNext();) {
+ for (EGenericType typeParameter : genTypeParameter.getEcoreTypeParameter()
+ .getEBounds()) {
+ for (InformationIterator i = new InformationIterator(typeParameter); i
+ .hasNext();) {
Information info = i.next();
String typePrefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ typePrefix = genModel
+ .getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
}
stringBuffer.append(TEXT_475);
stringBuffer.append(typePrefix);
@@ -2170,12 +2349,14 @@
}
for (GenParameter genParameter : genOperation.getGenParameters()) {
if (genParameter.hasGenericType()) {
- for (InformationIterator i = new InformationIterator(genParameter.getEcoreParameter().getEGenericType()); i.hasNext();) {
+ for (InformationIterator i = new InformationIterator(genParameter
+ .getEcoreParameter().getEGenericType()); i.hasNext();) {
Information info = i.next();
String typePrefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
}
stringBuffer.append(TEXT_485);
stringBuffer.append(typePrefix);
@@ -2200,7 +2381,8 @@
if (genParameter.hasGenericType()) {
stringBuffer.append(TEXT_494);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_495);
stringBuffer.append(genParameter.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_496);
@@ -2217,13 +2399,15 @@
stringBuffer.append(genParameter.getOrderedFlag());
stringBuffer.append(TEXT_502);
stringBuffer.append(genModel.getNonNLS());
- } else if (!genParameter.getEcoreParameter().isOrdered() || !genParameter.getEcoreParameter().isUnique()) {
+ } else if (!genParameter.getEcoreParameter().isOrdered()
+ || !genParameter.getEcoreParameter().isUnique()) {
needsAddEParameter = true;
stringBuffer.append(TEXT_503);
if (genParameter.hasGenericType()) {
stringBuffer.append(TEXT_504);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_505);
stringBuffer.append(genParameter.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_506);
@@ -2245,7 +2429,8 @@
if (genParameter.hasGenericType()) {
stringBuffer.append(TEXT_514);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_515);
stringBuffer.append(genParameter.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_516);
@@ -2261,13 +2446,16 @@
}
}
if (genOperation.hasGenericExceptions()) {
- for (EGenericType genericExceptions : genOperation.getEcoreOperation().getEGenericExceptions()) {
- for (InformationIterator i = new InformationIterator(genericExceptions); i.hasNext();) {
+ for (EGenericType genericExceptions : genOperation.getEcoreOperation()
+ .getEGenericExceptions()) {
+ for (InformationIterator i = new InformationIterator(genericExceptions); i
+ .hasNext();) {
Information info = i.next();
String typePrefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
}
stringBuffer.append(TEXT_521);
stringBuffer.append(typePrefix);
@@ -2293,19 +2481,22 @@
} else {
for (GenClassifier genException : genOperation.getGenExceptions()) {
stringBuffer.append(TEXT_531);
- stringBuffer.append(genPackage.getPackageInstanceVariable(genException.getGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genException
+ .getGenPackage()));
stringBuffer.append(TEXT_532);
stringBuffer.append(genException.getClassifierAccessorName());
stringBuffer.append(TEXT_533);
}
}
if (!genOperation.isVoid() && genOperation.hasGenericType()) {
- for (InformationIterator i = new InformationIterator(genOperation.getEcoreOperation().getEGenericType()); i.hasNext();) {
+ for (InformationIterator i = new InformationIterator(genOperation.getEcoreOperation()
+ .getEGenericType()); i.hasNext();) {
Information info = i.next();
String typePrefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
}
stringBuffer.append(TEXT_534);
stringBuffer.append(typePrefix);
@@ -2348,7 +2539,8 @@
stringBuffer.append(TEXT_549);
stringBuffer.append(genEnum.getClassifierInstanceName());
stringBuffer.append(TEXT_550);
- stringBuffer.append(genEnum.getImportedName().equals(genEnum.getClassifierID()) ? genEnum.getQualifiedName() : genEnum.getImportedName());
+ stringBuffer.append(genEnum.getImportedName().equals(genEnum.getClassifierID()) ? genEnum
+ .getQualifiedName() : genEnum.getImportedName());
stringBuffer.append(TEXT_551);
stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
stringBuffer.append(TEXT_552);
@@ -2361,7 +2553,9 @@
if (!genPackage.getGenDataTypes().isEmpty()) {
stringBuffer.append(TEXT_554);
for (GenDataType genDataType : genPackage.getGenDataTypes()) {
- boolean hasInstanceTypeName = genModel.useGenerics() && genDataType.getEcoreDataType().getInstanceTypeName() != null && genDataType.getEcoreDataType().getInstanceTypeName().contains("<");
+ boolean hasInstanceTypeName = genModel.useGenerics()
+ && genDataType.getEcoreDataType().getInstanceTypeName() != null
+ && genDataType.getEcoreDataType().getInstanceTypeName().contains("<");
stringBuffer.append(TEXT_555);
stringBuffer.append(genDataType.getClassifierInstanceName());
stringBuffer.append(TEXT_556);
@@ -2415,12 +2609,15 @@
stringBuffer.append(genModel.getNonNLS());
}
for (EAnnotation eAnnotation : genPackage.getAllAnnotations()) {
- List<GenPackage.AnnotationReferenceData> annotationReferenceDataList = genPackage.getReferenceData(eAnnotation);
- if (annotationSource == null ? eAnnotation.getSource() == null : annotationSource.equals(eAnnotation.getSource())) {
+ List<GenPackage.AnnotationReferenceData> annotationReferenceDataList = genPackage
+ .getReferenceData(eAnnotation);
+ if (annotationSource == null ? eAnnotation.getSource() == null : annotationSource
+ .equals(eAnnotation.getSource())) {
stringBuffer.append(TEXT_576);
stringBuffer.append(genPackage.getAnnotatedModelElementAccessor(eAnnotation));
stringBuffer.append(TEXT_577);
- for (Iterator<Map.Entry<String, String>> k = eAnnotation.getDetails().iterator(); k.hasNext();) {
+ for (Iterator<Map.Entry<String, String>> k = eAnnotation.getDetails().iterator(); k
+ .hasNext();) {
Map.Entry<String, String> detail = k.next();
String key = Literals.toStringLiteral(detail.getKey(), genModel);
String value = Literals.toStringLiteral(detail.getValue(), genModel);
@@ -2441,13 +2638,15 @@
stringBuffer.append(TEXT_583);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
stringBuffer.append(TEXT_584);
- for (Iterator<GenPackage.AnnotationReferenceData> k = annotationReferenceDataList.iterator(); k.hasNext();) {
+ for (Iterator<GenPackage.AnnotationReferenceData> k = annotationReferenceDataList
+ .iterator(); k.hasNext();) {
GenPackage.AnnotationReferenceData annotationReferenceData = k.next();
stringBuffer.append(TEXT_585);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
stringBuffer.append(TEXT_586);
if (annotationReferenceData.containingGenPackage != genPackage) {
- stringBuffer.append(annotationReferenceData.containingGenPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(annotationReferenceData.containingGenPackage
+ .getImportedPackageInterfaceName());
stringBuffer.append(TEXT_587);
}
stringBuffer.append(TEXT_588);
@@ -2465,7 +2664,8 @@
int depth = 0;
boolean nonContentAnnotation = false;
StringBuilder path = new StringBuilder();
- for (EObject eContainer = nestedEAnnotation.eContainer(), child = nestedEAnnotation; child != eAnnotation; child = eContainer, eContainer = eContainer.eContainer()) {
+ for (EObject eContainer = nestedEAnnotation.eContainer(), child = nestedEAnnotation; child != eAnnotation; child = eContainer, eContainer = eContainer
+ .eContainer()) {
boolean nonContentChild = child.eContainmentFeature() != EcorePackage.Literals.EANNOTATION__CONTENTS;
if (path.length() != 0) {
path.insert(0, ", ");
@@ -2476,11 +2676,13 @@
}
++depth;
}
- List<GenPackage.AnnotationReferenceData> nestedAnnotationReferenceDataList = genPackage.getReferenceData(nestedEAnnotation);
+ List<GenPackage.AnnotationReferenceData> nestedAnnotationReferenceDataList = genPackage
+ .getReferenceData(nestedEAnnotation);
stringBuffer.append(TEXT_592);
stringBuffer.append(genPackage.getAnnotatedModelElementAccessor(eAnnotation));
stringBuffer.append(TEXT_593);
- if (nonContentAnnotation && genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF210_VALUE) {
+ if (nonContentAnnotation
+ && genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF210_VALUE) {
stringBuffer.append(TEXT_594);
stringBuffer.append(path.toString());
stringBuffer.append(TEXT_595);
@@ -2497,7 +2699,8 @@
stringBuffer.append(genModel.getNonNLS());
}
stringBuffer.append(TEXT_600);
- for (Iterator<Map.Entry<String, String>> l = nestedEAnnotation.getDetails().iterator(); l.hasNext();) {
+ for (Iterator<Map.Entry<String, String>> l = nestedEAnnotation.getDetails().iterator(); l
+ .hasNext();) {
Map.Entry<String, String> detail = l.next();
String key = Literals.toStringLiteral(detail.getKey(), genModel);
String value = Literals.toStringLiteral(detail.getValue(), genModel);
@@ -2518,13 +2721,16 @@
stringBuffer.append(TEXT_606);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
stringBuffer.append(TEXT_607);
- for (Iterator<GenPackage.AnnotationReferenceData> l = nestedAnnotationReferenceDataList.iterator(); l.hasNext();) {
+ for (Iterator<GenPackage.AnnotationReferenceData> l = nestedAnnotationReferenceDataList
+ .iterator(); l.hasNext();) {
GenPackage.AnnotationReferenceData annotationReferenceData = l.next();
stringBuffer.append(TEXT_608);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer
+ .append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
stringBuffer.append(TEXT_609);
if (annotationReferenceData.containingGenPackage != genPackage) {
- stringBuffer.append(annotationReferenceData.containingGenPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(annotationReferenceData.containingGenPackage
+ .getImportedPackageInterfaceName());
stringBuffer.append(TEXT_610);
}
stringBuffer.append(TEXT_611);
@@ -2555,7 +2761,8 @@
stringBuffer.append(TEXT_620);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource"));
stringBuffer.append(TEXT_621);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl"));
stringBuffer.append(TEXT_622);
stringBuffer.append(genModel.getImportedName("java.io.IOException"));
stringBuffer.append(TEXT_623);
@@ -2727,7 +2934,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genPackage.hasClassifiers());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageInterface.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageInterface.java
index 30ffa18..9745bd5 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageInterface.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PackageInterface.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:16 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -32,10 +32,13 @@
protected final String TEXT_4 = NL + "package ";
protected final String TEXT_5 = ";";
protected final String TEXT_6 = NL;
- protected final String TEXT_7 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Package</b> for the model." + NL + " * It contains accessors for the meta objects to represent" + NL + " * <ul>" + NL + " * <li>each class,</li>" + NL
- + " * <li>each feature of each class,</li>";
+ protected final String TEXT_7 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Package</b> for the model." + NL
+ + " * It contains accessors for the meta objects to represent" + NL + " * <ul>" + NL
+ + " * <li>each class,</li>" + NL + " * <li>each feature of each class,</li>";
protected final String TEXT_8 = NL + " * <li>each operation of each class,</li>";
- protected final String TEXT_9 = NL + " * <li>each enum,</li>" + NL + " * <li>and each data type</li>" + NL + " * </ul>" + NL + " * <!-- end-user-doc -->";
+ protected final String TEXT_9 = NL + " * <li>each enum,</li>" + NL + " * <li>and each data type</li>" + NL
+ + " * </ul>" + NL + " * <!-- end-user-doc -->";
protected final String TEXT_10 = NL + " * <!-- begin-model-doc -->" + NL + " * ";
protected final String TEXT_11 = NL + " * <!-- end-model-doc -->";
protected final String TEXT_12 = NL + " * @see ";
@@ -43,44 +46,60 @@
protected final String TEXT_14 = NL + " * ";
protected final String TEXT_15 = NL + " * @model";
protected final String TEXT_16 = NL + " * @generated" + NL + " */";
- protected final String TEXT_17 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * An implementation of the model <b>Package</b>." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */";
+ protected final String TEXT_17 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * An implementation of the model <b>Package</b>." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @generated" + NL + " */";
protected final String TEXT_18 = NL + "public class ";
protected final String TEXT_19 = " extends ";
protected final String TEXT_20 = " implements ";
protected final String TEXT_21 = NL + "public interface ";
protected final String TEXT_22 = " extends ";
protected final String TEXT_23 = NL + "{";
- protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_25 = " copyright = ";
protected final String TEXT_26 = ";";
protected final String TEXT_27 = NL;
- protected final String TEXT_28 = NL + "\t/**" + NL + "\t * The package name." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_28 = NL + "\t/**" + NL + "\t * The package name." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_29 = " eNAME = \"";
protected final String TEXT_30 = "\";";
- protected final String TEXT_31 = NL + NL + "\t/**" + NL + "\t * The package namespace URI." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_31 = NL + NL + "\t/**" + NL + "\t * The package namespace URI." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_32 = " eNS_URI = \"";
protected final String TEXT_33 = "\";";
- protected final String TEXT_34 = NL + NL + "\t/**" + NL + "\t * The package namespace name." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_34 = NL + NL + "\t/**" + NL + "\t * The package namespace name." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_35 = " eNS_PREFIX = \"";
protected final String TEXT_36 = "\";";
- protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * The package content type ID." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_37 = NL + NL + "\t/**" + NL + "\t * The package content type ID." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_38 = " eCONTENT_TYPE = \"";
protected final String TEXT_39 = "\";";
- protected final String TEXT_40 = NL + NL + "\t/**" + NL + "\t * The singleton instance of the package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_40 = NL + NL + "\t/**" + NL + "\t * The singleton instance of the package." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\t";
protected final String TEXT_41 = " eINSTANCE = ";
protected final String TEXT_42 = ".init();" + NL;
protected final String TEXT_43 = NL + "\t/**";
protected final String TEXT_44 = NL + "\t * The meta object id for the '{@link ";
protected final String TEXT_45 = " <em>";
- protected final String TEXT_46 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_46 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_47 = NL + "\t * The meta object id for the '{@link ";
protected final String TEXT_48 = " <em>";
- protected final String TEXT_49 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_49 = "</em>}' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_50 = NL + "\t * The meta object id for the '{@link ";
protected final String TEXT_51 = " <em>";
- protected final String TEXT_52 = "</em>}' enum." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_52 = "</em>}' enum." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_53 = NL + "\t * The meta object id for the '<em>";
- protected final String TEXT_54 = "</em>' data type." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->";
+ protected final String TEXT_54 = "</em>' data type." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->";
protected final String TEXT_55 = NL + "\t * @see ";
protected final String TEXT_56 = NL + "\t * @see ";
protected final String TEXT_57 = "#get";
@@ -90,41 +109,79 @@
protected final String TEXT_61 = ";" + NL;
protected final String TEXT_62 = NL + "\t/**" + NL + "\t * The feature id for the '<em><b>";
protected final String TEXT_63 = "</b></em>' ";
- protected final String TEXT_64 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_64 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_65 = "int ";
protected final String TEXT_66 = " = ";
protected final String TEXT_67 = ";" + NL;
protected final String TEXT_68 = NL + "\t/**" + NL + "\t * The number of structural features of the '<em>";
- protected final String TEXT_69 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_69 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_70 = "int ";
protected final String TEXT_71 = " = ";
protected final String TEXT_72 = ";" + NL;
protected final String TEXT_73 = NL + "\t/**" + NL + "\t * The operation id for the '<em>";
- protected final String TEXT_74 = "</em>' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_74 = "</em>' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_75 = "int ";
protected final String TEXT_76 = " = ";
protected final String TEXT_77 = ";" + NL;
protected final String TEXT_78 = NL + "\t/**" + NL + "\t * The number of operations of the '<em>";
- protected final String TEXT_79 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_79 = "</em>' class." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\t";
protected final String TEXT_80 = "int ";
protected final String TEXT_81 = " = ";
protected final String TEXT_82 = ";" + NL;
- protected final String TEXT_83 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected String packageFilename = \"";
+ protected final String TEXT_83 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected String packageFilename = \"";
protected final String TEXT_84 = "\";";
protected final String TEXT_85 = NL;
- protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
+ protected final String TEXT_86 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
protected final String TEXT_87 = " ";
protected final String TEXT_88 = " = null;" + NL;
- protected final String TEXT_89 = NL + "\t/**" + NL + "\t * Creates an instance of the model <b>Package</b>, registered with" + NL + "\t * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package" + NL + "\t * package URI value." + NL
- + "\t * <p>Note: the correct way to create the package is via the static" + NL + "\t * factory method {@link #init init()}, which also performs" + NL + "\t * initialization of the package, or returns the registered package," + NL + "\t * if one already exists." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see org.eclipse.emf.ecore.EPackage.Registry" + NL + "\t * @see ";
- protected final String TEXT_90 = "#eNS_URI" + NL + "\t * @see #init()" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
+ protected final String TEXT_89 = NL + "\t/**" + NL
+ + "\t * Creates an instance of the model <b>Package</b>, registered with" + NL
+ + "\t * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package" + NL
+ + "\t * package URI value." + NL + "\t * <p>Note: the correct way to create the package is via the static"
+ + NL + "\t * factory method {@link #init init()}, which also performs" + NL
+ + "\t * initialization of the package, or returns the registered package," + NL
+ + "\t * if one already exists." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @see org.eclipse.emf.ecore.EPackage.Registry" + NL + "\t * @see ";
+ protected final String TEXT_90 = "#eNS_URI" + NL + "\t * @see #init()" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate ";
protected final String TEXT_91 = "()" + NL + "\t{" + NL + "\t\tsuper(eNS_URI, ";
- protected final String TEXT_92 = ");" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static boolean isInited = false;" + NL + "" + NL + "\t/**" + NL
- + "\t * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends." + NL + "\t * " + NL + "\t * <p>This method is used to initialize {@link ";
- protected final String TEXT_93 = "#eINSTANCE} when that field is accessed." + NL + "\t * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
- + NL + "\t * @see #eNS_URI";
- protected final String TEXT_94 = NL + "\t * @see #createPackageContents()" + NL + "\t * @see #initializePackageContents()";
+ protected final String TEXT_92 = ");"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprivate static boolean isInited = false;"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends."
+ + NL + "\t * " + NL + "\t * <p>This method is used to initialize {@link ";
+ protected final String TEXT_93 = "#eINSTANCE} when that field is accessed."
+ + NL
+ + "\t * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #eNS_URI";
+ protected final String TEXT_94 = NL + "\t * @see #createPackageContents()" + NL
+ + "\t * @see #initializePackageContents()";
protected final String TEXT_95 = NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
protected final String TEXT_96 = " init()" + NL + "\t{" + NL + "\t\tif (isInited) return (";
protected final String TEXT_97 = ")";
@@ -186,35 +243,48 @@
protected final String TEXT_153 = ".INSTANCE;" + NL + "\t\t\t\t }" + NL + "\t\t\t });" + NL;
protected final String TEXT_154 = NL + "\t\t// Mark meta-data to indicate it can't be changed" + NL + "\t\tthe";
protected final String TEXT_155 = ".freeze();" + NL;
- protected final String TEXT_156 = NL + " " + NL + "\t\t// Update the registry and return the package" + NL + "\t\t";
+ protected final String TEXT_156 = NL + " " + NL + "\t\t// Update the registry and return the package" + NL
+ + "\t\t";
protected final String TEXT_157 = ".Registry.INSTANCE.put(";
protected final String TEXT_158 = ".eNS_URI, the";
protected final String TEXT_159 = ");" + NL + "\t\treturn the";
protected final String TEXT_160 = ";" + NL + "\t}";
- protected final String TEXT_161 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static void initializeRegistryHelpers()" + NL + "\t{";
+ protected final String TEXT_161 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void initializeRegistryHelpers()" + NL + "\t{";
protected final String TEXT_162 = NL + "\t\t";
protected final String TEXT_163 = ".register" + NL + "\t\t\t(";
protected final String TEXT_164 = ".class, " + NL + "\t\t\t new ";
- protected final String TEXT_165 = ".Helper() " + NL + "\t\t\t {" + NL + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return instance instanceof ";
- protected final String TEXT_166 = ";" + NL + "\t\t\t\t }" + NL + "" + NL + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return new ";
+ protected final String TEXT_165 = ".Helper() " + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t return instance instanceof ";
+ protected final String TEXT_166 = ";" + NL + "\t\t\t\t }" + NL + "" + NL
+ + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return new ";
protected final String TEXT_167 = "[size];" + NL + "\t\t\t\t }" + NL + "\t\t\t });";
protected final String TEXT_168 = NL + "\t\t";
protected final String TEXT_169 = ".register" + NL + "\t\t\t(";
protected final String TEXT_170 = ".class, " + NL + "\t\t\t new ";
- protected final String TEXT_171 = ".Helper() " + NL + "\t\t\t {" + NL + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL + "\t\t\t\t\t return instance instanceof ";
- protected final String TEXT_172 = ";" + NL + "\t\t\t\t }" + NL + "" + NL + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {";
+ protected final String TEXT_171 = ".Helper() " + NL + "\t\t\t {" + NL
+ + "\t\t\t\t public boolean isInstance(Object instance)" + NL + "\t\t\t\t {" + NL
+ + "\t\t\t\t\t return instance instanceof ";
+ protected final String TEXT_172 = ";" + NL + "\t\t\t\t }" + NL + "" + NL
+ + "\t\t\t\t public Object newArrayInstance(int size)" + NL + "\t\t\t\t {";
protected final String TEXT_173 = NL + "\t\t\t\t\t return new ";
protected final String TEXT_174 = "[size]";
protected final String TEXT_175 = ";";
protected final String TEXT_176 = NL + "\t\t\t\t\t return new ";
protected final String TEXT_177 = "[size];";
protected final String TEXT_178 = NL + "\t\t\t\t }" + NL + "\t\t});";
- protected final String TEXT_179 = NL + "\t}" + NL + "" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class WhiteList implements ";
+ protected final String TEXT_179 = NL + "\t}" + NL + "" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class WhiteList implements ";
protected final String TEXT_180 = ", EBasicWhiteList" + NL + "\t{";
- protected final String TEXT_181 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_181 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
protected final String TEXT_182 = " ";
protected final String TEXT_183 = ";" + NL;
- protected final String TEXT_184 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_184 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
protected final String TEXT_185 = " ";
protected final String TEXT_186 = ";" + NL;
protected final String TEXT_187 = NL + "\t}";
@@ -223,28 +293,32 @@
protected final String TEXT_190 = NL + "\t/**";
protected final String TEXT_191 = NL + "\t * Returns the meta object for class '{@link ";
protected final String TEXT_192 = " <em>";
- protected final String TEXT_193 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for class '<em>";
+ protected final String TEXT_193 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for class '<em>";
protected final String TEXT_194 = "</em>'." + NL + "\t * @see ";
protected final String TEXT_195 = NL + "\t * @model ";
protected final String TEXT_196 = NL + "\t * ";
protected final String TEXT_197 = NL + "\t * @model";
protected final String TEXT_198 = NL + "\t * Returns the meta object for enum '{@link ";
protected final String TEXT_199 = " <em>";
- protected final String TEXT_200 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for enum '<em>";
+ protected final String TEXT_200 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for enum '<em>";
protected final String TEXT_201 = "</em>'." + NL + "\t * @see ";
protected final String TEXT_202 = NL + "\t * Returns the meta object for data type '<em>";
protected final String TEXT_203 = "</em>'.";
protected final String TEXT_204 = NL + "\t * Returns the meta object for data type '{@link ";
protected final String TEXT_205 = " <em>";
protected final String TEXT_206 = "</em>}'.";
- protected final String TEXT_207 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for data type '<em>";
+ protected final String TEXT_207 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the meta object for data type '<em>";
protected final String TEXT_208 = "</em>'.";
protected final String TEXT_209 = NL + "\t * @see ";
protected final String TEXT_210 = NL + "\t * @model ";
protected final String TEXT_211 = NL + "\t * ";
protected final String TEXT_212 = NL + "\t * @model";
protected final String TEXT_213 = NL + "\t * @generated" + NL + "\t */";
- protected final String TEXT_214 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_214 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_215 = NL + "\tpublic ";
protected final String TEXT_216 = " get";
protected final String TEXT_217 = "()" + NL + "\t{";
@@ -264,14 +338,16 @@
protected final String TEXT_231 = " '{@link ";
protected final String TEXT_232 = "#";
protected final String TEXT_233 = " <em>";
- protected final String TEXT_234 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the ";
+ protected final String TEXT_234 = "</em>}'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the ";
protected final String TEXT_235 = " '<em>";
protected final String TEXT_236 = "</em>'." + NL + "\t * @see ";
protected final String TEXT_237 = "#";
protected final String TEXT_238 = "()";
protected final String TEXT_239 = NL + "\t * @see #get";
protected final String TEXT_240 = "()" + NL + "\t * @generated" + NL + "\t */";
- protected final String TEXT_241 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_241 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_242 = NL + "\tpublic ";
protected final String TEXT_243 = " get";
protected final String TEXT_244 = "()" + NL + "\t{";
@@ -292,12 +368,14 @@
protected final String TEXT_259 = "#";
protected final String TEXT_260 = "(";
protected final String TEXT_261 = ") <em>";
- protected final String TEXT_262 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the '<em>";
+ protected final String TEXT_262 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @return the meta object for the '<em>";
protected final String TEXT_263 = "</em>' operation." + NL + "\t * @see ";
protected final String TEXT_264 = "#";
protected final String TEXT_265 = "(";
protected final String TEXT_266 = ")" + NL + "\t * @generated" + NL + "\t */";
- protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_267 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_268 = NL + "\tpublic ";
protected final String TEXT_269 = " get";
protected final String TEXT_270 = "()" + NL + "\t{";
@@ -312,9 +390,13 @@
protected final String TEXT_279 = " get";
protected final String TEXT_280 = "();";
protected final String TEXT_281 = NL;
- protected final String TEXT_282 = NL + "\t/**" + NL + "\t * Returns the factory that creates the instances of the model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the factory that creates the instances of the model." + NL
- + "\t * @generated" + NL + "\t */";
- protected final String TEXT_283 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_282 = NL + "\t/**" + NL
+ + "\t * Returns the factory that creates the instances of the model." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the factory that creates the instances of the model." + NL + "\t * @generated" + NL
+ + "\t */";
+ protected final String TEXT_283 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_284 = NL + "\tpublic ";
protected final String TEXT_285 = " get";
protected final String TEXT_286 = "()" + NL + "\t{" + NL + "\t\treturn (";
@@ -323,9 +405,14 @@
protected final String TEXT_289 = " get";
protected final String TEXT_290 = "();";
protected final String TEXT_291 = NL;
- protected final String TEXT_292 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate boolean isCreated = false;" + NL + "" + NL + "\t/**" + NL
- + "\t * Creates the meta-model objects for the package. This method is" + NL + "\t * guarded to have no affect on any invocation but its first." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic void createPackageContents()" + NL + "\t{" + NL + "\t\tif (isCreated) return;" + NL + "\t\tisCreated = true;";
+ protected final String TEXT_292 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isCreated = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates the meta-model objects for the package. This method is" + NL
+ + "\t * guarded to have no affect on any invocation but its first." + NL + "\t * <!-- begin-user-doc -->"
+ + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic void createPackageContents()" + NL + "\t{" + NL + "\t\tif (isCreated) return;" + NL
+ + "\t\tisCreated = true;";
protected final String TEXT_293 = NL + NL + "\t\t// Create classes and their features";
protected final String TEXT_294 = NL + "\t\t";
protected final String TEXT_295 = " = create";
@@ -347,10 +434,17 @@
protected final String TEXT_311 = NL + "\t\t";
protected final String TEXT_312 = " = createEDataType(";
protected final String TEXT_313 = ");";
- protected final String TEXT_314 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate boolean isInitialized = false;" + NL;
- protected final String TEXT_315 = NL + "\t/**" + NL + "\t * Complete the initialization of the package and its meta-model. This" + NL + "\t * method is guarded to have no affect on any invocation but its first." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void initializePackageContents()" + NL + "\t{" + NL + "\t\tif (isInitialized) return;" + NL + "\t\tisInitialized = true;" + NL + "" + NL + "\t\t// Initialize package" + NL
- + "\t\tsetName(eNAME);" + NL + "\t\tsetNsPrefix(eNS_PREFIX);" + NL + "\t\tsetNsURI(eNS_URI);";
+ protected final String TEXT_314 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isInitialized = false;" + NL;
+ protected final String TEXT_315 = NL + "\t/**" + NL
+ + "\t * Complete the initialization of the package and its meta-model. This" + NL
+ + "\t * method is guarded to have no affect on any invocation but its first." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void initializePackageContents()" + NL + "\t{" + NL
+ + "\t\tif (isInitialized) return;" + NL + "\t\tisInitialized = true;" + NL + "" + NL
+ + "\t\t// Initialize package" + NL + "\t\tsetName(eNAME);" + NL + "\t\tsetNsPrefix(eNS_PREFIX);" + NL
+ + "\t\tsetNsURI(eNS_URI);";
protected final String TEXT_316 = NL + NL + "\t\t// Obtain other dependent packages";
protected final String TEXT_317 = NL + "\t\t";
protected final String TEXT_318 = " ";
@@ -606,7 +700,8 @@
protected final String TEXT_568 = "Annotations();";
protected final String TEXT_569 = NL + "\t}" + NL;
protected final String TEXT_570 = NL + "\t/**" + NL + "\t * Initializes the annotations for <b>";
- protected final String TEXT_571 = "</b>." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void create";
+ protected final String TEXT_571 = "</b>." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void create";
protected final String TEXT_572 = "Annotations()" + NL + "\t{" + NL + "\t\tString source = ";
protected final String TEXT_573 = "null;";
protected final String TEXT_574 = "\"";
@@ -651,63 +746,95 @@
protected final String TEXT_613 = ",";
protected final String TEXT_614 = NL + "\t\t });";
protected final String TEXT_615 = NL + "\t}" + NL;
- protected final String TEXT_616 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate boolean isLoaded = false;" + NL + "" + NL + "\t/**" + NL
- + "\t * Laods the package and any sub-packages from their serialized form." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void loadPackage()" + NL + "\t{" + NL
- + "\t\tif (isLoaded) return;" + NL + "\t\tisLoaded = true;" + NL + "" + NL + "\t\t";
- protected final String TEXT_617 = " url = getClass().getResource(packageFilename);" + NL + "\t\tif (url == null)" + NL + "\t\t{" + NL + "\t\t\tthrow new RuntimeException(\"Missing serialized package: \" + packageFilename);";
+ protected final String TEXT_616 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isLoaded = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Laods the package and any sub-packages from their serialized form." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void loadPackage()" + NL + "\t{" + NL + "\t\tif (isLoaded) return;" + NL
+ + "\t\tisLoaded = true;" + NL + "" + NL + "\t\t";
+ protected final String TEXT_617 = " url = getClass().getResource(packageFilename);" + NL + "\t\tif (url == null)"
+ + NL + "\t\t{" + NL
+ + "\t\t\tthrow new RuntimeException(\"Missing serialized package: \" + packageFilename);";
protected final String TEXT_618 = NL + "\t\t}" + NL + "\t\t";
protected final String TEXT_619 = " uri = ";
protected final String TEXT_620 = ".createURI(url.toString());" + NL + "\t\t";
protected final String TEXT_621 = " resource = new ";
- protected final String TEXT_622 = "().createResource(uri);" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\tresource.load(null);" + NL + "\t\t}" + NL + "\t\tcatch (";
+ protected final String TEXT_622 = "().createResource(uri);" + NL + "\t\ttry" + NL + "\t\t{" + NL
+ + "\t\t\tresource.load(null);" + NL + "\t\t}" + NL + "\t\tcatch (";
protected final String TEXT_623 = " exception)" + NL + "\t\t{" + NL + "\t\t\tthrow new ";
protected final String TEXT_624 = "(exception);" + NL + "\t\t}" + NL + "\t\tinitializeFromLoadedEPackage(this, (";
- protected final String TEXT_625 = ")resource.getContents().get(0));" + NL + "\t\tcreateResource(eNS_URI);" + NL + "\t}" + NL;
- protected final String TEXT_626 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate boolean isFixed = false;" + NL + "" + NL + "\t/**" + NL
- + "\t * Fixes up the loaded package, to make it appear as if it had been programmatically built." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void fixPackageContents()" + NL
- + "\t{" + NL + "\t\tif (isFixed) return;" + NL + "\t\tisFixed = true;" + NL + "\t\tfixEClassifiers();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Sets the instance class on the given classifier." + NL + "\t * <!-- begin-user-doc -->" + NL
+ protected final String TEXT_625 = ")resource.getContents().get(0));" + NL + "\t\tcreateResource(eNS_URI);" + NL
+ + "\t}" + NL;
+ protected final String TEXT_626 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprivate boolean isFixed = false;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Fixes up the loaded package, to make it appear as if it had been programmatically built." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic void fixPackageContents()" + NL + "\t{" + NL + "\t\tif (isFixed) return;" + NL
+ + "\t\tisFixed = true;" + NL + "\t\tfixEClassifiers();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Sets the instance class on the given classifier." + NL + "\t * <!-- begin-user-doc -->" + NL
+ "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_627 = NL + "\t@Override";
protected final String TEXT_628 = NL + "\tprotected void fixInstanceClass(";
- protected final String TEXT_629 = " eClassifier)" + NL + "\t{" + NL + "\t\tif (eClassifier.getInstanceClassName() == null)" + NL + "\t\t{";
+ protected final String TEXT_629 = " eClassifier)" + NL + "\t{" + NL
+ + "\t\tif (eClassifier.getInstanceClassName() == null)" + NL + "\t\t{";
protected final String TEXT_630 = NL + "\t\t\teClassifier.setInstanceClassName(\"";
protected final String TEXT_631 = ".\" + eClassifier.getName());";
protected final String TEXT_632 = NL + "\t\t\tsetGeneratedClassName(eClassifier);";
protected final String TEXT_633 = NL + "\t\t\tswitch (eClassifier.getClassifierID())" + NL + "\t\t\t{";
protected final String TEXT_634 = NL + "\t\t\t\tcase ";
protected final String TEXT_635 = ":";
- protected final String TEXT_636 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tbreak;" + NL + "\t\t\t\t}" + NL + "\t\t\t\tdefault:" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\teClassifier.setInstanceClassName(\"";
+ protected final String TEXT_636 = NL + "\t\t\t\t{" + NL + "\t\t\t\t\tbreak;" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tdefault:" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\teClassifier.setInstanceClassName(\"";
protected final String TEXT_637 = ".\" + eClassifier.getName());";
- protected final String TEXT_638 = NL + "\t\t\t\t\tsetGeneratedClassName(eClassifier);" + NL + "\t\t\t\t\tbreak;" + NL + "\t\t\t\t}" + NL + "\t\t\t}";
+ protected final String TEXT_638 = NL + "\t\t\t\t\tsetGeneratedClassName(eClassifier);" + NL + "\t\t\t\t\tbreak;"
+ + NL + "\t\t\t\t}" + NL + "\t\t\t}";
protected final String TEXT_639 = NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_640 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_640 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_641 = " addEOperation(";
protected final String TEXT_642 = " owner, ";
- protected final String TEXT_643 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)" + NL + "\t{" + NL + "\t\t";
- protected final String TEXT_644 = " o = addEOperation(owner, type, name, lowerBound, upperBound);" + NL + "\t\to.setUnique(isUnique);" + NL + "\t\to.setOrdered(isOrdered);" + NL + "\t\treturn o;" + NL + "\t}" + NL + "\t";
- protected final String TEXT_645 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_643 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)"
+ + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_644 = " o = addEOperation(owner, type, name, lowerBound, upperBound);" + NL
+ + "\t\to.setUnique(isUnique);" + NL + "\t\to.setOrdered(isOrdered);" + NL + "\t\treturn o;" + NL + "\t}"
+ + NL + "\t";
+ protected final String TEXT_645 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_646 = " addEParameter(";
protected final String TEXT_647 = " owner, ";
- protected final String TEXT_648 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)" + NL + "\t{" + NL + "\t\t";
- protected final String TEXT_649 = " p = ecoreFactory.createEParameter();" + NL + "\t\tp.setEType(type);" + NL + "\t\tp.setName(name);" + NL + "\t\tp.setLowerBound(lowerBound);" + NL + "\t\tp.setUpperBound(upperBound);" + NL + "\t\tp.setUnique(isUnique);" + NL
- + "\t\tp.setOrdered(isOrdered);" + NL + "\t\towner.getEParameters().add(p);" + NL + "\t\treturn p;" + NL + "\t}" + NL + "\t";
- protected final String TEXT_650 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * Defines literals for the meta objects that represent" + NL + "\t * <ul>" + NL + "\t * <li>each class,</li>" + NL + "\t * <li>each feature of each class,</li>";
+ protected final String TEXT_648 = " type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered)"
+ + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_649 = " p = ecoreFactory.createEParameter();" + NL + "\t\tp.setEType(type);" + NL
+ + "\t\tp.setName(name);" + NL + "\t\tp.setLowerBound(lowerBound);" + NL
+ + "\t\tp.setUpperBound(upperBound);" + NL + "\t\tp.setUnique(isUnique);" + NL
+ + "\t\tp.setOrdered(isOrdered);" + NL + "\t\towner.getEParameters().add(p);" + NL + "\t\treturn p;" + NL
+ + "\t}" + NL + "\t";
+ protected final String TEXT_650 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * Defines literals for the meta objects that represent" + NL + "\t * <ul>" + NL
+ + "\t * <li>each class,</li>" + NL + "\t * <li>each feature of each class,</li>";
protected final String TEXT_651 = NL + "\t * <li>each operation of each class,</li>";
- protected final String TEXT_652 = NL + "\t * <li>each enum,</li>" + NL + "\t * <li>and each data type</li>" + NL + "\t * </ul>" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+ protected final String TEXT_652 = NL + "\t * <li>each enum,</li>" + NL + "\t * <li>and each data type</li>"
+ + NL + "\t * </ul>" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
protected final String TEXT_653 = "public ";
protected final String TEXT_654 = "interface Literals" + NL + "\t{";
protected final String TEXT_655 = NL + "\t\t/**";
protected final String TEXT_656 = NL + "\t\t * The meta object literal for the '{@link ";
protected final String TEXT_657 = " <em>";
- protected final String TEXT_658 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_658 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
protected final String TEXT_659 = NL + "\t\t * The meta object literal for the '{@link ";
protected final String TEXT_660 = " <em>";
- protected final String TEXT_661 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_661 = "</em>}' class." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
protected final String TEXT_662 = NL + "\t\t * The meta object literal for the '{@link ";
protected final String TEXT_663 = " <em>";
- protected final String TEXT_664 = "</em>}' enum." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
+ protected final String TEXT_664 = "</em>}' enum." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @see ";
protected final String TEXT_665 = NL + "\t\t * The meta object literal for the '<em>";
- protected final String TEXT_666 = "</em>' data type." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->";
+ protected final String TEXT_666 = "</em>' data type." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->";
protected final String TEXT_667 = NL + "\t\t * @see ";
protected final String TEXT_668 = NL + "\t\t * @see ";
protected final String TEXT_669 = "#get";
@@ -717,12 +844,14 @@
protected final String TEXT_673 = "();" + NL;
protected final String TEXT_674 = NL + "\t\t/**" + NL + "\t\t * The meta object literal for the '<em><b>";
protected final String TEXT_675 = "</b></em>' ";
- protected final String TEXT_676 = " feature." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_676 = " feature." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
protected final String TEXT_677 = " ";
protected final String TEXT_678 = " = eINSTANCE.get";
protected final String TEXT_679 = "();" + NL;
protected final String TEXT_680 = NL + "\t\t/**" + NL + "\t\t * The meta object literal for the '<em><b>";
- protected final String TEXT_681 = "</b></em>' operation." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
+ protected final String TEXT_681 = "</b></em>' operation." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\t";
protected final String TEXT_682 = " ";
protected final String TEXT_683 = " = eINSTANCE.get";
protected final String TEXT_684 = "();" + NL;
@@ -803,7 +932,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -823,9 +953,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -861,7 +993,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -886,7 +1021,8 @@
genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + ".Literals");
}
for (GenClassifier genClassifier : genPackage.getOrderedGenClassifiers())
- genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + "." + genPackage.getClassifierID(genClassifier));
+ genModel.addPseudoImport(genPackage.getQualifiedPackageInterfaceName() + "."
+ + genPackage.getClassifierID(genClassifier));
}
if (isInterface) {
stringBuffer.append(TEXT_7);
@@ -903,7 +1039,8 @@
stringBuffer.append(genPackage.getQualifiedFactoryInterfaceName());
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genPackage.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genPackage.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
@@ -1261,7 +1398,8 @@
if (genClassifier instanceof GenClass) {
GenClass genClass = (GenClass) genClassifier;
if (!genClass.isDynamic()) {
- String theClass = genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getRawImportedInterfaceName();
+ String theClass = genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getRawImportedInterfaceName();
if (helpers.add(theClass)) {
stringBuffer.append(TEXT_162);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
@@ -1270,7 +1408,8 @@
stringBuffer.append(TEXT_164);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Reflect"));
stringBuffer.append(TEXT_165);
- stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getRawImportedInterfaceName() + genClass.getInterfaceWildTypeArguments());
+ stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getRawImportedInterfaceName() + genClass.getInterfaceWildTypeArguments());
stringBuffer.append(TEXT_166);
stringBuffer.append(theClass);
stringBuffer.append(TEXT_167);
@@ -1320,7 +1459,8 @@
GenClass genClass = (GenClass) genClassifier;
if (!genClass.isDynamic()) {
stringBuffer.append(TEXT_181);
- stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass.getImportedWildcardInstanceClassName());
+ stringBuffer.append(genClass.isMapEntry() ? genClass.getImportedClassName() : genClass
+ .getImportedWildcardInstanceClassName());
stringBuffer.append(TEXT_182);
stringBuffer.append(genClass.getSafeUncapName());
stringBuffer.append(TEXT_183);
@@ -1358,7 +1498,8 @@
stringBuffer.append(genClass.getQualifiedInterfaceName());
if (!genModel.isSuppressEMFModelTags() && (genClass.isExternalInterface() || genClass.isDynamic())) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
@@ -1405,7 +1546,8 @@
}
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genDataType.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genDataType.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
@@ -1678,27 +1820,34 @@
Information next() {
Information information = new Information();
EGenericType eGenericType = information.eGenericType = (EGenericType) iterator.next();
- for (EObject container = eGenericType.eContainer(); container instanceof EGenericType; container = container.eContainer()) {
+ for (EObject container = eGenericType.eContainer(); container instanceof EGenericType; container = container
+ .eContainer()) {
++information.depth;
}
if (eGenericType.getEClassifier() != null) {
GenClassifier genClassifier = genModel.findGenClassifier(eGenericType.getEClassifier());
- information.type = genPackage.getPackageInstanceVariable(genClassifier.getGenPackage()) + ".get" + genClassifier.getClassifierAccessorName() + "()";
+ information.type = genPackage.getPackageInstanceVariable(genClassifier.getGenPackage())
+ + ".get" + genClassifier.getClassifierAccessorName() + "()";
} else if (eGenericType.getETypeParameter() != null) {
ETypeParameter eTypeParameter = eGenericType.getETypeParameter();
if (eTypeParameter.eContainer() instanceof EClass) {
- information.type = genModel.findGenClassifier((EClass) eTypeParameter.eContainer()).getClassifierInstanceName() + "_" + eGenericType.getETypeParameter().getName();
+ information.type = genModel.findGenClassifier((EClass) eTypeParameter.eContainer())
+ .getClassifierInstanceName() + "_" + eGenericType.getETypeParameter().getName();
} else {
- information.type = "t" + (((EOperation) eTypeParameter.eContainer()).getETypeParameters().indexOf(eTypeParameter) + 1);
+ information.type = "t"
+ + (((EOperation) eTypeParameter.eContainer()).getETypeParameters().indexOf(
+ eTypeParameter) + 1);
}
} else {
information.type = "";
}
if (information.depth > 0) {
if (eGenericType.eContainmentFeature().isMany()) {
- information.accessor = "getE" + eGenericType.eContainmentFeature().getName().substring(1) + "().add";
+ information.accessor = "getE"
+ + eGenericType.eContainmentFeature().getName().substring(1) + "().add";
} else {
- information.accessor = "setE" + eGenericType.eContainmentFeature().getName().substring(1);
+ information.accessor = "setE"
+ + eGenericType.eContainmentFeature().getName().substring(1);
}
}
return information;
@@ -1739,9 +1888,11 @@
stringBuffer.append(TEXT_326);
for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
for (GenTypeParameter genTypeParameter : genClassifier.getGenTypeParameters()) {
- if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) {
+ if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty()
+ || genTypeParameter.isUsed()) {
stringBuffer.append(TEXT_327);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.ETypeParameter"));
stringBuffer.append(TEXT_328);
stringBuffer.append(genClassifier.getClassifierInstanceName());
stringBuffer.append(TEXT_329);
@@ -1773,7 +1924,8 @@
String prefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ prefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
}
stringBuffer.append(TEXT_337);
stringBuffer.append(prefix);
@@ -1808,7 +1960,8 @@
stringBuffer.append(TEXT_349);
stringBuffer.append(genClass.getClassifierInstanceName());
stringBuffer.append(TEXT_350);
- stringBuffer.append(genPackage.getPackageInstanceVariable(baseGenClass.getGenPackage()));
+ stringBuffer
+ .append(genPackage.getPackageInstanceVariable(baseGenClass.getGenPackage()));
stringBuffer.append(TEXT_351);
stringBuffer.append(baseGenClass.getClassifierAccessorName());
stringBuffer.append(TEXT_352);
@@ -1853,7 +2006,9 @@
}
for (Iterator<GenClass> c = genPackage.getGenClasses().iterator(); c.hasNext();) {
GenClass genClass = c.next();
- boolean hasInstanceTypeName = genModel.useGenerics() && genClass.getEcoreClass().getInstanceTypeName() != null && genClass.getEcoreClass().getInstanceTypeName().contains("<");
+ boolean hasInstanceTypeName = genModel.useGenerics()
+ && genClass.getEcoreClass().getInstanceTypeName() != null
+ && genClass.getEcoreClass().getInstanceTypeName().contains("<");
stringBuffer.append(TEXT_366);
stringBuffer.append(genClass.getClassifierInstanceName());
stringBuffer.append(TEXT_367);
@@ -1883,7 +2038,8 @@
}
for (GenFeature genFeature : genClass.getGenFeatures()) {
if (genFeature.hasGenericType()) {
- for (InformationIterator i = new InformationIterator(genFeature.getEcoreFeature().getEGenericType()); i.hasNext();) {
+ for (InformationIterator i = new InformationIterator(genFeature.getEcoreFeature()
+ .getEGenericType()); i.hasNext();) {
Information info = i.next();
String prefix = "";
if (maxGenericTypeAssignment <= info.depth) {
@@ -1910,14 +2066,18 @@
}
if (genFeature.isReferenceType()) {
GenFeature reverseGenFeature = genFeature.getReverse();
- String reverse = reverseGenFeature == null ? "null" : genPackage.getPackageInstanceVariable(reverseGenFeature.getGenPackage()) + ".get" + reverseGenFeature.getFeatureAccessorName() + "()";
+ String reverse = reverseGenFeature == null ? "null" : genPackage
+ .getPackageInstanceVariable(reverseGenFeature.getGenPackage())
+ + ".get"
+ + reverseGenFeature.getFeatureAccessorName() + "()";
stringBuffer.append(TEXT_385);
stringBuffer.append(genFeature.getFeatureAccessorName());
stringBuffer.append(TEXT_386);
if (genFeature.hasGenericType()) {
stringBuffer.append(TEXT_387);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_388);
stringBuffer.append(genFeature.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_389);
@@ -1959,7 +2119,8 @@
stringBuffer.append(TEXT_406);
stringBuffer.append(genFeature.getFeatureAccessorName());
stringBuffer.append(TEXT_407);
- stringBuffer.append(genPackage.getPackageInstanceVariable(keyFeature.getGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(keyFeature
+ .getGenPackage()));
stringBuffer.append(TEXT_408);
stringBuffer.append(keyFeature.getFeatureAccessorName());
stringBuffer.append(TEXT_409);
@@ -1971,7 +2132,8 @@
if (genFeature.hasGenericType()) {
stringBuffer.append(TEXT_412);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genFeature
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_413);
stringBuffer.append(genFeature.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_414);
@@ -2009,7 +2171,9 @@
}
for (GenOperation genOperation : genClass.getGenOperations()) {
String prefix = "";
- if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty() || !genOperation.getGenExceptions().isEmpty() || !genOperation.getGenTypeParameters().isEmpty()) {
+ if (genOperation.hasGenericType() || !genOperation.getGenParameters().isEmpty()
+ || !genOperation.getGenExceptions().isEmpty()
+ || !genOperation.getGenTypeParameters().isEmpty()) {
if (firstOperationAssignment) {
firstOperationAssignment = false;
prefix = genModel.getImportedName("org.eclipse.emf.ecore.EOperation") + " op = ";
@@ -2033,7 +2197,8 @@
if (genOperation.isVoid() || genOperation.hasGenericType()) {
stringBuffer.append(TEXT_435);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_436);
stringBuffer.append(genOperation.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_437);
@@ -2051,7 +2216,8 @@
stringBuffer.append(TEXT_443);
stringBuffer.append(genModel.getNonNLS());
} else if (!genOperation.isVoid()) {
- if (!genOperation.getEcoreOperation().isOrdered() || !genOperation.getEcoreOperation().isUnique()) {
+ if (!genOperation.getEcoreOperation().isOrdered()
+ || !genOperation.getEcoreOperation().isUnique()) {
needsAddEOperation = true;
stringBuffer.append(TEXT_444);
stringBuffer.append(prefix);
@@ -2064,7 +2230,8 @@
stringBuffer.append(genClass.getClassifierInstanceName());
}
stringBuffer.append(TEXT_448);
- stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_449);
stringBuffer.append(genOperation.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_450);
@@ -2091,7 +2258,8 @@
stringBuffer.append(genClass.getClassifierInstanceName());
}
stringBuffer.append(TEXT_460);
- stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genOperation
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_461);
stringBuffer.append(genOperation.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_462);
@@ -2120,13 +2288,18 @@
stringBuffer.append(genModel.getNonNLS());
}
if (genModel.useGenerics()) {
- for (ListIterator<GenTypeParameter> t = genOperation.getGenTypeParameters().listIterator(); t.hasNext();) {
+ for (ListIterator<GenTypeParameter> t = genOperation.getGenTypeParameters()
+ .listIterator(); t.hasNext();) {
GenTypeParameter genTypeParameter = t.next();
String typeParameterVariable = "";
- if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty() || genTypeParameter.isUsed()) {
+ if (!genTypeParameter.getEcoreTypeParameter().getEBounds().isEmpty()
+ || genTypeParameter.isUsed()) {
if (maxTypeParameterAssignment <= t.previousIndex()) {
++maxTypeParameterAssignment;
- typeParameterVariable = genModel.getImportedName("org.eclipse.emf.ecore.ETypeParameter") + " t" + t.nextIndex() + " = ";
+ typeParameterVariable = genModel
+ .getImportedName("org.eclipse.emf.ecore.ETypeParameter")
+ + " t"
+ + t.nextIndex() + " = ";
} else {
typeParameterVariable = "t" + t.nextIndex() + " = ";
}
@@ -2137,13 +2310,16 @@
stringBuffer.append(genTypeParameter.getName());
stringBuffer.append(TEXT_474);
stringBuffer.append(genModel.getNonNLS());
- for (EGenericType typeParameter : genTypeParameter.getEcoreTypeParameter().getEBounds()) {
- for (InformationIterator i = new InformationIterator(typeParameter); i.hasNext();) {
+ for (EGenericType typeParameter : genTypeParameter.getEcoreTypeParameter()
+ .getEBounds()) {
+ for (InformationIterator i = new InformationIterator(typeParameter); i
+ .hasNext();) {
Information info = i.next();
String typePrefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ typePrefix = genModel
+ .getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
}
stringBuffer.append(TEXT_475);
stringBuffer.append(typePrefix);
@@ -2170,12 +2346,14 @@
}
for (GenParameter genParameter : genOperation.getGenParameters()) {
if (genParameter.hasGenericType()) {
- for (InformationIterator i = new InformationIterator(genParameter.getEcoreParameter().getEGenericType()); i.hasNext();) {
+ for (InformationIterator i = new InformationIterator(genParameter
+ .getEcoreParameter().getEGenericType()); i.hasNext();) {
Information info = i.next();
String typePrefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
}
stringBuffer.append(TEXT_485);
stringBuffer.append(typePrefix);
@@ -2200,7 +2378,8 @@
if (genParameter.hasGenericType()) {
stringBuffer.append(TEXT_494);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_495);
stringBuffer.append(genParameter.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_496);
@@ -2217,13 +2396,15 @@
stringBuffer.append(genParameter.getOrderedFlag());
stringBuffer.append(TEXT_502);
stringBuffer.append(genModel.getNonNLS());
- } else if (!genParameter.getEcoreParameter().isOrdered() || !genParameter.getEcoreParameter().isUnique()) {
+ } else if (!genParameter.getEcoreParameter().isOrdered()
+ || !genParameter.getEcoreParameter().isUnique()) {
needsAddEParameter = true;
stringBuffer.append(TEXT_503);
if (genParameter.hasGenericType()) {
stringBuffer.append(TEXT_504);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_505);
stringBuffer.append(genParameter.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_506);
@@ -2245,7 +2426,8 @@
if (genParameter.hasGenericType()) {
stringBuffer.append(TEXT_514);
} else {
- stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter.getTypeGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genParameter
+ .getTypeGenPackage()));
stringBuffer.append(TEXT_515);
stringBuffer.append(genParameter.getTypeClassifierAccessorName());
stringBuffer.append(TEXT_516);
@@ -2261,13 +2443,16 @@
}
}
if (genOperation.hasGenericExceptions()) {
- for (EGenericType genericExceptions : genOperation.getEcoreOperation().getEGenericExceptions()) {
- for (InformationIterator i = new InformationIterator(genericExceptions); i.hasNext();) {
+ for (EGenericType genericExceptions : genOperation.getEcoreOperation()
+ .getEGenericExceptions()) {
+ for (InformationIterator i = new InformationIterator(genericExceptions); i
+ .hasNext();) {
Information info = i.next();
String typePrefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
}
stringBuffer.append(TEXT_521);
stringBuffer.append(typePrefix);
@@ -2293,19 +2478,22 @@
} else {
for (GenClassifier genException : genOperation.getGenExceptions()) {
stringBuffer.append(TEXT_531);
- stringBuffer.append(genPackage.getPackageInstanceVariable(genException.getGenPackage()));
+ stringBuffer.append(genPackage.getPackageInstanceVariable(genException
+ .getGenPackage()));
stringBuffer.append(TEXT_532);
stringBuffer.append(genException.getClassifierAccessorName());
stringBuffer.append(TEXT_533);
}
}
if (!genOperation.isVoid() && genOperation.hasGenericType()) {
- for (InformationIterator i = new InformationIterator(genOperation.getEcoreOperation().getEGenericType()); i.hasNext();) {
+ for (InformationIterator i = new InformationIterator(genOperation.getEcoreOperation()
+ .getEGenericType()); i.hasNext();) {
Information info = i.next();
String typePrefix = "";
if (maxGenericTypeAssignment <= info.depth) {
++maxGenericTypeAssignment;
- typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType") + " ";
+ typePrefix = genModel.getImportedName("org.eclipse.emf.ecore.EGenericType")
+ + " ";
}
stringBuffer.append(TEXT_534);
stringBuffer.append(typePrefix);
@@ -2348,7 +2536,8 @@
stringBuffer.append(TEXT_549);
stringBuffer.append(genEnum.getClassifierInstanceName());
stringBuffer.append(TEXT_550);
- stringBuffer.append(genEnum.getImportedName().equals(genEnum.getClassifierID()) ? genEnum.getQualifiedName() : genEnum.getImportedName());
+ stringBuffer.append(genEnum.getImportedName().equals(genEnum.getClassifierID()) ? genEnum
+ .getQualifiedName() : genEnum.getImportedName());
stringBuffer.append(TEXT_551);
stringBuffer.append(genEnumLiteral.getEnumLiteralInstanceConstantName());
stringBuffer.append(TEXT_552);
@@ -2361,7 +2550,9 @@
if (!genPackage.getGenDataTypes().isEmpty()) {
stringBuffer.append(TEXT_554);
for (GenDataType genDataType : genPackage.getGenDataTypes()) {
- boolean hasInstanceTypeName = genModel.useGenerics() && genDataType.getEcoreDataType().getInstanceTypeName() != null && genDataType.getEcoreDataType().getInstanceTypeName().contains("<");
+ boolean hasInstanceTypeName = genModel.useGenerics()
+ && genDataType.getEcoreDataType().getInstanceTypeName() != null
+ && genDataType.getEcoreDataType().getInstanceTypeName().contains("<");
stringBuffer.append(TEXT_555);
stringBuffer.append(genDataType.getClassifierInstanceName());
stringBuffer.append(TEXT_556);
@@ -2415,12 +2606,15 @@
stringBuffer.append(genModel.getNonNLS());
}
for (EAnnotation eAnnotation : genPackage.getAllAnnotations()) {
- List<GenPackage.AnnotationReferenceData> annotationReferenceDataList = genPackage.getReferenceData(eAnnotation);
- if (annotationSource == null ? eAnnotation.getSource() == null : annotationSource.equals(eAnnotation.getSource())) {
+ List<GenPackage.AnnotationReferenceData> annotationReferenceDataList = genPackage
+ .getReferenceData(eAnnotation);
+ if (annotationSource == null ? eAnnotation.getSource() == null : annotationSource
+ .equals(eAnnotation.getSource())) {
stringBuffer.append(TEXT_576);
stringBuffer.append(genPackage.getAnnotatedModelElementAccessor(eAnnotation));
stringBuffer.append(TEXT_577);
- for (Iterator<Map.Entry<String, String>> k = eAnnotation.getDetails().iterator(); k.hasNext();) {
+ for (Iterator<Map.Entry<String, String>> k = eAnnotation.getDetails().iterator(); k
+ .hasNext();) {
Map.Entry<String, String> detail = k.next();
String key = Literals.toStringLiteral(detail.getKey(), genModel);
String value = Literals.toStringLiteral(detail.getValue(), genModel);
@@ -2441,13 +2635,15 @@
stringBuffer.append(TEXT_583);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
stringBuffer.append(TEXT_584);
- for (Iterator<GenPackage.AnnotationReferenceData> k = annotationReferenceDataList.iterator(); k.hasNext();) {
+ for (Iterator<GenPackage.AnnotationReferenceData> k = annotationReferenceDataList
+ .iterator(); k.hasNext();) {
GenPackage.AnnotationReferenceData annotationReferenceData = k.next();
stringBuffer.append(TEXT_585);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
stringBuffer.append(TEXT_586);
if (annotationReferenceData.containingGenPackage != genPackage) {
- stringBuffer.append(annotationReferenceData.containingGenPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(annotationReferenceData.containingGenPackage
+ .getImportedPackageInterfaceName());
stringBuffer.append(TEXT_587);
}
stringBuffer.append(TEXT_588);
@@ -2465,7 +2661,8 @@
int depth = 0;
boolean nonContentAnnotation = false;
StringBuilder path = new StringBuilder();
- for (EObject eContainer = nestedEAnnotation.eContainer(), child = nestedEAnnotation; child != eAnnotation; child = eContainer, eContainer = eContainer.eContainer()) {
+ for (EObject eContainer = nestedEAnnotation.eContainer(), child = nestedEAnnotation; child != eAnnotation; child = eContainer, eContainer = eContainer
+ .eContainer()) {
boolean nonContentChild = child.eContainmentFeature() != EcorePackage.Literals.EANNOTATION__CONTENTS;
if (path.length() != 0) {
path.insert(0, ", ");
@@ -2476,11 +2673,13 @@
}
++depth;
}
- List<GenPackage.AnnotationReferenceData> nestedAnnotationReferenceDataList = genPackage.getReferenceData(nestedEAnnotation);
+ List<GenPackage.AnnotationReferenceData> nestedAnnotationReferenceDataList = genPackage
+ .getReferenceData(nestedEAnnotation);
stringBuffer.append(TEXT_592);
stringBuffer.append(genPackage.getAnnotatedModelElementAccessor(eAnnotation));
stringBuffer.append(TEXT_593);
- if (nonContentAnnotation && genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF210_VALUE) {
+ if (nonContentAnnotation
+ && genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF210_VALUE) {
stringBuffer.append(TEXT_594);
stringBuffer.append(path.toString());
stringBuffer.append(TEXT_595);
@@ -2497,7 +2696,8 @@
stringBuffer.append(genModel.getNonNLS());
}
stringBuffer.append(TEXT_600);
- for (Iterator<Map.Entry<String, String>> l = nestedEAnnotation.getDetails().iterator(); l.hasNext();) {
+ for (Iterator<Map.Entry<String, String>> l = nestedEAnnotation.getDetails().iterator(); l
+ .hasNext();) {
Map.Entry<String, String> detail = l.next();
String key = Literals.toStringLiteral(detail.getKey(), genModel);
String value = Literals.toStringLiteral(detail.getValue(), genModel);
@@ -2518,13 +2718,16 @@
stringBuffer.append(TEXT_606);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
stringBuffer.append(TEXT_607);
- for (Iterator<GenPackage.AnnotationReferenceData> l = nestedAnnotationReferenceDataList.iterator(); l.hasNext();) {
+ for (Iterator<GenPackage.AnnotationReferenceData> l = nestedAnnotationReferenceDataList
+ .iterator(); l.hasNext();) {
GenPackage.AnnotationReferenceData annotationReferenceData = l.next();
stringBuffer.append(TEXT_608);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
+ stringBuffer
+ .append(genModel.getImportedName("org.eclipse.emf.common.util.URI"));
stringBuffer.append(TEXT_609);
if (annotationReferenceData.containingGenPackage != genPackage) {
- stringBuffer.append(annotationReferenceData.containingGenPackage.getImportedPackageInterfaceName());
+ stringBuffer.append(annotationReferenceData.containingGenPackage
+ .getImportedPackageInterfaceName());
stringBuffer.append(TEXT_610);
}
stringBuffer.append(TEXT_611);
@@ -2555,7 +2758,8 @@
stringBuffer.append(TEXT_620);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource"));
stringBuffer.append(TEXT_621);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl"));
stringBuffer.append(TEXT_622);
stringBuffer.append(genModel.getImportedName("java.io.IOException"));
stringBuffer.append(TEXT_623);
@@ -2727,8 +2931,11 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
- canGenerate = canGenerate && (genPackage.hasClassifiers() && !genModel.isSuppressEMFMetaData() && !genModel.isSuppressInterfaces());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genPackage.hasClassifiers() && !genModel.isSuppressEMFMetaData() && !genModel
+ .isSuppressInterfaces());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Plugin.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Plugin.java
index 8d6509f..2786510 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Plugin.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/Plugin.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:15 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,40 +30,59 @@
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
protected final String TEXT_4 = NL + NL + "/**" + NL + " * This is the central singleton for the ";
- protected final String TEXT_5 = " model plugin." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
+ protected final String TEXT_5 = " model plugin." + NL + " * <!-- begin-user-doc -->" + NL
+ + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public final class ";
protected final String TEXT_6 = " extends EMFPlugin" + NL + "{";
- protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_8 = " copyright = ";
protected final String TEXT_9 = ";";
protected final String TEXT_10 = NL;
- protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_12 = " INSTANCE = new ";
protected final String TEXT_13 = "();" + NL;
- protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
- protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper(new ResourceLocator [] {});" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_14 = NL + "\t/**" + NL + "\t * Keep track of the singleton." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprivate static Implementation plugin;" + NL;
+ protected final String TEXT_15 = NL + "\t/**" + NL + "\t * Create the instance." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_16 = "()" + NL + "\t{" + NL + "\t\tsuper(new ResourceLocator [] {});" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_17 = NL + "\t@Override";
protected final String TEXT_18 = NL + "\tpublic ResourceLocator getPluginResourceLocator()" + NL + "\t{";
protected final String TEXT_19 = NL + "\t\treturn null;";
protected final String TEXT_20 = NL + "\t\treturn plugin;";
protected final String TEXT_21 = NL + "\t}" + NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */"
- + NL + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL + "\t * <!-- begin-user-doc -->" + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static class Implementation extends EclipsePlugin" + NL + "\t{" + NL + "\t\t/**" + NL + "\t\t * Creates an instance." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * Returns the singleton instance of the Eclipse plugin."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the singleton instance." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static Implementation getPlugin()" + NL + "\t{" + NL + "\t\treturn plugin;" + NL + "\t}" + NL
+ + "" + NL + "\t/**" + NL + "\t * The actual implementation of the Eclipse <b>Plugin</b>." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static class Implementation extends EclipsePlugin" + NL + "\t{" + NL + "\t\t/**"
+ + NL + "\t\t * Creates an instance." + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ "\t\t * <!-- end-user-doc -->";
protected final String TEXT_23 = NL + "\t\t * @param descriptor the description of the plugin.";
protected final String TEXT_24 = NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic Implementation(";
protected final String TEXT_25 = " descriptor";
protected final String TEXT_26 = ")" + NL + "\t\t{" + NL + "\t\t\tsuper(";
protected final String TEXT_27 = "descriptor";
- protected final String TEXT_28 = ");" + NL + "" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//" + NL + "\t\t\tplugin = this;" + NL + "\t\t}";
- protected final String TEXT_29 = NL + "\t" + NL + "\t\t/**" + NL + "\t\t * The actual implementation of the purely OSGi-compatible <b>Bundle Activator</b>." + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ protected final String TEXT_28 = ");" + NL + "" + NL + "\t\t\t// Remember the static instance." + NL + "\t\t\t//"
+ + NL + "\t\t\tplugin = this;" + NL + "\t\t}";
+ protected final String TEXT_29 = NL + "\t" + NL + "\t\t/**" + NL
+ + "\t\t * The actual implementation of the purely OSGi-compatible <b>Bundle Activator</b>." + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ "\t\t */" + NL + "\t\tpublic static final class Activator extends ";
protected final String TEXT_30 = ".OSGiDelegatingBundleActivator" + NL + "\t\t{";
protected final String TEXT_31 = NL + "\t\t\t@Override";
protected final String TEXT_32 = NL + "\t\t\tprotected ";
- protected final String TEXT_33 = " createBundle()" + NL + "\t\t\t{" + NL + "\t\t\t\treturn new Implementation();" + NL + "\t\t\t}" + NL + "\t\t}";
+ protected final String TEXT_33 = " createBundle()" + NL + "\t\t\t{" + NL + "\t\t\t\treturn new Implementation();"
+ + NL + "\t\t\t}" + NL + "\t\t}";
protected final String TEXT_34 = NL + "\t}" + NL;
protected final String TEXT_35 = NL + "}";
protected final String TEXT_36 = NL;
@@ -141,7 +160,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPath = genModel.getModelDirectory();
@@ -161,9 +181,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -193,7 +215,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -276,7 +301,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genModel.hasModelPluginClass());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginProperties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginProperties.java
index 01976e4..cc44d3b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginProperties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginProperties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:15 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -108,7 +108,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getModelProjectDirectory() + "/plugin.properties";
@@ -126,9 +127,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -158,7 +161,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -187,7 +193,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genModel.hasPluginSupport());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginXML.java
index cf8fc44..86e26c2 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/PluginXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:14 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>" + NL;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>"
+ + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
protected final String TEXT_4 = NL + "<plugin>";
@@ -44,7 +45,8 @@
protected final String TEXT_16 = NL + " <library name=\"";
protected final String TEXT_17 = ".jar\">";
protected final String TEXT_18 = NL + " <library name=\".\">";
- protected final String TEXT_19 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL + " </runtime>";
+ protected final String TEXT_19 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL
+ + " </runtime>";
protected final String TEXT_20 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.generated_package\">";
protected final String TEXT_21 = NL + " <!-- @generated ";
protected final String TEXT_22 = " -->";
@@ -61,18 +63,21 @@
protected final String TEXT_33 = " -->";
protected final String TEXT_34 = NL + " <parser" + NL + " contentTypeIdentifier=\"";
protected final String TEXT_35 = "\"" + NL + " class=\"";
- protected final String TEXT_36 = "\"/>" + NL + " </extension>" + NL + "" + NL + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
+ protected final String TEXT_36 = "\"/>" + NL + " </extension>" + NL + "" + NL
+ + " <extension point=\"org.eclipse.core.contenttype.contentTypes\">";
protected final String TEXT_37 = NL + " <!-- @generated ";
protected final String TEXT_38 = " -->";
protected final String TEXT_39 = NL + " <content-type" + NL + " base-type=\"";
protected final String TEXT_40 = "\"" + NL + " file-extensions=\"";
protected final String TEXT_41 = "\"" + NL + " id=\"";
protected final String TEXT_42 = "\"" + NL + " name=\"%_UI_";
- protected final String TEXT_43 = "_content_type\"" + NL + " priority=\"normal\">" + NL + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
+ protected final String TEXT_43 = "_content_type\"" + NL + " priority=\"normal\">" + NL
+ + " <describer class=\"org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer\">";
protected final String TEXT_44 = NL + " <parameter name=\"namespace\" value=\"";
protected final String TEXT_45 = "\"/>";
protected final String TEXT_46 = NL + " <parameter name=\"kind\" value=\"xmi\"/>";
- protected final String TEXT_47 = NL + " </describer>" + NL + " </content-type>" + NL + " </extension>";
+ protected final String TEXT_47 = NL + " </describer>" + NL + " </content-type>" + NL
+ + " </extension>";
protected final String TEXT_48 = NL + NL + " <extension point=\"org.eclipse.emf.ecore.extension_parser\">";
protected final String TEXT_49 = NL + " <!-- @generated ";
protected final String TEXT_50 = " -->";
@@ -155,7 +160,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getModelProjectDirectory() + "/plugin.xml";
@@ -175,9 +181,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -211,7 +219,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -289,7 +300,8 @@
stringBuffer.append(TEXT_38);
}
stringBuffer.append(TEXT_39);
- stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi" : "org.eclipse.core.runtime.xml");
+ stringBuffer.append(genPackage.isXMIResource() ? "org.eclipse.emf.ecore.xmi"
+ : "org.eclipse.core.runtime.xml");
stringBuffer.append(TEXT_40);
stringBuffer.append(genPackage.getFileExtensions());
stringBuffer.append(TEXT_41);
@@ -331,8 +343,12 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
- canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) && (genModel.hasPluginSupport() && !genModel.sameModelEditProject() && !genModel.sameModelEditorProject());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT)
+ && (genModel.hasPluginSupport() && !genModel.sameModelEditProject() && !genModel
+ .sameModelEditorProject());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceClass.java
index a5c71ae..47ff8f8 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:16 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,61 +29,148 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Resource </b> associated with the package." + NL + " * <!-- end-user-doc -->" + NL + " * @see ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Resource </b> associated with the package." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @see ";
protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
protected final String TEXT_6 = " extends ";
protected final String TEXT_7 = NL + "{";
- protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_9 = " copyright = ";
protected final String TEXT_10 = ";";
protected final String TEXT_11 = NL;
- protected final String TEXT_12 = NL + "\t/**" + NL + "\t * Creates an instance of the resource." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param uri the URI of the new resource." + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic ";
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * Creates an instance of the resource." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param uri the URI of the new resource." + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_13 = "(URI uri)" + NL + "\t{" + NL + "\t\tsuper(uri);";
protected final String TEXT_14 = NL + "\t}" + NL;
- protected final String TEXT_15 = NL + "\t/**" + NL + "\t * A load option that turns of the use of the generate data converters." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic static final String OPTION_USE_DATA_CONVERTER = \"USE_DATA_CONVERTER\";" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_15 = NL + "\t/**" + NL
+ + "\t * A load option that turns of the use of the generate data converters." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final String OPTION_USE_DATA_CONVERTER = \"USE_DATA_CONVERTER\";" + NL
+ + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_16 = NL + "\t@Override";
protected final String TEXT_17 = NL + "\tpublic void doLoad(InputStream inputStream, ";
- protected final String TEXT_18 = " options) throws IOException" + NL + "\t{" + NL + "\t\tif (options != null && Boolean.TRUE.equals(options.get(OPTION_USE_DATA_CONVERTER)))" + NL + "\t\t{" + NL + "\t\t getContents().add" + NL + "\t\t\t (load" + NL
- + "\t\t\t\t (new InputSource(inputStream), " + NL + "\t\t\t\t (";
+ protected final String TEXT_18 = " options) throws IOException" + NL + "\t{" + NL
+ + "\t\tif (options != null && Boolean.TRUE.equals(options.get(OPTION_USE_DATA_CONVERTER)))" + NL + "\t\t{"
+ + NL + "\t\t getContents().add" + NL + "\t\t\t (load" + NL + "\t\t\t\t (new InputSource(inputStream), "
+ + NL + "\t\t\t\t (";
protected final String TEXT_19 = ")options.get(XMLResource.OPTION_PARSER_FEATURES), " + NL + "\t\t\t\t (";
- protected final String TEXT_20 = ")options.get(XMLResource.OPTION_PARSER_PROPERTIES), " + NL + "\t\t\t\t Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER))).eContainer());" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{ " + NL
- + "\t\t\tsuper.doLoad(inputStream, options);" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_20 = ")options.get(XMLResource.OPTION_PARSER_PROPERTIES), " + NL
+ + "\t\t\t\t Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER))).eContainer());" + NL
+ + "\t\t}" + NL + "\t\telse" + NL + "\t\t{ " + NL + "\t\t\tsuper.doLoad(inputStream, options);" + NL
+ + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_21 = NL + "\t@Override";
protected final String TEXT_22 = NL + "\tpublic void doLoad(InputSource inputSource, ";
- protected final String TEXT_23 = " options) throws IOException" + NL + "\t{" + NL + "\t\tif (options != null && Boolean.TRUE.equals(options.get(OPTION_USE_DATA_CONVERTER)))" + NL + "\t\t{" + NL + "\t\t getContents().add" + NL + "\t\t\t (load" + NL + "\t\t\t\t (inputSource,"
- + NL + "\t\t\t\t (";
+ protected final String TEXT_23 = " options) throws IOException" + NL + "\t{" + NL
+ + "\t\tif (options != null && Boolean.TRUE.equals(options.get(OPTION_USE_DATA_CONVERTER)))" + NL + "\t\t{"
+ + NL + "\t\t getContents().add" + NL + "\t\t\t (load" + NL + "\t\t\t\t (inputSource," + NL + "\t\t\t\t (";
protected final String TEXT_24 = ")options.get(XMLResource.OPTION_PARSER_FEATURES), " + NL + "\t\t\t\t (";
- protected final String TEXT_25 = ")options.get(XMLResource.OPTION_PARSER_PROPERTIES), " + NL + "\t\t\t\t Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER))).eContainer());" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{ " + NL
- + "\t\t\tsuper.doLoad(inputSource, options);" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected static final XMLParserPool parserPool = new XMLParserPoolImpl();" + NL + "" + NL + "\t/**" + NL + "\t * Loads an instance from the input." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @param inputSource the input from which to load." + NL + "\t * @param features a map of the parser features and their values." + NL + "\t * @param properties a map of a parser properties and their values." + NL
- + "\t * @param useLexicalHandler whether a lexical handler should be used during loading." + NL + "\t * @return the root object; for the case of a document root, the child of that document root is return." + NL + "\t * @throws ParserConfigurationException" + NL
- + "\t * @throws SAXException" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static EObject load(InputSource inputSource, ";
+ protected final String TEXT_25 = ")options.get(XMLResource.OPTION_PARSER_PROPERTIES), "
+ + NL
+ + "\t\t\t\t Boolean.TRUE.equals(options.get(XMLResource.OPTION_USE_LEXICAL_HANDLER))).eContainer());"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\telse"
+ + NL
+ + "\t\t{ "
+ + NL
+ + "\t\t\tsuper.doLoad(inputSource, options);"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @generated"
+ + NL
+ + "\t */"
+ + NL
+ + "\tprotected static final XMLParserPool parserPool = new XMLParserPoolImpl();"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Loads an instance from the input."
+ + NL
+ + "\t * <!-- begin-user-doc -->"
+ + NL
+ + "\t * <!-- end-user-doc -->"
+ + NL
+ + "\t * @param inputSource the input from which to load."
+ + NL
+ + "\t * @param features a map of the parser features and their values."
+ + NL
+ + "\t * @param properties a map of a parser properties and their values."
+ + NL
+ + "\t * @param useLexicalHandler whether a lexical handler should be used during loading."
+ + NL
+ + "\t * @return the root object; for the case of a document root, the child of that document root is return."
+ + NL + "\t * @throws ParserConfigurationException" + NL + "\t * @throws SAXException" + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic static EObject load(InputSource inputSource, ";
protected final String TEXT_26 = " features, ";
- protected final String TEXT_27 = " properties, boolean useLexicalHandler) throws IOException" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_27 = " properties, boolean useLexicalHandler) throws IOException" + NL + "\t{" + NL
+ + "\t\t";
protected final String TEXT_28 = " requiredFeatures = new ";
- protected final String TEXT_29 = "();" + NL + "\t\trequiredFeatures.put(\"http://xml.org/sax/features/namespaces\", Boolean.TRUE); " + NL + "\t\tif (features != null)" + NL + "\t\t{" + NL + "\t\t\trequiredFeatures.putAll(features);" + NL + "\t\t}" + NL + "\t\t" + NL
- + "\t\tif (properties == null)" + NL + "\t\t{" + NL + "\t\t\tproperties = Collections.";
+ protected final String TEXT_29 = "();" + NL
+ + "\t\trequiredFeatures.put(\"http://xml.org/sax/features/namespaces\", Boolean.TRUE); " + NL
+ + "\t\tif (features != null)" + NL + "\t\t{" + NL + "\t\t\trequiredFeatures.putAll(features);" + NL
+ + "\t\t}" + NL + "\t\t" + NL + "\t\tif (properties == null)" + NL + "\t\t{" + NL
+ + "\t\t\tproperties = Collections.";
protected final String TEXT_30 = "emptyMap()";
protected final String TEXT_31 = "EMPTY_MAP";
- protected final String TEXT_32 = ";" + NL + "\t\t}" + NL + "\t\t" + NL + "\t\tSAXParser saxParser = null;" + NL + "\t\ttry" + NL + "\t\t{" + NL + "\t\t\tsaxParser = parserPool.get(requiredFeatures, properties, useLexicalHandler);" + NL
- + "\t\t\tfinal FrameFactory.DocumentRootStackFrame documentRoot = FrameFactory.INSTANCE.pushDocumentRoot(null, null);" + NL + "\t\t\tXMLTypeResourceImpl.Handler handler = new XMLTypeResourceImpl.Handler(documentRoot);" + NL
+ protected final String TEXT_32 = ";"
+ + NL
+ + "\t\t}"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\tSAXParser saxParser = null;"
+ + NL
+ + "\t\ttry"
+ + NL
+ + "\t\t{"
+ + NL
+ + "\t\t\tsaxParser = parserPool.get(requiredFeatures, properties, useLexicalHandler);"
+ + NL
+ + "\t\t\tfinal FrameFactory.DocumentRootStackFrame documentRoot = FrameFactory.INSTANCE.pushDocumentRoot(null, null);"
+ + NL + "\t\t\tXMLTypeResourceImpl.Handler handler = new XMLTypeResourceImpl.Handler(documentRoot);" + NL
+ "\t\t\tsaxParser.parse(inputSource, handler);";
- protected final String TEXT_33 = NL + "\t\t\treturn (EObject)((EObject)FrameFactory.INSTANCE.popDocumentRoot(documentRoot)).eContents().get(0);";
- protected final String TEXT_34 = NL + "\t\t\treturn FrameFactory.INSTANCE.popDocumentRoot(documentRoot).eContents().get(0);";
- protected final String TEXT_35 = NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL + "\t\t\tthrow new IOWrappedException(exception);" + NL + "\t\t}" + NL + "\t\tfinally" + NL + "\t\t{" + NL
- + "\t\t\tparserPool.release(saxParser, requiredFeatures, properties, useLexicalHandler);" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_36 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic final static class FrameFactory" + NL + "\t{" + NL + "\t\t/**" + NL
- + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic static final FrameFactory INSTANCE = new FrameFactory();" + NL + "\t";
- protected final String TEXT_37 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_33 = NL
+ + "\t\t\treturn (EObject)((EObject)FrameFactory.INSTANCE.popDocumentRoot(documentRoot)).eContents().get(0);";
+ protected final String TEXT_34 = NL
+ + "\t\t\treturn FrameFactory.INSTANCE.popDocumentRoot(documentRoot).eContents().get(0);";
+ protected final String TEXT_35 = NL + "\t\t}" + NL + "\t\tcatch (Exception exception)" + NL + "\t\t{" + NL
+ + "\t\t\tthrow new IOWrappedException(exception);" + NL + "\t\t}" + NL + "\t\tfinally" + NL + "\t\t{" + NL
+ + "\t\t\tparserPool.release(saxParser, requiredFeatures, properties, useLexicalHandler);" + NL + "\t\t}"
+ + NL + "\t}" + NL;
+ protected final String TEXT_36 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic final static class FrameFactory" + NL + "\t{" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic static final FrameFactory INSTANCE = new FrameFactory();" + NL + "\t";
+ protected final String TEXT_37 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
protected final String TEXT_38 = "StackFrame ";
protected final String TEXT_39 = ";" + NL;
- protected final String TEXT_40 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
+ protected final String TEXT_40 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tprotected ";
protected final String TEXT_41 = " ";
protected final String TEXT_42 = ";" + NL;
- protected final String TEXT_43 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_43 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
protected final String TEXT_44 = "StackFrame push";
protected final String TEXT_45 = "(";
protected final String TEXT_46 = " previous, Attributes attributes)" + NL + "\t\t{" + NL + "\t\t\t ";
@@ -95,7 +182,9 @@
protected final String TEXT_52 = " = null;" + NL + "\t\t\t result";
protected final String TEXT_53 = ".pushOnto(previous);" + NL + "\t\t\t result";
protected final String TEXT_54 = ".handleAttributes(attributes);" + NL + "\t\t\t return result";
- protected final String TEXT_55 = ";" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_55 = ";" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic ";
protected final String TEXT_56 = " pop";
protected final String TEXT_57 = "(";
protected final String TEXT_58 = "StackFrame ";
@@ -106,19 +195,28 @@
protected final String TEXT_63 = "();" + NL + "\t\t\tthis.";
protected final String TEXT_64 = " = ";
protected final String TEXT_65 = ";" + NL + "\t\t\treturn result";
- protected final String TEXT_66 = "Value;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic static class ";
+ protected final String TEXT_66 = "Value;" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic static class ";
protected final String TEXT_67 = "StackFrame extends ";
- protected final String TEXT_68 = NL + "\t\t{" + NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL + "\t\t\tprotected ";
+ protected final String TEXT_68 = NL + "\t\t{" + NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
protected final String TEXT_69 = " the";
protected final String TEXT_70 = ";" + NL + "\t\t";
- protected final String TEXT_71 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL + "\t\t\tprotected ";
+ protected final String TEXT_71 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
protected final String TEXT_72 = ".FrameFactory.";
protected final String TEXT_73 = "StackFrame ";
protected final String TEXT_74 = ";" + NL;
- protected final String TEXT_75 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL + "\t\t\tprotected ";
+ protected final String TEXT_75 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL
+ + "\t\t\tprotected ";
protected final String TEXT_76 = " ";
protected final String TEXT_77 = ";" + NL + "\t\t";
- protected final String TEXT_78 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
+ protected final String TEXT_78 = NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
protected final String TEXT_79 = NL + "\t\t\t@Override";
protected final String TEXT_80 = NL + "\t\t\tpublic void handleAttributes(Attributes attributes)" + NL + "\t\t\t{";
protected final String TEXT_81 = NL + "\t\t\t\tString theValue = attributes.getValue(";
@@ -141,10 +239,13 @@
protected final String TEXT_98 = ", theValue));";
protected final String TEXT_99 = NL + "\t\t\t\t}";
protected final String TEXT_100 = NL + "\t\t\t\t// There are attributes to handle.";
- protected final String TEXT_101 = NL + "\t\t\t}" + NL + "\t\t" + NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
+ protected final String TEXT_101 = NL + "\t\t\t}" + NL + "\t\t" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */";
protected final String TEXT_102 = NL + "\t\t\t@Override";
protected final String TEXT_103 = NL + "\t\t\tpublic ";
- protected final String TEXT_104 = " startElement(String namespace, String localName, String qName, Attributes attributes) throws SAXException" + NL + "\t\t\t{";
+ protected final String TEXT_104 = " startElement(String namespace, String localName, String qName, Attributes attributes) throws SAXException"
+ + NL + "\t\t\t{";
protected final String TEXT_105 = NL + "\t\t\t\t";
protected final String TEXT_106 = "else ";
protected final String TEXT_107 = "if (\"";
@@ -153,9 +254,13 @@
protected final String TEXT_110 = " = ";
protected final String TEXT_111 = ".FrameFactory.INSTANCE.push";
protected final String TEXT_112 = "(this, attributes);" + NL + "\t\t\t\t}";
- protected final String TEXT_113 = NL + "\t\t\t\treturn super.startElement(namespace, localName, qName, attributes);";
- protected final String TEXT_114 = NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\treturn super.startElement(namespace, localName, qName, attributes);" + NL + "\t\t\t\t}";
- protected final String TEXT_115 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
+ protected final String TEXT_113 = NL
+ + "\t\t\t\treturn super.startElement(namespace, localName, qName, attributes);";
+ protected final String TEXT_114 = NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\treturn super.startElement(namespace, localName, qName, attributes);" + NL + "\t\t\t\t}";
+ protected final String TEXT_115 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */";
protected final String TEXT_116 = NL + "\t\t\t@Override";
protected final String TEXT_117 = NL + "\t\t\tpublic void endElement(";
protected final String TEXT_118 = " child) throws SAXException" + NL + "\t\t\t{";
@@ -178,13 +283,18 @@
protected final String TEXT_135 = NL + "\t\t\t\t\t";
protected final String TEXT_136 = " = null;" + NL + "\t\t\t\t}";
protected final String TEXT_137 = NL + "\t\t\t\tsuper.endElement(child);";
- protected final String TEXT_138 = NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tsuper.endElement(child);" + NL + "\t\t\t\t}";
- protected final String TEXT_139 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */";
+ protected final String TEXT_138 = NL + "\t\t\t\telse" + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tsuper.endElement(child);" + NL + "\t\t\t\t}";
+ protected final String TEXT_139 = NL + "\t\t\t}" + NL + "" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */";
protected final String TEXT_140 = NL + "\t\t\t@Override";
protected final String TEXT_141 = NL + "\t\t\tpublic void create()" + NL + "\t\t\t{" + NL + "\t\t\t\tthe";
protected final String TEXT_142 = " = ";
protected final String TEXT_143 = ".create";
- protected final String TEXT_144 = "();" + NL + "\t\t\t}" + NL + "\t\t" + NL + "\t\t\t/**" + NL + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated" + NL + "\t\t\t */" + NL + "\t\t\tprotected ";
+ protected final String TEXT_144 = "();" + NL + "\t\t\t}" + NL + "\t\t" + NL + "\t\t\t/**" + NL
+ + "\t\t\t * <!-- begin-user-doc -->" + NL + "\t\t\t * <!-- end-user-doc -->" + NL + "\t\t\t * @generated"
+ + NL + "\t\t\t */" + NL + "\t\t\tprotected ";
protected final String TEXT_145 = " pop";
protected final String TEXT_146 = "()" + NL + "\t\t\t{" + NL + "\t\t\t\tpop();" + NL + "\t\t\t\t";
protected final String TEXT_147 = " result";
@@ -192,7 +302,8 @@
protected final String TEXT_149 = ";" + NL + "\t\t\t\tthe";
protected final String TEXT_150 = " = null;" + NL + "\t\t\t\treturn result";
protected final String TEXT_151 = "Value;" + NL + "\t\t\t}" + NL + "\t\t" + NL + "\t\t}" + NL;
- protected final String TEXT_152 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_152 = NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL
+ + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
protected final String TEXT_153 = " push";
protected final String TEXT_154 = "(";
protected final String TEXT_155 = " previous, Attributes attributes)" + NL + "\t\t{" + NL + "\t\t\t ";
@@ -204,7 +315,9 @@
protected final String TEXT_161 = " = null;" + NL + "\t\t\t result";
protected final String TEXT_162 = ".pushOnto(previous);" + NL + "\t\t\t result";
protected final String TEXT_163 = ".handleAttributes(attributes);" + NL + "\t\t\t return result";
- protected final String TEXT_164 = ";" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic ";
+ protected final String TEXT_164 = ";" + NL + "\t\t}" + NL + "" + NL + "\t\t/**" + NL
+ + "\t\t * <!-- begin-user-doc -->" + NL + "\t\t * <!-- end-user-doc -->" + NL + "\t\t * @generated" + NL
+ + "\t\t */" + NL + "\t\tpublic ";
protected final String TEXT_165 = " pop";
protected final String TEXT_166 = "(";
protected final String TEXT_167 = " ";
@@ -311,7 +424,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -331,9 +445,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -365,7 +481,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -396,8 +515,11 @@
if (genPackage.getResource() == GenResourceKind.XML_LITERAL) { // Do nothing
}
stringBuffer.append(TEXT_14);
- if (genPackage.isDataTypeConverters() && (genPackage.hasDocumentRoot() || org.eclipse.emf.ecore.xml.type.XMLTypePackage.eNS_URI.equals(genPackage.getNSURI()))) {
- boolean isXMLTypePackage = org.eclipse.emf.ecore.xml.type.XMLTypePackage.eNS_URI.equals(genPackage.getNSURI());
+ if (genPackage.isDataTypeConverters()
+ && (genPackage.hasDocumentRoot() || org.eclipse.emf.ecore.xml.type.XMLTypePackage.eNS_URI
+ .equals(genPackage.getNSURI()))) {
+ boolean isXMLTypePackage = org.eclipse.emf.ecore.xml.type.XMLTypePackage.eNS_URI.equals(genPackage
+ .getNSURI());
final String _Map = genModel.useGenerics() ? "Map<?, ?>" : "Map";
final String _MapStringBoolean = genModel.useGenerics() ? "Map<String, Boolean>" : "Map";
final String _MapStringWildcard = genModel.useGenerics() ? "Map<String, ?>" : "Map";
@@ -416,8 +538,10 @@
}
genModel.getImportedName("org.xml.sax.Attributes");
genModel.getImportedName("org.xml.sax.SAXException");
- String _StackFrame = genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl") + ".StackFrame";
- String _DataFrame = genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl") + ".DataFrame";
+ String _StackFrame = genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl")
+ + ".StackFrame";
+ String _DataFrame = genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl")
+ + ".DataFrame";
if (!isXMLTypePackage) {
stringBuffer.append(TEXT_15);
if (genModel.useClassOverrideAnnotation()) {
@@ -536,10 +660,12 @@
stringBuffer.append(TEXT_70);
for (GenFeature genFeature : genClass.getAllGenFeatures()) {
String name = extendedMetaData.getName(genFeature.getEcoreFeature());
- if ((elements.contains(genFeature.getEcoreFeature()) || attributes.contains(genFeature.getEcoreFeature())) && name.indexOf(":") == -1) {
+ if ((elements.contains(genFeature.getEcoreFeature()) || attributes.contains(genFeature
+ .getEcoreFeature())) && name.indexOf(":") == -1) {
if (genFeature.isReferenceType()) {
stringBuffer.append(TEXT_71);
- stringBuffer.append(genFeature.getTypeGenClass().getGenPackage().getImportedResourceClassName());
+ stringBuffer.append(genFeature.getTypeGenClass().getGenPackage()
+ .getImportedResourceClassName());
stringBuffer.append(TEXT_72);
stringBuffer.append(genFeature.getTypeGenClass().getName());
stringBuffer.append(TEXT_73);
@@ -562,8 +688,10 @@
int count = 0;
for (GenFeature genFeature : genClass.getAllGenFeatures()) {
String name = extendedMetaData.getName(genFeature.getEcoreFeature());
- if (attributes.contains(genFeature.getEcoreFeature()) && !genFeature.isDerived() && name.indexOf(":") == -1) {
- String namespace = Literals.toStringLiteral(extendedMetaData.getNamespace(genFeature.getEcoreFeature()), genModel);
+ if (attributes.contains(genFeature.getEcoreFeature()) && !genFeature.isDerived()
+ && name.indexOf(":") == -1) {
+ String namespace = Literals.toStringLiteral(
+ extendedMetaData.getNamespace(genFeature.getEcoreFeature()), genModel);
if ("null".equals(namespace))
namespace = "\"\"";
if (!genFeature.isReferenceType()) {
@@ -588,7 +716,8 @@
stringBuffer.append(TEXT_89);
stringBuffer.append(genFeature.getAccessorName());
stringBuffer.append(TEXT_90);
- stringBuffer.append(genClassifier.getGenPackage().getQualifiedFactoryInstanceAccessor());
+ stringBuffer
+ .append(genClassifier.getGenPackage().getQualifiedFactoryInstanceAccessor());
stringBuffer.append(TEXT_91);
stringBuffer.append(genClassifier.getName());
stringBuffer.append(TEXT_92);
@@ -600,7 +729,8 @@
stringBuffer.append(TEXT_95);
stringBuffer.append(genFeature.getImportedType(null));
stringBuffer.append(TEXT_96);
- stringBuffer.append(genClassifier.getGenPackage().getQualifiedEFactoryInstanceAccessor());
+ stringBuffer.append(genClassifier.getGenPackage()
+ .getQualifiedEFactoryInstanceAccessor());
stringBuffer.append(TEXT_97);
stringBuffer.append(genClassifier.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_98);
@@ -623,7 +753,8 @@
for (GenFeature genFeature : genClass.getAllGenFeatures()) {
String name = extendedMetaData.getName(genFeature.getEcoreFeature());
if (elements.contains(genFeature.getEcoreFeature()) && name.indexOf(":") == -1) {
- String namespace = Literals.toStringLiteral(extendedMetaData.getNamespace(genFeature.getEcoreFeature()), genModel);
+ String namespace = Literals.toStringLiteral(
+ extendedMetaData.getNamespace(genFeature.getEcoreFeature()), genModel);
if ("null".equals(namespace))
namespace = "\"\"";
stringBuffer.append(TEXT_105);
@@ -637,7 +768,8 @@
stringBuffer.append(TEXT_109);
stringBuffer.append(genFeature.getSafeName());
stringBuffer.append(TEXT_110);
- stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage().getImportedResourceClassName());
+ stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage()
+ .getImportedResourceClassName());
stringBuffer.append(TEXT_111);
stringBuffer.append(genFeature.getTypeGenClassifier().getName());
stringBuffer.append(TEXT_112);
@@ -672,7 +804,8 @@
stringBuffer.append(TEXT_124);
stringBuffer.append(genFeature.getGetAccessor());
stringBuffer.append(TEXT_125);
- stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage().getImportedResourceClassName());
+ stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage()
+ .getImportedResourceClassName());
stringBuffer.append(TEXT_126);
stringBuffer.append(genFeature.getTypeGenClassifier().getName());
stringBuffer.append(TEXT_127);
@@ -684,7 +817,8 @@
stringBuffer.append(TEXT_130);
stringBuffer.append(genFeature.getAccessorName());
stringBuffer.append(TEXT_131);
- stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage().getImportedResourceClassName());
+ stringBuffer.append(genFeature.getTypeGenClassifier().getGenPackage()
+ .getImportedResourceClassName());
stringBuffer.append(TEXT_132);
stringBuffer.append(genFeature.getTypeGenClassifier().getName());
stringBuffer.append(TEXT_133);
@@ -773,7 +907,8 @@
stringBuffer.append(TEXT_173);
stringBuffer.append(genDataType.getSafeUncapName());
stringBuffer.append(TEXT_174);
- } else if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ } else if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_175);
stringBuffer.append(genDataType.getImportedInstanceClassName());
stringBuffer.append(TEXT_176);
@@ -825,7 +960,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genPackage.getResource() != GenResourceKind.NONE_LITERAL);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceFactoryClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceFactoryClass.java
index a5f1f33..8682809 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceFactoryClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ResourceFactoryClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:15 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,20 +29,27 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Resource Factory</b> associated with the package." + NL + " * <!-- end-user-doc -->" + NL + " * @see ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Resource Factory</b> associated with the package." + NL + " * <!-- end-user-doc -->" + NL
+ + " * @see ";
protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
protected final String TEXT_6 = " extends ";
protected final String TEXT_7 = NL + "{";
- protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_9 = " copyright = ";
protected final String TEXT_10 = ";";
protected final String TEXT_11 = NL;
- protected final String TEXT_12 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_13 = " extendedMetaData;" + NL;
- protected final String TEXT_14 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_14 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_15 = " xmlMap = new ";
protected final String TEXT_16 = "();" + NL;
- protected final String TEXT_17 = NL + "\t/**" + NL + "\t * Creates an instance of the resource factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_17 = NL + "\t/**" + NL + "\t * Creates an instance of the resource factory." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
protected final String TEXT_18 = "()" + NL + "\t{" + NL + "\t\tsuper();";
protected final String TEXT_19 = NL + "\t\textendedMetaData = new ";
protected final String TEXT_20 = "(new ";
@@ -51,7 +58,9 @@
protected final String TEXT_23 = ".eINSTANCE);";
protected final String TEXT_24 = NL + "\t\txmlMap.setNoNamespacePackage(";
protected final String TEXT_25 = ".eINSTANCE);";
- protected final String TEXT_26 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Creates an instance of the resource." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_26 = NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the resource." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_27 = NL + "\t@Override";
protected final String TEXT_28 = NL + "\tpublic Resource createResource(URI uri)" + NL + "\t{";
protected final String TEXT_29 = NL;
@@ -131,7 +140,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -151,9 +161,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -184,7 +196,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -255,7 +270,9 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uqqgWJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uqqgWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -271,7 +288,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genPackage.getResource() != GenResourceKind.NONE_LITERAL);
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/SwitchClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/SwitchClass.java
index 0c9d1f1..875789a 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/SwitchClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/SwitchClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:16 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,28 +29,62 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Switch</b> for the model's inheritance hierarchy." + NL + " * It supports the call {@link #doSwitch(EObject) doSwitch(object)}" + NL
- + " * to invoke the <code>caseXXX</code> method for each class of the model," + NL + " * starting with the actual class of the object" + NL + " * and proceeding up the inheritance hierarchy" + NL + " * until a non-null result is returned," + NL
- + " * which is the result of the switch." + NL + " * <!-- end-user-doc -->" + NL + " * @see ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Switch</b> for the model's inheritance hierarchy." + NL
+ + " * It supports the call {@link #doSwitch(EObject) doSwitch(object)}" + NL
+ + " * to invoke the <code>caseXXX</code> method for each class of the model," + NL
+ + " * starting with the actual class of the object" + NL + " * and proceeding up the inheritance hierarchy"
+ + NL + " * until a non-null result is returned," + NL + " * which is the result of the switch." + NL
+ + " * <!-- end-user-doc -->" + NL + " * @see ";
protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
protected final String TEXT_6 = " extends Switch";
protected final String TEXT_7 = NL + "{";
- protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_9 = " copyright = ";
protected final String TEXT_10 = ";";
protected final String TEXT_11 = NL;
- protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached model package" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static ";
- protected final String TEXT_13 = " modelPackage;" + NL + "" + NL + "\t/**" + NL + "\t * Creates an instance of the switch." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_14 = "()" + NL + "\t{" + NL + "\t\tif (modelPackage == null)" + NL + "\t\t{" + NL + "\t\t\tmodelPackage = ";
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached model package" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected static ";
+ protected final String TEXT_13 = " modelPackage;" + NL + "" + NL + "\t/**" + NL
+ + "\t * Creates an instance of the switch." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_14 = "()" + NL + "\t{" + NL + "\t\tif (modelPackage == null)" + NL + "\t\t{" + NL
+ + "\t\t\tmodelPackage = ";
protected final String TEXT_15 = ".eINSTANCE;" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_16 = NL + "\t/**" + NL + "\t * Checks whether this is a switch for the given package." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @parameter ePackage the package in question." + NL
- + "\t * @return whether this is a switch for the given package." + NL + "\t * @generated" + NL + "\t */" + NL + "\t@Override" + NL + "\tprotected boolean isSwitchFor(EPackage ePackage)" + NL + "\t{" + NL + "\t\treturn ePackage == modelPackage;" + NL + "\t}";
- protected final String TEXT_17 = NL + "\t/**" + NL + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_18 = " doSwitch(EObject theEObject)" + NL + "\t{" + NL + "\t\treturn doSwitch(theEObject.eClass(), theEObject);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
- + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
- protected final String TEXT_19 = " doSwitch(EClass theEClass, EObject theEObject)" + NL + "\t{" + NL + "\t\tif (theEClass.eContainer() == modelPackage)" + NL + "\t\t{" + NL + "\t\t\treturn doSwitch(theEClass.getClassifierID(), theEObject);" + NL + "\t\t}";
+ protected final String TEXT_16 = NL + "\t/**" + NL + "\t * Checks whether this is a switch for the given package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param ePackage the package in question." + NL
+ + "\t * @return whether this is a switch for the given package." + NL + "\t * @generated" + NL + "\t */"
+ + NL + "\t@Override" + NL + "\tprotected boolean isSwitchFor(EPackage ePackage)" + NL + "\t{" + NL
+ + "\t\treturn ePackage == modelPackage;" + NL + "\t}";
+ protected final String TEXT_17 = NL
+ + "\t/**"
+ + NL
+ + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_18 = " doSwitch(EObject theEObject)"
+ + NL
+ + "\t{"
+ + NL
+ + "\t\treturn doSwitch(theEObject.eClass(), theEObject);"
+ + NL
+ + "\t}"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL
+ + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_19 = " doSwitch(EClass theEClass, EObject theEObject)" + NL + "\t{" + NL
+ + "\t\tif (theEClass.eContainer() == modelPackage)" + NL + "\t\t{" + NL
+ + "\t\t\treturn doSwitch(theEClass.getClassifierID(), theEObject);" + NL + "\t\t}";
protected final String TEXT_20 = NL + "\t\telse" + NL + "\t\t{";
protected final String TEXT_21 = NL + "\t\t";
protected final String TEXT_22 = "<";
@@ -64,11 +98,18 @@
protected final String TEXT_30 = "eSuperTypes.get(0), theEObject);";
protected final String TEXT_31 = NL + "\t\t}";
protected final String TEXT_32 = NL + "\t}";
- protected final String TEXT_33 = NL + NL + "\t/**" + NL + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_33 = NL
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return the first non-null result returned by a <code>caseXXX</code> call." + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_34 = NL + "\t@Override";
protected final String TEXT_35 = NL + "\tprotected ";
- protected final String TEXT_36 = " doSwitch(int classifierID, EObject theEObject)" + NL + "\t{" + NL + "\t\tswitch (classifierID)" + NL + "\t\t{";
+ protected final String TEXT_36 = " doSwitch(int classifierID, EObject theEObject)" + NL + "\t{" + NL
+ + "\t\tswitch (classifierID)" + NL + "\t\t{";
protected final String TEXT_37 = NL + "\t\t\tcase ";
protected final String TEXT_38 = ".";
protected final String TEXT_39 = ":" + NL + "\t\t\t{" + NL + "\t\t\t\t";
@@ -95,19 +136,30 @@
protected final String TEXT_60 = " = defaultCase(theEObject);" + NL + "\t\t\t\treturn ";
protected final String TEXT_61 = ";" + NL + "\t\t\t}";
protected final String TEXT_62 = NL + "\t\t\tdefault: return defaultCase(theEObject);" + NL + "\t\t}" + NL + "\t}";
- protected final String TEXT_63 = NL + NL + "\t/**" + NL + "\t * Returns the result of interpreting the object as an instance of '<em>";
- protected final String TEXT_64 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * This implementation returns null;" + NL + "\t * returning a non-null result will terminate the switch." + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @param object the target of the switch." + NL + "\t * @return the result of interpreting the object as an instance of '<em>";
- protected final String TEXT_65 = "</em>'." + NL + "\t * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_63 = NL + NL + "\t/**" + NL
+ + "\t * Returns the result of interpreting the object as an instance of '<em>";
+ protected final String TEXT_64 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * This implementation returns null;" + NL
+ + "\t * returning a non-null result will terminate the switch." + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param object the target of the switch." + NL
+ + "\t * @return the result of interpreting the object as an instance of '<em>";
+ protected final String TEXT_65 = "</em>'." + NL
+ + "\t * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
protected final String TEXT_66 = " case";
protected final String TEXT_67 = "(";
protected final String TEXT_68 = " object)" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}";
- protected final String TEXT_69 = NL + NL + "\t/**" + NL + "\t * Returns the result of interpreting the object as an instance of '<em>EObject</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * This implementation returns null;" + NL
- + "\t * returning a non-null result will terminate the switch, but this is the last case anyway." + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param object the target of the switch." + NL
- + "\t * @return the result of interpreting the object as an instance of '<em>EObject</em>'." + NL + "\t * @see #doSwitch(org.eclipse.emf.ecore.EObject)" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_69 = NL + NL + "\t/**" + NL
+ + "\t * Returns the result of interpreting the object as an instance of '<em>EObject</em>'." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * This implementation returns null;" + NL
+ + "\t * returning a non-null result will terminate the switch, but this is the last case anyway." + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param object the target of the switch." + NL
+ + "\t * @return the result of interpreting the object as an instance of '<em>EObject</em>'." + NL
+ + "\t * @see #doSwitch(org.eclipse.emf.ecore.EObject)" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_70 = NL + "\t@Override";
protected final String TEXT_71 = NL + "\tpublic ";
- protected final String TEXT_72 = " defaultCase(EObject object)" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}" + NL + "" + NL + "} //";
+ protected final String TEXT_72 = " defaultCase(EObject object)" + NL + "\t{" + NL + "\t\treturn null;" + NL + "\t}"
+ + NL + "" + NL + "} //";
protected final String TEXT_73 = NL;
protected final String TEXT_74 = NL;
protected final String TEXT_75 = NL;
@@ -183,7 +235,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -203,9 +256,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -237,7 +292,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -252,7 +310,8 @@
genModel.addImport("org.eclipse.emf.ecore.EClass");
genModel.addImport("org.eclipse.emf.ecore.EObject");
}
- if (!genPackage.hasJavaLangConflict() && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
+ if (!genPackage.hasJavaLangConflict()
+ && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
genModel.addImport(genPackage.getInterfacePackageName() + ".*");
String templateParameterName = null;
@@ -276,7 +335,8 @@
}
String templateParameters = genModel.useGenerics() ? "<" + templateParameterName + ">" : "";
- String returnType = genModel.useGenerics() ? templateParameterName : genModel.getImportedName("java.lang.Object");
+ String returnType = genModel.useGenerics() ? templateParameterName : genModel
+ .getImportedName("java.lang.Object");
genModel.markImportLocation(stringBuffer);
stringBuffer.append(TEXT_4);
stringBuffer.append(genPackage.getQualifiedPackageInterfaceName());
@@ -358,7 +418,8 @@
stringBuffer.append(TEXT_38);
stringBuffer.append(genPackage.getClassifierID(genClass));
stringBuffer.append(TEXT_39);
- if (genClass.isUncheckedCast() || genClass.isMapEntry() && genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {
+ if (genClass.isUncheckedCast() || genClass.isMapEntry()
+ && genModel.getComplianceLevel().getValue() >= GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_40);
}
stringBuffer.append(genClass.getImportedInterfaceName());
@@ -442,8 +503,11 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
- canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.isAdapterFactory() && !genPackage.getGenClasses().isEmpty());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genPackage.hasClassifiers() && genPackage.isAdapterFactory() && !genPackage.getGenClasses()
+ .isEmpty());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ValidatorClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ValidatorClass.java
index f2d4263..8619a6c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ValidatorClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/ValidatorClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,35 +29,65 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * The <b>Validator</b> for the model." + NL + " * <!-- end-user-doc -->" + NL + " * @see ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * The <b>Validator</b> for the model." + NL + " * <!-- end-user-doc -->" + NL + " * @see ";
protected final String TEXT_5 = NL + " * @generated" + NL + " */" + NL + "public class ";
protected final String TEXT_6 = " extends ";
protected final String TEXT_7 = NL + "{";
- protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_9 = " copyright = ";
protected final String TEXT_10 = ";";
protected final String TEXT_11 = NL;
- protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached model package" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached model package" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_13 = " INSTANCE = new ";
- protected final String TEXT_14 = "();" + NL + "" + NL + "\t/**" + NL + "\t * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package." + NL
- + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see org.eclipse.emf.common.util.Diagnostic#getSource()" + NL + "\t * @see org.eclipse.emf.common.util.Diagnostic#getCode()" + NL + "\t * @generated" + NL + "\t */" + NL
+ protected final String TEXT_14 = "();"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see org.eclipse.emf.common.util.Diagnostic#getSource()" + NL
+ + "\t * @see org.eclipse.emf.common.util.Diagnostic#getCode()" + NL + "\t * @generated" + NL + "\t */" + NL
+ "\tpublic static final String DIAGNOSTIC_SOURCE = \"";
protected final String TEXT_15 = "\";";
protected final String TEXT_16 = NL;
- protected final String TEXT_17 = NL + "\t/**" + NL + "\t * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint '";
+ protected final String TEXT_17 = NL + "\t/**" + NL
+ + "\t * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint '";
protected final String TEXT_18 = "' of '";
- protected final String TEXT_19 = "'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final int ";
+ protected final String TEXT_19 = "'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final int ";
protected final String TEXT_20 = " = ";
protected final String TEXT_21 = ";" + NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * A constant with a fixed name that can be used as the base value for additional hand written constants." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ protected final String TEXT_22 = NL
+ + "\t/**"
+ + NL
+ + "\t * A constant with a fixed name that can be used as the base value for additional hand written constants."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ "\t */" + NL + "\tprivate static final int GENERATED_DIAGNOSTIC_CODE_COUNT = ";
- protected final String TEXT_23 = ";" + NL + "" + NL + "\t/**" + NL + "\t * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
- + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;" + NL;
- protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The cached base package validator." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_23 = ";"
+ + NL
+ + ""
+ + NL
+ + "\t/**"
+ + NL
+ + "\t * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;"
+ + NL;
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * The cached base package validator." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tprotected ";
protected final String TEXT_25 = " ";
protected final String TEXT_26 = "Validator;" + NL;
- protected final String TEXT_27 = NL + "\t/**" + NL + "\t * Delegates evaluation of the given invariant expression against the object in the given context." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tpublic static boolean validate(";
+ protected final String TEXT_27 = NL + "\t/**" + NL
+ + "\t * Delegates evaluation of the given invariant expression against the object in the given context."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static boolean validate(";
protected final String TEXT_28 = " eClass, ";
protected final String TEXT_29 = " eObject, DiagnosticChain diagnostics, ";
protected final String TEXT_30 = " context, ";
@@ -65,20 +95,28 @@
protected final String TEXT_32 = " invariant, ";
protected final String TEXT_33 = " expression, int severity, ";
protected final String TEXT_34 = " source, int code)" + NL + "\t{" + NL + "\t\treturn ";
- protected final String TEXT_35 = ".validate(eClass, eObject, diagnostics, context, validationDelegate, invariant, expression, severity, source, code);" + NL + "\t}" + NL;
- protected final String TEXT_36 = NL + "\t/**" + NL + "\t * Creates an instance of the switch." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_35 = ".validate(eClass, eObject, diagnostics, context, validationDelegate, invariant, expression, severity, source, code);"
+ + NL + "\t}" + NL;
+ protected final String TEXT_36 = NL + "\t/**" + NL + "\t * Creates an instance of the switch." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
protected final String TEXT_37 = "()" + NL + "\t{" + NL + "\t\tsuper();";
protected final String TEXT_38 = NL + "\t\t";
protected final String TEXT_39 = "Validator = ";
protected final String TEXT_40 = ".INSTANCE;";
- protected final String TEXT_41 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Returns the package of this validator switch." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_41 = NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Returns the package of this validator switch." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_42 = NL + "\t@Override";
protected final String TEXT_43 = NL + "\tprotected EPackage getEPackage()" + NL + "\t{" + NL + "\t return ";
- protected final String TEXT_44 = ".eINSTANCE;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Calls <code>validateXXX</code> for the corresponding classifier of the model." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated"
- + NL + "\t */";
+ protected final String TEXT_44 = ".eINSTANCE;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * Calls <code>validateXXX</code> for the corresponding classifier of the model." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_45 = NL + "\t@Override";
protected final String TEXT_46 = NL + "\t@SuppressWarnings(\"unchecked\")";
- protected final String TEXT_47 = NL + "\tprotected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, ";
+ protected final String TEXT_47 = NL
+ + "\tprotected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, ";
protected final String TEXT_48 = " context)" + NL + "\t{" + NL + "\t\tswitch (classifierID)" + NL + "\t\t{";
protected final String TEXT_49 = NL + "\t\t\tcase ";
protected final String TEXT_50 = ".";
@@ -98,8 +136,10 @@
protected final String TEXT_64 = NL + "\t\t\t\treturn validate";
protected final String TEXT_65 = "((";
protected final String TEXT_66 = ")value, diagnostics, context);";
- protected final String TEXT_67 = NL + "\t\t\tdefault:" + NL + "\t\t\t\treturn true;" + NL + "\t\t}" + NL + "\t}" + NL;
- protected final String TEXT_68 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean validate";
+ protected final String TEXT_67 = NL + "\t\t\tdefault:" + NL + "\t\t\t\treturn true;" + NL + "\t\t}" + NL + "\t}"
+ + NL;
+ protected final String TEXT_68 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean validate";
protected final String TEXT_69 = "(";
protected final String TEXT_70 = " ";
protected final String TEXT_71 = ", DiagnosticChain ";
@@ -140,30 +180,35 @@
protected final String TEXT_106 = NL + "\t\treturn ";
protected final String TEXT_107 = ";";
protected final String TEXT_108 = NL + "\t}" + NL;
- protected final String TEXT_109 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_109 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
protected final String TEXT_110 = "_";
protected final String TEXT_111 = NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_112 = " ";
protected final String TEXT_113 = "__VALUE = ";
protected final String TEXT_114 = ";" + NL;
- protected final String TEXT_115 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_115 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
protected final String TEXT_116 = "_";
protected final String TEXT_117 = NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_118 = " ";
protected final String TEXT_119 = "__VALUE = ";
protected final String TEXT_120 = ";" + NL;
- protected final String TEXT_121 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_121 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
protected final String TEXT_122 = "_";
protected final String TEXT_123 = NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_124 = " ";
protected final String TEXT_125 = "__UPPER_BOUND = ";
- protected final String TEXT_126 = ";" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_126 = ";" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
protected final String TEXT_127 = "_";
protected final String TEXT_128 = NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_129 = " ";
protected final String TEXT_130 = "__LOWER_BOUND = ";
protected final String TEXT_131 = ";" + NL;
- protected final String TEXT_132 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_132 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
protected final String TEXT_133 = "_";
protected final String TEXT_134 = NL + "\t */" + NL + "\tpublic static final PatternMatcher [][] ";
protected final String TEXT_135 = "__VALUES =" + NL + "\t\tnew PatternMatcher [][]" + NL + "\t\t{";
@@ -173,13 +218,15 @@
protected final String TEXT_139 = ")";
protected final String TEXT_140 = NL + "\t\t\t}";
protected final String TEXT_141 = NL + "\t\t};" + NL;
- protected final String TEXT_142 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
+ protected final String TEXT_142 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @see #validate";
protected final String TEXT_143 = "_";
protected final String TEXT_144 = NL + "\t */";
protected final String TEXT_145 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_146 = NL + "\tpublic static final ";
protected final String TEXT_147 = " ";
- protected final String TEXT_148 = "__VALUES =" + NL + "\t\twrapEnumerationValues" + NL + "\t\t\t(new Object[]" + NL + "\t\t\t {";
+ protected final String TEXT_148 = "__VALUES =" + NL + "\t\twrapEnumerationValues" + NL + "\t\t\t(new Object[]" + NL
+ + "\t\t\t {";
protected final String TEXT_149 = NL + "\t\t\t\t ";
protected final String TEXT_150 = "new ";
protected final String TEXT_151 = "(";
@@ -187,7 +234,8 @@
protected final String TEXT_153 = NL + "\t\t\t });" + NL;
protected final String TEXT_154 = NL + "\t/**" + NL + "\t * The cached validation expression for the ";
protected final String TEXT_155 = " constraint of '<em>";
- protected final String TEXT_156 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_156 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final ";
protected final String TEXT_157 = " ";
protected final String TEXT_158 = "__";
protected final String TEXT_159 = "__EEXPRESSION = \"";
@@ -195,7 +243,8 @@
protected final String TEXT_161 = NL;
protected final String TEXT_162 = NL + "\t/**" + NL + "\t * Validates the ";
protected final String TEXT_163 = " constraint of '<em>";
- protected final String TEXT_164 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean validate";
+ protected final String TEXT_164 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean validate";
protected final String TEXT_165 = "_";
protected final String TEXT_166 = "(";
protected final String TEXT_167 = " ";
@@ -206,7 +255,8 @@
protected final String TEXT_172 = NL + "\t\tboolean ";
protected final String TEXT_173 = " = true;" + NL + "\t\tfor (";
protected final String TEXT_174 = " i = ";
- protected final String TEXT_175 = ".iterator(); i.hasNext() && (result || diagnostics != null); )" + NL + "\t\t{" + NL + "\t\t\tObject item = i.next();";
+ protected final String TEXT_175 = ".iterator(); i.hasNext() && (result || diagnostics != null); )" + NL + "\t\t{"
+ + NL + "\t\t\tObject item = i.next();";
protected final String TEXT_176 = NL + "\t\t\tif (";
protected final String TEXT_177 = ".isInstance(item))" + NL + "\t\t\t{" + NL + "\t\t\t\tresult &= ";
protected final String TEXT_178 = "validate";
@@ -221,7 +271,8 @@
protected final String TEXT_187 = ");" + NL + "\t\t\t}" + NL + "\t\t\telse";
protected final String TEXT_188 = NL + "\t\t\tif (!";
protected final String TEXT_189 = ".isInstance(item))";
- protected final String TEXT_190 = NL + "\t\t\t{" + NL + "\t\t\t\tresult = false;" + NL + "\t\t\t\treportDataValueTypeViolation(";
+ protected final String TEXT_190 = NL + "\t\t\t{" + NL + "\t\t\t\tresult = false;" + NL
+ + "\t\t\t\treportDataValueTypeViolation(";
protected final String TEXT_191 = ", item, ";
protected final String TEXT_192 = ", ";
protected final String TEXT_193 = ");" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn result;";
@@ -247,9 +298,11 @@
protected final String TEXT_213 = ")) ";
protected final String TEXT_214 = "return true;" + NL + "\t\t\t}";
protected final String TEXT_215 = NL + "\t\t\tfor (";
- protected final String TEXT_216 = " diagnostic : tempDiagnostics.getChildren())" + NL + "\t\t\t{" + NL + "\t\t\t\tdiagnostics.add(diagnostic);" + NL + "\t\t\t}";
+ protected final String TEXT_216 = " diagnostic : tempDiagnostics.getChildren())" + NL + "\t\t\t{" + NL
+ + "\t\t\t\tdiagnostics.add(diagnostic);" + NL + "\t\t\t}";
protected final String TEXT_217 = NL + "\t\t\t";
- protected final String TEXT_218 = " children = tempDiagnostics.getChildren();" + NL + "\t\t\tfor (int i = 0; i < children.size(); i++)" + NL + "\t\t\t{" + NL + "\t\t\t\tdiagnostics.add((";
+ protected final String TEXT_218 = " children = tempDiagnostics.getChildren();" + NL
+ + "\t\t\tfor (int i = 0; i < children.size(); i++)" + NL + "\t\t\t{" + NL + "\t\t\t\tdiagnostics.add((";
protected final String TEXT_219 = ")children.get(i));" + NL + "\t\t\t}";
protected final String TEXT_220 = NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{";
protected final String TEXT_221 = NL + "\t\t\tif (";
@@ -495,12 +548,17 @@
protected final String TEXT_461 = ", ";
protected final String TEXT_462 = ");" + NL + "\t\treturn ";
protected final String TEXT_463 = ";";
- protected final String TEXT_464 = NL + "\t\t// TODO override the constraint, if desired" + NL + "\t\t// -> uncomment the scaffolding" + NL + "\t\t// -> specify the condition that violates the constraint" + NL
- + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_464 = NL + "\t\t// TODO override the constraint, if desired" + NL
+ + "\t\t// -> uncomment the scaffolding" + NL
+ + "\t\t// -> specify the condition that violates the constraint" + NL
+ + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
protected final String TEXT_465 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_466 = ".add";
protected final String TEXT_467 = NL + "\t\t\t\t\t(createDiagnostic" + NL + "\t\t\t\t\t\t(";
- protected final String TEXT_468 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
+ protected final String TEXT_468 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
protected final String TEXT_469 = NL + "\t\t\t\t\t\t new Object[] { \"";
protected final String TEXT_470 = "\", getValueLabel(";
protected final String TEXT_471 = ", ";
@@ -510,7 +568,8 @@
protected final String TEXT_475 = " }," + NL + "\t\t\t\t\t\t context));";
protected final String TEXT_476 = NL + "\t\t\t\t\t(new ";
protected final String TEXT_477 = NL + "\t\t\t\t\t\t(";
- protected final String TEXT_478 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_478 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t ";
protected final String TEXT_479 = ".INSTANCE.getString(\"_UI_GenericConstraint_diagnostic\", new Object[] { \"";
protected final String TEXT_480 = "\", getValueLabel(";
protected final String TEXT_481 = ", ";
@@ -537,12 +596,16 @@
protected final String TEXT_502 = "__";
protected final String TEXT_503 = "__EEXPRESSION," + NL + "\t\t\t\t ";
protected final String TEXT_504 = ".ERROR," + NL + "\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t 0);";
- protected final String TEXT_505 = NL + "\t\t// TODO implement the constraint" + NL + "\t\t// -> specify the condition that violates the constraint" + NL + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
- + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_505 = NL + "\t\t// TODO implement the constraint" + NL
+ + "\t\t// -> specify the condition that violates the constraint" + NL
+ + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
protected final String TEXT_506 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_507 = ".add";
protected final String TEXT_508 = NL + "\t\t\t\t\t(createDiagnostic" + NL + "\t\t\t\t\t\t(";
- protected final String TEXT_509 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
+ protected final String TEXT_509 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
protected final String TEXT_510 = NL + "\t\t\t\t\t\t new Object[] { \"";
protected final String TEXT_511 = "\", getValueLabel(";
protected final String TEXT_512 = ", ";
@@ -552,7 +615,8 @@
protected final String TEXT_516 = " }," + NL + "\t\t\t\t\t\t context));";
protected final String TEXT_517 = NL + "\t\t\t\t\t(new ";
protected final String TEXT_518 = NL + "\t\t\t\t\t\t(";
- protected final String TEXT_519 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_519 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t ";
protected final String TEXT_520 = ".INSTANCE.getString(\"_UI_GenericConstraint_diagnostic\", new Object[] { \"";
protected final String TEXT_521 = "\", getValueLabel(";
protected final String TEXT_522 = ", ";
@@ -560,18 +624,24 @@
protected final String TEXT_524 = ") }),";
protected final String TEXT_525 = NL + "\t\t\t\t\t\t new Object[] { ";
protected final String TEXT_526 = " }));";
- protected final String TEXT_527 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
+ protected final String TEXT_527 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL
+ + "\t\treturn true;";
protected final String TEXT_528 = NL + "\t\treturn ";
protected final String TEXT_529 = ".";
protected final String TEXT_530 = "(";
protected final String TEXT_531 = ", ";
protected final String TEXT_532 = ");";
- protected final String TEXT_533 = NL + "\t\t// TODO override the constraint, if desired" + NL + "\t\t// -> uncomment the scaffolding" + NL + "\t\t// -> specify the condition that violates the constraint" + NL
- + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_533 = NL + "\t\t// TODO override the constraint, if desired" + NL
+ + "\t\t// -> uncomment the scaffolding" + NL
+ + "\t\t// -> specify the condition that violates the constraint" + NL
+ + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
protected final String TEXT_534 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_535 = ".add";
protected final String TEXT_536 = NL + "\t\t\t\t\t(createDiagnostic" + NL + "\t\t\t\t\t\t(";
- protected final String TEXT_537 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
+ protected final String TEXT_537 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
protected final String TEXT_538 = NL + "\t\t\t\t\t\t new Object[] { \"";
protected final String TEXT_539 = "\", getObjectLabel(";
protected final String TEXT_540 = ", ";
@@ -580,7 +650,8 @@
protected final String TEXT_543 = " }," + NL + "\t\t\t\t\t\t context));";
protected final String TEXT_544 = NL + "\t\t\t\t\t(new ";
protected final String TEXT_545 = NL + "\t\t\t\t\t\t(";
- protected final String TEXT_546 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_546 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t ";
protected final String TEXT_547 = ".INSTANCE.getString(\"_UI_GenericConstraint_diagnostic\", new Object[] { \"";
protected final String TEXT_548 = "\", getObjectLabel(";
protected final String TEXT_549 = ", ";
@@ -606,12 +677,16 @@
protected final String TEXT_569 = "__";
protected final String TEXT_570 = "__EEXPRESSION," + NL + "\t\t\t\t ";
protected final String TEXT_571 = ".ERROR," + NL + "\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t 0);";
- protected final String TEXT_572 = NL + "\t\t// TODO implement the constraint" + NL + "\t\t// -> specify the condition that violates the constraint" + NL + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
- + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_572 = NL + "\t\t// TODO implement the constraint" + NL
+ + "\t\t// -> specify the condition that violates the constraint" + NL
+ + "\t\t// -> verify the diagnostic details, including severity, code, and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
protected final String TEXT_573 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_574 = ".add";
protected final String TEXT_575 = NL + "\t\t\t\t\t(createDiagnostic" + NL + "\t\t\t\t\t\t(";
- protected final String TEXT_576 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
+ protected final String TEXT_576 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t \"_UI_GenericConstraint_diagnostic\",";
protected final String TEXT_577 = NL + "\t\t\t\t\t\t new Object[] { \"";
protected final String TEXT_578 = "\", getObjectLabel(";
protected final String TEXT_579 = ", ";
@@ -620,22 +695,29 @@
protected final String TEXT_582 = " }," + NL + "\t\t\t\t\t\t context));";
protected final String TEXT_583 = NL + "\t\t\t\t\t(new ";
protected final String TEXT_584 = NL + "\t\t\t\t\t\t(";
- protected final String TEXT_585 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL + "\t\t\t\t\t\t ";
+ protected final String TEXT_585 = ".ERROR," + NL + "\t\t\t\t\t\t DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t 0," + NL
+ + "\t\t\t\t\t\t ";
protected final String TEXT_586 = ".INSTANCE.getString(\"_UI_GenericConstraint_diagnostic\", new Object[] { \"";
protected final String TEXT_587 = "\", getObjectLabel(";
protected final String TEXT_588 = ", ";
protected final String TEXT_589 = ") }),";
protected final String TEXT_590 = NL + "\t\t\t\t\t\t new Object[] { ";
protected final String TEXT_591 = " }));";
- protected final String TEXT_592 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
+ protected final String TEXT_592 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL
+ + "\t\treturn true;";
protected final String TEXT_593 = NL + "\t}" + NL;
- protected final String TEXT_594 = NL + "\t/**" + NL + "\t * Returns the resource locator that will be used to fetch messages for this validator's diagnostics." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_594 = NL + "\t/**" + NL
+ + "\t * Returns the resource locator that will be used to fetch messages for this validator's diagnostics."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */";
protected final String TEXT_595 = NL + "\t@Override";
protected final String TEXT_596 = NL + "\tpublic ";
protected final String TEXT_597 = " getResourceLocator()" + NL + "\t{";
protected final String TEXT_598 = NL + "\t\treturn ";
protected final String TEXT_599 = ".INSTANCE;";
- protected final String TEXT_600 = NL + "\t\t// TODO" + NL + "\t\t// Specialize this to return a resource locator for messages specific to this validator." + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ protected final String TEXT_600 = NL + "\t\t// TODO" + NL
+ + "\t\t// Specialize this to return a resource locator for messages specific to this validator." + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ "\t\treturn super.getResourceLocator();";
protected final String TEXT_601 = NL + "\t}" + NL;
protected final String TEXT_602 = NL;
@@ -715,7 +797,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -735,9 +818,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -769,7 +854,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -777,11 +865,14 @@
stringBuffer.append(genPackage.getUtilitiesPackageName());
stringBuffer.append(TEXT_3);
genModel.addImport("java.util.Map");
- final String _Map = genModel.useGenerics() ? "Map<" + genModel.getImportedName("java.lang.Object") + ", " + genModel.getImportedName("java.lang.Object") + ">" : "Map";
- final String objectArgument = genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ">" : "";
+ final String _Map = genModel.useGenerics() ? "Map<" + genModel.getImportedName("java.lang.Object") + ", "
+ + genModel.getImportedName("java.lang.Object") + ">" : "Map";
+ final String objectArgument = genModel.useGenerics() ? "<" + genModel.getImportedName("java.lang.Object") + ">"
+ : "";
genModel.addImport("org.eclipse.emf.common.util.DiagnosticChain");
genModel.addImport("org.eclipse.emf.ecore.EPackage");
- if (!genPackage.hasJavaLangConflict() && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
+ if (!genPackage.hasJavaLangConflict()
+ && !genPackage.getUtilitiesPackageName().equals(genPackage.getInterfacePackageName()))
genModel.addImport(genPackage.getInterfacePackageName() + ".*");
genModel.markImportLocation(stringBuffer);
genModel.addPseudoImport("org.eclipse.emf.ecore.EValidator.Descriptor");
@@ -932,7 +1023,8 @@
stringBuffer.append(TEXT_67);
for (GenClassifier genClassifier : genPackage.getGenClassifiers()) {
String result = "result".equals(genClassifier.getSafeUncapName()) ? "theResult" : "result";
- String diagnostics = "diagnostics".equals(genClassifier.getSafeUncapName()) ? "theDiagnostics" : "diagnostics";
+ String diagnostics = "diagnostics".equals(genClassifier.getSafeUncapName()) ? "theDiagnostics"
+ : "diagnostics";
String item = "item".equals(genClassifier.getSafeUncapName()) ? "theItem" : "item";
String context = "context".equals(genClassifier.getSafeUncapName()) ? "theContext" : "context";
stringBuffer.append(TEXT_68);
@@ -967,10 +1059,17 @@
boolean first = true;
for (String constraint : genClassifier.getAllGenConstraints()) {
GenClassifier constraintImplementor = genClassifier.getConstraintImplementor(constraint);
- String delegate = constraintImplementor == null || constraintImplementor.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(constraintImplementor.getGenPackage()) + "Validator.";
- String cast = constraintImplementor == null && genClassifier instanceof GenClass && !((GenClass) genClassifier).isEObjectExtension() ? "(" + genModel.getImportedName("org.eclipse.emf.ecore.EObject") + ")" : "";
- String accessor = constraintImplementor != null && genClassifier instanceof GenDataType && !((GenDataType) genClassifier).isPrimitiveType() && ((GenDataType) constraintImplementor).isPrimitiveType()
- && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50 ? "." + ((GenDataType) constraintImplementor).getPrimitiveValueFunction() + "()" : "";
+ String delegate = constraintImplementor == null
+ || constraintImplementor.getGenPackage() == genPackage ? "" : genPackage
+ .getValidatorPackageUniqueSafeName(constraintImplementor.getGenPackage()) + "Validator.";
+ String cast = constraintImplementor == null && genClassifier instanceof GenClass
+ && !((GenClass) genClassifier).isEObjectExtension() ? "("
+ + genModel.getImportedName("org.eclipse.emf.ecore.EObject") + ")" : "";
+ String accessor = constraintImplementor != null && genClassifier instanceof GenDataType
+ && !((GenDataType) genClassifier).isPrimitiveType()
+ && ((GenDataType) constraintImplementor).isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50 ? "."
+ + ((GenDataType) constraintImplementor).getPrimitiveValueFunction() + "()" : "";
if ("NoCircularContainment".equals(constraint)) {
stringBuffer.append(TEXT_82);
if (!((GenClass) genClassifier).isEObjectExtension()) {
@@ -1034,10 +1133,20 @@
stringBuffer.append(TEXT_108);
for (String constraint : genClassifier.getGenConstraints()) {
GenClassifier constraintDelegate = genClassifier.getConstraintDelegate(constraint);
- String constant = genClassifier.getClassifierID() + "__" + CodeGenUtil.format(constraint, '_', null, false, false).toUpperCase(genClassifier.getGenModel().getLocale());
- String delegate = constraintDelegate == null || constraintDelegate.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(constraintDelegate.getGenPackage()) + "Validator.";
- String cast = constraintDelegate == null && genClassifier instanceof GenClass && !((GenClass) genClassifier).isEObjectExtension() ? "(" + genModel.getImportedName("org.eclipse.emf.ecore.EObject") + ")" : "";
- String accessor = constraintDelegate != null && genClassifier instanceof GenDataType && !((GenDataType) genClassifier).isPrimitiveType() && ((GenDataType) constraintDelegate).isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50 ? "."
+ String constant = genClassifier.getClassifierID()
+ + "__"
+ + CodeGenUtil.format(constraint, '_', null, false, false).toUpperCase(
+ genClassifier.getGenModel().getLocale());
+ String delegate = constraintDelegate == null || constraintDelegate.getGenPackage() == genPackage ? ""
+ : genPackage.getValidatorPackageUniqueSafeName(constraintDelegate.getGenPackage())
+ + "Validator.";
+ String cast = constraintDelegate == null && genClassifier instanceof GenClass
+ && !((GenClass) genClassifier).isEObjectExtension() ? "("
+ + genModel.getImportedName("org.eclipse.emf.ecore.EObject") + ")" : "";
+ String accessor = constraintDelegate != null && genClassifier instanceof GenDataType
+ && !((GenDataType) genClassifier).isPrimitiveType()
+ && ((GenDataType) constraintDelegate).isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50 ? "."
+ ((GenDataType) constraintDelegate).getPrimitiveValueFunction() + "()" : "";
if (genClassifier instanceof GenDataType) {
GenDataType genDataType = (GenDataType) genClassifier;
@@ -1065,7 +1174,8 @@
stringBuffer.append(TEXT_119);
stringBuffer.append(genDataType.getStaticValue(genDataType.getMaxLiteral()));
stringBuffer.append(TEXT_120);
- } else if (constraint.equals("TotalDigits") && genDataType.getTotalDigits() != -1 && !"java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {
+ } else if (constraint.equals("TotalDigits") && genDataType.getTotalDigits() != -1
+ && !"java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {
String value = "1";
for (int digitCount = genDataType.getTotalDigits(); digitCount > 0; --digitCount)
value += "0";
@@ -1104,7 +1214,8 @@
for (Iterator<String> p = patternList.iterator(); p.hasNext();) {
String pattern = p.next();
stringBuffer.append(TEXT_137);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
stringBuffer.append(TEXT_138);
stringBuffer.append(pattern);
stringBuffer.append(TEXT_139);
@@ -1132,13 +1243,15 @@
for (Iterator<String> k = genDataType.getEnumerationLiterals().iterator(); k.hasNext();) {
String literal = k.next();
stringBuffer.append(TEXT_149);
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_150);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_151);
}
stringBuffer.append(genDataType.getStaticValue(literal, false));
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_152);
}
stringBuffer.append(k.hasNext() ? "," : "");
@@ -1186,7 +1299,8 @@
GenDataType genDataType = (GenDataType) genClassifier;
if (constraint.equals("ItemType") && genDataType.getItemType() != null) {
GenDataType itemType = genDataType.getItemType();
- String itemDelegate = itemType.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(itemType.getGenPackage()) + "Validator.";
+ String itemDelegate = itemType.getGenPackage() == genPackage ? "" : genPackage
+ .getValidatorPackageUniqueSafeName(itemType.getGenPackage()) + "Validator.";
stringBuffer.append(TEXT_172);
stringBuffer.append(result);
stringBuffer.append(TEXT_173);
@@ -1203,7 +1317,8 @@
stringBuffer.append(TEXT_178);
stringBuffer.append(itemType.getName());
stringBuffer.append(TEXT_179);
- if (itemType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (itemType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_180);
}
if (!itemType.isObjectType()) {
@@ -1212,7 +1327,8 @@
stringBuffer.append(TEXT_182);
}
stringBuffer.append(item);
- if (itemType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (itemType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_183);
stringBuffer.append(itemType.getPrimitiveValueFunction());
stringBuffer.append(TEXT_184);
@@ -1240,7 +1356,8 @@
stringBuffer.append(TEXT_195);
for (ListIterator<GenDataType> k = genDataType.getMemberTypes().listIterator(); k.hasNext();) {
GenDataType memberType = k.next();
- String memberDelegate = memberType.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(memberType.getGenPackage()) + "Validator.";
+ String memberDelegate = memberType.getGenPackage() == genPackage ? "" : genPackage
+ .getValidatorPackageUniqueSafeName(memberType.getGenPackage()) + "Validator.";
if (genDataType.isPrimitiveType()) {
stringBuffer.append(TEXT_196);
stringBuffer.append(memberDelegate);
@@ -1263,16 +1380,20 @@
stringBuffer.append(TEXT_205);
stringBuffer.append(memberType.getName());
stringBuffer.append(TEXT_206);
- if (memberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (memberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_207);
}
- if (!memberType.isObjectType() && !memberType.getQualifiedInstanceClassName().equals(genDataType.getQualifiedInstanceClassName())) {
+ if (!memberType.isObjectType()
+ && !memberType.getQualifiedInstanceClassName().equals(
+ genDataType.getQualifiedInstanceClassName())) {
stringBuffer.append(TEXT_208);
stringBuffer.append(memberType.getImportedWildcardObjectInstanceClassName());
stringBuffer.append(TEXT_209);
}
stringBuffer.append(genClassifier.getSafeUncapName());
- if (memberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (memberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_210);
stringBuffer.append(memberType.getPrimitiveValueFunction());
stringBuffer.append(TEXT_211);
@@ -1298,7 +1419,8 @@
stringBuffer.append(TEXT_220);
for (ListIterator<GenDataType> k = genDataType.getMemberTypes().listIterator(); k.hasNext();) {
GenDataType memberType = k.next();
- String memberDelegate = memberType.getGenPackage() == genPackage ? "" : genPackage.getValidatorPackageUniqueSafeName(memberType.getGenPackage()) + "Validator.";
+ String memberDelegate = memberType.getGenPackage() == genPackage ? "" : genPackage
+ .getValidatorPackageUniqueSafeName(memberType.getGenPackage()) + "Validator.";
if (genDataType.isPrimitiveType()) {
stringBuffer.append(TEXT_221);
stringBuffer.append(memberDelegate);
@@ -1321,16 +1443,20 @@
stringBuffer.append(TEXT_230);
stringBuffer.append(memberType.getName());
stringBuffer.append(TEXT_231);
- if (memberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (memberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_232);
}
- if (!memberType.isObjectType() && !memberType.getQualifiedInstanceClassName().equals(genDataType.getQualifiedInstanceClassName())) {
+ if (!memberType.isObjectType()
+ && !memberType.getQualifiedInstanceClassName().equals(
+ genDataType.getQualifiedInstanceClassName())) {
stringBuffer.append(TEXT_233);
stringBuffer.append(memberType.getImportedWildcardObjectInstanceClassName());
stringBuffer.append(TEXT_234);
}
stringBuffer.append(genClassifier.getSafeUncapName());
- if (memberType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (memberType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_235);
stringBuffer.append(memberType.getPrimitiveValueFunction());
stringBuffer.append(TEXT_236);
@@ -1347,13 +1473,15 @@
stringBuffer.append(TEXT_241);
stringBuffer.append(genDataType.getQualifiedClassifierAccessor());
stringBuffer.append(TEXT_242);
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_243);
stringBuffer.append(genDataType.getObjectInstanceClassName());
stringBuffer.append(TEXT_244);
}
stringBuffer.append(genDataType.getSafeUncapName());
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
stringBuffer.append(TEXT_245);
}
stringBuffer.append(TEXT_246);
@@ -1365,7 +1493,8 @@
stringBuffer.append(TEXT_249);
} else if (constraint.equals("Enumeration") && !genDataType.getEnumerationLiterals().isEmpty()) {
String variable = genDataType.getSafeUncapName();
- if (genDataType.isPrimitiveType() && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
+ if (genDataType.isPrimitiveType()
+ && genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) {
variable = variable + "Object";
stringBuffer.append(TEXT_250);
stringBuffer.append(genDataType.getObjectInstanceClassName());
@@ -1452,12 +1581,14 @@
stringBuffer.append(result);
stringBuffer.append(TEXT_291);
} else {
- String comparison = "comparison".equals(genClassifier.getSafeUncapName()) ? "theComparison" : "comparison";
+ String comparison = "comparison".equals(genClassifier.getSafeUncapName()) ? "theComparison"
+ : "comparison";
if (genDataType.isXMLCalendar()) {
stringBuffer.append(TEXT_292);
stringBuffer.append(comparison);
stringBuffer.append(TEXT_293);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
stringBuffer.append(TEXT_294);
stringBuffer.append(genDataType.getSafeUncapName());
stringBuffer.append(TEXT_295);
@@ -1475,7 +1606,8 @@
stringBuffer.append(TEXT_300);
stringBuffer.append(comparison);
stringBuffer.append(TEXT_301);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
stringBuffer.append(TEXT_302);
stringBuffer.append(genDataType.getSafeUncapName());
stringBuffer.append(TEXT_303);
@@ -1572,12 +1704,14 @@
stringBuffer.append(result);
stringBuffer.append(TEXT_347);
} else {
- String comparison = "comparison".equals(genClassifier.getSafeUncapName()) ? "theComparison" : "comparison";
+ String comparison = "comparison".equals(genClassifier.getSafeUncapName()) ? "theComparison"
+ : "comparison";
if (genDataType.isXMLCalendar()) {
stringBuffer.append(TEXT_348);
stringBuffer.append(comparison);
stringBuffer.append(TEXT_349);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
stringBuffer.append(TEXT_350);
stringBuffer.append(genDataType.getSafeUncapName());
stringBuffer.append(TEXT_351);
@@ -1595,7 +1729,8 @@
stringBuffer.append(TEXT_356);
stringBuffer.append(comparison);
stringBuffer.append(TEXT_357);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil"));
stringBuffer.append(TEXT_358);
stringBuffer.append(genDataType.getSafeUncapName());
stringBuffer.append(TEXT_359);
@@ -1788,7 +1923,8 @@
stringBuffer.append(TEXT_450);
stringBuffer.append(result);
stringBuffer.append(TEXT_451);
- } else if (constraint.equals("FractionDigits") && genDataType.getFractionDigits() != -1 && "java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {
+ } else if (constraint.equals("FractionDigits") && genDataType.getFractionDigits() != -1
+ && "java.math.BigDecimal".equals(genDataType.getQualifiedInstanceClassName())) {
stringBuffer.append(TEXT_452);
stringBuffer.append(result);
stringBuffer.append(TEXT_453);
@@ -1838,7 +1974,8 @@
stringBuffer.append(TEXT_475);
} else {
stringBuffer.append(TEXT_476);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer
+ .append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
stringBuffer.append(TEXT_477);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
stringBuffer.append(TEXT_478);
@@ -1923,11 +2060,13 @@
stringBuffer.append(TEXT_516);
} else {
stringBuffer.append(TEXT_517);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
stringBuffer.append(TEXT_518);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
stringBuffer.append(TEXT_519);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
stringBuffer.append(TEXT_520);
stringBuffer.append(constraint);
stringBuffer.append(TEXT_521);
@@ -1982,7 +2121,8 @@
stringBuffer.append(TEXT_543);
} else {
stringBuffer.append(TEXT_544);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer
+ .append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
stringBuffer.append(TEXT_545);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
stringBuffer.append(TEXT_546);
@@ -2063,11 +2203,13 @@
stringBuffer.append(TEXT_582);
} else {
stringBuffer.append(TEXT_583);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
stringBuffer.append(TEXT_584);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
stringBuffer.append(TEXT_585);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
stringBuffer.append(TEXT_586);
stringBuffer.append(constraint);
stringBuffer.append(TEXT_587);
@@ -2120,7 +2262,9 @@
callParameters.put("_Map", _Map);
callParameters.put("objectArgument", objectArgument);
callParameters.put("count", count);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_omcocbM-EeKd56X4hcZPSw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_omcocbM-EeKd56X4hcZPSw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -2135,7 +2279,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.hasConstraints());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/XMLProcessorClass.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/XMLProcessorClass.java
index 79dc811..93e27e4 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/XMLProcessorClass.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/XMLProcessorClass.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:15 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,14 +29,20 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * This class contains helper methods to serialize and deserialize XML documents" + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL
+ + " * This class contains helper methods to serialize and deserialize XML documents" + NL
+ + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL
+ + "public class ";
protected final String TEXT_5 = " extends ";
protected final String TEXT_6 = NL + "{";
- protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_8 = " copyright = ";
protected final String TEXT_9 = ";";
protected final String TEXT_10 = NL;
- protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * Public constructor to instantiate the helper." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * Public constructor to instantiate the helper." + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
protected final String TEXT_12 = "()" + NL + "\t{";
protected final String TEXT_13 = NL + "\t\tsuper(new ";
protected final String TEXT_14 = "(";
@@ -45,16 +51,20 @@
protected final String TEXT_17 = NL + "\t\tsuper((";
protected final String TEXT_18 = ".Registry.INSTANCE));" + NL + "\t\t";
protected final String TEXT_19 = ".eINSTANCE.eClass();";
- protected final String TEXT_20 = NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * Register for \"*\" and \"xml\" file extensions the ";
- protected final String TEXT_21 = " factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_20 = NL + "\t}" + NL + "\t" + NL + "\t/**" + NL
+ + "\t * Register for \"*\" and \"xml\" file extensions the ";
+ protected final String TEXT_21 = " factory." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_22 = NL + "\t@Override";
protected final String TEXT_23 = NL + "\tprotected Map";
protected final String TEXT_24 = "<";
protected final String TEXT_25 = ", ";
protected final String TEXT_26 = ".Factory>";
- protected final String TEXT_27 = " getRegistrations()" + NL + "\t{" + NL + "\t\tif (registrations == null)" + NL + "\t\t{" + NL + "\t\t\tsuper.getRegistrations();" + NL + "\t\t\tregistrations.put(XML_EXTENSION, new ";
+ protected final String TEXT_27 = " getRegistrations()" + NL + "\t{" + NL + "\t\tif (registrations == null)" + NL
+ + "\t\t{" + NL + "\t\t\tsuper.getRegistrations();" + NL + "\t\t\tregistrations.put(XML_EXTENSION, new ";
protected final String TEXT_28 = "());" + NL + "\t\t\tregistrations.put(STAR_EXTENSION, new ";
- protected final String TEXT_29 = "());" + NL + "\t\t}" + NL + "\t\treturn registrations;" + NL + "\t}" + NL + "" + NL + "} //";
+ protected final String TEXT_29 = "());" + NL + "\t\t}" + NL + "\t\treturn registrations;" + NL + "\t}" + NL + ""
+ + NL + "} //";
protected final String TEXT_30 = NL;
protected final String TEXT_31 = NL;
protected final String TEXT_32 = NL;
@@ -130,7 +140,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getModelDirectory();
@@ -150,9 +161,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel, GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getModelDirectory(), genModel,
+ GenBaseGeneratorAdapter.MODEL_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -183,7 +196,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -253,8 +269,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
- canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.getResource().getValue() == GenResourceKind.XML);
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject");
+ canGenerate = canGenerate
+ && (genPackage.hasClassifiers() && genPackage.getResource().getValue() == GenResourceKind.XML);
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureTODOoverride.java
index 3ee0d74..54e9762 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,9 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return the '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// -> do not perform proxy resolution" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_3 = NL + "\t\t// -> do not perform proxy resolution" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -108,7 +110,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureannotationsinsert.java
index 045c413..9587b7e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureoverride.java
index 71b14e0..59dfa93 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL + "\tpublic ";
protected final String TEXT_4 = " basicGet";
@@ -145,7 +146,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -331,7 +333,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0l364GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0l364GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -364,7 +368,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mBr4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mBr4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -465,7 +471,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mK10GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mK10GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeaturepreinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeaturepreinsert.java
index ea09424..d5e4e88 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeaturepreinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicGetGenFeaturepreinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureTODOoverride.java
index 5ea0a66..3961a97 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,8 +28,13 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to set the contained '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch" + NL + "\t\t// -> do not modify other features" + NL
- + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ protected final String TEXT_3 = NL
+ + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch"
+ + NL
+ + "\t\t// -> do not modify other features"
+ + NL
+ + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)"
+ + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -110,7 +115,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureannotationsinsert.java
index 588b061..e0ca7b9 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureoverride.java
index 465416a..2dcb1dc 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL + "\tpublic ";
protected final String TEXT_4 = " basicSet";
@@ -97,7 +98,8 @@
protected final String TEXT_69 = "old";
protected final String TEXT_70 = ", new";
protected final String TEXT_71 = ");";
- protected final String TEXT_72 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}";
+ protected final String TEXT_72 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);"
+ + NL + "\t\t}";
protected final String TEXT_73 = NL;
protected final String TEXT_74 = NL + "\t\treturn msgs;";
protected final String TEXT_75 = NL + "\t\treturn ((";
@@ -192,7 +194,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -378,7 +381,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mnhwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mnhwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -418,7 +423,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -453,7 +460,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -482,7 +491,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -517,7 +528,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -546,7 +559,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxSwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -687,7 +702,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mxS1GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -741,7 +758,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0m6cwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0m6cwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepostinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepostinsert.java
index e4ef456..8a63f65 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepostinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepostinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepreinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepreinsert.java
index d161009..b5563a2 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepreinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicSetGenFeaturepreinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureTODOoverride.java
index 9143fed..0cd792a 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,8 +28,13 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to unset the contained '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch" + NL + "\t\t// -> do not modify other features" + NL
- + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ protected final String TEXT_3 = NL
+ + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch"
+ + NL
+ + "\t\t// -> do not modify other features"
+ + NL
+ + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)"
+ + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -110,7 +115,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureannotationsinsert.java
index 95cd7a2..cf069e3 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureoverride.java
index fd64c6c..6397d74 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassbasicUnsetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL + "\tpublic ";
protected final String TEXT_4 = " basicUnset";
@@ -73,7 +74,9 @@
protected final String TEXT_45 = "isSetChange";
protected final String TEXT_46 = "old";
protected final String TEXT_47 = "ESet";
- protected final String TEXT_48 = ");" + NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL + "\t\treturn msgs;";
+ protected final String TEXT_48 = ");" + NL
+ + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL
+ + "\t\treturn msgs;";
protected final String TEXT_49 = NL;
protected final String TEXT_50 = NL + "\t}" + NL + NL;
protected final String TEXT_51 = NL;
@@ -155,7 +158,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -341,7 +345,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qpGIGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qpGIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -478,7 +484,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qy3IGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qy3IGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureinsert.java
index e279f8c..ff8e20a 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureoverride.java
index a1d6769..c68a9d8 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassdeclaredFieldGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,7 +30,8 @@
protected final String TEXT_2 = NL + "\t/**" + NL + "\t * The cached setting delegate for the '{@link #";
protected final String TEXT_3 = "() <em>";
protected final String TEXT_4 = "</em>}' ";
- protected final String TEXT_5 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_5 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_7 = NL + "\t@";
protected final String TEXT_8 = NL + "\tprotected ";
@@ -41,7 +42,8 @@
protected final String TEXT_13 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
protected final String TEXT_14 = "() <em>";
protected final String TEXT_15 = "</em>}' ";
- protected final String TEXT_16 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_16 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
protected final String TEXT_17 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_18 = NL + "\t@";
protected final String TEXT_19 = NL + "\tprotected ";
@@ -49,7 +51,8 @@
protected final String TEXT_21 = ";" + NL;
protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The empty value for the '{@link #";
protected final String TEXT_23 = "() <em>";
- protected final String TEXT_24 = "</em>}' array accessor." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_24 = "</em>}' array accessor." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_25 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_26 = NL + "\t@SuppressWarnings(\"rawtypes\")";
protected final String TEXT_27 = NL + "\tprotected static final ";
@@ -60,7 +63,8 @@
protected final String TEXT_32 = NL + "\t/**" + NL + "\t * The default value of the '{@link #";
protected final String TEXT_33 = "() <em>";
protected final String TEXT_34 = "</em>}' ";
- protected final String TEXT_35 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_35 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
protected final String TEXT_36 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_37 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_38 = NL + "\tprotected static final ";
@@ -70,28 +74,38 @@
protected final String TEXT_42 = " = ";
protected final String TEXT_43 = ";";
protected final String TEXT_44 = NL;
- protected final String TEXT_45 = NL + "\t/**" + NL + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_45 = NL
+ + "\t/**"
+ + NL
+ + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
protected final String TEXT_46 = NL + "\t@";
protected final String TEXT_47 = NL + "\tprotected int ";
protected final String TEXT_48 = " = 0;" + NL;
- protected final String TEXT_49 = NL + "\t/**" + NL + "\t * The offset of the flags representing the value of the '{@link #";
+ protected final String TEXT_49 = NL + "\t/**" + NL
+ + "\t * The offset of the flags representing the value of the '{@link #";
protected final String TEXT_50 = "() <em>";
protected final String TEXT_51 = "</em>}' ";
- protected final String TEXT_52 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_52 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
protected final String TEXT_53 = "_EFLAG_OFFSET = ";
- protected final String TEXT_54 = ";" + NL + "" + NL + "\t/**" + NL + "\t * The flags representing the default value of the '{@link #";
+ protected final String TEXT_54 = ";" + NL + "" + NL + "\t/**" + NL
+ + "\t * The flags representing the default value of the '{@link #";
protected final String TEXT_55 = "() <em>";
protected final String TEXT_56 = "</em>}' ";
- protected final String TEXT_57 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_57 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
protected final String TEXT_58 = "_EFLAG_DEFAULT = ";
protected final String TEXT_59 = ".ordinal()";
protected final String TEXT_60 = ".VALUES.indexOf(";
protected final String TEXT_61 = ")";
protected final String TEXT_62 = " << ";
- protected final String TEXT_63 = "_EFLAG_OFFSET;" + NL + "" + NL + "\t/**" + NL + "\t * The array of enumeration values for '{@link ";
+ protected final String TEXT_63 = "_EFLAG_OFFSET;" + NL + "" + NL + "\t/**" + NL
+ + "\t * The array of enumeration values for '{@link ";
protected final String TEXT_64 = " ";
- protected final String TEXT_65 = "}'" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprivate static final ";
+ protected final String TEXT_65 = "}'" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprivate static final ";
protected final String TEXT_66 = "[] ";
protected final String TEXT_67 = "_EFLAG_VALUES = ";
protected final String TEXT_68 = ".values()";
@@ -105,8 +119,10 @@
protected final String TEXT_76 = " representing the value of the '{@link #";
protected final String TEXT_77 = "() <em>";
protected final String TEXT_78 = "</em>}' ";
- protected final String TEXT_79 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
- protected final String TEXT_80 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_79 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_80 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final int ";
protected final String TEXT_81 = "_EFLAG = ";
protected final String TEXT_82 = " << ";
protected final String TEXT_83 = "_EFLAG_OFFSET";
@@ -114,26 +130,34 @@
protected final String TEXT_85 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
protected final String TEXT_86 = "() <em>";
protected final String TEXT_87 = "</em>}' ";
- protected final String TEXT_88 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_88 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
protected final String TEXT_89 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_90 = NL + "\t@";
protected final String TEXT_91 = NL + "\tprotected ";
protected final String TEXT_92 = " ";
protected final String TEXT_93 = " = ";
protected final String TEXT_94 = ";" + NL;
- protected final String TEXT_95 = NL + "\t/**" + NL + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_95 = NL
+ + "\t/**"
+ + NL
+ + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
protected final String TEXT_96 = NL + "\t@";
protected final String TEXT_97 = NL + "\tprotected int ";
protected final String TEXT_98 = " = 0;" + NL;
protected final String TEXT_99 = NL + "\t/**" + NL + "\t * The flag representing whether the ";
protected final String TEXT_100 = " ";
- protected final String TEXT_101 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_101 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final int ";
protected final String TEXT_102 = "_ESETFLAG = 1 << ";
protected final String TEXT_103 = ";" + NL;
protected final String TEXT_104 = NL + "\t/**" + NL + "\t * This is true if the ";
protected final String TEXT_105 = " ";
- protected final String TEXT_106 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_106 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_107 = NL + "\t@";
protected final String TEXT_108 = NL + "\tprotected boolean ";
protected final String TEXT_109 = "ESet;" + NL;
@@ -218,7 +242,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -424,7 +449,8 @@
stringBuffer.append(genFeature.getSafeName());
stringBuffer.append(TEXT_21);
}
- if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
String rawListItemType = genFeature.getRawListItemType(genClass);
int index = rawListItemType.indexOf('[');
String head = rawListItemType;
@@ -440,7 +466,8 @@
stringBuffer.append(TEXT_24);
stringBuffer.append(genFeature.getGetArrayAccessor());
stringBuffer.append(TEXT_25);
- if (genFeature.getQualifiedListItemType(genClass).contains("<") || genFeature.getArrayItemType(genClass).contains("<")) {
+ if (genFeature.getQualifiedListItemType(genClass).contains("<")
+ || genFeature.getArrayItemType(genClass).contains("<")) {
stringBuffer.append(TEXT_26);
}
stringBuffer.append(TEXT_27);
@@ -454,7 +481,9 @@
stringBuffer.append(TEXT_31);
}
} else {
- if (genFeature.hasEDefault() && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation() && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) {
+ if (genFeature.hasEDefault()
+ && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation()
+ && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) {
String staticDefaultValue = genFeature.getStaticDefaultValue();
stringBuffer.append(TEXT_32);
stringBuffer.append(genFeature.getGetAccessor());
@@ -491,7 +520,8 @@
stringBuffer.append(TEXT_45);
if (isGWT) {
stringBuffer.append(TEXT_46);
- stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ stringBuffer
+ .append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
}
stringBuffer.append(TEXT_47);
stringBuffer.append(genClass.getFlagsField(genFeature));
@@ -661,7 +691,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0jyQMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0jyQMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseIsSetoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseIsSetoverride.java
index 276d793..06476c0 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseIsSetoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseIsSetoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,10 +26,12 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_3 = NL + "\t@Override";
- protected final String TEXT_4 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_4 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
protected final String TEXT_5 = ")" + NL + "\t\t{";
protected final String TEXT_6 = NL + "\t\t\tcase ";
protected final String TEXT_7 = ":";
@@ -341,7 +343,9 @@
stringBuffer.append(TEXT_1);
if (genModel.useGenerics()) {
for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {
- if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType() && !genClass.isField(genFeature) && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType()
+ && !genClass.isField(genFeature) && genFeature.isField()
+ && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
stringBuffer.append(TEXT_2);
break;
}
@@ -482,7 +486,8 @@
stringBuffer.append(TEXT_54);
}
} else {
- if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ if (genFeature.isEnumType() && genFeature.isField()
+ && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
stringBuffer.append(TEXT_55);
stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
stringBuffer.append(positiveOffsetCorrection);
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseUnsetoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseUnsetoverride.java
index e3a71a4..e15c7c6 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseUnsetoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasseUnsetoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,9 +26,11 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL + "\t@Override";
- protected final String TEXT_3 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_3 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
protected final String TEXT_4 = ")" + NL + "\t\t{";
protected final String TEXT_5 = NL + "\t\t\tcase ";
protected final String TEXT_6 = ":";
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassegfCustomconstructoroverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassegfCustomconstructoroverride.java
index a9cf35a..4d8734d 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassegfCustomconstructoroverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassegfCustomconstructoroverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureReifiedoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureReifiedoverride.java
index ced24e8..0b27477 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureReifiedoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureReifiedoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -27,7 +27,10 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
- protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * This is specialized for the more specific element type known in this context." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_3 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_4 = NL + "\t@Override";
protected final String TEXT_5 = NL + "\tpublic ";
@@ -47,7 +50,10 @@
protected final String TEXT_19 = ";";
protected final String TEXT_20 = NL + "\t\tlist.shrink();" + NL + "\t\treturn (";
protected final String TEXT_21 = "[])list.data();" + NL + "\t}" + NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * This is specialized for the more specific element type known in this context." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_23 = NL;
protected final String TEXT_24 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_25 = NL + "\t@Override";
@@ -72,7 +78,10 @@
protected final String TEXT_44 = ";";
protected final String TEXT_45 = NL + "\t\t}" + NL + "\t\treturn ";
protected final String TEXT_46 = ";" + NL + "\t}" + NL;
- protected final String TEXT_47 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_47 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated"
+ + NL + "\t */";
protected final String TEXT_48 = NL;
protected final String TEXT_49 = NL + "\t@Override";
protected final String TEXT_50 = NL + "\tpublic ";
@@ -83,7 +92,10 @@
protected final String TEXT_55 = " msgs)" + NL + "\t{" + NL + "\t\treturn super.basicSet";
protected final String TEXT_56 = "(new";
protected final String TEXT_57 = ", msgs);" + NL + "\t}" + NL;
- protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated"
+ + NL + "\t */";
protected final String TEXT_59 = NL;
protected final String TEXT_60 = NL + "\t@Override";
protected final String TEXT_61 = NL + "\tpublic void set";
@@ -182,7 +194,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -362,7 +375,8 @@
protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
stringBuffer.append(TEXT_1);
- if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
String arrayElementType = genFeature.getArrayItemType(genClass);
stringBuffer.append(TEXT_2);
if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {
@@ -435,7 +449,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUFGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUFGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -477,7 +494,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lSFDGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lSFDGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -543,7 +562,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mnhwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mnhwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -593,7 +615,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nqqoGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nqqoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -611,14 +636,16 @@
stringBuffer.append(TEXT_63);
stringBuffer.append(genFeature.getImportedType(genClass));
stringBuffer.append(TEXT_64);
- stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName()
+ : setAccessorOperation.getGenParameters().get(0).getName());
stringBuffer.append(TEXT_65);
stringBuffer.append(genFeature.getAccessorName());
if (genClass.hasCollidingSetAccessorOperation(genFeature)) {
stringBuffer.append(TEXT_66);
}
stringBuffer.append(TEXT_67);
- stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName()
+ : setAccessorOperation.getGenParameters().get(0).getName());
stringBuffer.append(TEXT_68);
}
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureinsert.java
index 9949f17..8af156b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureoverride.java
index f2aa3fb..ef9ec66 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -27,7 +27,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
- protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_3 = NL + "\t";
protected final String TEXT_4 = "[] ";
protected final String TEXT_5 = "();" + NL;
@@ -49,7 +50,8 @@
protected final String TEXT_21 = ";";
protected final String TEXT_22 = NL + "\t\tlist.shrink();" + NL + "\t\treturn (";
protected final String TEXT_23 = "[])list.data();" + NL + "\t}" + NL;
- protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_25 = NL + "\t";
protected final String TEXT_26 = " get";
protected final String TEXT_27 = "(int index);" + NL;
@@ -59,7 +61,8 @@
protected final String TEXT_31 = "(";
protected final String TEXT_32 = ")";
protected final String TEXT_33 = "().get(index);" + NL + "\t}" + NL;
- protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_35 = NL + "\tint get";
protected final String TEXT_36 = "Length();" + NL;
protected final String TEXT_37 = NL + "\tpublic int get";
@@ -70,7 +73,8 @@
protected final String TEXT_42 = " == null ? 0 : ";
protected final String TEXT_43 = ".size();";
protected final String TEXT_44 = NL + "\t}" + NL;
- protected final String TEXT_45 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_45 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_46 = NL + "\tvoid set";
protected final String TEXT_47 = "(";
protected final String TEXT_48 = "[] new";
@@ -83,7 +87,8 @@
protected final String TEXT_55 = "()).setData(new";
protected final String TEXT_56 = ".length, new";
protected final String TEXT_57 = ");" + NL + "\t}" + NL;
- protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_59 = NL + "\tvoid set";
protected final String TEXT_60 = "(int index, ";
protected final String TEXT_61 = " element);" + NL;
@@ -179,7 +184,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -341,7 +347,8 @@
protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
stringBuffer.append(TEXT_1);
- if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
String arrayElementType = genFeature.getArrayItemType(genClass);
stringBuffer.append(TEXT_2);
if (!isImplementation) {
@@ -503,7 +510,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kh3EGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kh3EGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -533,7 +542,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lk_8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lk_8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -563,7 +574,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mUm0GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0mUm0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -593,7 +606,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nN-sGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nN-sGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -623,7 +638,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qfVIGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qfVIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -653,7 +670,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0q8BEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0q8BEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -683,7 +702,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sIT4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sIT4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -712,7 +733,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0s36wGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0s36wGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationannotationsinsert.java
index 2dcf8a5..4f1c1ad 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationinsert.java
index ad07896..4a7cf6f 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocinsert.java
index 81ec56b..cbe5c2b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocoverride.java
index 4194c8c..54ef1bf 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationjavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -119,7 +119,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -304,7 +305,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0toIsGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0toIsGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -335,7 +338,8 @@
}
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationoverride.java
index f2e9a26..9e4d55f 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgenOperationoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,9 +30,11 @@
protected final String TEXT_2 = NL + "\t/**" + NL + "\t * The cached validation expression for the '{@link #";
protected final String TEXT_3 = "(";
protected final String TEXT_4 = ") <em>";
- protected final String TEXT_5 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_5 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_6 = "(";
- protected final String TEXT_7 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_7 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final ";
protected final String TEXT_8 = " ";
protected final String TEXT_9 = "__EEXPRESSION = \"";
protected final String TEXT_10 = "\";";
@@ -40,15 +42,18 @@
protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached invocation delegate for the '{@link #";
protected final String TEXT_13 = "(";
protected final String TEXT_14 = ") <em>";
- protected final String TEXT_15 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_15 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_16 = "(";
- protected final String TEXT_17 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_17 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final ";
protected final String TEXT_18 = ".Internal.InvocationDelegate ";
protected final String TEXT_19 = "__EINVOCATION_DELEGATE = ((";
protected final String TEXT_20 = ".Internal)";
protected final String TEXT_21 = ").getInvocationDelegate();" + NL;
protected final String TEXT_22 = NL;
- protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_24 = NL;
protected final String TEXT_25 = NL + "\t";
protected final String TEXT_26 = " ";
@@ -75,8 +80,11 @@
protected final String TEXT_47 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t ";
protected final String TEXT_48 = ".";
protected final String TEXT_49 = ");";
- protected final String TEXT_50 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// -> specify the condition that violates the invariant" + NL + "\t\t// -> verify the details of the diagnostic, including severity and message" + NL
- + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_50 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// -> specify the condition that violates the invariant" + NL
+ + "\t\t// -> verify the details of the diagnostic, including severity and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
protected final String TEXT_51 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_52 = ".add" + NL + "\t\t\t\t\t(new ";
protected final String TEXT_53 = NL + "\t\t\t\t\t\t(";
@@ -88,7 +96,8 @@
protected final String TEXT_59 = "\", ";
protected final String TEXT_60 = ".getObjectLabel(this, ";
protected final String TEXT_61 = ") }),";
- protected final String TEXT_62 = NL + "\t\t\t\t\t\t new Object [] { this }));" + NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
+ protected final String TEXT_62 = NL + "\t\t\t\t\t\t new Object [] { this }));" + NL + "\t\t\t}" + NL
+ + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
protected final String TEXT_63 = NL + "\t\ttry" + NL + "\t\t{";
protected final String TEXT_64 = NL + "\t\t\t";
protected final String TEXT_65 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, ";
@@ -198,7 +207,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -427,7 +437,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0tUmsGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0tUmsGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -458,7 +470,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0txSoGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0txSoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -476,7 +491,8 @@
stringBuffer.append(genOperation.getThrows(genClass));
stringBuffer.append(TEXT_29);
} else {
- if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant() && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {
+ if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant()
+ && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {
stringBuffer.append(TEXT_30);
}
stringBuffer.append(TEXT_31);
@@ -512,7 +528,8 @@
stringBuffer.append(TEXT_43);
stringBuffer.append(genOperation.getQualifiedOperationAccessor());
stringBuffer.append(TEXT_44);
- stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
stringBuffer.append(TEXT_45);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
stringBuffer.append(TEXT_46);
@@ -555,7 +572,8 @@
stringBuffer.append(TEXT_63);
if (genOperation.isVoid()) {
stringBuffer.append(TEXT_64);
- stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
stringBuffer.append(TEXT_65);
if (size > 0) {
stringBuffer.append(TEXT_66);
@@ -577,7 +595,8 @@
stringBuffer.append(TEXT_74);
stringBuffer.append(genOperation.getObjectType(genClass));
stringBuffer.append(TEXT_75);
- stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
stringBuffer.append(TEXT_76);
if (size > 0) {
stringBuffer.append(TEXT_77);
@@ -599,7 +618,9 @@
stringBuffer.append(TEXT_85);
}
stringBuffer.append(TEXT_86);
- stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
stringBuffer.append(TEXT_87);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException"));
stringBuffer.append(TEXT_88);
@@ -627,7 +648,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0t7DoGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0t7DoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -658,7 +682,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uENkGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0uENkGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureTODOoverride.java
index ff43d47..24d0d17 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,7 +29,9 @@
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return the '";
protected final String TEXT_2 = "' ";
protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT";
- protected final String TEXT_4 = NL + "\t\t// The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting" + NL + "\t\t// so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.";
+ protected final String TEXT_4 = NL
+ + "\t\t// The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting"
+ + NL + "\t\t// so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.";
protected final String TEXT_5 = "EcoreEMap";
protected final String TEXT_6 = "BasicFeatureMap";
protected final String TEXT_7 = "EcoreEList";
@@ -114,7 +116,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureannotationsinsert.java
index 28e75ce..102ebd3 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocinsert.java
index e662a4f..2d2973b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocoverride.java
index a7f096a..1804fda 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -55,7 +55,8 @@
protected final String TEXT_27 = NL + "\t * <!-- begin-user-doc -->";
protected final String TEXT_28 = NL + "\t * <p>" + NL + "\t * If the meaning of the '<em>";
protected final String TEXT_29 = "</em>' ";
- protected final String TEXT_30 = " isn't clear," + NL + "\t * there really should be more of a description here..." + NL + "\t * </p>";
+ protected final String TEXT_30 = " isn't clear," + NL + "\t * there really should be more of a description here..."
+ + NL + "\t * </p>";
protected final String TEXT_31 = NL + "\t * <!-- end-user-doc -->";
protected final String TEXT_32 = NL + "\t * <!-- begin-model-doc -->" + NL + "\t * ";
protected final String TEXT_33 = NL + "\t * <!-- end-model-doc -->";
@@ -158,7 +159,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -349,7 +351,9 @@
stringBuffer.append(TEXT_13);
}
stringBuffer.append(TEXT_14);
- } else if (!genFeature.isWrappedFeatureMapType() && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature.getQualifiedListItemType(genClass)))) {
+ } else if (!genFeature.isWrappedFeatureMapType()
+ && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature
+ .getQualifiedListItemType(genClass)))) {
String typeName = genFeature.getQualifiedListItemType(genClass);
String head = typeName;
String tail = "";
@@ -413,7 +417,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -477,7 +483,8 @@
}
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureoverride.java
index 134f1ce..915d7a6 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "\t";
protected final String TEXT_6 = " ";
@@ -289,7 +290,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -475,7 +477,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kroEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0kroEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -506,7 +510,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUFGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lIUFGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -520,8 +527,15 @@
stringBuffer.append(TEXT_7);
} else {
if (genModel.useGenerics()
- && ((genFeature.isContainer() || genFeature.isResolveProxies()) && !genFeature.isListType() && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation()) && genFeature.isUncheckedCast(genClass) || genFeature.isListType()
- && !genFeature.isFeatureMapType() && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel.isDynamicDelegation()) || genFeature.isListDataType() && genFeature.hasDelegateFeature() || genFeature.isListType()
+ && ((genFeature.isContainer() || genFeature.isResolveProxies())
+ && !genFeature.isListType()
+ && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation())
+ && genFeature.isUncheckedCast(genClass)
+ || genFeature.isListType()
+ && !genFeature.isFeatureMapType()
+ && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel
+ .isDynamicDelegation()) || genFeature.isListDataType()
+ && genFeature.hasDelegateFeature() || genFeature.isListType()
&& genFeature.hasSettingDelegate())) {
stringBuffer.append(TEXT_8);
}
@@ -556,7 +570,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lSFDGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lSFDGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -655,7 +671,8 @@
}
stringBuffer.append(TEXT_56);
stringBuffer.append(genFeature.getSafeName());
- stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : "");
+ stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()"
+ : "");
stringBuffer.append(TEXT_57);
} else if (genFeature.isContainer()) {
stringBuffer.append(TEXT_58);
@@ -723,7 +740,8 @@
stringBuffer.append(TEXT_86);
if (!genFeature.isBidirectional()) {
stringBuffer.append(TEXT_87);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
stringBuffer.append(TEXT_88);
stringBuffer.append(genFeature.getCapName());
stringBuffer.append(TEXT_89);
@@ -733,9 +751,11 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_91);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
stringBuffer.append(TEXT_92);
stringBuffer.append(genFeature.getCapName());
stringBuffer.append(TEXT_93);
@@ -758,7 +778,8 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_101);
stringBuffer.append(genFeature.getCapName());
stringBuffer.append(TEXT_102);
@@ -779,7 +800,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_109);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_110);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_111);
@@ -793,7 +815,8 @@
}
stringBuffer.append(TEXT_115);
}
- if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation()
+ && !genFeature.isPrimitiveType()) {
stringBuffer.append(TEXT_116);
stringBuffer.append(genFeature.getImportedType(genClass));
stringBuffer.append(TEXT_117);
@@ -852,7 +875,8 @@
} else if (genFeature.hasDelegateFeature()) {
GenFeature delegateFeature = genFeature.getDelegateFeature();
if (genFeature.isFeatureMapType()) {
- String featureMapEntryTemplateArgument = isJDK50 ? "<" + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";
+ String featureMapEntryTemplateArgument = isJDK50 ? "<"
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";
if (delegateFeature.isWrappedFeatureMapType()) {
stringBuffer.append(TEXT_140);
stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperClass());
@@ -900,7 +924,8 @@
if (!isJDK50 && genFeature.isPrimitiveType()) {
stringBuffer.append(TEXT_160);
}
- if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {
+ if (genFeature.getTypeGenDataType() == null
+ || !genFeature.getTypeGenDataType().isObjectType()) {
stringBuffer.append(TEXT_161);
stringBuffer.append(genFeature.getObjectType(genClass));
stringBuffer.append(TEXT_162);
@@ -923,7 +948,8 @@
if (!isJDK50 && genFeature.isPrimitiveType()) {
stringBuffer.append(TEXT_171);
}
- if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {
+ if (genFeature.getTypeGenDataType() == null
+ || !genFeature.getTypeGenDataType().isObjectType()) {
stringBuffer.append(TEXT_172);
stringBuffer.append(genFeature.getObjectType(genClass));
stringBuffer.append(TEXT_173);
@@ -943,7 +969,8 @@
}
} else if (genClass.getGetAccessorOperation(genFeature) != null) {
stringBuffer.append(TEXT_180);
- stringBuffer.append(genClass.getGetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(genClass.getGetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
} else if (genFeature.hasGetterBody()) {
stringBuffer.append(TEXT_181);
stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer)));
@@ -971,7 +998,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lbPAWJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0lbPAWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturepreinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturepreinsert.java
index b55f15e..00e8d58 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturepreinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassgetGenFeaturepreinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassimplementedGenOperationTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassimplementedGenOperationTODOoverride.java
index cfa57d1..45600bf 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassimplementedGenOperationTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassimplementedGenOperationTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,9 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
@@ -106,7 +108,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinsert.java
index 7516da2..8772ed6 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinterfacejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinterfacejavadocoverride.java
index fd1d54d..c7282a0 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinterfacejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/Classinterfacejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,17 +26,19 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * A representation of the model object '<em><b>";
+ protected final String TEXT_1 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A representation of the model object '<em><b>";
protected final String TEXT_2 = "</b></em>'." + NL + " * <!-- end-user-doc -->";
protected final String TEXT_3 = NL + " *" + NL + " * <!-- begin-model-doc -->" + NL + " * ";
protected final String TEXT_4 = NL + " * <!-- end-model-doc -->";
protected final String TEXT_5 = NL + " *";
- protected final String TEXT_6 = NL + " * <p>" + NL + " * The following features are supported:" + NL + " * <ul>";
+ protected final String TEXT_6 = NL + " * <p>" + NL + " * The following features are supported:" + NL + " * </p>"
+ + NL + " * <ul>";
protected final String TEXT_7 = NL + " * <li>{@link ";
protected final String TEXT_8 = "#";
protected final String TEXT_9 = " <em>";
protected final String TEXT_10 = "</em>}</li>";
- protected final String TEXT_11 = NL + " * </ul>" + NL + " * </p>";
+ protected final String TEXT_11 = NL + " * </ul>";
protected final String TEXT_12 = NL + " *";
protected final String TEXT_13 = NL + " * @see ";
protected final String TEXT_14 = "#get";
@@ -307,7 +309,8 @@
}
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureTODOoverride.java
index 06d7067..9c8465e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,9 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return whether the '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_3 = " is set" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -108,7 +110,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureannotationsinsert.java
index c92ec6f..5616a9a 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocinsert.java
index 0ba0657..0b18afc 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocoverride.java
index ba5f809..d431dc0 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeaturejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -32,7 +32,8 @@
protected final String TEXT_4 = "</em>}' ";
protected final String TEXT_5 = " is set.";
protected final String TEXT_6 = NL;
- protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return whether the value of the '<em>";
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return whether the value of the '<em>";
protected final String TEXT_8 = "</em>' ";
protected final String TEXT_9 = " is set.";
protected final String TEXT_10 = NL + "\t * @see #unset";
@@ -122,7 +123,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -315,7 +317,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sb14GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sb14GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureoverride.java
index 5754c02..a11112e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassisSetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "\tboolean isSet";
protected final String TEXT_6 = "();" + NL;
@@ -152,7 +153,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -338,7 +340,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sSE4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sSE4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -369,7 +373,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sk_0GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0sk_0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -467,7 +474,8 @@
}
} else if (genClass.getIsSetAccessorOperation(genFeature) != null) {
stringBuffer.append(TEXT_44);
- stringBuffer.append(genClass.getIsSetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(genClass.getIsSetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
} else {
stringBuffer.append(TEXT_45);
{
@@ -492,7 +500,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0suw0GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0suw0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassreflectiveDelegationoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassreflectiveDelegationoverride.java
index d969732..9ec6481 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassreflectiveDelegationoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassreflectiveDelegationoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -27,9 +27,12 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
- protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final int ESTATIC_FEATURE_COUNT = ";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected static final int ESTATIC_FEATURE_COUNT = ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_5 = NL + "\t@Override";
protected final String TEXT_6 = NL + "\tprotected int eStaticFeatureCount()" + NL + "\t{" + NL + "\t\treturn ";
protected final String TEXT_7 = ";" + NL + "\t}" + NL;
@@ -262,11 +265,16 @@
protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
stringBuffer.append(TEXT_1);
- if (isImplementation && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel.isDynamicDelegation())
- && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel().getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass.getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {
+ if (isImplementation
+ && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel
+ .isDynamicDelegation())
+ && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel()
+ .getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass
+ .getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {
if (genClass.hasStaticFeatures()) {
stringBuffer.append(TEXT_2);
- stringBuffer.append(genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass().getAllGenFeatures().size());
+ stringBuffer.append(genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass()
+ .getAllGenFeatures().size());
stringBuffer.append(TEXT_3);
}
stringBuffer.append(TEXT_4);
@@ -274,7 +282,9 @@
stringBuffer.append(TEXT_5);
}
stringBuffer.append(TEXT_6);
- stringBuffer.append(genClass.getClassExtendsGenClass() == null ? "0" : genClass.hasStaticFeatures() ? "ESTATIC_FEATURE_COUNT" : Integer.toString(genClass.getClassExtendsGenClass().getAllGenFeatures().size()));
+ stringBuffer.append(genClass.getClassExtendsGenClass() == null ? "0"
+ : genClass.hasStaticFeatures() ? "ESTATIC_FEATURE_COUNT" : Integer.toString(genClass
+ .getClassExtendsGenClass().getAllGenFeatures().size()));
stringBuffer.append(TEXT_7);
}
stringBuffer.append(TEXT_8);
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureTODOoverride.java
index 71f51c1..9d7edcd 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to set the '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -112,7 +113,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureannotationsinsert.java
index f11e298..d29f52e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocinsert.java
index 6f0f1d5..3f74e76 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocoverride.java
index 3db3cfb..a396f3b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -32,7 +32,8 @@
protected final String TEXT_4 = "</em>}' ";
protected final String TEXT_5 = ".";
protected final String TEXT_6 = NL;
- protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param value the new value of the '<em>";
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param value the new value of the '<em>";
protected final String TEXT_8 = "</em>' ";
protected final String TEXT_9 = ".";
protected final String TEXT_10 = NL + "\t * @see ";
@@ -121,7 +122,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -314,7 +316,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ng5oGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ng5oGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureoverride.java
index 44bbf98..4423c34 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "\tvoid set";
protected final String TEXT_6 = "(";
@@ -71,7 +72,8 @@
protected final String TEXT_43 = "))" + NL + "\t\t\t\tthrow new ";
protected final String TEXT_44 = "(\"Recursive containment not allowed for \" + toString());";
protected final String TEXT_45 = NL + "\t\t\t";
- protected final String TEXT_46 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new";
+ protected final String TEXT_46 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL
+ + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new";
protected final String TEXT_47 = " != null)" + NL + "\t\t\t\tmsgs = ((";
protected final String TEXT_48 = ")new";
protected final String TEXT_49 = ").eInverseAdd(this, ";
@@ -349,7 +351,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -535,7 +538,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nXIoGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nXIoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -566,7 +571,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nqqoGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nqqoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -588,7 +596,8 @@
stringBuffer.append(TEXT_10);
stringBuffer.append(genFeature.getImportedType(genClass));
stringBuffer.append(TEXT_11);
- stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation
+ .getGenParameters().get(0).getName());
stringBuffer.append(TEXT_12);
stringBuffer.append(TEXT_13);
{
@@ -614,7 +623,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nz0kGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0nz0kGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -672,7 +683,8 @@
if (genFeature.isContainer()) {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_37);
stringBuffer.append(genFeature.getCapName());
stringBuffer.append(TEXT_38);
@@ -767,7 +779,8 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_79);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
stringBuffer.append(TEXT_80);
@@ -835,7 +848,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_109);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_110);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_111);
@@ -853,7 +867,8 @@
} else {
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_117);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_118);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_119);
@@ -1037,7 +1052,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_196);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_197);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_198);
@@ -1073,7 +1089,8 @@
} else {
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_210);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_211);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_212);
@@ -1126,7 +1143,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qMaMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qMaMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -1201,7 +1221,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qMaRWJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0qMaRWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepostinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepostinsert.java
index a1e6b4d..169f556 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepostinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepostinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -109,7 +109,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepreinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepreinsert.java
index 1f564d8..2c2f934 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepreinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClasssetGenFeaturepreinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:18 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -109,7 +109,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureTODOoverride.java
index ab61a40..a1ef2e0 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to unset the '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -108,7 +109,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureannotationsinsert.java
index bda2cdf..b031268 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocinsert.java
index 470ac07..4606c62 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocoverride.java
index e1104e5..3ff3519 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeaturejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -120,7 +120,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -313,7 +314,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rieAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rieAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureoverride.java
index b8782c9..9536666 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Class/ClassunsetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:19 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Class;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "\tvoid unset";
protected final String TEXT_6 = "();" + NL;
@@ -71,7 +72,8 @@
protected final String TEXT_43 = ", ";
protected final String TEXT_44 = ".class, msgs);";
protected final String TEXT_45 = NL + "\t\t\tmsgs = basicUnset";
- protected final String TEXT_46 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{";
+ protected final String TEXT_46 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL
+ + "\t\telse" + NL + "\t\t{";
protected final String TEXT_47 = NL + "\t\t\tboolean old";
protected final String TEXT_48 = "ESet = eVirtualIsSet(";
protected final String TEXT_49 = ");";
@@ -264,7 +266,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -450,7 +453,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rPjEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rPjEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -481,7 +486,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rrn8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0rrn8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -568,7 +576,8 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_40);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
stringBuffer.append(TEXT_41);
@@ -717,7 +726,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_103);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_104);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_105);
@@ -789,7 +799,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_134);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_135);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_136);
@@ -842,7 +853,8 @@
}
} else if (genClass.getUnsetAccessorOperation(genFeature) != null) {
stringBuffer.append(TEXT_156);
- stringBuffer.append(genClass.getUnsetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(genClass.getUnsetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
} else {
stringBuffer.append(TEXT_157);
{
@@ -867,7 +879,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0r_J8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0r_J8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureTODOoverride.java
index 3ea242d..37c3c80 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,9 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return the '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// -> do not perform proxy resolution" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_3 = NL + "\t\t// -> do not perform proxy resolution" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -108,7 +110,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureannotationsinsert.java
index bb30d02..0bfe132 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureoverride.java
index ee7361c..f37ef3a 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL + "\tpublic ";
protected final String TEXT_4 = " basicGet";
@@ -145,7 +146,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -331,7 +333,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0w5fIGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0w5fIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -364,7 +368,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xDQIGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xDQIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -465,7 +471,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xNBIGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xNBIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeaturepreinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeaturepreinsert.java
index 389dd2d..c786c4b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeaturepreinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicGetGenFeaturepreinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureTODOoverride.java
index 263e778..5d78699 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,8 +28,13 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to set the contained '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch" + NL + "\t\t// -> do not modify other features" + NL
- + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ protected final String TEXT_3 = NL
+ + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch"
+ + NL
+ + "\t\t// -> do not modify other features"
+ + NL
+ + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)"
+ + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -110,7 +115,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureannotationsinsert.java
index 85bcbc2..d75ebe8 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureoverride.java
index 01f29b7..74ad0ac 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL + "\tpublic ";
protected final String TEXT_4 = " basicSet";
@@ -97,7 +98,8 @@
protected final String TEXT_69 = "old";
protected final String TEXT_70 = ", new";
protected final String TEXT_71 = ");";
- protected final String TEXT_72 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}";
+ protected final String TEXT_72 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);"
+ + NL + "\t\t}";
protected final String TEXT_73 = NL;
protected final String TEXT_74 = NL + "\t\treturn msgs;";
protected final String TEXT_75 = NL + "\t\treturn ((";
@@ -192,7 +194,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -378,7 +381,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xpGAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xpGAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -418,7 +423,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -453,7 +460,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -482,7 +491,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -517,7 +528,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -546,7 +559,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xy3AGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -687,7 +702,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -741,7 +758,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oFGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0x8oFGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepostinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepostinsert.java
index 1a6f988..c647c9d 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepostinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepostinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepreinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepreinsert.java
index 3260d5e..c60d7f6 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepreinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicSetGenFeaturepreinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureTODOoverride.java
index 5c7e69e..e9e1abd 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,8 +28,13 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to unset the contained '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch" + NL + "\t\t// -> do not modify other features" + NL
- + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ protected final String TEXT_3 = NL
+ + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch"
+ + NL
+ + "\t\t// -> do not modify other features"
+ + NL
+ + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)"
+ + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -110,7 +115,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureannotationsinsert.java
index 8038400..131dacc 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureoverride.java
index e0d49a6..baff979 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacebasicUnsetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL + "\tpublic ";
protected final String TEXT_4 = " basicUnset";
@@ -73,7 +74,9 @@
protected final String TEXT_45 = "isSetChange";
protected final String TEXT_46 = "old";
protected final String TEXT_47 = "ESet";
- protected final String TEXT_48 = ");" + NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL + "\t\treturn msgs;";
+ protected final String TEXT_48 = ");" + NL
+ + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL
+ + "\t\treturn msgs;";
protected final String TEXT_49 = NL;
protected final String TEXT_50 = NL + "\t}" + NL + NL;
protected final String TEXT_51 = NL;
@@ -155,7 +158,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -341,7 +345,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zb1wGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zb1wGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -478,7 +484,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zlmwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zlmwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureinsert.java
index 63816a5..48fc2ae 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureoverride.java
index 82246ef..526579e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacedeclaredFieldGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,7 +30,8 @@
protected final String TEXT_2 = NL + "\t/**" + NL + "\t * The cached setting delegate for the '{@link #";
protected final String TEXT_3 = "() <em>";
protected final String TEXT_4 = "</em>}' ";
- protected final String TEXT_5 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_5 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_7 = NL + "\t@";
protected final String TEXT_8 = NL + "\tprotected ";
@@ -41,7 +42,8 @@
protected final String TEXT_13 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
protected final String TEXT_14 = "() <em>";
protected final String TEXT_15 = "</em>}' ";
- protected final String TEXT_16 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_16 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
protected final String TEXT_17 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_18 = NL + "\t@";
protected final String TEXT_19 = NL + "\tprotected ";
@@ -49,7 +51,8 @@
protected final String TEXT_21 = ";" + NL;
protected final String TEXT_22 = NL + "\t/**" + NL + "\t * The empty value for the '{@link #";
protected final String TEXT_23 = "() <em>";
- protected final String TEXT_24 = "</em>}' array accessor." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_24 = "</em>}' array accessor." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_25 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_26 = NL + "\t@SuppressWarnings(\"rawtypes\")";
protected final String TEXT_27 = NL + "\tprotected static final ";
@@ -60,7 +63,8 @@
protected final String TEXT_32 = NL + "\t/**" + NL + "\t * The default value of the '{@link #";
protected final String TEXT_33 = "() <em>";
protected final String TEXT_34 = "</em>}' ";
- protected final String TEXT_35 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_35 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
protected final String TEXT_36 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_37 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_38 = NL + "\tprotected static final ";
@@ -70,28 +74,38 @@
protected final String TEXT_42 = " = ";
protected final String TEXT_43 = ";";
protected final String TEXT_44 = NL;
- protected final String TEXT_45 = NL + "\t/**" + NL + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_45 = NL
+ + "\t/**"
+ + NL
+ + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
protected final String TEXT_46 = NL + "\t@";
protected final String TEXT_47 = NL + "\tprotected int ";
protected final String TEXT_48 = " = 0;" + NL;
- protected final String TEXT_49 = NL + "\t/**" + NL + "\t * The offset of the flags representing the value of the '{@link #";
+ protected final String TEXT_49 = NL + "\t/**" + NL
+ + "\t * The offset of the flags representing the value of the '{@link #";
protected final String TEXT_50 = "() <em>";
protected final String TEXT_51 = "</em>}' ";
- protected final String TEXT_52 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_52 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
protected final String TEXT_53 = "_EFLAG_OFFSET = ";
- protected final String TEXT_54 = ";" + NL + "" + NL + "\t/**" + NL + "\t * The flags representing the default value of the '{@link #";
+ protected final String TEXT_54 = ";" + NL + "" + NL + "\t/**" + NL
+ + "\t * The flags representing the default value of the '{@link #";
protected final String TEXT_55 = "() <em>";
protected final String TEXT_56 = "</em>}' ";
- protected final String TEXT_57 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_57 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
protected final String TEXT_58 = "_EFLAG_DEFAULT = ";
protected final String TEXT_59 = ".ordinal()";
protected final String TEXT_60 = ".VALUES.indexOf(";
protected final String TEXT_61 = ")";
protected final String TEXT_62 = " << ";
- protected final String TEXT_63 = "_EFLAG_OFFSET;" + NL + "" + NL + "\t/**" + NL + "\t * The array of enumeration values for '{@link ";
+ protected final String TEXT_63 = "_EFLAG_OFFSET;" + NL + "" + NL + "\t/**" + NL
+ + "\t * The array of enumeration values for '{@link ";
protected final String TEXT_64 = " ";
- protected final String TEXT_65 = "}'" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprivate static final ";
+ protected final String TEXT_65 = "}'" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"
+ + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprivate static final ";
protected final String TEXT_66 = "[] ";
protected final String TEXT_67 = "_EFLAG_VALUES = ";
protected final String TEXT_68 = ".values()";
@@ -105,8 +119,10 @@
protected final String TEXT_76 = " representing the value of the '{@link #";
protected final String TEXT_77 = "() <em>";
protected final String TEXT_78 = "</em>}' ";
- protected final String TEXT_79 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
- protected final String TEXT_80 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_79 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
+ protected final String TEXT_80 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final int ";
protected final String TEXT_81 = "_EFLAG = ";
protected final String TEXT_82 = " << ";
protected final String TEXT_83 = "_EFLAG_OFFSET";
@@ -114,26 +130,34 @@
protected final String TEXT_85 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
protected final String TEXT_86 = "() <em>";
protected final String TEXT_87 = "</em>}' ";
- protected final String TEXT_88 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_88 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @see #";
protected final String TEXT_89 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_90 = NL + "\t@";
protected final String TEXT_91 = NL + "\tprotected ";
protected final String TEXT_92 = " ";
protected final String TEXT_93 = " = ";
protected final String TEXT_94 = ";" + NL;
- protected final String TEXT_95 = NL + "\t/**" + NL + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
- + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_95 = NL
+ + "\t/**"
+ + NL
+ + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set."
+ + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t * @ordered" + NL + "\t */";
protected final String TEXT_96 = NL + "\t@";
protected final String TEXT_97 = NL + "\tprotected int ";
protected final String TEXT_98 = " = 0;" + NL;
protected final String TEXT_99 = NL + "\t/**" + NL + "\t * The flag representing whether the ";
protected final String TEXT_100 = " ";
- protected final String TEXT_101 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
+ protected final String TEXT_101 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final int ";
protected final String TEXT_102 = "_ESETFLAG = 1 << ";
protected final String TEXT_103 = ";" + NL;
protected final String TEXT_104 = NL + "\t/**" + NL + "\t * This is true if the ";
protected final String TEXT_105 = " ";
- protected final String TEXT_106 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
+ protected final String TEXT_106 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */";
protected final String TEXT_107 = NL + "\t@";
protected final String TEXT_108 = NL + "\tprotected boolean ";
protected final String TEXT_109 = "ESet;" + NL;
@@ -218,7 +242,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -424,7 +449,8 @@
stringBuffer.append(genFeature.getSafeName());
stringBuffer.append(TEXT_21);
}
- if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
String rawListItemType = genFeature.getRawListItemType(genClass);
int index = rawListItemType.indexOf('[');
String head = rawListItemType;
@@ -440,7 +466,8 @@
stringBuffer.append(TEXT_24);
stringBuffer.append(genFeature.getGetArrayAccessor());
stringBuffer.append(TEXT_25);
- if (genFeature.getQualifiedListItemType(genClass).contains("<") || genFeature.getArrayItemType(genClass).contains("<")) {
+ if (genFeature.getQualifiedListItemType(genClass).contains("<")
+ || genFeature.getArrayItemType(genClass).contains("<")) {
stringBuffer.append(TEXT_26);
}
stringBuffer.append(TEXT_27);
@@ -454,7 +481,9 @@
stringBuffer.append(TEXT_31);
}
} else {
- if (genFeature.hasEDefault() && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation() && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) {
+ if (genFeature.hasEDefault()
+ && (!genFeature.isVolatile() || !genModel.isReflectiveDelegation()
+ && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable()))) {
String staticDefaultValue = genFeature.getStaticDefaultValue();
stringBuffer.append(TEXT_32);
stringBuffer.append(genFeature.getGetAccessor());
@@ -491,7 +520,8 @@
stringBuffer.append(TEXT_45);
if (isGWT) {
stringBuffer.append(TEXT_46);
- stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
+ stringBuffer
+ .append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient"));
}
stringBuffer.append(TEXT_47);
stringBuffer.append(genClass.getFlagsField(genFeature));
@@ -661,7 +691,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vHWcGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vHWcGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeIsSetoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeIsSetoverride.java
index d84310f..34ba02d 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeIsSetoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeIsSetoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,10 +26,12 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_3 = NL + "\t@Override";
- protected final String TEXT_4 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_4 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
protected final String TEXT_5 = ")" + NL + "\t\t{";
protected final String TEXT_6 = NL + "\t\t\tcase ";
protected final String TEXT_7 = ":";
@@ -341,7 +343,9 @@
stringBuffer.append(TEXT_1);
if (genModel.useGenerics()) {
for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) {
- if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType() && !genClass.isField(genFeature) && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType()
+ && !genClass.isField(genFeature) && genFeature.isField()
+ && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
stringBuffer.append(TEXT_2);
break;
}
@@ -482,7 +486,8 @@
stringBuffer.append(TEXT_54);
}
} else {
- if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
+ if (genFeature.isEnumType() && genFeature.isField()
+ && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) {
stringBuffer.append(TEXT_55);
stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
stringBuffer.append(positiveOffsetCorrection);
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeUnsetoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeUnsetoverride.java
index ecd46d5..f5fcbe3 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeUnsetoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceeUnsetoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,9 +26,11 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_1 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_2 = NL + "\t@Override";
- protected final String TEXT_3 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID";
+ protected final String TEXT_3 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL
+ + "\t\tswitch (featureID";
protected final String TEXT_4 = ")" + NL + "\t\t{";
protected final String TEXT_5 = NL + "\t\t\tcase ";
protected final String TEXT_6 = ":";
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceegfCustomconstructoroverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceegfCustomconstructoroverride.java
index 2c2edad..2efc6f1 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceegfCustomconstructoroverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceegfCustomconstructoroverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureReifiedoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureReifiedoverride.java
index 72f5cdd..368a2e5 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureReifiedoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureReifiedoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -27,7 +27,10 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
- protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * This is specialized for the more specific element type known in this context." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_3 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_4 = NL + "\t@Override";
protected final String TEXT_5 = NL + "\tpublic ";
@@ -47,7 +50,10 @@
protected final String TEXT_19 = ";";
protected final String TEXT_20 = NL + "\t\tlist.shrink();" + NL + "\t\treturn (";
protected final String TEXT_21 = "[])list.data();" + NL + "\t}" + NL;
- protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * This is specialized for the more specific element type known in this context." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific element type known in this context." + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_23 = NL;
protected final String TEXT_24 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_25 = NL + "\t@Override";
@@ -72,7 +78,10 @@
protected final String TEXT_44 = ";";
protected final String TEXT_45 = NL + "\t\t}" + NL + "\t\treturn ";
protected final String TEXT_46 = ";" + NL + "\t}" + NL;
- protected final String TEXT_47 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_47 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated"
+ + NL + "\t */";
protected final String TEXT_48 = NL;
protected final String TEXT_49 = NL + "\t@Override";
protected final String TEXT_50 = NL + "\tpublic ";
@@ -83,7 +92,10 @@
protected final String TEXT_55 = " msgs)" + NL + "\t{" + NL + "\t\treturn super.basicSet";
protected final String TEXT_56 = "(new";
protected final String TEXT_57 = ", msgs);" + NL + "\t}" + NL;
- protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL
+ + "\t * This is specialized for the more specific type known in this context." + NL + "\t * @generated"
+ + NL + "\t */";
protected final String TEXT_59 = NL;
protected final String TEXT_60 = NL + "\t@Override";
protected final String TEXT_61 = NL + "\tpublic void set";
@@ -182,7 +194,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -362,7 +375,8 @@
protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
stringBuffer.append(TEXT_1);
- if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
String arrayElementType = genFeature.getArrayItemType(genClass);
stringBuffer.append(TEXT_2);
if (genModel.useGenerics() && CodeGenUtil.isUncheckedCast(arrayElementType)) {
@@ -435,7 +449,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wTpQGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wTpQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -477,7 +494,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wczMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wczMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -543,7 +562,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xpGAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xpGAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -593,7 +615,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ysO4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ysO4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -611,14 +636,16 @@
stringBuffer.append(TEXT_63);
stringBuffer.append(genFeature.getImportedType(genClass));
stringBuffer.append(TEXT_64);
- stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName()
+ : setAccessorOperation.getGenParameters().get(0).getName());
stringBuffer.append(TEXT_65);
stringBuffer.append(genFeature.getAccessorName());
if (genClass.hasCollidingSetAccessorOperation(genFeature)) {
stringBuffer.append(TEXT_66);
}
stringBuffer.append(TEXT_67);
- stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName()
+ : setAccessorOperation.getGenParameters().get(0).getName());
stringBuffer.append(TEXT_68);
}
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureinsert.java
index a0ec229..cd94d79 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureoverride.java
index 1f09e66..8d41ba9 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -27,7 +27,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
- protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_3 = NL + "\t";
protected final String TEXT_4 = "[] ";
protected final String TEXT_5 = "();" + NL;
@@ -49,7 +50,8 @@
protected final String TEXT_21 = ";";
protected final String TEXT_22 = NL + "\t\tlist.shrink();" + NL + "\t\treturn (";
protected final String TEXT_23 = "[])list.data();" + NL + "\t}" + NL;
- protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_24 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_25 = NL + "\t";
protected final String TEXT_26 = " get";
protected final String TEXT_27 = "(int index);" + NL;
@@ -59,7 +61,8 @@
protected final String TEXT_31 = "(";
protected final String TEXT_32 = ")";
protected final String TEXT_33 = "().get(index);" + NL + "\t}" + NL;
- protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_34 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_35 = NL + "\tint get";
protected final String TEXT_36 = "Length();" + NL;
protected final String TEXT_37 = NL + "\tpublic int get";
@@ -70,7 +73,8 @@
protected final String TEXT_42 = " == null ? 0 : ";
protected final String TEXT_43 = ".size();";
protected final String TEXT_44 = NL + "\t}" + NL;
- protected final String TEXT_45 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_45 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_46 = NL + "\tvoid set";
protected final String TEXT_47 = "(";
protected final String TEXT_48 = "[] new";
@@ -83,7 +87,8 @@
protected final String TEXT_55 = "()).setData(new";
protected final String TEXT_56 = ".length, new";
protected final String TEXT_57 = ");" + NL + "\t}" + NL;
- protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_58 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_59 = NL + "\tvoid set";
protected final String TEXT_60 = "(int index, ";
protected final String TEXT_61 = " element);" + NL;
@@ -179,7 +184,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -341,7 +347,8 @@
protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
stringBuffer.append(TEXT_1);
- if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType() && !genFeature.isMapType()) {
+ if (genModel.isArrayAccessors() && genFeature.isListType() && !genFeature.isFeatureMapType()
+ && !genFeature.isMapType()) {
String arrayElementType = genFeature.getArrayItemType(genClass);
stringBuffer.append(TEXT_2);
if (!isImplementation) {
@@ -503,7 +510,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vkCYGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vkCYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -533,7 +542,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wwVMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wwVMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -563,7 +574,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xWLEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0xWLEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -593,7 +606,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yPi8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yPi8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -623,7 +638,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zSEwGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0zSEwGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -653,7 +670,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0z4hsGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0z4hsGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -683,7 +702,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00oIkGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00oIkGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -712,7 +733,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_010bYGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_010bYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationannotationsinsert.java
index 222b8d1..6711f19 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationinsert.java
index 7d0e8a9..462775b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocinsert.java
index ba27668..0389443 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocoverride.java
index 9e72b81..7e3b0cf 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationjavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -119,7 +119,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -304,7 +305,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02kCQGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02kCQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -335,7 +338,8 @@
}
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationoverride.java
index c26f0d7..9340ff0 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegenOperationoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,9 +30,11 @@
protected final String TEXT_2 = NL + "\t/**" + NL + "\t * The cached validation expression for the '{@link #";
protected final String TEXT_3 = "(";
protected final String TEXT_4 = ") <em>";
- protected final String TEXT_5 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_5 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_6 = "(";
- protected final String TEXT_7 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_7 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final ";
protected final String TEXT_8 = " ";
protected final String TEXT_9 = "__EEXPRESSION = \"";
protected final String TEXT_10 = "\";";
@@ -40,15 +42,18 @@
protected final String TEXT_12 = NL + "\t/**" + NL + "\t * The cached invocation delegate for the '{@link #";
protected final String TEXT_13 = "(";
protected final String TEXT_14 = ") <em>";
- protected final String TEXT_15 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
+ protected final String TEXT_15 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
protected final String TEXT_16 = "(";
- protected final String TEXT_17 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final ";
+ protected final String TEXT_17 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL
+ + "\tprotected static final ";
protected final String TEXT_18 = ".Internal.InvocationDelegate ";
protected final String TEXT_19 = "__EINVOCATION_DELEGATE = ((";
protected final String TEXT_20 = ".Internal)";
protected final String TEXT_21 = ").getInvocationDelegate();" + NL;
protected final String TEXT_22 = NL;
- protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_23 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_24 = NL;
protected final String TEXT_25 = NL + "\t";
protected final String TEXT_26 = " ";
@@ -75,8 +80,11 @@
protected final String TEXT_47 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t ";
protected final String TEXT_48 = ".";
protected final String TEXT_49 = ");";
- protected final String TEXT_50 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// -> specify the condition that violates the invariant" + NL + "\t\t// -> verify the details of the diagnostic, including severity and message" + NL
- + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL + "\t\t{" + NL + "\t\t\tif (";
+ protected final String TEXT_50 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// -> specify the condition that violates the invariant" + NL
+ + "\t\t// -> verify the details of the diagnostic, including severity and message" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)" + NL
+ + "\t\t{" + NL + "\t\t\tif (";
protected final String TEXT_51 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
protected final String TEXT_52 = ".add" + NL + "\t\t\t\t\t(new ";
protected final String TEXT_53 = NL + "\t\t\t\t\t\t(";
@@ -88,7 +96,8 @@
protected final String TEXT_59 = "\", ";
protected final String TEXT_60 = ".getObjectLabel(this, ";
protected final String TEXT_61 = ") }),";
- protected final String TEXT_62 = NL + "\t\t\t\t\t\t new Object [] { this }));" + NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
+ protected final String TEXT_62 = NL + "\t\t\t\t\t\t new Object [] { this }));" + NL + "\t\t\t}" + NL
+ + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
protected final String TEXT_63 = NL + "\t\ttry" + NL + "\t\t{";
protected final String TEXT_64 = NL + "\t\t\t";
protected final String TEXT_65 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, ";
@@ -198,7 +207,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -427,7 +437,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02HWUGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02HWUGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -458,7 +470,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02tzQGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_02tzQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -476,7 +491,8 @@
stringBuffer.append(genOperation.getThrows(genClass));
stringBuffer.append(TEXT_29);
} else {
- if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant() && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {
+ if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant()
+ && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) {
stringBuffer.append(TEXT_30);
}
stringBuffer.append(TEXT_31);
@@ -512,7 +528,8 @@
stringBuffer.append(TEXT_43);
stringBuffer.append(genOperation.getQualifiedOperationAccessor());
stringBuffer.append(TEXT_44);
- stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
stringBuffer.append(TEXT_45);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
stringBuffer.append(TEXT_46);
@@ -555,7 +572,8 @@
stringBuffer.append(TEXT_63);
if (genOperation.isVoid()) {
stringBuffer.append(TEXT_64);
- stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
stringBuffer.append(TEXT_65);
if (size > 0) {
stringBuffer.append(TEXT_66);
@@ -577,7 +595,8 @@
stringBuffer.append(TEXT_74);
stringBuffer.append(genOperation.getObjectType(genClass));
stringBuffer.append(TEXT_75);
- stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale()));
+ stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation),
+ genModel.getLocale()));
stringBuffer.append(TEXT_76);
if (size > 0) {
stringBuffer.append(TEXT_77);
@@ -599,7 +618,9 @@
stringBuffer.append(TEXT_85);
}
stringBuffer.append(TEXT_86);
- stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException"));
+ stringBuffer.append(genModel
+ .getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException"
+ : "java.lang.reflect.InvocationTargetException"));
stringBuffer.append(TEXT_87);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException"));
stringBuffer.append(TEXT_88);
@@ -627,7 +648,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0229MGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0229MGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -658,7 +682,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03AuMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_03AuMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureTODOoverride.java
index 8388f85..8b1a5e3 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,7 +29,9 @@
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return the '";
protected final String TEXT_2 = "' ";
protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT";
- protected final String TEXT_4 = NL + "\t\t// The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting" + NL + "\t\t// so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.";
+ protected final String TEXT_4 = NL
+ + "\t\t// The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting"
+ + NL + "\t\t// so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.";
protected final String TEXT_5 = "EcoreEMap";
protected final String TEXT_6 = "BasicFeatureMap";
protected final String TEXT_7 = "EcoreEList";
@@ -114,7 +116,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureannotationsinsert.java
index 33d0587..7eed5a8 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocinsert.java
index 07c417e..0c1dfad 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocoverride.java
index e163bb6..99edfcc 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -55,7 +55,8 @@
protected final String TEXT_27 = NL + "\t * <!-- begin-user-doc -->";
protected final String TEXT_28 = NL + "\t * <p>" + NL + "\t * If the meaning of the '<em>";
protected final String TEXT_29 = "</em>' ";
- protected final String TEXT_30 = " isn't clear," + NL + "\t * there really should be more of a description here..." + NL + "\t * </p>";
+ protected final String TEXT_30 = " isn't clear," + NL + "\t * there really should be more of a description here..."
+ + NL + "\t * </p>";
protected final String TEXT_31 = NL + "\t * <!-- end-user-doc -->";
protected final String TEXT_32 = NL + "\t * <!-- begin-model-doc -->" + NL + "\t * ";
protected final String TEXT_33 = NL + "\t * <!-- end-model-doc -->";
@@ -158,7 +159,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -349,7 +351,9 @@
stringBuffer.append(TEXT_13);
}
stringBuffer.append(TEXT_14);
- } else if (!genFeature.isWrappedFeatureMapType() && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature.getQualifiedListItemType(genClass)))) {
+ } else if (!genFeature.isWrappedFeatureMapType()
+ && !(genModel.isSuppressEMFMetaData() && "org.eclipse.emf.ecore.EObject".equals(genFeature
+ .getQualifiedListItemType(genClass)))) {
String typeName = genFeature.getQualifiedListItemType(genClass);
String head = typeName;
String tail = "";
@@ -413,7 +417,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wJ4QGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wJ4QGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -477,7 +483,8 @@
}
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genFeature.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureoverride.java
index 0744bfd..125922c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "\t";
protected final String TEXT_6 = " ";
@@ -289,7 +290,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -475,7 +477,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vtMUGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0vtMUGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -506,7 +510,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wTpQGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wTpQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -520,8 +527,15 @@
stringBuffer.append(TEXT_7);
} else {
if (genModel.useGenerics()
- && ((genFeature.isContainer() || genFeature.isResolveProxies()) && !genFeature.isListType() && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation()) && genFeature.isUncheckedCast(genClass) || genFeature.isListType()
- && !genFeature.isFeatureMapType() && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel.isDynamicDelegation()) || genFeature.isListDataType() && genFeature.hasDelegateFeature() || genFeature.isListType()
+ && ((genFeature.isContainer() || genFeature.isResolveProxies())
+ && !genFeature.isListType()
+ && !(genModel.isReflectiveDelegation() && genModel.isDynamicDelegation())
+ && genFeature.isUncheckedCast(genClass)
+ || genFeature.isListType()
+ && !genFeature.isFeatureMapType()
+ && (genModel.isReflectiveDelegation() || genModel.isVirtualDelegation() || genModel
+ .isDynamicDelegation()) || genFeature.isListDataType()
+ && genFeature.hasDelegateFeature() || genFeature.isListType()
&& genFeature.hasSettingDelegate())) {
stringBuffer.append(TEXT_8);
}
@@ -556,7 +570,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wczMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wczMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -655,7 +671,8 @@
}
stringBuffer.append(TEXT_56);
stringBuffer.append(genFeature.getSafeName());
- stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : "");
+ stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()"
+ : "");
stringBuffer.append(TEXT_57);
} else if (genFeature.isContainer()) {
stringBuffer.append(TEXT_58);
@@ -723,7 +740,8 @@
stringBuffer.append(TEXT_86);
if (!genFeature.isBidirectional()) {
stringBuffer.append(TEXT_87);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
stringBuffer.append(TEXT_88);
stringBuffer.append(genFeature.getCapName());
stringBuffer.append(TEXT_89);
@@ -733,9 +751,11 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_91);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
stringBuffer.append(TEXT_92);
stringBuffer.append(genFeature.getCapName());
stringBuffer.append(TEXT_93);
@@ -758,7 +778,8 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_101);
stringBuffer.append(genFeature.getCapName());
stringBuffer.append(TEXT_102);
@@ -779,7 +800,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_109);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_110);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_111);
@@ -793,7 +815,8 @@
}
stringBuffer.append(TEXT_115);
}
- if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) {
+ if (!genFeature.isResolveProxies() && genModel.isVirtualDelegation()
+ && !genFeature.isPrimitiveType()) {
stringBuffer.append(TEXT_116);
stringBuffer.append(genFeature.getImportedType(genClass));
stringBuffer.append(TEXT_117);
@@ -852,7 +875,8 @@
} else if (genFeature.hasDelegateFeature()) {
GenFeature delegateFeature = genFeature.getDelegateFeature();
if (genFeature.isFeatureMapType()) {
- String featureMapEntryTemplateArgument = isJDK50 ? "<" + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";
+ String featureMapEntryTemplateArgument = isJDK50 ? "<"
+ + genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap") + ".Entry>" : "";
if (delegateFeature.isWrappedFeatureMapType()) {
stringBuffer.append(TEXT_140);
stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperClass());
@@ -900,7 +924,8 @@
if (!isJDK50 && genFeature.isPrimitiveType()) {
stringBuffer.append(TEXT_160);
}
- if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {
+ if (genFeature.getTypeGenDataType() == null
+ || !genFeature.getTypeGenDataType().isObjectType()) {
stringBuffer.append(TEXT_161);
stringBuffer.append(genFeature.getObjectType(genClass));
stringBuffer.append(TEXT_162);
@@ -923,7 +948,8 @@
if (!isJDK50 && genFeature.isPrimitiveType()) {
stringBuffer.append(TEXT_171);
}
- if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType()) {
+ if (genFeature.getTypeGenDataType() == null
+ || !genFeature.getTypeGenDataType().isObjectType()) {
stringBuffer.append(TEXT_172);
stringBuffer.append(genFeature.getObjectType(genClass));
stringBuffer.append(TEXT_173);
@@ -943,7 +969,8 @@
}
} else if (genClass.getGetAccessorOperation(genFeature) != null) {
stringBuffer.append(TEXT_180);
- stringBuffer.append(genClass.getGetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(genClass.getGetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
} else if (genFeature.hasGetterBody()) {
stringBuffer.append(TEXT_181);
stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer)));
@@ -971,7 +998,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wmkMGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0wmkMGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturepreinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturepreinsert.java
index af654b3..2606182 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturepreinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacegetGenFeaturepreinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:21 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceimplementedGenOperationTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceimplementedGenOperationTODOoverride.java
index ba9127b..2872217 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceimplementedGenOperationTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceimplementedGenOperationTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,9 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
@@ -106,7 +108,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinsert.java
index 8776e96..2ec1f87 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinterfacejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinterfacejavadocoverride.java
index ae4ad98..5f190d8 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinterfacejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/Interfaceinterfacejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,17 +26,19 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * A representation of the model object '<em><b>";
+ protected final String TEXT_1 = NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A representation of the model object '<em><b>";
protected final String TEXT_2 = "</b></em>'." + NL + " * <!-- end-user-doc -->";
protected final String TEXT_3 = NL + " *" + NL + " * <!-- begin-model-doc -->" + NL + " * ";
protected final String TEXT_4 = NL + " * <!-- end-model-doc -->";
protected final String TEXT_5 = NL + " *";
- protected final String TEXT_6 = NL + " * <p>" + NL + " * The following features are supported:" + NL + " * <ul>";
+ protected final String TEXT_6 = NL + " * <p>" + NL + " * The following features are supported:" + NL + " * </p>"
+ + NL + " * <ul>";
protected final String TEXT_7 = NL + " * <li>{@link ";
protected final String TEXT_8 = "#";
protected final String TEXT_9 = " <em>";
protected final String TEXT_10 = "</em>}</li>";
- protected final String TEXT_11 = NL + " * </ul>" + NL + " * </p>";
+ protected final String TEXT_11 = NL + " * </ul>";
protected final String TEXT_12 = NL + " *";
protected final String TEXT_13 = NL + " * @see ";
protected final String TEXT_14 = "#get";
@@ -307,7 +309,8 @@
}
if (!genModel.isSuppressEMFModelTags()) {
boolean first = true;
- for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(genClass.getModelInfo(), "\n\r"); stringTokenizer
+ .hasMoreTokens();) {
String modelInfo = stringTokenizer.nextToken();
if (first) {
first = false;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureTODOoverride.java
index 950bacf..c5a518d 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,9 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to return whether the '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_3 = " is set" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -108,7 +110,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureannotationsinsert.java
index 6c2cce9..2e37a7c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocinsert.java
index a414d62..cc2cab6 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocoverride.java
index 7503875..77b1201 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeaturejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -32,7 +32,8 @@
protected final String TEXT_4 = "</em>}' ";
protected final String TEXT_5 = " is set.";
protected final String TEXT_6 = NL;
- protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return whether the value of the '<em>";
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @return whether the value of the '<em>";
protected final String TEXT_8 = "</em>' ";
protected final String TEXT_9 = " is set.";
protected final String TEXT_10 = NL + "\t * @see #unset";
@@ -122,7 +123,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -315,7 +317,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01N-cGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01N-cGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureoverride.java
index a37be6e..ffbce6f 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceisSetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "\tboolean isSet";
protected final String TEXT_6 = "();" + NL;
@@ -152,7 +153,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -338,7 +340,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00x5kGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00x5kGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -369,7 +373,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01hgcGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01hgcGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -467,7 +474,8 @@
}
} else if (genClass.getIsSetAccessorOperation(genFeature) != null) {
stringBuffer.append(TEXT_44);
- stringBuffer.append(genClass.getIsSetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(genClass.getIsSetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
} else {
stringBuffer.append(TEXT_45);
{
@@ -492,7 +500,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01qqYGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_01qqYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacereflectiveDelegationoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacereflectiveDelegationoverride.java
index fb38336..f80897e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacereflectiveDelegationoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacereflectiveDelegationoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:20 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -27,9 +27,12 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
- protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected static final int ESTATIC_FEATURE_COUNT = ";
+ protected final String TEXT_2 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected static final int ESTATIC_FEATURE_COUNT = ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_4 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_5 = NL + "\t@Override";
protected final String TEXT_6 = NL + "\tprotected int eStaticFeatureCount()" + NL + "\t{" + NL + "\t\treturn ";
protected final String TEXT_7 = ";" + NL + "\t}" + NL;
@@ -262,11 +265,16 @@
protected void method_doGenerate(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
stringBuffer.append(TEXT_1);
- if (isImplementation && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel.isDynamicDelegation())
- && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel().getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass.getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {
+ if (isImplementation
+ && (genModel.getFeatureDelegation() == GenDelegationKind.REFLECTIVE_LITERAL || genModel
+ .isDynamicDelegation())
+ && (genClass.getClassExtendsGenClass() == null || (genClass.getClassExtendsGenClass().getGenModel()
+ .getFeatureDelegation() != GenDelegationKind.REFLECTIVE_LITERAL && !genClass
+ .getClassExtendsGenClass().getGenModel().isDynamicDelegation()))) {
if (genClass.hasStaticFeatures()) {
stringBuffer.append(TEXT_2);
- stringBuffer.append(genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass().getAllGenFeatures().size());
+ stringBuffer.append(genClass.getClassExtendsGenClass() == null ? 0 : genClass.getClassExtendsGenClass()
+ .getAllGenFeatures().size());
stringBuffer.append(TEXT_3);
}
stringBuffer.append(TEXT_4);
@@ -274,7 +282,9 @@
stringBuffer.append(TEXT_5);
}
stringBuffer.append(TEXT_6);
- stringBuffer.append(genClass.getClassExtendsGenClass() == null ? "0" : genClass.hasStaticFeatures() ? "ESTATIC_FEATURE_COUNT" : Integer.toString(genClass.getClassExtendsGenClass().getAllGenFeatures().size()));
+ stringBuffer.append(genClass.getClassExtendsGenClass() == null ? "0"
+ : genClass.hasStaticFeatures() ? "ESTATIC_FEATURE_COUNT" : Integer.toString(genClass
+ .getClassExtendsGenClass().getAllGenFeatures().size()));
stringBuffer.append(TEXT_7);
}
stringBuffer.append(TEXT_8);
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureTODOoverride.java
index 3d7f0e8..7ff4654 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to set the '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -112,7 +113,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureannotationsinsert.java
index 4666b46..eb3b83c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocinsert.java
index a4ac98e..5cfede0 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocoverride.java
index 018ab5b..2e66f1c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -32,7 +32,8 @@
protected final String TEXT_4 = "</em>}' ";
protected final String TEXT_5 = ".";
protected final String TEXT_6 = NL;
- protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param value the new value of the '<em>";
+ protected final String TEXT_7 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param value the new value of the '<em>";
protected final String TEXT_8 = "</em>' ";
protected final String TEXT_9 = ".";
protected final String TEXT_10 = NL + "\t * @see ";
@@ -121,7 +122,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -314,7 +316,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yid4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yid4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureoverride.java
index 3b24221..1280c5b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "\tvoid set";
protected final String TEXT_6 = "(";
@@ -71,7 +72,8 @@
protected final String TEXT_43 = "))" + NL + "\t\t\t\tthrow new ";
protected final String TEXT_44 = "(\"Recursive containment not allowed for \" + toString());";
protected final String TEXT_45 = NL + "\t\t\t";
- protected final String TEXT_46 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new";
+ protected final String TEXT_46 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL
+ + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new";
protected final String TEXT_47 = " != null)" + NL + "\t\t\t\tmsgs = ((";
protected final String TEXT_48 = ")new";
protected final String TEXT_49 = ").eInverseAdd(this, ";
@@ -349,7 +351,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -535,7 +538,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yZT8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0yZT8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -566,7 +571,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ysO4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0ysO4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -588,7 +596,8 @@
stringBuffer.append(TEXT_10);
stringBuffer.append(genFeature.getImportedType(genClass));
stringBuffer.append(TEXT_11);
- stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName());
+ stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation
+ .getGenParameters().get(0).getName());
stringBuffer.append(TEXT_12);
stringBuffer.append(TEXT_13);
{
@@ -614,7 +623,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y1Y0GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y1Y0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -672,7 +683,8 @@
if (genFeature.isContainer()) {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_37);
stringBuffer.append(genFeature.getCapName());
stringBuffer.append(TEXT_38);
@@ -767,7 +779,8 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_79);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
stringBuffer.append(TEXT_80);
@@ -835,7 +848,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_109);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_110);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_111);
@@ -853,7 +867,8 @@
} else {
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_117);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_118);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_119);
@@ -1037,7 +1052,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_196);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_197);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_198);
@@ -1073,7 +1089,8 @@
} else {
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_210);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_211);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_212);
@@ -1126,7 +1143,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y_J0GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y_J0GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -1201,7 +1221,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y_J5WJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0y_J5WJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepostinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepostinsert.java
index fcbc0b0..e92edf5 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepostinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepostinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -109,7 +109,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepreinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepreinsert.java
index 70696d0..17c6cf1 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepreinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfacesetGenFeaturepreinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -109,7 +109,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureTODOoverride.java
index 06caf36..cafea02 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = NL + "\t\t// TODO: implement this method to unset the '";
protected final String TEXT_2 = "' ";
- protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();" + NL;
+ protected final String TEXT_3 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL
+ + "\t\tthrow new UnsupportedOperationException();" + NL;
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL;
@@ -108,7 +109,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureannotationsinsert.java
index 371d8b8..9655a31 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocinsert.java
index c269595..c10797e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -105,7 +105,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocoverride.java
index 3a3187c..0f81f37 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeaturejavadocoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -120,7 +120,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -313,7 +314,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00LcoGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00LcoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureoverride.java
index 5a4a63c..d480e5e 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/Interface/InterfaceunsetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:22 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.Interface;
import org.eclipse.egf.emf.pattern.base.*;
@@ -28,7 +28,8 @@
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL;
- protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_3 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_4 = NL;
protected final String TEXT_5 = NL + "\tvoid unset";
protected final String TEXT_6 = "();" + NL;
@@ -71,7 +72,8 @@
protected final String TEXT_43 = ", ";
protected final String TEXT_44 = ".class, msgs);";
protected final String TEXT_45 = NL + "\t\t\tmsgs = basicUnset";
- protected final String TEXT_46 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{";
+ protected final String TEXT_46 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL
+ + "\t\telse" + NL + "\t\t{";
protected final String TEXT_47 = NL + "\t\t\tboolean old";
protected final String TEXT_48 = "ESet = eVirtualIsSet(";
protected final String TEXT_49 = ");";
@@ -264,7 +266,8 @@
this.positiveOperationOffsetCorrection = (java.lang.String) positiveOperationOffsetCorrectionParameter;
if (preCondition(ctx)) {
- ctx.setNode(new Node.Container(currentNode, getClass()));
+ ctx.setNode(new Node.Container(currentNode,
+ getClass()));
orchestration(ctx);
}
@@ -450,7 +453,9 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00BroGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00BroGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -481,7 +486,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00VNoGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00VNoGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -568,7 +576,8 @@
} else {
GenFeature reverseFeature = genFeature.getReverse();
GenClass targetClass = reverseFeature.getGenClass();
- String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : "";
+ String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + "
+ + genClass.getOffsetCorrectionField(genFeature) : "";
stringBuffer.append(TEXT_40);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
stringBuffer.append(TEXT_41);
@@ -717,7 +726,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_103);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_104);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_105);
@@ -789,7 +799,8 @@
}
if (!genModel.isSuppressNotification()) {
stringBuffer.append(TEXT_134);
- stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
+ stringBuffer.append(genModel
+ .getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
stringBuffer.append(TEXT_135);
stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
stringBuffer.append(TEXT_136);
@@ -842,7 +853,8 @@
}
} else if (genClass.getUnsetAccessorOperation(genFeature) != null) {
stringBuffer.append(TEXT_156);
- stringBuffer.append(genClass.getUnsetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer)));
+ stringBuffer.append(genClass.getUnsetAccessorOperation(genFeature).getBody(
+ genModel.getIndentation(stringBuffer)));
} else {
stringBuffer.append(TEXT_157);
{
@@ -867,7 +879,10 @@
callParameters.put("positiveOffsetCorrection", positiveOffsetCorrection);
callParameters.put("negativeOperationOffsetCorrection", negativeOperationOffsetCorrection);
callParameters.put("positiveOperationOffsetCorrection", positiveOperationOffsetCorrection);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00eXkGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_00eXkGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ResourceFactoryClass/ResourceFactoryClasscreateResourceoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ResourceFactoryClass/ResourceFactoryClasscreateResourceoverride.java
index 9a7bacf..f6e6c60 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ResourceFactoryClass/ResourceFactoryClasscreateResourceoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ResourceFactoryClass/ResourceFactoryClasscreateResourceoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:17 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.ResourceFactoryClass;
import org.eclipse.egf.emf.pattern.base.*;
@@ -38,9 +38,12 @@
protected final String TEXT_10 = "Boolean.TRUE";
protected final String TEXT_11 = "extendedMetaData";
protected final String TEXT_12 = ");" + NL + "" + NL + "\t\tresult.getDefaultSaveOptions().put(";
- protected final String TEXT_13 = ".OPTION_SCHEMA_LOCATION, Boolean.TRUE);" + NL + "" + NL + "\t\tresult.getDefaultLoadOptions().put(";
- protected final String TEXT_14 = ".OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);" + NL + "\t\tresult.getDefaultSaveOptions().put(";
- protected final String TEXT_15 = ".OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);" + NL + "" + NL + "\t\tresult.getDefaultLoadOptions().put(";
+ protected final String TEXT_13 = ".OPTION_SCHEMA_LOCATION, Boolean.TRUE);" + NL + "" + NL
+ + "\t\tresult.getDefaultLoadOptions().put(";
+ protected final String TEXT_14 = ".OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);" + NL
+ + "\t\tresult.getDefaultSaveOptions().put(";
+ protected final String TEXT_15 = ".OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);" + NL + "" + NL
+ + "\t\tresult.getDefaultLoadOptions().put(";
protected final String TEXT_16 = ".OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);";
protected final String TEXT_17 = NL + "\t\tresult.getDefaultLoadOptions().put(";
protected final String TEXT_18 = ".OPTION_USE_DATA_CONVERTER, Boolean.TRUE);";
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ValidatorClass/ValidatorClassinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ValidatorClass/ValidatorClassinsert.java
index 96b4fb4..1857993 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ValidatorClass/ValidatorClassinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/model/call/ValidatorClass/ValidatorClassinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:23 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.model.call.ValidatorClass;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/BuildProperties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/BuildProperties.java
index 1a97ceb..f35ef55 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/BuildProperties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/BuildProperties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests;
import org.eclipse.egf.emf.pattern.base.*;
@@ -110,7 +110,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getTestsProjectDirectory() + "/build.properties";
@@ -130,9 +131,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -164,7 +167,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -204,7 +210,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
canGenerate = canGenerate && (!genModel.sameModelTestsProject());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ManifestMF.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ManifestMF.java
index 1c1ae0e..af7f7e4 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ManifestMF.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ManifestMF.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,8 +26,10 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
- protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL + "Bundle-ClassPath: ";
+ protected final String TEXT_1 = "Manifest-Version: 1.0" + NL + "Bundle-ManifestVersion: 2" + NL
+ + "Bundle-Name: %pluginName" + NL + "Bundle-SymbolicName: ";
+ protected final String TEXT_2 = ";singleton:=true" + NL + "Bundle-Version: 1.0.0.qualifier" + NL
+ + "Bundle-ClassPath: ";
protected final String TEXT_3 = ".jar";
protected final String TEXT_4 = ".";
protected final String TEXT_5 = NL + "Bundle-Vendor: %providerName" + NL + "Bundle-Localization: plugin";
@@ -119,7 +121,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getTestsProjectDirectory() + "/META-INF/MANIFEST.MF";
@@ -139,9 +142,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -205,12 +210,14 @@
stringBuffer.append(TEXT_15);
stringBuffer.append(TEXT_16);
stringBuffer.append(pluginID);
- if (!pluginID.startsWith("org.eclipse.core.runtime")) {
+ if (!pluginID.startsWith("org.eclipse.core.runtime") && !pluginID.equals("org.eclipse.xtext.xbase.lib")
+ && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {
stringBuffer.append(TEXT_17);
}
}
}
- if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
+ if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22
+ || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {
stringBuffer.append(TEXT_18);
}
stringBuffer.append(TEXT_19);
@@ -221,7 +228,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
canGenerate = canGenerate && (genModel.isBundleManifest()) && (!genModel.sameModelTestsProject());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ModelTestSuite.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ModelTestSuite.java
index e5c5e68..bc288d2 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ModelTestSuite.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/ModelTestSuite.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,23 +29,33 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * A test suite for the '<em><b>";
- protected final String TEXT_5 = "</b></em>' model." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A test suite for the '<em><b>";
+ protected final String TEXT_5 = "</b></em>' model." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL
+ + " */" + NL + "public class ";
protected final String TEXT_6 = " extends ";
protected final String TEXT_7 = NL + "{";
- protected final String TEXT_8 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_9 = " copyright = ";
protected final String TEXT_10 = ";";
- protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
- protected final String TEXT_12 = ".run(suite());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_12 = ".run(suite());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static ";
protected final String TEXT_13 = " suite()" + NL + "\t{" + NL + "\t\t";
protected final String TEXT_14 = " suite = new ";
protected final String TEXT_15 = "(\"";
protected final String TEXT_16 = " Tests\");";
protected final String TEXT_17 = NL + "\t\tsuite.addTest(";
protected final String TEXT_18 = ".suite());";
- protected final String TEXT_19 = NL + "\t\treturn suite;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_20 = "(String name)" + NL + "\t{" + NL + "\t\tsuper(name);" + NL + "\t}" + NL + "" + NL + "} //";
+ protected final String TEXT_19 = NL + "\t\treturn suite;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_20 = "(String name)" + NL + "\t{" + NL + "\t\tsuper(name);" + NL + "\t}" + NL + "" + NL
+ + "} //";
protected final String TEXT_21 = NL;
protected final String TEXT_22 = NL;
protected final String TEXT_23 = NL;
@@ -121,7 +131,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPath = genModel.getTestsDirectory();
@@ -141,9 +152,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -174,7 +187,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -229,7 +245,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
canGenerate = canGenerate && (genModel.hasTestSuiteClass());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageExample.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageExample.java
index 4afd115..679266a 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageExample.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageExample.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,34 +29,52 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * A sample utility for the '<em><b>";
- protected final String TEXT_5 = "</b></em>' package." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A sample utility for the '<em><b>";
+ protected final String TEXT_5 = "</b></em>' package." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL
+ + " */" + NL + "public class ";
protected final String TEXT_6 = NL + "{";
- protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_7 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_8 = " copyright = ";
protected final String TEXT_9 = ";";
protected final String TEXT_10 = NL + "\t";
- protected final String TEXT_11 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * Load all the argument file paths or URIs as instances of the model." + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param args the file paths or URIs." + NL
- + "\t * @generated" + NL + "\t */" + NL + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t// Create a resource set to hold the resources." + NL + "\t\t//" + NL + "\t\t";
+ protected final String TEXT_11 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * Load all the argument file paths or URIs as instances of the model." + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @param args the file paths or URIs." + NL + "\t * @generated"
+ + NL + "\t */" + NL + "\tpublic static void main(String[] args)" + NL + "\t{" + NL
+ + "\t\t// Create a resource set to hold the resources." + NL + "\t\t//" + NL + "\t\t";
protected final String TEXT_12 = " resourceSet = new ";
protected final String TEXT_13 = "();" + NL + "\t\t";
- protected final String TEXT_14 = NL + "\t\t// Register the appropriate resource factory to handle the content type." + NL + "\t\t//" + NL + "\t\tresourceSet.getResourceFactoryRegistry().getContentTypeToFactoryMap().put" + NL + "\t\t\t(";
+ protected final String TEXT_14 = NL
+ + "\t\t// Register the appropriate resource factory to handle the content type." + NL + "\t\t//" + NL
+ + "\t\tresourceSet.getResourceFactoryRegistry().getContentTypeToFactoryMap().put" + NL + "\t\t\t(";
protected final String TEXT_15 = ".eCONTENT_TYPE," + NL + "\t\t\t new ";
- protected final String TEXT_16 = "());" + NL + "\t\t" + NL + "\t\t// Register the appropriate content handler for all file extensions and any element from the package's namespace." + NL + "\t\t//" + NL + "\t\tresourceSet.getURIConverter().getContentHandlers().add" + NL
- + "\t\t\t(new ";
+ protected final String TEXT_16 = "());"
+ + NL
+ + "\t\t"
+ + NL
+ + "\t\t// Register the appropriate content handler for all file extensions and any element from the package's namespace."
+ + NL + "\t\t//" + NL + "\t\tresourceSet.getURIConverter().getContentHandlers().add" + NL + "\t\t\t(new ";
protected final String TEXT_17 = "(";
protected final String TEXT_18 = ".eCONTENT_TYPE, null, null, ";
protected final String TEXT_19 = ".eNS_URI";
protected final String TEXT_20 = "(";
protected final String TEXT_21 = ")null";
protected final String TEXT_22 = ", null));";
- protected final String TEXT_23 = NL + "\t\t// Register the appropriate resource factory to handle all file extensions." + NL + "\t\t//" + NL + "\t\tresourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put" + NL
+ protected final String TEXT_23 = NL
+ + "\t\t// Register the appropriate resource factory to handle all file extensions." + NL + "\t\t//" + NL
+ + "\t\tresourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put" + NL
+ "\t\t\t(Resource.Factory.Registry.DEFAULT_EXTENSION, " + NL + "\t\t\t new ";
protected final String TEXT_24 = "());";
- protected final String TEXT_25 = NL + NL + "\t\t// Register the package to ensure it is available during loading." + NL + "\t\t//" + NL + "\t\tresourceSet.getPackageRegistry().put" + NL + "\t\t\t(";
+ protected final String TEXT_25 = NL + NL + "\t\t// Register the package to ensure it is available during loading."
+ + NL + "\t\t//" + NL + "\t\tresourceSet.getPackageRegistry().put" + NL + "\t\t\t(";
protected final String TEXT_26 = ".eNS_URI, " + NL + "\t\t\t ";
- protected final String TEXT_27 = ".eINSTANCE);" + NL + " " + NL + "\t\t// If there are no arguments, emit an appropriate usage message." + NL + "\t\t//" + NL + "\t\tif (args.length == 0)" + NL + "\t\t{";
- protected final String TEXT_28 = NL + "\t\t\tSystem.out.println(\"Enter a list of file paths or URIs that have content like this:\");";
+ protected final String TEXT_27 = ".eINSTANCE);" + NL + " " + NL
+ + "\t\t// If there are no arguments, emit an appropriate usage message." + NL + "\t\t//" + NL
+ + "\t\tif (args.length == 0)" + NL + "\t\t{";
+ protected final String TEXT_28 = NL
+ + "\t\t\tSystem.out.println(\"Enter a list of file paths or URIs that have content like this:\");";
protected final String TEXT_29 = NL + "\t\t\ttry" + NL + "\t\t\t{";
protected final String TEXT_30 = NL + "\t\t\t\t";
protected final String TEXT_31 = " resource = resourceSet.createResource(";
@@ -91,16 +109,25 @@
protected final String TEXT_60 = "root);";
protected final String TEXT_61 = NL + "\t\t\t\tresource.save(";
protected final String TEXT_62 = ".out, null);" + NL + "\t\t\t}" + NL + "\t\t\tcatch (";
- protected final String TEXT_63 = " exception) " + NL + "\t\t\t{" + NL + "\t\t\t\texception.printStackTrace();" + NL + "\t\t\t}";
+ protected final String TEXT_63 = " exception) " + NL + "\t\t\t{" + NL + "\t\t\t\texception.printStackTrace();" + NL
+ + "\t\t\t}";
protected final String TEXT_64 = NL + "\t\t\tSystem.out.println(\"Enter a list of file paths or URIs\");";
- protected final String TEXT_65 = NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL + "\t\t\t// Iterate over all the arguments." + NL + "\t\t\t//" + NL + "\t\t\tfor (int i = 0; i < args.length; ++i)" + NL + "\t\t\t{" + NL
- + "\t\t\t\t// Construct the URI for the instance file." + NL + "\t\t\t\t// The argument is treated as a file path only if it denotes an existing file." + NL + "\t\t\t\t// Otherwise, it's directly treated as a URL." + NL + "\t\t\t\t//" + NL + "\t\t\t\t";
+ protected final String TEXT_65 = NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{" + NL
+ + "\t\t\t// Iterate over all the arguments." + NL + "\t\t\t//" + NL
+ + "\t\t\tfor (int i = 0; i < args.length; ++i)" + NL + "\t\t\t{" + NL
+ + "\t\t\t\t// Construct the URI for the instance file." + NL
+ + "\t\t\t\t// The argument is treated as a file path only if it denotes an existing file." + NL
+ + "\t\t\t\t// Otherwise, it's directly treated as a URL." + NL + "\t\t\t\t//" + NL + "\t\t\t\t";
protected final String TEXT_66 = " file = new ";
protected final String TEXT_67 = "(args[i]);" + NL + "\t\t\t\t";
protected final String TEXT_68 = " uri = file.isFile() ? ";
- protected final String TEXT_69 = ".createFileURI(file.getAbsolutePath()): URI.createURI(args[i]);" + NL + "" + NL + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t// Demand load resource for this file." + NL + "\t\t\t\t\t//" + NL + "\t\t\t\t\t";
- protected final String TEXT_70 = " resource = resourceSet.getResource(uri, true);" + NL + "\t\t\t\t\tSystem.out.println(\"Loaded \" + uri);";
- protected final String TEXT_71 = NL + NL + "\t\t\t\t\t// Validate the contents of the loaded resource." + NL + "\t\t\t\t\t//";
+ protected final String TEXT_69 = ".createFileURI(file.getAbsolutePath()): URI.createURI(args[i]);" + NL + "" + NL
+ + "\t\t\t\ttry" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t// Demand load resource for this file." + NL
+ + "\t\t\t\t\t//" + NL + "\t\t\t\t\t";
+ protected final String TEXT_70 = " resource = resourceSet.getResource(uri, true);" + NL
+ + "\t\t\t\t\tSystem.out.println(\"Loaded \" + uri);";
+ protected final String TEXT_71 = NL + NL + "\t\t\t\t\t// Validate the contents of the loaded resource." + NL
+ + "\t\t\t\t\t//";
protected final String TEXT_72 = NL + "\t\t\t\t\tfor (";
protected final String TEXT_73 = " eObject : resource.getContents())";
protected final String TEXT_74 = NL + "\t\t\t\t\tfor (";
@@ -111,15 +138,25 @@
protected final String TEXT_79 = ")j.next();";
protected final String TEXT_80 = NL + "\t\t\t\t\t\t";
protected final String TEXT_81 = " diagnostic = ";
- protected final String TEXT_82 = ".INSTANCE.validate(eObject);" + NL + "\t\t\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t\t\t{" + NL + "\t\t\t\t\t\t\tprintDiagnostic(diagnostic, \"\");";
- protected final String TEXT_83 = NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t\tcatch (";
- protected final String TEXT_84 = " exception) " + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tSystem.out.println(\"Problem loading \" + uri);";
- protected final String TEXT_85 = NL + "\t\t\t\t\texception.printStackTrace();" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * Prints diagnostics with indentation." + NL
- + "\t * <!-- end-user-doc -->" + NL + "\t * @param diagnostic the diagnostic to print." + NL + "\t * @param indent the indentation for printing." + NL + "\t * @generated" + NL + "\t */" + NL
- + "\tprotected static void printDiagnostic(Diagnostic diagnostic, String indent)" + NL + "\t{" + NL + "\t\tSystem.out.print(indent);" + NL + "\t\tSystem.out.println(diagnostic.getMessage());";
- protected final String TEXT_86 = NL + "\t\tfor (Diagnostic child : diagnostic.getChildren())" + NL + "\t\t{" + NL + "\t\t\tprintDiagnostic(child, indent + \" \");";
+ protected final String TEXT_82 = ".INSTANCE.validate(eObject);" + NL
+ + "\t\t\t\t\t\tif (diagnostic.getSeverity() != Diagnostic.OK)" + NL + "\t\t\t\t\t\t{" + NL
+ + "\t\t\t\t\t\t\tprintDiagnostic(diagnostic, \"\");";
+ protected final String TEXT_83 = NL + "\t\t\t\t\t\t}" + NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL
+ + "\t\t\t\tcatch (";
+ protected final String TEXT_84 = " exception) " + NL + "\t\t\t\t{" + NL
+ + "\t\t\t\t\tSystem.out.println(\"Problem loading \" + uri);";
+ protected final String TEXT_85 = NL + "\t\t\t\t\texception.printStackTrace();" + NL + "\t\t\t\t}" + NL + "\t\t\t}"
+ + NL + "\t\t}" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * Prints diagnostics with indentation." + NL + "\t * <!-- end-user-doc -->" + NL
+ + "\t * @param diagnostic the diagnostic to print." + NL
+ + "\t * @param indent the indentation for printing." + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected static void printDiagnostic(Diagnostic diagnostic, String indent)" + NL + "\t{" + NL
+ + "\t\tSystem.out.print(indent);" + NL + "\t\tSystem.out.println(diagnostic.getMessage());";
+ protected final String TEXT_86 = NL + "\t\tfor (Diagnostic child : diagnostic.getChildren())" + NL + "\t\t{" + NL
+ + "\t\t\tprintDiagnostic(child, indent + \" \");";
protected final String TEXT_87 = NL + "\t\t}";
- protected final String TEXT_88 = NL + "\t\tfor (Iterator i = diagnostic.getChildren().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\tprintDiagnostic((Diagnostic)i.next(), indent + \" \");";
+ protected final String TEXT_88 = NL + "\t\tfor (Iterator i = diagnostic.getChildren().iterator(); i.hasNext(); )"
+ + NL + "\t\t{" + NL + "\t\t\tprintDiagnostic((Diagnostic)i.next(), indent + \" \");";
protected final String TEXT_89 = NL + "\t\t}";
protected final String TEXT_90 = NL + "\t}" + NL + "" + NL + "} //";
protected final String TEXT_91 = NL;
@@ -197,7 +234,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getTestsDirectory();
@@ -217,9 +255,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -267,7 +307,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -466,7 +509,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
canGenerate = canGenerate && (genPackage.hasClassifiers() && genPackage.isGenerateExampleClass());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageTestSuite.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageTestSuite.java
index 0c40329..53610fb 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageTestSuite.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PackageTestSuite.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,23 +29,33 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * A test suite for the '<em><b>";
- protected final String TEXT_5 = "</b></em>' package." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */" + NL + "public class ";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A test suite for the '<em><b>";
+ protected final String TEXT_5 = "</b></em>' package." + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL
+ + " */" + NL + "public class ";
protected final String TEXT_6 = " extends ";
protected final String TEXT_7 = NL + "{";
- protected final String TEXT_8 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_8 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_9 = " copyright = ";
protected final String TEXT_10 = ";";
- protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
- protected final String TEXT_12 = ".run(suite());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static ";
+ protected final String TEXT_11 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_12 = ".run(suite());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic static ";
protected final String TEXT_13 = " suite()" + NL + "\t{" + NL + "\t\t";
protected final String TEXT_14 = " suite = new ";
protected final String TEXT_15 = "(\"";
protected final String TEXT_16 = " Tests\");";
protected final String TEXT_17 = NL + "\t\tsuite.addTestSuite(";
protected final String TEXT_18 = ".class);";
- protected final String TEXT_19 = NL + "\t\treturn suite;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
- protected final String TEXT_20 = "(String name)" + NL + "\t{" + NL + "\t\tsuper(name);" + NL + "\t}" + NL + "" + NL + "} //";
+ protected final String TEXT_19 = NL + "\t\treturn suite;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL
+ + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL
+ + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_20 = "(String name)" + NL + "\t{" + NL + "\t\tsuper(name);" + NL + "\t}" + NL + "" + NL
+ + "} //";
protected final String TEXT_21 = NL;
protected final String TEXT_22 = NL;
protected final String TEXT_23 = NL;
@@ -121,7 +131,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenPackage genPackage = parameter;
targetPath = genPackage.getGenModel().getTestsDirectory();
@@ -141,9 +152,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -175,7 +188,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -230,7 +246,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenPackage genPackage = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
canGenerate = canGenerate && (genPackage.hasClassifiers());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginProperties.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginProperties.java
index b217809..7f845f5 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginProperties.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginProperties.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests;
import org.eclipse.egf.emf.pattern.base.*;
@@ -103,7 +103,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getTestsProjectDirectory() + "/plugin.properties";
@@ -121,9 +122,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -153,7 +156,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_FEoPwCwuEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -167,7 +173,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
canGenerate = canGenerate && (!genModel.sameModelTestsProject());
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginXML.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginXML.java
index 7185377..d81ceec 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginXML.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/PluginXML.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,12 +26,14 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>" + NL;
+ protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?eclipse version=\"3.0\"?>"
+ + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
protected final String TEXT_4 = NL + "<plugin>";
protected final String TEXT_5 = NL + "<plugin" + NL + " name=\"%pluginName\"" + NL + " id=\"";
- protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL + " provider-name=\"%providerName\">" + NL + "" + NL + " <requires>";
+ protected final String TEXT_6 = "\"" + NL + " version=\"1.0.0\"" + NL
+ + " provider-name=\"%providerName\">" + NL + "" + NL + " <requires>";
protected final String TEXT_7 = NL + " <import plugin=\"";
protected final String TEXT_8 = "\"";
protected final String TEXT_9 = " export=\"true\"";
@@ -40,7 +42,8 @@
protected final String TEXT_12 = NL + " <library name=\"";
protected final String TEXT_13 = ".jar\">";
protected final String TEXT_14 = NL + " <library name=\".\">";
- protected final String TEXT_15 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL + " </runtime>" + NL;
+ protected final String TEXT_15 = NL + " <export name=\"*\"/>" + NL + " </library>" + NL
+ + " </runtime>" + NL;
protected final String TEXT_16 = NL + "</plugin>" + NL;
protected final String TEXT_17 = NL;
protected final String TEXT_18 = NL;
@@ -116,7 +119,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenModel genModel = parameter;
targetPathName = genModel.getTestsProjectDirectory() + "/plugin.xml";
@@ -136,9 +140,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -170,7 +176,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#__h1VkCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -208,8 +217,10 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenModel genModel = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
- canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) && (!(genModel.isBundleManifest())) && (!genModel.sameModelTestsProject());
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ canGenerate = canGenerate && (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT)
+ && (!(genModel.isBundleManifest())) && (!genModel.sameModelTestsProject());
return canGenerate;
}
}
\ No newline at end of file
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/TestCase.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/TestCase.java
index ec7c6c4..27d7113 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/TestCase.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/TestCase.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,7 +29,8 @@
protected final String TEXT_1 = "";
protected final String TEXT_2 = NL + "package ";
protected final String TEXT_3 = ";" + NL;
- protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * A test case for the model object '<em><b>";
+ protected final String TEXT_4 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL
+ + " * A test case for the model object '<em><b>";
protected final String TEXT_5 = "</b></em>'." + NL + " * <!-- end-user-doc -->";
protected final String TEXT_6 = NL + " * <p>" + NL + " * The following features are tested:" + NL + " * <ul>";
protected final String TEXT_7 = NL + " * <li>{@link ";
@@ -49,26 +50,35 @@
protected final String TEXT_21 = " class ";
protected final String TEXT_22 = " extends ";
protected final String TEXT_23 = NL + "{";
- protected final String TEXT_24 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_24 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_25 = " copyright = ";
protected final String TEXT_26 = ";";
- protected final String TEXT_27 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
+ protected final String TEXT_27 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
protected final String TEXT_28 = " mofDriverNumber = \"";
protected final String TEXT_29 = "\";";
protected final String TEXT_30 = NL + NL + "\t/**" + NL + "\t * The fixture for this ";
- protected final String TEXT_31 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
+ protected final String TEXT_31 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
protected final String TEXT_32 = " fixture = null;";
- protected final String TEXT_33 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
+ protected final String TEXT_33 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tpublic static void main(String[] args)" + NL + "\t{" + NL + "\t\t";
protected final String TEXT_34 = ".run(";
protected final String TEXT_35 = ".class);" + NL + "\t}";
protected final String TEXT_36 = NL + NL + "\t/**" + NL + "\t * Constructs a new ";
- protected final String TEXT_37 = " test case with the given name." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+ protected final String TEXT_37 = " test case with the given name." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
protected final String TEXT_38 = "(String name)" + NL + "\t{" + NL + "\t\tsuper(name);" + NL + "\t}";
protected final String TEXT_39 = NL + NL + "\t/**" + NL + "\t * Sets the fixture for this ";
- protected final String TEXT_40 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void setFixture(";
+ protected final String TEXT_40 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL
+ + "\tprotected void setFixture(";
protected final String TEXT_41 = " fixture)" + NL + "\t{" + NL + "\t\tthis.fixture = fixture;" + NL + "\t}";
protected final String TEXT_42 = NL + NL + "\t/**" + NL + "\t * Returns the fixture for this ";
- protected final String TEXT_43 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_43 = " test case." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_44 = NL + "\t@Override";
protected final String TEXT_45 = NL + "\t";
protected final String TEXT_46 = "protected";
@@ -79,7 +89,9 @@
protected final String TEXT_51 = NL + "\t\treturn (";
protected final String TEXT_52 = ")fixture;";
protected final String TEXT_53 = NL + "\t}";
- protected final String TEXT_54 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see junit.framework.TestCase#setUp()" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_54 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see junit.framework.TestCase#setUp()" + NL + "\t * @generated"
+ + NL + "\t */";
protected final String TEXT_55 = NL + "\t@Override";
protected final String TEXT_56 = NL + "\t@SuppressWarnings(\"unchecked\")";
protected final String TEXT_57 = NL + "\tprotected void setUp() throws Exception" + NL + "\t{";
@@ -90,9 +102,12 @@
protected final String TEXT_62 = NL + "\t\tsetFixture(";
protected final String TEXT_63 = ".create";
protected final String TEXT_64 = "());";
- protected final String TEXT_65 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see junit.framework.TestCase#tearDown()" + NL + "\t * @generated" + NL + "\t */";
+ protected final String TEXT_65 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see junit.framework.TestCase#tearDown()" + NL
+ + "\t * @generated" + NL + "\t */";
protected final String TEXT_66 = NL + "\t@Override";
- protected final String TEXT_67 = NL + "\tprotected void tearDown() throws Exception" + NL + "\t{" + NL + "\t\tsetFixture(null);" + NL + "\t}";
+ protected final String TEXT_67 = NL + "\tprotected void tearDown() throws Exception" + NL + "\t{" + NL
+ + "\t\tsetFixture(null);" + NL + "\t}";
protected final String TEXT_68 = NL;
protected final String TEXT_69 = NL;
protected final String TEXT_70 = NL;
@@ -173,7 +188,8 @@
return parameters;
}
- protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_setReporterVariables(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
GenClass genClass = parameter;
targetPath = genClass.getGenModel().getTestsDirectory();
@@ -193,9 +209,11 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "setArgument", stringBuffer.toString());
}
- protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_ensureProjectExists(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
- new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel, GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
+ new CodegenGeneratorAdapter(parameter).ensureProjectExists(genModel.getTestsDirectory(), genModel,
+ GenBaseGeneratorAdapter.TESTS_PROJECT_TYPE, genModel.isUpdateClasspath(), new BasicMonitor());
InternalPatternContext ictx = (InternalPatternContext) ctx;
new Node.DataLeaf(ictx.getNode(), getClass(), "ensureProjectExists", stringBuffer.toString());
@@ -228,7 +246,10 @@
final Map<String, Object> callParameters = new HashMap<String, Object>();
callParameters.put("argument", parameter);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#_XHLrsCwtEd-jc5T-XaRJlg",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -288,7 +309,8 @@
stringBuffer.append(TEXT_21);
stringBuffer.append(genClass.getTestCaseClassName());
stringBuffer.append(TEXT_22);
- stringBuffer.append(genClass.isModelRoot() ? genModel.getImportedName("junit.framework.TestCase") : genClass.getClassExtendsGenClass().getImportedTestCaseClassName());
+ stringBuffer.append(genClass.isModelRoot() ? genModel.getImportedName("junit.framework.TestCase") : genClass
+ .getClassExtendsGenClass().getImportedTestCaseClassName());
stringBuffer.append(TEXT_23);
if (genModel.hasCopyrightField()) {
stringBuffer.append(TEXT_24);
@@ -404,7 +426,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_09kCIWJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_09kCIWJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -424,7 +448,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1Cx5UGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1Cx5UGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -443,7 +469,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DYWQGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DYWQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -458,7 +486,8 @@
public boolean preCondition(PatternContext ctx) throws Exception {
GenClass genClass = parameter;
genModel = parameter.getGenModel();
- boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
+ boolean canGenerate = new CodegenGeneratorAdapter(parameter)
+ .canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject");
canGenerate = canGenerate && true;
return canGenerate;
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegenOperationannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegenOperationannotationsinsert.java
index dda3d0f..addea36 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegenOperationannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegenOperationannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureTODOoverride.java
index ae909ee..892e3da 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t// TODO: implement this feature getter test method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this feature getter test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureannotationsinsert.java
index c989462..4ff0f3d 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureoverride.java
index 184103a..1409127 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasegetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,7 +29,8 @@
protected final String TEXT_1 = NL + NL + "\t/**" + NL + "\t * Tests the '{@link ";
protected final String TEXT_2 = "#";
protected final String TEXT_3 = "() <em>";
- protected final String TEXT_4 = "</em>}' feature getter." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_4 = "</em>}' feature getter." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_5 = "#";
protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_7 = NL;
@@ -172,7 +173,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-KfEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-KfEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -193,7 +196,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-UQEGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-UQEGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureinsert.java
index 38a8b40..7f7cddc 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureoverride.java
index 550aa79..db8052b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -159,7 +159,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_093kIGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_093kIGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -179,7 +182,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-daAGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-daAGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -199,7 +205,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0_NA4GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0_NA4GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -219,7 +228,10 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BvXgGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper
+ .executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BvXgGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -239,7 +251,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1CovYGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1CovYGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationTODOoverride.java
index 3d6744d..9d46200 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t// TODO: implement this operation test method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this operation test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationinsert.java
index cdbb3dd..8d1a944 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationoverride.java
index ed98246..428fa4d 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseimplementedGenOperationoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,7 +30,8 @@
protected final String TEXT_2 = "#";
protected final String TEXT_3 = "(";
protected final String TEXT_4 = ") <em>";
- protected final String TEXT_5 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_5 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_6 = "#";
protected final String TEXT_7 = "(";
protected final String TEXT_8 = ")" + NL + "\t * @generated" + NL + "\t */";
@@ -180,7 +181,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1C7qUGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1C7qUGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -201,7 +204,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DFbUGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DFbUGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -220,7 +225,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DOlQGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1DOlQGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseinsert.java
index 789b9be..7a73cf5 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureTODOoverride.java
index 95b648d..b187f94 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t// TODO: implement this test method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureannotationsinsert.java
index 139ea55..8757b21 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureoverride.java
index 2849ba6..ba3033b 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseisSetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,7 +29,8 @@
protected final String TEXT_1 = NL + NL + "\t/**" + NL + "\t * Tests the '{@link ";
protected final String TEXT_2 = "#isSet";
protected final String TEXT_3 = "() <em>isSet";
- protected final String TEXT_4 = "()</em>}' method." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_4 = "()</em>}' method." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_5 = "#isSet";
protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_7 = NL;
@@ -172,7 +173,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1CMDcGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1CMDcGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -193,7 +196,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1Ce-YGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1Ce-YGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureTODOoverride.java
index 717e85e..5d137a4 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t// TODO: implement this feature setter test method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this feature setter test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureannotationsinsert.java
index 66b1b5a..5ed753c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureoverride.java
index 1f660dd..3dd8c7c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCasesetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:25 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -30,7 +30,8 @@
protected final String TEXT_2 = "#set";
protected final String TEXT_3 = "(";
protected final String TEXT_4 = ") <em>";
- protected final String TEXT_5 = "</em>}' feature setter." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_5 = "</em>}' feature setter." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_6 = "#set";
protected final String TEXT_7 = "(";
protected final String TEXT_8 = ")" + NL + "\t * @generated" + NL + "\t */";
@@ -178,7 +179,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-wU8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-wU8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -199,7 +202,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-6F8GJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_0-6F8GJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureTODOoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureTODOoverride.java
index cff4de4..c047c1f 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureTODOoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureTODOoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -26,7 +26,8 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = NL + "\t\t// TODO: implement this test method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
+ protected final String TEXT_1 = NL + "\t\t// TODO: implement this test method" + NL
+ + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tfail();" + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureannotationsinsert.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureannotationsinsert.java
index 4293ca7..7f17939 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureannotationsinsert.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureannotationsinsert.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
diff --git a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureoverride.java b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureoverride.java
index 4cafd55..09c87f8 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureoverride.java
+++ b/portfolio/org.eclipse.egf.emf.pattern/generated/org/eclipse/egf/emf/pattern/tests/call/TestCase/TestCaseunsetGenFeatureoverride.java
@@ -1,4 +1,4 @@
-//Generated on Mon Jun 02 19:03:26 CEST 2014 with EGF 1.1.0.qualifier
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.emf.pattern.tests.call.TestCase;
import org.eclipse.egf.emf.pattern.base.*;
@@ -29,7 +29,8 @@
protected final String TEXT_1 = NL + NL + "\t/**" + NL + "\t * Tests the '{@link ";
protected final String TEXT_2 = "#unset";
protected final String TEXT_3 = "() <em>unset";
- protected final String TEXT_4 = "()</em>}' method." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
+ protected final String TEXT_4 = "()</em>}' method." + NL + "\t * <!-- begin-user-doc -->" + NL
+ + "\t * <!-- end-user-doc -->" + NL + "\t * @see ";
protected final String TEXT_5 = "#unset";
protected final String TEXT_6 = "()" + NL + "\t * @generated" + NL + "\t */";
protected final String TEXT_7 = NL;
@@ -172,7 +173,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BcckGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BcckGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
@@ -193,7 +196,9 @@
callParameters.put("genClass", genClass);
callParameters.put("genPackage", genPackage);
callParameters.put("genModel", genModel);
- CallHelper.executeWithParameterInjection("platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BlmgGJ-Ed-FqczH3ESmRw", new ExecutionContext((InternalPatternContext) ctx), callParameters);
+ CallHelper.executeWithParameterInjection(
+ "platform:/plugin/org.eclipse.egf.emf.pattern/egf/EMF_Pattern.fcore#_1BlmgGJ-Ed-FqczH3ESmRw",
+ new ExecutionContext((InternalPatternContext) ctx), callParameters);
stringBuffer.setLength(0);
}
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt
index 633a849..cff8e05 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._BsLUkeXDEeCxnsoQRwU99Q/method._BsVFouXDEeCxnsoQRwU99Q.pt
@@ -14,6 +14,7 @@
<%if (!genClass.getGenFeatures().isEmpty()) {%>
* <p>
* The following features are supported:
+ * </p>
* <ul>
<%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
<%if (!genFeature.isSuppressedGetVisibility()) {%>
@@ -21,7 +22,6 @@
<%}%>
<%}%>
* </ul>
- * </p>
<%}%>
*
<%if (!genModel.isSuppressEMFMetaData()) {%>
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt
index 633a849..cff8e05 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._C2iO4eXDEeCxnsoQRwU99Q/method._C2iO9uXDEeCxnsoQRwU99Q.pt
@@ -14,6 +14,7 @@
<%if (!genClass.getGenFeatures().isEmpty()) {%>
* <p>
* The following features are supported:
+ * </p>
* <ul>
<%for (GenFeature genFeature : genClass.getGenFeatures()) {%>
<%if (!genFeature.isSuppressedGetVisibility()) {%>
@@ -21,7 +22,6 @@
<%}%>
<%}%>
* </ul>
- * </p>
<%}%>
*
<%if (!genModel.isSuppressEMFMetaData()) {%>
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt
index dd260b9..8a06ec6 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PdDpoDG0Ed-kc8dEZsdm2w/method._PdDpqTG0Ed-kc8dEZsdm2w.pt
@@ -38,7 +38,7 @@
<%}%>
<%Iterator<String> requiredPluginIterator = genModel.getModelRequiredPlugins().iterator(); if (requiredPluginIterator.hasNext()) { String pluginID = requiredPluginIterator.next();%>
Require-Bundle: <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else {%>;visibility:=reexport<%} while(requiredPluginIterator.hasNext()) { pluginID = requiredPluginIterator.next();%>,
- <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else {%>;visibility:=reexport<%}}%>
+ <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else if (!pluginID.equals("org.eclipse.xtext.xbase.lib") && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {%>;visibility:=reexport<%}}%>
<%}%>
<%if (genModel.isOSGiCompatible() && genModel.hasModelPluginClass()) {%>
Import-Package: org.osgi.framework
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt
index 2c06f2c..53c61d6 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pe_jUDG0Ed-kc8dEZsdm2w/method._Pe_jWTG0Ed-kc8dEZsdm2w.pt
@@ -38,16 +38,16 @@
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b><%=genClass.getFormattedName()%></b></em>'.
* <!-- end-user-doc -->
- * <p>
<%if (!genClass.getImplementedGenFeatures().isEmpty()) {%>
+ * <p>
* The following features are implemented:
+ * </p>
* <ul>
<%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {%>
* <li>{@link <%=genClass.getQualifiedClassName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}</li>
<%}%>
* </ul>
<%}%>
- * </p>
*
* @generated
*/
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt
index c99b2b1..0a990a5 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pf47MDG0Ed-kc8dEZsdm2w/method._Pf47OTG0Ed-kc8dEZsdm2w.pt
@@ -139,6 +139,8 @@
* Returns the '<em><b><%=genEnum.getFormattedName()%></b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param literal the literal.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static <%=genEnum.getName()%> get(<%=genModel.getImportedName("java.lang.String")%> literal)
@@ -158,6 +160,8 @@
* Returns the '<em><b><%=genEnum.getFormattedName()%></b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param name the name.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static <%=genEnum.getName()%> getByName(<%=genModel.getImportedName("java.lang.String")%> name)
@@ -177,6 +181,8 @@
* Returns the '<em><b><%=genEnum.getFormattedName()%></b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param value the integer value.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static <%=genEnum.getName()%> get(int value)
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt
index 4da5a7c..61f26e2 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pg8EEDG0Ed-kc8dEZsdm2w/method._Pg8EGTG0Ed-kc8dEZsdm2w.pt
@@ -38,16 +38,16 @@
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b><%=genClass.getFormattedName()%></b></em>'.
* <!-- end-user-doc -->
- * <p>
<%if (!genClass.getImplementedGenFeatures().isEmpty()) {%>
+ * <p>
* The following features are implemented:
+ * </p>
* <ul>
<%for (GenFeature genFeature : genClass.getImplementedGenFeatures()) {%>
* <li>{@link <%=genClass.getQualifiedClassName()%>#<%=genFeature.getGetAccessor()%> <em><%=genFeature.getFormattedName()%></em>}</li>
<%}%>
* </ul>
<%}%>
- * </p>
*
* @generated
*/
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt
index 51b279f..d2e47e0 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Phh58DG0Ed-kc8dEZsdm2w/method._Phh5-TG0Ed-kc8dEZsdm2w.pt
@@ -107,7 +107,7 @@
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @parameter ePackage the package in question.
+ * @param ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
*/
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt
index bdd6f3f..13d1b93 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._PiuMwDG0Ed-kc8dEZsdm2w/method._PiuMyTG0Ed-kc8dEZsdm2w.pt
@@ -38,7 +38,7 @@
<%}%>
<%Iterator<String> requiredPluginIterator = genModel.getEditRequiredPlugins().iterator(); if (requiredPluginIterator.hasNext()) { String pluginID = requiredPluginIterator.next();%>
Require-Bundle: <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else {%>;visibility:=reexport<%} while(requiredPluginIterator.hasNext()) { pluginID = requiredPluginIterator.next();%>,
- <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else {%>;visibility:=reexport<%}}%>
+ <%=pluginID%><%if (pluginID.startsWith("org.eclipse.core.runtime")) {if (genModel.isOSGiCompatible()) {%>;resolution:=optional;x-installation:=greedy<%}} else if (!pluginID.equals("org.eclipse.xtext.xbase.lib") && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {%>;visibility:=reexport<%}}%>
<%}%>
<%if (genModel.isOSGiCompatible()) {%>
Import-Package: org.osgi.framework
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt
index 6898099..d9d36dc 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Pk9BYDG0Ed-kc8dEZsdm2w/method._Pk9BaTG0Ed-kc8dEZsdm2w.pt
@@ -38,7 +38,7 @@
<%}%>
<%Iterator<String> requiredPluginIterator = genModel.getEditorRequiredPlugins().iterator(); if (requiredPluginIterator.hasNext()) { String pluginID = requiredPluginIterator.next();%>
Require-Bundle: <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime")){%>;visibility:=reexport<%} while(requiredPluginIterator.hasNext()) { pluginID = requiredPluginIterator.next();%>,
- <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime")){%>;visibility:=reexport<%}}%>
+ <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime") && !pluginID.equals("org.eclipse.xtext.xbase.lib") && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {%>;visibility:=reexport<%}}%>
<%}%>
<%if (genModel.isRichAjaxPlatform()) {%>
Import-Package: org.eclipse.emf.common.ui,
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt
index 6a4ba10..517965c 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._Po1b0DG0Ed-kc8dEZsdm2w/method._Po1b2TG0Ed-kc8dEZsdm2w.pt
@@ -35,7 +35,7 @@
<%}%>
<%Iterator<String> requiredPluginIterator = genModel.getTestsRequiredPlugins().iterator(); if (requiredPluginIterator.hasNext()) { String pluginID = requiredPluginIterator.next();%>
Require-Bundle: <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime")){%>;visibility:=reexport<%} while(requiredPluginIterator.hasNext()) { pluginID = requiredPluginIterator.next();%>,
- <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime")){%>;visibility:=reexport<%}}%>
+ <%=pluginID%><%if (!pluginID.startsWith("org.eclipse.core.runtime") && !pluginID.equals("org.eclipse.xtext.xbase.lib") && !pluginID.equals("org.eclipse.emf.ecore.xcore.lib")) {%>;visibility:=reexport<%}}%>
<%}%>
<%if (genModel.getRuntimeVersion() == GenRuntimeVersion.EMF22 || genModel.getRuntimeVersion() == GenRuntimeVersion.EMF23) {%>
Eclipse-LazyStart: true
diff --git a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt
index 22129f7..ac53fc7 100644
--- a/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt
+++ b/portfolio/org.eclipse.egf.emf.pattern/templates/pattern._sd5EMKoMEeOCpsO1cKKCxA/method._sd5EPKoMEeOCpsO1cKKCxA.pt
@@ -20,7 +20,7 @@
<%} else if (genClass.getLabelFeature() != null) { GenFeature labelFeature = genClass.getLabelFeature();%>
<%if (labelFeature.isPrimitiveType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {%>
<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%> <%=genClass.getSafeUncapName()%> = (<%=genClass.getImportedInterfaceName()%><%=genClass.getInterfaceWildTypeArguments()%>)object;
- return new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%>(getString("_UI_<%=genClass.getName()%>_type", <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style")%>.QUALIFIER_STYLER).append(" ").append(<%=genClass.getSafeUncapName()%>.<%=genClass.getLabelFeature().getGetAccessor()%>());<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
+ return new <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString")%>(getString("_UI_<%=genClass.getName()%>_type"), <%=genModel.getImportedName("org.eclipse.emf.edit.provider.StyledString$Style")%>.QUALIFIER_STYLER).append(" ").append(<%=labelFeature.getObjectType(genClass)%>.toString(<%=genClass.getSafeUncapName()%>.<%=genClass.getLabelFeature().getGetAccessor()%>()));<%=genModel.getNonNLS()%><%=genModel.getNonNLS(2)%>
<%} else {%>
<%if (labelFeature.isStringType() && !labelFeature.getGenClass().isDynamic() && !labelFeature.isSuppressedGetVisibility()) {%>
<%if (labelFeature.isPropertyMultiLine()) {%>
diff --git a/releng/org.eclipse.egf.releng2/egf/generation.fcore b/releng/org.eclipse.egf.releng2/egf/generation.fcore
index 8015a4d..fe7b0fc 100644
--- a/releng/org.eclipse.egf.releng2/egf/generation.fcore
+++ b/releng/org.eclipse.egf.releng2/egf/generation.fcore
@@ -5,7 +5,7 @@
xmlns:types="http://www.eclipse.org/egf/1.0.0/types" xmi:id="_H7pbQCSnEeCIlumqagSWRg" name="generation launcher">
<contractContainer xmi:id="_PJvZkAYHEeGKhYHYG0ajnw">
<contracts xmi:type="fcore:FactoryComponentContract" xmi:id="_Pbep0AYHEeGKhYHYG0ajnw"
- invocationContracts="#_HOjFs_PIEd-1PJ4PFWU1aA #_UptpRAYHEeGKhYHYG0ajnw #_UwtpJAYHEeGKhYHYG0ajnw #_yX1GJLNCEeKeMI4pjPFoVA #_ogv2JOprEeO4BfLdq7IxHA">
+ invocationContracts="#_HOjFs_PIEd-1PJ4PFWU1aA #_UptpRAYHEeGKhYHYG0ajnw #_UwtpJAYHEeGKhYHYG0ajnw #_yX1GJLNCEeKeMI4pjPFoVA #_ogv2JOprEeO4BfLdq7IxHA #_0KfDJLBdEeSqLfQ0kalDug">
<type xmi:type="types:TypeString" xmi:id="_KX3nEPPIEd-1PJ4PFWU1aA" value="platform:/resource/org.eclipse.egf.releng2/jobs"/>
</contracts>
</contractContainer>
@@ -21,6 +21,8 @@
uri="platform:/resource/org.eclipse.egf.releng2/model/buckminster-egf-kepler.egfbuild"/>
<domains xmi:type="domain:EMFDomain" xmi:id="_gxSQEOprEeO4BfLdq7IxHA" helperImplementation="org.eclipse.egf.domain.emf.EMFDomainHelper"
uri="platform:/resource/org.eclipse.egf.releng2/model/buckminster-egf-luna.egfbuild"/>
+ <domains xmi:type="domain:EMFDomain" xmi:id="_yApo0LBdEeSqLfQ0kalDug" helperImplementation="org.eclipse.egf.domain.emf.EMFDomainHelper"
+ uri="platform:/resource/org.eclipse.egf.releng2/model/buckminster-egf-mars.egfbuild"/>
</viewpoints>
<viewpoints xmi:type="pattern:PatternViewpoint" xmi:id="_C89Sgb8OEeKgZbuOKwMWmw">
<libraries xmi:id="_DqQdYL8OEeKgZbuOKwMWmw" name="org.eclipse.egf.releng2">
@@ -138,5 +140,22 @@
</invocationContracts>
</invocationContractContainer>
</invocations>
+ <invocations xmi:id="_0KfDILBdEeSqLfQ0kalDug" invokedActivity="fcore:FactoryComponent platform:/plugin/org.eclipse.egf.portfolio.eclipse.build/egf/Build.fcore#_N4pRwI6UEd-e7viTqNBNrA">
+ <invocationContractContainer xmi:id="_0KfDIbBdEeSqLfQ0kalDug">
+ <invocationContracts xmi:id="_0KfDIrBdEeSqLfQ0kalDug" invokedContract="fcore:FactoryComponentContract platform:/plugin/org.eclipse.egf.portfolio.eclipse.build/egf/Build.fcore#_ad5FkY6VEd-e7viTqNBNrA">
+ <type xmi:type="domain:TypeDomain" xmi:id="_0KfDI7BdEeSqLfQ0kalDug" domain="#_yApo0LBdEeSqLfQ0kalDug"/>
+ </invocationContracts>
+ <invocationContracts xmi:id="_0KfDJLBdEeSqLfQ0kalDug" factoryComponentContract="#_Pbep0AYHEeGKhYHYG0ajnw"
+ invokedContract="fcore:FactoryComponentContract platform:/plugin/org.eclipse.egf.portfolio.eclipse.build/egf/Build.fcore#_npIcUJlgEd-cRYVfj6AwNg"/>
+ <invocationContracts xmi:id="_0KfDJbBdEeSqLfQ0kalDug" invokedContract="fcore:FactoryComponentContract platform:/plugin/org.eclipse.egf.portfolio.eclipse.build/egf/Build.fcore#_mb-o4I_tEd-ggNhbFv1Fiw">
+ <type xmi:type="pattern:TypePatternSubstitution" xmi:id="_0KfDJrBdEeSqLfQ0kalDug">
+ <substitutions xmi:id="_0KfDJ7BdEeSqLfQ0kalDug" replacedElement="platform:/plugin/org.eclipse.egf.portfolio.eclipse.build/egf/Build.fcore#_WzN4sI6XEd-e7viTqNBNrA"
+ replacement="#_ISyuwL8OEeKgZbuOKwMWmw"/>
+ <substitutions xmi:id="_0KfDKLBdEeSqLfQ0kalDug" replacedElement="platform:/plugin/org.eclipse.egf.portfolio.eclipse.build/egf/Build.fcore#_VCSRcJ5MEd-3wvN5SnesGA"
+ replacement="#_sSU9AMEjEeKgZbuOKwMWmw"/>
+ </type>
+ </invocationContracts>
+ </invocationContractContainer>
+ </invocations>
</orchestration>
</fcore:FactoryComponent>
diff --git a/releng/org.eclipse.egf.releng2/generated/org/eclipse/egf/releng2/directoreclipseproxy.java b/releng/org.eclipse.egf.releng2/generated/org/eclipse/egf/releng2/directoreclipseproxy.java
index 9f19295..f9662b6 100644
--- a/releng/org.eclipse.egf.releng2/generated/org/eclipse/egf/releng2/directoreclipseproxy.java
+++ b/releng/org.eclipse.egf.releng2/generated/org/eclipse/egf/releng2/directoreclipseproxy.java
@@ -1,4 +1,4 @@
-//Generated with EGF 1.2.0.v20140805-0858
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.releng2;
import org.eclipse.egf.common.helper.*;
@@ -19,30 +19,63 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = " <target name=\"install.director\">" + NL + " <available file=\"${tools}/director/director\" property=\"director.exists\" />" + NL
- + " <antcall target=\"do.install.director\" />" + NL + " </target>" + NL + " " + NL
- + " <target name=\"do.install.director\" unless=\"director.exists\">" + NL + " <echo message=\"Fetching headless director application\" />" + NL
- + " <tempfile destdir=\"${java.io.tmpdir}\" prefix=\"director-\" suffix=\".zip\" property=\"director.zip\" deleteonexit=\"true\" />" + NL
- + " <get src=\"${director.url}\" dest=\"${director.zip}\" />" + NL + " <mkdir dir=\"${tools}\" />" + NL
- + " <unzip src=\"${director.zip}\" dest=\"${tools}\" />" + NL + " <delete file=\"${director.zip}\" />" + NL + "" + NL
- + " <echo message=\"install eclipse proxy\"/>" + NL + " <mkdir dir=\"${tools}/director/configuration/.settings/\"/>" + NL
- + "<echo file=\"${tools}/director/configuration/.settings/org.eclipse.core.net.prefs\">#Fri May 17 19:15:07 CEST 2013" + NL + "systemProxiesEnabled=false" + NL
- + "org.eclipse.core.net.hasMigrated=true" + NL + "proxyData/HTTPS/port=9898" + NL + "proxyData/HTTP/host=proxy.eclipse.org" + NL
- + "nonProxiedHosts=172.30.206.*|localhost|127.0.0.1" + NL + "proxyData/HTTP/hasAuth=false" + NL + "proxyData/HTTP/port=9898" + NL + "eclipse.preferences.version=1"
- + NL + "proxyData/HTTPS/hasAuth=false" + NL + "proxyData/HTTPS/host=proxy.eclipse.org" + NL + "" + NL + "</echo>" + NL + " </target>";
+ protected final String TEXT_1 = " <target name=\"install.director\">"
+ + NL
+ + " <available file=\"${tools}/director/director\" property=\"director.exists\" />"
+ + NL
+ + " <antcall target=\"do.install.director\" />"
+ + NL
+ + " </target>"
+ + NL
+ + " "
+ + NL
+ + " <target name=\"do.install.director\" unless=\"director.exists\">"
+ + NL
+ + " <echo message=\"Fetching headless director application\" />"
+ + NL
+ + " <tempfile destdir=\"${java.io.tmpdir}\" prefix=\"director-\" suffix=\".zip\" property=\"director.zip\" deleteonexit=\"true\" />"
+ + NL
+ + " <get src=\"${director.url}\" dest=\"${director.zip}\" />"
+ + NL
+ + " <mkdir dir=\"${tools}\" />"
+ + NL
+ + " <unzip src=\"${director.zip}\" dest=\"${tools}\" />"
+ + NL
+ + " <delete file=\"${director.zip}\" />"
+ + NL
+ + ""
+ + NL
+ + " <echo message=\"install eclipse proxy\"/>"
+ + NL
+ + " <mkdir dir=\"${tools}/director/configuration/.settings/\"/>"
+ + NL
+ + "<echo file=\"${tools}/director/configuration/.settings/org.eclipse.core.net.prefs\">#Fri May 17 19:15:07 CEST 2013"
+ + NL + "systemProxiesEnabled=false" + NL + "org.eclipse.core.net.hasMigrated=true" + NL
+ + "proxyData/HTTPS/port=9898" + NL + "proxyData/HTTP/host=proxy.eclipse.org" + NL
+ + "nonProxiedHosts=172.30.206.*|localhost|127.0.0.1" + NL + "proxyData/HTTP/hasAuth=false" + NL
+ + "proxyData/HTTP/port=9898" + NL + "eclipse.preferences.version=1" + NL + "proxyData/HTTPS/hasAuth=false"
+ + NL + "proxyData/HTTPS/host=proxy.eclipse.org" + NL + "" + NL + "</echo>" + NL + " </target>";
protected final String TEXT_2 = " <target name=\"install.buckminster\">" + NL
- + " <available file=\"${tools}/buckminster/buckminster\" property=\"buckminster.exists\" />" + NL + " <antcall target=\"do.install.buckminster\" />" + NL
- + "\t</target>" + NL + "\t" + NL + " <target name=\"do.install.buckminster\" unless=\"buckminster.exists\" depends=\"install.director\">" + NL
- + " <echo message=\"Configuring headless buckminster with needed features\" />" + NL + " <echo message=\"Headless site: ${bm.headless.site}\" />" + NL
- + " <echo message=\"External site: ${bm.external.site}\" />" + NL + " <eclipse.launch app=\"director\">" + NL + " <args>" + NL
- + " <jvmarg value=\"-Declipse.p2.mirrors=false\" />" + NL + " <arg value=\"-r\" />" + NL
- + " <arg value=\"${bm.headless.site}\" />" + NL + " <arg value=\"-d\" />" + NL + " <arg value=\"${tools}/buckminster\" />"
- + NL + " <arg value=\"-p\" />" + NL + " <arg value=\"Buckminster\" />" + NL + " <arg value=\"-i\" />" + NL
- + " <arg value=\"org.eclipse.buckminster.cmdline.product\" />" + NL + " <arg value=\"-i\" />" + NL
- + " <arg value=\"org.eclipse.buckminster.core.headless.feature.feature.group\" />" + NL + " <arg value=\"-i\" />" + NL
- + " <arg value=\"org.eclipse.buckminster.pde.headless.feature.feature.group\" />" + NL + " <arg value=\"-i\" />" + NL
- + " <arg value=\"org.eclipse.buckminster.emma.headless.feature.feature.group\" />" + NL + " </args>" + NL + " </eclipse.launch>" + NL
- + " </target>" + NL + " " + NL;
+ + " <available file=\"${tools}/buckminster/buckminster\" property=\"buckminster.exists\" />" + NL
+ + " <antcall target=\"do.install.buckminster\" />" + NL + "\t</target>" + NL + "\t" + NL
+ + " <target name=\"do.install.buckminster\" unless=\"buckminster.exists\" depends=\"install.director\">"
+ + NL + " <echo message=\"Configuring headless buckminster with needed features\" />" + NL
+ + " <echo message=\"Headless site: ${bm.headless.site}\" />" + NL
+ + " <echo message=\"External site: ${bm.external.site}\" />" + NL
+ + " <eclipse.launch app=\"director\">" + NL + " <args>" + NL
+ + " <jvmarg value=\"-Declipse.p2.mirrors=false\" />" + NL
+ + " <arg value=\"-r\" />" + NL + " <arg value=\"${bm.headless.site}\" />"
+ + NL + " <arg value=\"-d\" />" + NL
+ + " <arg value=\"${tools}/buckminster\" />" + NL + " <arg value=\"-p\" />"
+ + NL + " <arg value=\"Buckminster\" />" + NL + " <arg value=\"-i\" />" + NL
+ + " <arg value=\"org.eclipse.buckminster.cmdline.product\" />" + NL
+ + " <arg value=\"-i\" />" + NL
+ + " <arg value=\"org.eclipse.buckminster.core.headless.feature.feature.group\" />" + NL
+ + " <arg value=\"-i\" />" + NL
+ + " <arg value=\"org.eclipse.buckminster.pde.headless.feature.feature.group\" />" + NL
+ + " <arg value=\"-i\" />" + NL
+ + " <arg value=\"org.eclipse.buckminster.emma.headless.feature.feature.group\" />" + NL
+ + " </args>" + NL + " </eclipse.launch>" + NL + " </target>" + NL + " " + NL;
protected final String TEXT_3 = NL;
protected final String TEXT_4 = NL;
@@ -113,7 +146,8 @@
new Node.DataLeaf(ictx.getNode(), getClass(), "install_director", stringBuffer.toString());
}
- protected void method_install_buckminster(final StringBuffer stringBuffer, final PatternContext ctx) throws Exception {
+ protected void method_install_buckminster(final StringBuffer stringBuffer, final PatternContext ctx)
+ throws Exception {
stringBuffer.append(TEXT_2);
InternalPatternContext ictx = (InternalPatternContext) ctx;
diff --git a/releng/org.eclipse.egf.releng2/generated/org/eclipse/egf/releng2/jvmeclipseproxy.java b/releng/org.eclipse.egf.releng2/generated/org/eclipse/egf/releng2/jvmeclipseproxy.java
index 0d308d3..50a367a 100644
--- a/releng/org.eclipse.egf.releng2/generated/org/eclipse/egf/releng2/jvmeclipseproxy.java
+++ b/releng/org.eclipse.egf.releng2/generated/org/eclipse/egf/releng2/jvmeclipseproxy.java
@@ -1,4 +1,4 @@
-//Generated with EGF 1.2.0.v20140805-0858
+//Generated with EGF 1.2.0.qualifier
package org.eclipse.egf.releng2;
import org.eclipse.egf.common.helper.*;
@@ -19,12 +19,17 @@
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
- protected final String TEXT_1 = " <jvmarg value=\"-Xmx1024m\"/>" + NL + " <jvmarg value=\"-XX:MaxPermSize=256m\"/>" + NL
- + " " + NL + " <jvmarg value=\"-Dhttp.proxyHost=proxy.eclipse.org\"/>" + NL
- + " <jvmarg value=\"-Dhttp.proxyPort=9898\"/>" + NL + " <jvmarg value=\"-Dhttps.proxyHost=proxy.eclipse.org\"/>" + NL
- + " <jvmarg value=\"-Dhttps.proxyPort=9898\"/>" + NL + " <jvmarg value=\"-Dhttp.nonProxyHosts=*.eclipse.org\"/>" + NL
- + " <jvmarg value=\"-Dhttps.nonProxyHosts=*.eclipse.org\"/>" + NL + " <jvmarg value=\"-Dftp.proxyHost=proxy.eclipse.org\"/>" + NL
- + " <jvmarg value=\"-Dftp.proxyPort=9898\"/>" + NL + " <jvmarg value=\"-Dftp.nonProxyHosts=*.eclipse.org\"/>" + NL + NL;
+ protected final String TEXT_1 = " <jvmarg value=\"-Xmx1024m\"/>" + NL
+ + " <jvmarg value=\"-XX:MaxPermSize=256m\"/>" + NL + " " + NL
+ + " <jvmarg value=\"-Dhttp.proxyHost=proxy.eclipse.org\"/>" + NL
+ + " <jvmarg value=\"-Dhttp.proxyPort=9898\"/>" + NL
+ + " <jvmarg value=\"-Dhttps.proxyHost=proxy.eclipse.org\"/>" + NL
+ + " <jvmarg value=\"-Dhttps.proxyPort=9898\"/>" + NL
+ + " <jvmarg value=\"-Dhttp.nonProxyHosts=*.eclipse.org\"/>" + NL
+ + " <jvmarg value=\"-Dhttps.nonProxyHosts=*.eclipse.org\"/>" + NL
+ + " <jvmarg value=\"-Dftp.proxyHost=proxy.eclipse.org\"/>" + NL
+ + " <jvmarg value=\"-Dftp.proxyPort=9898\"/>" + NL
+ + " <jvmarg value=\"-Dftp.nonProxyHosts=*.eclipse.org\"/>" + NL + NL;
protected final String TEXT_2 = NL;
protected final String TEXT_3 = NL;
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-luna/releng/buckminster_BuildStep_7/build.rmap b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-luna/releng/buckminster_BuildStep_7/build.rmap
index 63bfd1d..868262d 100644
--- a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-luna/releng/buckminster_BuildStep_7/build.rmap
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-luna/releng/buckminster_BuildStep_7/build.rmap
@@ -26,6 +26,34 @@
<searchPath name="BuildStep_7_GITBuildLocation_1">
<!-- provider for windows if checkouted with Hudson -->
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/deprecated/4.4/portfolio/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/deprecated/4.4/portfolio/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,deprecated/4.4/portfolio/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_2" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_2">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
<uri format="file:/{0}/git/git_eclipse/plugins/{1}">
<bc:propertyRef key="build.root" />
<bc:propertyRef key="buckminster.component" />
@@ -50,8 +78,8 @@
</searchPath>
- <locator searchPathRef="BuildStep_7_GITBuildLocation_2" pattern="^org\.eclipse\.egf.*" failOnError="false" />
- <searchPath name="BuildStep_7_GITBuildLocation_2">
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_3" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_3">
<!-- provider for windows if checkouted with Hudson -->
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
<uri format="file:/{0}/git/git_eclipse/doc/{1}">
@@ -78,8 +106,8 @@
</searchPath>
- <locator searchPathRef="BuildStep_7_GITBuildLocation_3" pattern="^org\.eclipse\.egf.*" failOnError="false" />
- <searchPath name="BuildStep_7_GITBuildLocation_3">
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_4" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_4">
<!-- provider for windows if checkouted with Hudson -->
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
<uri format="file:/{0}/git/git_eclipse/examples/workspace/{1}">
@@ -106,8 +134,8 @@
</searchPath>
- <locator searchPathRef="BuildStep_7_GITBuildLocation_4" pattern="^org\.eclipse\.egf.*" failOnError="false" />
- <searchPath name="BuildStep_7_GITBuildLocation_4">
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_5" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_5">
<!-- provider for windows if checkouted with Hudson -->
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
<uri format="file:/{0}/git/git_eclipse/features/{1}.feature">
@@ -134,8 +162,8 @@
</searchPath>
- <locator searchPathRef="BuildStep_7_GITBuildLocation_5" pattern="^org\.eclipse\.egf.*" failOnError="false" />
- <searchPath name="BuildStep_7_GITBuildLocation_5">
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_6" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_6">
<!-- provider for windows if checkouted with Hudson -->
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
<uri format="file:/{0}/git/git_eclipse/portfolio/{1}">
@@ -162,8 +190,8 @@
</searchPath>
- <locator searchPathRef="BuildStep_7_GITBuildLocation_6" pattern="^org\.eclipse\.egf.*" failOnError="false" />
- <searchPath name="BuildStep_7_GITBuildLocation_6">
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_7" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_7">
<!-- provider for windows if checkouted with Hudson -->
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
<uri format="file:/{0}/git/git_eclipse/tests/{1}">
@@ -190,8 +218,8 @@
</searchPath>
- <locator searchPathRef="BuildStep_7_GITBuildLocation_7" pattern="^org\.eclipse\.egf.*" failOnError="false" />
- <searchPath name="BuildStep_7_GITBuildLocation_7">
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_8" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_8">
<!-- provider for windows if checkouted with Hudson -->
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
<uri format="file:/{0}/git/git_eclipse/releng/{1}">
@@ -218,8 +246,8 @@
</searchPath>
- <locator searchPathRef="BuildStep_7_UpdateSiteBuildLocation_8" failOnError="false" />
- <searchPath name="BuildStep_7_UpdateSiteBuildLocation_8">
+ <locator searchPathRef="BuildStep_7_UpdateSiteBuildLocation_9" failOnError="false" />
+ <searchPath name="BuildStep_7_UpdateSiteBuildLocation_9">
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="p2" source="false" mutable="false">
<uri format="{0}">
<bc:replace>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/config.xml b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/config.xml
new file mode 100644
index 0000000..8b99bb4
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/config.xml
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<project>
+ <description></description>
+ <actions>
+
+ </actions>
+ <builders>
+ <hudson.tasks.Ant>
+ <targets>all</targets>
+ <buildFile>git/git_eclipse/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/build.xml</buildFile>
+ </hudson.tasks.Ant>
+
+ </builders>
+ <buildWrappers>
+
+ </buildWrappers>
+ <properties>
+ <hudson.security.AuthorizationMatrixProperty>
+ <permission>hudson.model.Item.Cancel:mhelleboid</permission>
+ <permission>hudson.model.Item.Read:mhelleboid</permission>
+ <permission>hudson.model.Item.Delete:mhelleboid</permission>
+ <permission>hudson.model.Item.Workspace:mhelleboid</permission>
+ <permission>hudson.model.Item.Build:mhelleboid</permission>
+ <permission>hudson.model.Item.Configure:mhelleboid</permission>
+ <permission>hudson.model.Run.Update:mhelleboid</permission>
+ <permission>hudson.model.Run.Delete:mhelleboid</permission>
+
+ <permission>hudson.model.Item.Cancel:langlois</permission>
+ <permission>hudson.model.Item.Read:langlois</permission>
+ <permission>hudson.model.Item.Delete:langlois</permission>
+ <permission>hudson.model.Item.Workspace:langlois</permission>
+ <permission>hudson.model.Item.Build:langlois</permission>
+ <permission>hudson.model.Item.Configure:langlois</permission>
+ <permission>hudson.model.Run.Update:langlois</permission>
+ <permission>hudson.model.Run.Delete:langlois</permission>
+
+ <permission>hudson.model.Item.Cancel:tguiu</permission>
+ <permission>hudson.model.Item.Read:tguiu</permission>
+ <permission>hudson.model.Item.Delete:tguiu</permission>
+ <permission>hudson.model.Item.Workspace:tguiu</permission>
+ <permission>hudson.model.Item.Build:tguiu</permission>
+ <permission>hudson.model.Item.Configure:tguiu</permission>
+ <permission>hudson.model.Run.Update:tguiu</permission>
+ <permission>hudson.model.Run.Delete:tguiu</permission>
+
+ </hudson.security.AuthorizationMatrixProperty>
+ <hudson.plugins.zentimestamp.ZenTimestampJobProperty>
+ <changeBUILDID>true</changeBUILDID>
+ <pattern>yyyyMMdd-HHmm</pattern>
+ </hudson.plugins.zentimestamp.ZenTimestampJobProperty>
+
+ </properties>
+ <publishers>
+ <hudson.tasks.ArtifactArchiver>
+ <artifacts>result/publish/**</artifacts>
+ <latestOnly>false</latestOnly>
+ </hudson.tasks.ArtifactArchiver>
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>result/testReport*.xml</testResults>
+ <keepLongStdio>false</keepLongStdio>
+ <testDataPublishers/>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>result/testReport*.xml</testResults>
+ <keepLongStdio>false</keepLongStdio>
+ <testDataPublishers/>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.JavadocArchiver>
+ <javadocDir>../javadoc</javadocDir>
+ <keepAll>false</keepAll>
+ </hudson.tasks.JavadocArchiver>
+
+ </publishers>
+ <triggers class="vector">
+
+ </triggers>
+ <scm class="hudson.plugins.git.GitSCM">
+ <configVersion>2</configVersion>
+ <userRemoteConfigs>
+ <hudson.plugins.git.UserRemoteConfig>
+ <name></name>
+ <refspec></refspec>
+ <url>https://git.eclipse.org/r/egf/org.eclipse.emf.egf</url>
+ <relativeTargetDir>git/git_eclipse</relativeTargetDir>
+ </hudson.plugins.git.UserRemoteConfig>
+ </userRemoteConfigs>
+ <branches>
+ <hudson.plugins.git.BranchSpec>
+ <name>master</name>
+ </hudson.plugins.git.BranchSpec>
+ </branches>
+ <disableSubmodules>false</disableSubmodules>
+ <recursiveSubmodules>false</recursiveSubmodules>
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
+ <authorOrCommitter>false</authorOrCommitter>
+ <clean>false</clean>
+ <wipeOutWorkspace>false</wipeOutWorkspace>
+ <pruneBranches>false</pruneBranches>
+ <remotePoll>false</remotePoll>
+ <ignoreNotifyCommit>false</ignoreNotifyCommit>
+ <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
+ <gitTool>Default</gitTool>
+ <submoduleCfg class="list"/>
+ <relativeTargetDir>git</relativeTargetDir>
+ <reference></reference>
+ <excludedRegions></excludedRegions>
+ <excludedUsers></excludedUsers>
+ <gitConfigName></gitConfigName>
+ <gitConfigEmail></gitConfigEmail>
+ <skipTag>false</skipTag>
+ <includedRegions></includedRegions>
+ <scmName></scmName>
+ </scm>
+ <logRotator>
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>10</numToKeep>
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
+ <artifactNumToKeep>-1</artifactNumToKeep>
+ </logRotator>
+
+ <!--userDeployServerUrl=https://hudson.eclipse.org/hudson-->
+
+</project>
\ No newline at end of file
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/buckminster.ant b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/buckminster.ant
new file mode 100644
index 0000000..53ca128
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/buckminster.ant
@@ -0,0 +1,7 @@
+<project>
+ <import file="${buckminster.pdetasks}"/>
+
+ <target name="convertSiteToRuntime">
+ <buckminster.convertSiteToRuntime siteDir="${siteDir}" />
+ </target>
+</project>
\ No newline at end of file
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/buckminster.cspec b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/buckminster.cspec
new file mode 100644
index 0000000..e7a24f6
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/buckminster.cspec
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0" name="BuildStep_2" componentType="buckminster" version="1.0.0">
+ <cs:dependencies>
+ <cs:dependency name="org.eclipse.egf" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.emf.importer" componentType="osgi.bundle"/>
+ <cs:dependency name="org.eclipse.emf.codegen.ecore.ui" componentType="osgi.bundle"/>
+ <cs:dependency name="org.eclipse.equinox.executable" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.rcp" componentType="eclipse.feature"/>
+ </cs:dependencies>
+
+ <cs:actions>
+ <cs:public name="convertSiteToRuntime" actor="ant">
+ <cs:actorProperties>
+ <cs:property key="buildFile" value="buckminster.ant"/>
+ <cs:property key="targets" value="convertSiteToRuntime"/>
+ </cs:actorProperties>
+ </cs:public>
+ </cs:actions>
+</cs:cspec>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.cquery b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.cquery
new file mode 100644
index 0000000..3be20bf
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.cquery
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="build.rmap">
+ <cq:rootRequest name="BuildStep_2" componentType="buckminster"/>
+
+ <!-- we ignore source plugin and feature by default -->
+ <cq:advisorNode namePattern=".*\.source" skipComponent="true"/>
+
+ <cq:advisorNode namePattern=".*" useMaterialization="false" useTargetPlatform="false"/>
+</cq:componentQuery>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.mspec b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.mspec
new file mode 100644
index 0000000..ea9c478
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.mspec
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<mspec:mspec xmlns:mspec="http://www.eclipse.org/buckminster/MetaData-1.0" materializer="p2" name="build.mspec" url="build.cquery">
+ <mspec:mspecNode materializer="workspace" namePattern="" filter="(buckminster.source=true)"/>
+</mspec:mspec>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.rmap b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.rmap
new file mode 100644
index 0000000..2e8a445
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.rmap
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<rmap xmlns="http://www.eclipse.org/buckminster/RMap-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
+ xmlns:pmp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0" xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0">
+
+ <locator searchPathRef="buckminster" failOnError="false" />
+ <searchPath name="buckminster">
+ <!-- buckminster provider for windows -->
+ <provider componentTypes="buckminster" readerType="local" source="true">
+ <uri format="file:/{0}/buckminster_BuildStep_2">
+ <bc:propertyRef key="relengDir" />
+ </uri>
+ </provider>
+ <!-- buckminster provider for unix -->
+ <provider componentTypes="buckminster" readerType="local" source="true">
+ <uri format="file://{0}/buckminster_BuildStep_2">
+ <bc:propertyRef key="relengDir" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_2_GITBuildLocation_1" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_2_GITBuildLocation_1">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/plugins/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/plugins/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,plugins/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_2_GITBuildLocation_2" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_2_GITBuildLocation_2">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/features/{1}.feature">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/features/{1}.feature">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,features/{1}.feature">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_2_UpdateSiteBuildLocation_3" failOnError="false" />
+ <searchPath name="BuildStep_2_UpdateSiteBuildLocation_3">
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="p2" source="false" mutable="false">
+ <uri format="{0}">
+ <bc:replace>
+ <bc:constant value="${updateSiteURL}" />
+ <bc:match pattern="\\" replacement="/" />
+ </bc:replace>
+ </uri>
+ </provider>
+ </searchPath>
+
+</rmap>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.target b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.target
new file mode 100644
index 0000000..e0bcb98
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_2/build.target
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<?pde version="3.5"?>
+
+<target name="build.target">
+ <locations>
+ <location path="${workspace_loc}/../tp" type="Directory"/>
+ </locations>
+</target>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/buckminster.ant b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/buckminster.ant
new file mode 100644
index 0000000..53ca128
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/buckminster.ant
@@ -0,0 +1,7 @@
+<project>
+ <import file="${buckminster.pdetasks}"/>
+
+ <target name="convertSiteToRuntime">
+ <buckminster.convertSiteToRuntime siteDir="${siteDir}" />
+ </target>
+</project>
\ No newline at end of file
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/buckminster.cspec b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/buckminster.cspec
new file mode 100644
index 0000000..0b00b5a
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/buckminster.cspec
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0" name="BuildStep_7" componentType="buckminster" version="1.0.0">
+ <cs:dependencies>
+ <cs:dependency name="org.eclipse.egf.test" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.portfolio.task.ant.test" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.sdk" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.examples" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.portfolio.acceleo3" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.portfolio.acceleo3.examples" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.portfolio.atl" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.portfolio.atl.examples" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.portfolio.genchain.ecoretools" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.egf.releng2" componentType="osgi.bundle"/>
+ <cs:dependency name="org.eclipse.equinox.executable" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.rcp" componentType="eclipse.feature"/>
+ </cs:dependencies>
+
+ <cs:actions>
+ <cs:public name="convertSiteToRuntime" actor="ant">
+ <cs:actorProperties>
+ <cs:property key="buildFile" value="buckminster.ant"/>
+ <cs:property key="targets" value="convertSiteToRuntime"/>
+ </cs:actorProperties>
+ </cs:public>
+ </cs:actions>
+</cs:cspec>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.cquery b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.cquery
new file mode 100644
index 0000000..70d0094
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.cquery
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="build.rmap">
+ <cq:rootRequest name="BuildStep_7" componentType="buckminster"/>
+
+ <!-- we ignore source plugin and feature by default -->
+ <cq:advisorNode namePattern=".*\.source" skipComponent="true"/>
+
+ <cq:advisorNode namePattern=".*" useMaterialization="false" useTargetPlatform="false"/>
+</cq:componentQuery>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.mspec b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.mspec
new file mode 100644
index 0000000..ea9c478
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.mspec
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<mspec:mspec xmlns:mspec="http://www.eclipse.org/buckminster/MetaData-1.0" materializer="p2" name="build.mspec" url="build.cquery">
+ <mspec:mspecNode materializer="workspace" namePattern="" filter="(buckminster.source=true)"/>
+</mspec:mspec>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.rmap b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.rmap
new file mode 100644
index 0000000..63bfd1d
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.rmap
@@ -0,0 +1,233 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<rmap xmlns="http://www.eclipse.org/buckminster/RMap-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
+ xmlns:pmp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0" xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0">
+
+ <locator searchPathRef="buckminster" failOnError="false" />
+ <searchPath name="buckminster">
+ <!-- buckminster provider for windows -->
+ <provider componentTypes="buckminster" readerType="local" source="true">
+ <uri format="file:/{0}/buckminster_BuildStep_7">
+ <bc:propertyRef key="relengDir" />
+ </uri>
+ </provider>
+ <!-- buckminster provider for unix -->
+ <provider componentTypes="buckminster" readerType="local" source="true">
+ <uri format="file://{0}/buckminster_BuildStep_7">
+ <bc:propertyRef key="relengDir" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_1" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_1">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/plugins/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/plugins/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,plugins/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_2" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_2">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/doc/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/doc/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,doc/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_3" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_3">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/examples/workspace/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/examples/workspace/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,examples/workspace/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_4" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_4">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/features/{1}.feature">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/features/{1}.feature">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,features/{1}.feature">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_5" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_5">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/portfolio/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/portfolio/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,portfolio/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_6" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_6">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/tests/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/tests/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,tests/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_GITBuildLocation_7" pattern="^org\.eclipse\.egf.*" failOnError="false" />
+ <searchPath name="BuildStep_7_GITBuildLocation_7">
+ <!-- provider for windows if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file:/{0}/git/git_eclipse/releng/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- provider for unix if checkouted with Hudson -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="local" source="true">
+ <uri format="file://{0}/git/git_eclipse/releng/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ <!-- standalone provider -->
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="git" source="true">
+ <property key="git.remote.uri" value="https://:@git.eclipse.org/r/egf/org.eclipse.emf.egf"/>
+ <property key="git.auto.fetch" value="true"/>
+ <uri format="{0}/git,releng/{1}">
+ <bc:propertyRef key="build.root" />
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_7_UpdateSiteBuildLocation_8" failOnError="false" />
+ <searchPath name="BuildStep_7_UpdateSiteBuildLocation_8">
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="p2" source="false" mutable="false">
+ <uri format="{0}">
+ <bc:replace>
+ <bc:constant value="${updateSiteURL}" />
+ <bc:match pattern="\\" replacement="/" />
+ </bc:replace>
+ </uri>
+ </provider>
+ </searchPath>
+
+</rmap>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.target b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.target
new file mode 100644
index 0000000..e0bcb98
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_7/build.target
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<?pde version="3.5"?>
+
+<target name="build.target">
+ <locations>
+ <location path="${workspace_loc}/../tp" type="Directory"/>
+ </locations>
+</target>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/buckminster.ant b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/buckminster.ant
new file mode 100644
index 0000000..53ca128
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/buckminster.ant
@@ -0,0 +1,7 @@
+<project>
+ <import file="${buckminster.pdetasks}"/>
+
+ <target name="convertSiteToRuntime">
+ <buckminster.convertSiteToRuntime siteDir="${siteDir}" />
+ </target>
+</project>
\ No newline at end of file
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/buckminster.cspec b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/buckminster.cspec
new file mode 100644
index 0000000..d9007f5
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/buckminster.cspec
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0" name="BuildStep_9" componentType="buckminster" version="1.0.0">
+ <cs:dependencies>
+ <cs:dependency name="org.eclipse.equinox.executable" componentType="eclipse.feature"/>
+ <cs:dependency name="org.eclipse.rcp" componentType="eclipse.feature"/>
+ </cs:dependencies>
+
+ <cs:actions>
+ <cs:public name="convertSiteToRuntime" actor="ant">
+ <cs:actorProperties>
+ <cs:property key="buildFile" value="buckminster.ant"/>
+ <cs:property key="targets" value="convertSiteToRuntime"/>
+ </cs:actorProperties>
+ </cs:public>
+ </cs:actions>
+</cs:cspec>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.cquery b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.cquery
new file mode 100644
index 0000000..86fb9a9
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.cquery
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="build.rmap">
+ <cq:rootRequest name="BuildStep_9" componentType="buckminster"/>
+
+ <!-- we ignore source plugin and feature by default -->
+ <cq:advisorNode namePattern=".*\.source" skipComponent="true"/>
+
+ <cq:advisorNode namePattern=".*" useMaterialization="false" useTargetPlatform="false"/>
+</cq:componentQuery>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.mspec b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.mspec
new file mode 100644
index 0000000..ea9c478
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.mspec
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<mspec:mspec xmlns:mspec="http://www.eclipse.org/buckminster/MetaData-1.0" materializer="p2" name="build.mspec" url="build.cquery">
+ <mspec:mspecNode materializer="workspace" namePattern="" filter="(buckminster.source=true)"/>
+</mspec:mspec>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.rmap b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.rmap
new file mode 100644
index 0000000..e685884
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.rmap
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<rmap xmlns="http://www.eclipse.org/buckminster/RMap-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
+ xmlns:pmp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0" xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0">
+
+ <locator searchPathRef="buckminster" failOnError="false" />
+ <searchPath name="buckminster">
+ <!-- buckminster provider for windows -->
+ <provider componentTypes="buckminster" readerType="local" source="true">
+ <uri format="file:/{0}/buckminster_BuildStep_9">
+ <bc:propertyRef key="relengDir" />
+ </uri>
+ </provider>
+ <!-- buckminster provider for unix -->
+ <provider componentTypes="buckminster" readerType="local" source="true">
+ <uri format="file://{0}/buckminster_BuildStep_9">
+ <bc:propertyRef key="relengDir" />
+ </uri>
+ </provider>
+ </searchPath>
+
+
+ <locator searchPathRef="BuildStep_9_UpdateSiteBuildLocation_1" failOnError="false" />
+ <searchPath name="BuildStep_9_UpdateSiteBuildLocation_1">
+ <provider componentTypes="eclipse.feature,osgi.bundle" readerType="p2" source="false" mutable="false">
+ <uri format="{0}">
+ <bc:replace>
+ <bc:constant value="${updateSiteURL}" />
+ <bc:match pattern="\\" replacement="/" />
+ </bc:replace>
+ </uri>
+ </provider>
+ </searchPath>
+
+</rmap>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.target b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.target
new file mode 100644
index 0000000..e0bcb98
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/buckminster_BuildStep_9/build.target
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<?pde version="3.5"?>
+
+<target name="build.target">
+ <locations>
+ <location path="${workspace_loc}/../tp" type="Directory"/>
+ </locations>
+</target>
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/build.properties b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/build.properties
new file mode 100644
index 0000000..7e6f341
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/build.properties
@@ -0,0 +1,51 @@
+#This file was generated by Eclipse EGF
+
+#site servers
+eclipse.download.prefix=http://download.eclipse.org
+cloudsmith.download.prefix=http://download.cloudsmith.com
+polarion.download.prefix=http://community.polarion.com
+
+#director
+director.release=3.7
+director.url=${eclipse.download.prefix}/tools/buckminster/products/director_latest-${director.release}.zip
+
+#buckminster installation
+buckminster.release=3.6
+bm.headless.site=${eclipse.download.prefix}/tools/buckminster/headless-${buckminster.release}
+bm.external.site=${cloudsmith.download.prefix}/buckminster/external-${buckminster.release}
+polarion.site=${polarion.download.prefix}/projects/subversive/download/eclipse/2.0/update-site/
+
+#egf installation
+egf.release=helios
+egf.site=${eclipse.download.prefix}/egf/updates/${egf.release}/official/
+egf.eclipse.site=${eclipse.download.prefix}/releases/${egf.release}
+
+#buckminster build
+buckminster.loglevel=INFO
+buckminster.output.root=${result}/output
+buckminster.temp.root=${result}/temp
+
+#buckminster qualifier
+qualifier.replacement.*=generator:buildTimestamp
+generator.buildTimestamp.format='v'yyyyMMdd-HHmm
+
+#buckminster signing
+signing.type=eclipse.local
+eclipse.staging.area=${result}/signing
+site.pack200=true
+site.retain.unpacked=true
+
+#buckminster : do not generate version range in manifest.mf and content.jar
+pde.bundle.range.generation=false
+
+build.root=${relengDir}/../workspace
+tools=${build.root}/tools
+result=${build.root}/result
+publish=${result}/publish
+workspace=${result}/workspace
+timestamp=${myTimestamp}
+releaseName=mars
+updateSiteURL=${eclipse.download.prefix}/releases/${releaseName}
+eclipse.download.prefix=file:/home/data/httpd/download.eclipse.org
+eclipse.staging.area=/shared/download-staging.priv/modeling/egf/
+git.branch=master
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/build.xml b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/build.xml
new file mode 100644
index 0000000..8fb3e98
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/build.xml
@@ -0,0 +1,1000 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+This file was generated by Eclipse EGF
+-->
+<project name="project" default="all">
+ <property environment="env" />
+
+ <property name="relengDir" value="${basedir}"/>
+ <tstamp>
+ <format property="myTimestamp" pattern="yyyyMMdd-HHmm"/>
+ </tstamp>
+
+ <condition property="build.root" value="${env.WORKSPACE}">
+ <isset property="env.WORKSPACE" />
+ </condition>
+ <condition property="tools" value="${env.tools}">
+ <isset property="env.tools" />
+ </condition>
+ <condition property="result" value="${env.result}">
+ <isset property="env.result" />
+ </condition>
+ <condition property="publish" value="${env.publish}">
+ <isset property="env.publish" />
+ </condition>
+ <condition property="workspace" value="${env.ECLIPSE_WORKSPACE}">
+ <isset property="env.ECLIPSE_WORKSPACE" />
+ </condition>
+ <condition property="timestamp" value="${env.BUILD_ID}">
+ <isset property="env.BUILD_ID" />
+ </condition>
+ <condition property="releaseName" value="${env.releaseName}">
+ <isset property="env.releaseName" />
+ </condition>
+ <condition property="updateSiteURL" value="${env.updateSiteURL}">
+ <isset property="env.updateSiteURL" />
+ </condition>
+ <condition property="eclipse.download.prefix" value="${env.eclipse.download.prefix}">
+ <isset property="env.eclipse.download.prefix" />
+ </condition>
+ <condition property="eclipse.staging.area" value="${env.eclipse.staging.area}">
+ <isset property="env.eclipse.staging.area" />
+ </condition>
+ <condition property="git.branch" value="${env.git.branch}">
+ <isset property="env.git.branch" />
+ </condition>
+
+ <property file="build.properties" />
+
+ <!-- This macro executes the default application of an eclipse installation that resides
+ in the folder ${buildtools}/@app
+ -->
+ <macrodef name="eclipse.launch">
+ <attribute name="app" />
+ <attribute name="workspace" default="${workspace}" />
+ <element name="args" optional="true" />
+ <sequential>
+ <!-- We assume that the eclipse installation is beneath ${tools} -->
+ <property name="@{app}.deploy.dir" value="${tools}/@{app}" />
+
+ <!-- Find the Eclipse launcher and assing its location to the @{app}.launcher property -->
+ <pathconvert property="@{app}.launcher">
+ <first count="1">
+ <sort>
+ <fileset dir="${@{app}.deploy.dir}/plugins" includes="**/org.eclipse.equinox.launcher_*.jar" />
+ <reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
+ <date />
+ </reverse>
+ </sort>
+ </first>
+ </pathconvert>
+
+ <!-- Copy Eclipse Variables preferences -->
+ <copy file="${relengDir}/templates/org.eclipse.core.variables.prefs"
+ toFile="@{workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs"/>
+
+ <!-- Launch the eclipse application -->
+ <java fork="true" jar="${@{app}.launcher}" dir="${@{app}.deploy.dir}" failonerror="true">
+ <jvmarg value="-Xmx1024m"/>
+ <jvmarg value="-XX:MaxPermSize=256m"/>
+
+ <jvmarg value="-Dhttp.proxyHost=proxy.eclipse.org"/>
+ <jvmarg value="-Dhttp.proxyPort=9898"/>
+ <jvmarg value="-Dhttps.proxyHost=proxy.eclipse.org"/>
+ <jvmarg value="-Dhttps.proxyPort=9898"/>
+ <jvmarg value="-Dhttp.nonProxyHosts=*.eclipse.org"/>
+ <jvmarg value="-Dhttps.nonProxyHosts=*.eclipse.org"/>
+ <jvmarg value="-Dftp.proxyHost=proxy.eclipse.org"/>
+ <jvmarg value="-Dftp.proxyPort=9898"/>
+ <jvmarg value="-Dftp.nonProxyHosts=*.eclipse.org"/>
+
+
+ <jvmarg value="-DrelengDir=relengDir"/>
+ <jvmarg value="-Dbuild.root=${build.root}"/>
+ <jvmarg value="-Dtools=${tools}"/>
+ <jvmarg value="-Dresult=${result}"/>
+ <jvmarg value="-Dpublish=${publish}"/>
+ <jvmarg value="-Dworkspace=${workspace}"/>
+ <jvmarg value="-Dtimestamp=${timestamp}"/>
+ <jvmarg value="-DreleaseName=${releaseName}"/>
+ <jvmarg value="-DupdateSiteURL=${updateSiteURL}"/>
+ <jvmarg value="-Declipse.download.prefix=${eclipse.download.prefix}"/>
+ <jvmarg value="-Declipse.staging.area=${eclipse.staging.area}"/>
+ <jvmarg value="-Dgit.branch=${git.branch}"/>
+ <arg value="-data" />
+ <arg value="@{workspace}" />
+ <args />
+ </java>
+ </sequential>
+ </macrodef>
+ <target name="install.director">
+ <available file="${tools}/director/director" property="director.exists" />
+ <antcall target="do.install.director" />
+ </target>
+
+ <target name="do.install.director" unless="director.exists">
+ <echo message="Fetching headless director application" />
+ <tempfile destdir="${java.io.tmpdir}" prefix="director-" suffix=".zip" property="director.zip" deleteonexit="true" />
+ <get src="${director.url}" dest="${director.zip}" />
+ <mkdir dir="${tools}" />
+ <unzip src="${director.zip}" dest="${tools}" />
+ <delete file="${director.zip}" />
+
+ <echo message="install eclipse proxy"/>
+ <mkdir dir="${tools}/director/configuration/.settings/"/>
+<echo file="${tools}/director/configuration/.settings/org.eclipse.core.net.prefs">#Fri May 17 19:15:07 CEST 2013
+systemProxiesEnabled=false
+org.eclipse.core.net.hasMigrated=true
+proxyData/HTTPS/port=9898
+proxyData/HTTP/host=proxy.eclipse.org
+nonProxiedHosts=172.30.206.*|localhost|127.0.0.1
+proxyData/HTTP/hasAuth=false
+proxyData/HTTP/port=9898
+eclipse.preferences.version=1
+proxyData/HTTPS/hasAuth=false
+proxyData/HTTPS/host=proxy.eclipse.org
+
+</echo>
+ </target> <target name="install.buckminster">
+ <available file="${tools}/buckminster/buckminster" property="buckminster.exists" />
+ <antcall target="do.install.buckminster" />
+ </target>
+
+ <target name="do.install.buckminster" unless="buckminster.exists" depends="install.director">
+ <echo message="Configuring headless buckminster with needed features" />
+ <echo message="Headless site: ${bm.headless.site}" />
+ <echo message="External site: ${bm.external.site}" />
+ <eclipse.launch app="director">
+ <args>
+ <jvmarg value="-Declipse.p2.mirrors=false" />
+ <arg value="-r" />
+ <arg value="${bm.headless.site}" />
+ <arg value="-d" />
+ <arg value="${tools}/buckminster" />
+ <arg value="-p" />
+ <arg value="Buckminster" />
+ <arg value="-i" />
+ <arg value="org.eclipse.buckminster.cmdline.product" />
+ <arg value="-i" />
+ <arg value="org.eclipse.buckminster.core.headless.feature.feature.group" />
+ <arg value="-i" />
+ <arg value="org.eclipse.buckminster.pde.headless.feature.feature.group" />
+ <arg value="-i" />
+ <arg value="org.eclipse.buckminster.emma.headless.feature.feature.group" />
+ </args>
+ </eclipse.launch>
+ </target>
+
+ <target name="install.egf">
+ <available file="${tools}/egf/eclipse.ini" property="egf.exists" />
+ <antcall target="do.install.egf" />
+ </target>
+
+ <target name="do.install.egf" unless="egf.exists" depends="install.director">
+ <echo message="Configuring EGF with needed features" />
+ <echo message="EGF site: ${egf.site}" />
+ <echo message="EGF eclipse site: ${egf.eclipse.site}" />
+ <eclipse.launch app="director">
+ <args>
+ <jvmarg value="-Declipse.p2.mirrors=false" />
+ <arg value="-r" />
+ <arg value="${egf.site}" />
+ <arg value="-r" />
+ <arg value="${egf.eclipse.site}" />
+ <arg value="-d" />
+ <arg value="${tools}/egf" />
+ <arg value="-p" />
+ <arg value="EGF" />
+ <arg value="-i" />
+ <arg value="org.eclipse.platform.ide" />
+ <arg value="-i" />
+ <arg value="org.eclipse.egf.feature.group" />
+ <arg value="-i" />
+ <arg value="org.eclipse.egf.portfolio.feature.group" />
+ <arg value="-i" />
+ <arg value="org.eclipse.egf.portfolio.emf.feature.group" />
+ <arg value="-i" />
+ <arg value="org.eclipse.egf.portfolio.genchain.feature.group" />
+ </args>
+ </eclipse.launch>
+ </target>
+ <macrodef name="buckminster">
+ <attribute name="command" />
+ <element name="globargs" optional="true" />
+ <element name="cmdargs" optional="true" />
+ <sequential>
+ <eclipse.launch app="buckminster">
+ <args>
+ <jvmarg value="-Dbugfix.288796=true"/>
+ <arg value="--loglevel" />
+ <arg value="${buckminster.loglevel}" />
+ <arg value="--displaystacktrace" />
+ <globargs />
+ <arg value="@{command}" />
+ <arg value="-P" />
+ <arg value="${properties.tmp}" />
+ <cmdargs />
+ </args>
+ </eclipse.launch>
+ </sequential>
+ </macrodef>
+ <macrodef name="egf">
+ <element name="activities" />
+ <element name="globargs" optional="true" />
+ <element name="cmdargs" optional="true" />
+ <sequential>
+ <eclipse.launch app="egf">
+ <args>
+ <arg value="-application" />
+ <arg value="org.eclipse.egf.application.activity" />
+ <arg value="-consoleLog" />
+ <globargs />
+ <arg value="-activities" />
+ <activities />
+ <cmdargs />
+ </args>
+ </eclipse.launch>
+ </sequential>
+ </macrodef>
+ <macrodef name="anteclipse">
+ <attribute name="buildfile" default="${relengDir}/build.xml" />
+ <attribute name="target" />
+ <element name="globargs" optional="true" />
+ <sequential>
+ <eclipse.launch app="egf">
+ <args>
+ <arg value="-application" />
+ <arg value="org.eclipse.ant.core.antRunner" />
+ <arg value="-consoleLog" />
+ <globargs />
+ <arg value="-buildfile" />
+ <arg value="@{buildfile}" />
+ <arg value="@{target}" />
+ </args>
+ </eclipse.launch>
+ </sequential>
+ </macrodef>
+ <target name="clean.result">
+ <delete dir="${result}" failonerror="true" quiet="true" />
+ </target>
+
+ <target name="clean.workspace">
+ <delete dir="${workspace}" failonerror="true" quiet="true" />
+ </target>
+
+ <target name="clean.tools">
+ <delete dir="${tools}" failonerror="true" quiet="true" />
+ </target>
+
+ <target name="clean.all">
+ <antcall target="clean.workspace" />
+ <antcall target="clean.result" />
+ <antcall target="clean.tools" />
+ </target>
+ <target name="init" depends="init.build.properties" >
+ <echo message="Available variables are : "/>
+ <echo message="Builtin $${relengDir} : ${relengDir}" />
+ <echo message="Builtin $${build.root} : ${build.root}" />
+ <echo message="Builtin $${tools} : ${tools}" />
+ <echo message="Builtin $${result} : ${result}" />
+ <echo message="Builtin $${publish} : ${publish}" />
+ <echo message="Builtin $${workspace} : ${workspace}" />
+ <echo message="Builtin $${timestamp} : ${timestamp}" />
+ <echo message="Provided $${releaseName} : ${releaseName}" />
+ <echo message="Provided $${updateSiteURL} : ${updateSiteURL}" />
+ <echo message="Provided $${eclipse.download.prefix} : ${eclipse.download.prefix}" />
+ <echo message="Provided $${eclipse.staging.area} : ${eclipse.staging.area}" />
+ <echo message="Provided $${git.branch} : ${git.branch}" />
+ </target>
+
+ <target name="init.build.properties">
+ <!-- Echo relevant properties to a temporary file so that Buckminster can read them -->
+ <tempfile destdir="${java.io.tmpdir}" prefix="build-" suffix=".properties" deleteonexit="true" property="properties.tmp" />
+ <echoproperties destfile="${properties.tmp}">
+ <!-- We don't want these. basedir in particular will cause problems if passed explicitly -->
+ <propertyset negate="true">
+ <propertyref name="basedir" />
+ <propertyref name="eclipse.home" />
+ <propertyref name="properties.tmp" />
+ <propertyref name="line.separator" />
+ <propertyref name="path.separator" />
+ <propertyref prefix="ant." />
+ <propertyref prefix="file." />
+ <propertyref prefix="java." />
+ <propertyref prefix="sun." />
+ <propertyref prefix="user." />
+ </propertyset>
+ </echoproperties>
+ </target>
+
+ <target name="all" depends="CleanStep_1,BuildStep_2,PublishStep_3,InstallStep_4,AntStep_5,CleanStep_6,BuildStep_7,AntStep_8,BuildStep_9,TestStep_10,TestStep_11,EgfStep_12,PublishStep_13,EgfStep_14,PublishStep_15,EgfStep_16,PublishStep_17,PublishStep_18,AggregateStep_19,AntStep_20,JavadocStep_21" />
+ <target name="CleanStep_1" >
+ <antcall target="clean.all" />
+ </target>
+ <target name="CleanStep_6" >
+ <antcall target="clean.result" />
+ </target>
+ <target name="BuildStep_2" depends="init,install.buckminster">
+ <echo message="Importing projects into workspace ${workspace} and binaries into target platform" />
+
+ <echo message="install JRE ${env.JAVA_HOME}" />
+ <buckminster command="installJRE">
+ <cmdargs>
+ <arg value="--location" />
+ <arg value="${env.JAVA_HOME}" />
+ </cmdargs>
+ </buckminster>
+
+
+ <echo message="import target platform" />
+ <buckminster command="importtargetdefinition">
+ <cmdargs>
+ <arg value="--active" />
+ <arg value="${relengDir}/buckminster_BuildStep_2/build.target" />
+ </cmdargs>
+ </buckminster>
+ <echo message="provision : import projects in workspace" />
+ <buckminster command="import">
+ <!-- Uncomment to debug <globargs><jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/></globargs> -->
+ <cmdargs>
+ <arg value="${relengDir}/buckminster_BuildStep_2/build.mspec" />
+ </cmdargs>
+ </buckminster>
+
+
+ <echo message="Invoking all eclipse builders on workspace ${workspace}" />
+ <buckminster command="build" >
+ <cmdargs>
+ <arg value="--clean" />
+ <arg value="--thorough" />
+ </cmdargs>
+ </buckminster>
+ </target>
+
+ <target name="BuildStep_7" depends="init,install.buckminster">
+ <echo message="Importing projects into workspace ${workspace} and binaries into target platform" />
+
+ <echo message="install JRE ${env.JAVA_HOME}" />
+ <buckminster command="installJRE">
+ <cmdargs>
+ <arg value="--location" />
+ <arg value="${env.JAVA_HOME}" />
+ </cmdargs>
+ </buckminster>
+
+
+ <echo message="import target platform" />
+ <buckminster command="importtargetdefinition">
+ <cmdargs>
+ <arg value="--active" />
+ <arg value="${relengDir}/buckminster_BuildStep_7/build.target" />
+ </cmdargs>
+ </buckminster>
+ <echo message="provision : import projects in workspace" />
+ <buckminster command="import">
+ <!-- Uncomment to debug <globargs><jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/></globargs> -->
+ <cmdargs>
+ <arg value="${relengDir}/buckminster_BuildStep_7/build.mspec" />
+ </cmdargs>
+ </buckminster>
+
+
+ <echo message="No builders invocation specified" />
+ </target>
+
+ <target name="BuildStep_9" depends="init,install.buckminster">
+ <echo message="Importing projects into workspace ${workspace} and binaries into target platform" />
+
+ <echo message="install JRE ${env.JAVA_HOME}" />
+ <buckminster command="installJRE">
+ <cmdargs>
+ <arg value="--location" />
+ <arg value="${env.JAVA_HOME}" />
+ </cmdargs>
+ </buckminster>
+
+
+ <echo message="import target platform" />
+ <buckminster command="importtargetdefinition">
+ <cmdargs>
+ <arg value="--active" />
+ <arg value="${relengDir}/buckminster_BuildStep_9/build.target" />
+ </cmdargs>
+ </buckminster>
+ <echo message="provision : import projects in workspace" />
+ <buckminster command="import">
+ <!-- Uncomment to debug <globargs><jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/></globargs> -->
+ <cmdargs>
+ <arg value="${relengDir}/buckminster_BuildStep_9/build.mspec" />
+ </cmdargs>
+ </buckminster>
+
+
+ <echo message="Invoking all eclipse builders on workspace ${workspace}" />
+ <buckminster command="build" >
+ <cmdargs>
+ <arg value="--clean" />
+ <arg value="--thorough" />
+ </cmdargs>
+ </buckminster>
+ </target>
+
+ <target name="PublishStep_3" depends="init,install.buckminster" >
+
+
+ <echo message="Generate Site"/>
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-Dsite.include.top=true"/>
+ <arg value="-Dsite.signing=false"/>
+ <arg value="-Dcbi.include.source=true"/>
+ </globargs>
+ <cmdargs>
+ <arg value="org.eclipse.egf:eclipse.feature#site.p2" />
+ </cmdargs>
+ </buckminster>
+
+ <echo message="Publish site"/>
+ <mkdir dir="${publish}/org.eclipse.egf/site.p2/"/>
+ <copy todir="${publish}/org.eclipse.egf/site.p2/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf*/site.p2/*"/>
+ <include name="org.eclipse.egf*/site.p2/**"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*site\.p2" replace="" />
+ </filtermapper>
+ </copy>
+
+ </target>
+
+ <target name="PublishStep_13" depends="init,install.buckminster" >
+
+
+ <echo message="Generate Site"/>
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-Dsite.include.top=true"/>
+ <arg value="-Dsite.signing=true"/>
+ <arg value="-Dcbi.include.source=true"/>
+ </globargs>
+ <cmdargs>
+ <arg value="org.eclipse.egf.sdk:eclipse.feature#site.p2" />
+ </cmdargs>
+ </buckminster>
+
+ <echo message="Publish site"/>
+ <mkdir dir="${publish}/org.eclipse.egf.sdk/site.p2/"/>
+ <copy todir="${publish}/org.eclipse.egf.sdk/site.p2/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf.sdk*/site.p2/*"/>
+ <include name="org.eclipse.egf.sdk*/site.p2/**"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*site\.p2" replace="" />
+ </filtermapper>
+ </copy>
+
+ <echo message="Publish dropins"/>
+ <condition property="site.src" value="site.signed" else="site">
+ <istrue value="${site.signing}" />
+ </condition>
+
+ <copy todir="${publish}/org.eclipse.egf.sdk/dropins/org.eclipse.egf.sdk/eclipse/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf.sdk*/${site.src}/plugins/*.jar"/>
+ <include name="org.eclipse.egf.sdk*/${site.src}/features/*.jar"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*_.*-eclipse\.feature.${site.src}.plugins" replace="plugins" />
+ <replaceregex pattern=".*_.*-eclipse\.feature.${site.src}.features" replace="features" />
+ </filtermapper>
+ </copy>
+
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-DsiteDir=${publish}/org.eclipse.egf.sdk/dropins/org.eclipse.egf.sdk/eclipse/" />
+ </globargs>
+ <cmdargs>
+ <arg value="BuildStep_7:buckminster#convertSiteToRuntime" />
+ </cmdargs>
+ </buckminster>
+
+ <pathconvert property="featurefilePublishStep_13">
+ <first count="1">
+ <fileset dir="${result}/output" includes="org.eclipse.egf.sdk*eclipse.feature/temp/feature.xml" />
+ </first>
+ </pathconvert>
+ <loadfile property="featureversionPublishStep_13" srcFile="${featurefilePublishStep_13}">
+ <filterchain>
+ <striplinebreaks/>
+ <replaceregex
+ pattern="^.*<feature[^>]*version="([^"]*)".*$"
+ replace="\1"/>
+ </filterchain>
+ </loadfile>
+
+ <touch file="${publish}/org.eclipse.egf.sdk/dropins/org.eclipse.egf.sdk/org.eclipse.egf.sdk_version_${featureversionPublishStep_13}" />
+ </target>
+
+ <target name="PublishStep_15" depends="init,install.buckminster" >
+
+
+ <echo message="Generate Site"/>
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-Dsite.include.top=true"/>
+ <arg value="-Dsite.signing=true"/>
+ <arg value="-Dcbi.include.source=true"/>
+ </globargs>
+ <cmdargs>
+ <arg value="org.eclipse.egf.portfolio.acceleo3:eclipse.feature#site.p2" />
+ </cmdargs>
+ </buckminster>
+
+ <echo message="Publish site"/>
+ <mkdir dir="${publish}/org.eclipse.egf.portfolio.acceleo3/site.p2/"/>
+ <copy todir="${publish}/org.eclipse.egf.portfolio.acceleo3/site.p2/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf.portfolio.acceleo3*/site.p2/*"/>
+ <include name="org.eclipse.egf.portfolio.acceleo3*/site.p2/**"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*site\.p2" replace="" />
+ </filtermapper>
+ </copy>
+
+ <echo message="Publish dropins"/>
+ <condition property="site.src" value="site.signed" else="site">
+ <istrue value="${site.signing}" />
+ </condition>
+
+ <copy todir="${publish}/org.eclipse.egf.portfolio.acceleo3/dropins/org.eclipse.egf.portfolio.acceleo3/eclipse/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf.portfolio.acceleo3*/${site.src}/plugins/*.jar"/>
+ <include name="org.eclipse.egf.portfolio.acceleo3*/${site.src}/features/*.jar"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*_.*-eclipse\.feature.${site.src}.plugins" replace="plugins" />
+ <replaceregex pattern=".*_.*-eclipse\.feature.${site.src}.features" replace="features" />
+ </filtermapper>
+ </copy>
+
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-DsiteDir=${publish}/org.eclipse.egf.portfolio.acceleo3/dropins/org.eclipse.egf.portfolio.acceleo3/eclipse/" />
+ </globargs>
+ <cmdargs>
+ <arg value="BuildStep_7:buckminster#convertSiteToRuntime" />
+ </cmdargs>
+ </buckminster>
+
+ <pathconvert property="featurefilePublishStep_15">
+ <first count="1">
+ <fileset dir="${result}/output" includes="org.eclipse.egf.portfolio.acceleo3*eclipse.feature/temp/feature.xml" />
+ </first>
+ </pathconvert>
+ <loadfile property="featureversionPublishStep_15" srcFile="${featurefilePublishStep_15}">
+ <filterchain>
+ <striplinebreaks/>
+ <replaceregex
+ pattern="^.*<feature[^>]*version="([^"]*)".*$"
+ replace="\1"/>
+ </filterchain>
+ </loadfile>
+
+ <touch file="${publish}/org.eclipse.egf.portfolio.acceleo3/dropins/org.eclipse.egf.portfolio.acceleo3/org.eclipse.egf.portfolio.acceleo3_version_${featureversionPublishStep_15}" />
+ </target>
+
+ <target name="PublishStep_17" depends="init,install.buckminster" >
+
+
+ <echo message="Generate Site"/>
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-Dsite.include.top=true"/>
+ <arg value="-Dsite.signing=true"/>
+ <arg value="-Dcbi.include.source=true"/>
+ </globargs>
+ <cmdargs>
+ <arg value="org.eclipse.egf.portfolio.atl:eclipse.feature#site.p2" />
+ </cmdargs>
+ </buckminster>
+
+ <echo message="Publish site"/>
+ <mkdir dir="${publish}/org.eclipse.egf.portfolio.atl/site.p2/"/>
+ <copy todir="${publish}/org.eclipse.egf.portfolio.atl/site.p2/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf.portfolio.atl*/site.p2/*"/>
+ <include name="org.eclipse.egf.portfolio.atl*/site.p2/**"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*site\.p2" replace="" />
+ </filtermapper>
+ </copy>
+
+ <echo message="Publish dropins"/>
+ <condition property="site.src" value="site.signed" else="site">
+ <istrue value="${site.signing}" />
+ </condition>
+
+ <copy todir="${publish}/org.eclipse.egf.portfolio.atl/dropins/org.eclipse.egf.portfolio.atl/eclipse/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf.portfolio.atl*/${site.src}/plugins/*.jar"/>
+ <include name="org.eclipse.egf.portfolio.atl*/${site.src}/features/*.jar"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*_.*-eclipse\.feature.${site.src}.plugins" replace="plugins" />
+ <replaceregex pattern=".*_.*-eclipse\.feature.${site.src}.features" replace="features" />
+ </filtermapper>
+ </copy>
+
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-DsiteDir=${publish}/org.eclipse.egf.portfolio.atl/dropins/org.eclipse.egf.portfolio.atl/eclipse/" />
+ </globargs>
+ <cmdargs>
+ <arg value="BuildStep_7:buckminster#convertSiteToRuntime" />
+ </cmdargs>
+ </buckminster>
+
+ <pathconvert property="featurefilePublishStep_17">
+ <first count="1">
+ <fileset dir="${result}/output" includes="org.eclipse.egf.portfolio.atl*eclipse.feature/temp/feature.xml" />
+ </first>
+ </pathconvert>
+ <loadfile property="featureversionPublishStep_17" srcFile="${featurefilePublishStep_17}">
+ <filterchain>
+ <striplinebreaks/>
+ <replaceregex
+ pattern="^.*<feature[^>]*version="([^"]*)".*$"
+ replace="\1"/>
+ </filterchain>
+ </loadfile>
+
+ <touch file="${publish}/org.eclipse.egf.portfolio.atl/dropins/org.eclipse.egf.portfolio.atl/org.eclipse.egf.portfolio.atl_version_${featureversionPublishStep_17}" />
+ </target>
+
+ <target name="PublishStep_18" depends="init,install.buckminster" >
+
+
+ <echo message="Generate Site"/>
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-Dsite.include.top=true"/>
+ <arg value="-Dsite.signing=true"/>
+ <arg value="-Dcbi.include.source=true"/>
+ </globargs>
+ <cmdargs>
+ <arg value="org.eclipse.egf.portfolio.genchain.ecoretools:eclipse.feature#site.p2" />
+ </cmdargs>
+ </buckminster>
+
+ <echo message="Publish site"/>
+ <mkdir dir="${publish}/org.eclipse.egf.portfolio.genchain.ecoretools/site.p2/"/>
+ <copy todir="${publish}/org.eclipse.egf.portfolio.genchain.ecoretools/site.p2/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf.portfolio.genchain.ecoretools*/site.p2/*"/>
+ <include name="org.eclipse.egf.portfolio.genchain.ecoretools*/site.p2/**"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*site\.p2" replace="" />
+ </filtermapper>
+ </copy>
+
+ <echo message="Publish dropins"/>
+ <condition property="site.src" value="site.signed" else="site">
+ <istrue value="${site.signing}" />
+ </condition>
+
+ <copy todir="${publish}/org.eclipse.egf.portfolio.genchain.ecoretools/dropins/org.eclipse.egf.portfolio.genchain.ecoretools/eclipse/">
+ <fileset dir="${result}/output">
+ <include name="org.eclipse.egf.portfolio.genchain.ecoretools*/${site.src}/plugins/*.jar"/>
+ <include name="org.eclipse.egf.portfolio.genchain.ecoretools*/${site.src}/features/*.jar"/>
+ </fileset>
+ <filtermapper>
+ <replaceregex pattern=".*_.*-eclipse\.feature.${site.src}.plugins" replace="plugins" />
+ <replaceregex pattern=".*_.*-eclipse\.feature.${site.src}.features" replace="features" />
+ </filtermapper>
+ </copy>
+
+ <buckminster command="perform">
+ <globargs>
+ <arg value="-DsiteDir=${publish}/org.eclipse.egf.portfolio.genchain.ecoretools/dropins/org.eclipse.egf.portfolio.genchain.ecoretools/eclipse/" />
+ </globargs>
+ <cmdargs>
+ <arg value="BuildStep_7:buckminster#convertSiteToRuntime" />
+ </cmdargs>
+ </buckminster>
+
+ <pathconvert property="featurefilePublishStep_18">
+ <first count="1">
+ <fileset dir="${result}/output" includes="org.eclipse.egf.portfolio.genchain.ecoretools*eclipse.feature/temp/feature.xml" />
+ </first>
+ </pathconvert>
+ <loadfile property="featureversionPublishStep_18" srcFile="${featurefilePublishStep_18}">
+ <filterchain>
+ <striplinebreaks/>
+ <replaceregex
+ pattern="^.*<feature[^>]*version="([^"]*)".*$"
+ replace="\1"/>
+ </filterchain>
+ </loadfile>
+
+ <touch file="${publish}/org.eclipse.egf.portfolio.genchain.ecoretools/dropins/org.eclipse.egf.portfolio.genchain.ecoretools/org.eclipse.egf.portfolio.genchain.ecoretools_version_${featureversionPublishStep_18}" />
+ </target>
+
+ <target name="TestStep_10" depends="init,install.buckminster">
+ <echo message="Running Junit tests " />
+ <buckminster command="junit">
+ <cmdargs>
+ <arg value="-l" />
+ <arg value="org.eclipse.egf.core.test/EGF_Core_Tests.launch" />
+ <arg value="-o" />
+ <arg value="${result}/testReportTestStep_10.xml" />
+ <arg value="--terseXML" />
+ <arg value="--flatXML"/>
+ </cmdargs>
+ </buckminster>
+ </target>
+
+ <target name="TestStep_11" depends="init,install.buckminster">
+ <echo message="Running Junit tests " />
+ <buckminster command="junit">
+ <cmdargs>
+ <arg value="-l" />
+ <arg value="org.eclipse.egf.portfolio.task.ant.test/Ant_Tests.launch" />
+ <arg value="-o" />
+ <arg value="${result}/testReportTestStep_11.xml" />
+ <arg value="--terseXML" />
+ <arg value="--flatXML"/>
+ </cmdargs>
+ </buckminster>
+ </target>
+
+
+ <target name="AntStep_5">
+ <antcall target="copy_egf_to_tools"/>
+ </target>
+
+<target name="copy_egf_to_tools">
+ <delete dir="${tools}/egf"/>
+ <copy todir="${tools}/egf">
+ <fileset dir="${publish}/egf"/>
+ </copy>
+</target>
+
+ <target name="AntStep_8" depends="init,install.egf" >
+ <anteclipse target="recompile_egf_patterns" />
+ </target>
+
+<target name="recompile_egf_patterns">
+ <eclipse.incrementalBuild kind="incremental" builder="org.eclipse.pde.SchemaBuilder" />
+ <eclipse.incrementalBuild kind="incremental" builder="org.eclipse.pde.ManifestBuilder" />
+ <eclipse.incrementalBuild kind="incremental" builder="org.eclipse.jdt.core.javabuilder" />
+ <eclipse.incrementalBuild kind="incremental" builder="org.eclipse.egf.pattern.ui.PatternBuilder" />
+</target>
+
+
+ <target name="AntStep_20">
+ <antcall target="stats"/>
+ </target>
+
+<target name="stats">
+ <property name="p2.site.path" value="${publish}/org.eclipse.egf.site/site.p2" />
+
+ <unzip src="${p2.site.path}/artifacts.jar" dest="${p2.site.path}" />
+ <delete file="${p2.site.path}/artifacts.jar" />
+ <move file="${p2.site.path}/artifacts.xml" tofile="${p2.site.path}/artifacts.xml.orig" />
+
+ <xslt style="${build.root}/git/git_eclipse/releng/org.eclipse.egf.releng2/ant/statsURI.xsl"
+ in="${p2.site.path}/artifacts.xml.orig"
+ out="${p2.site.path}/artifacts.xml">
+ <param name="releaseName" expression="${releaseName}"/>
+ </xslt>
+
+ <zip destfile="${p2.site.path}/artifacts.jar" basedir="${p2.site.path}" includes="artifacts.xml" />
+ <delete file="${p2.site.path}/artifacts.xml" />
+ <delete file="${p2.site.path}/artifacts.xml.orig" />
+</target>
+
+ <target name="JavadocStep_21">
+ <delete dir="${build.root}/../javadoc" />
+ <javadoc
+ destdir="${build.root}/../javadoc"
+ maxmemory="1024m"
+ source="1.5"
+ useexternalfile="true"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="Javadoc">
+
+ <link offline="false" href="http://download.oracle.com/javase/1.5.0/docs/api/"/>
+ <link offline="false" href="http://www.osgi.org/javadoc/r4v42/"/>
+ <link offline="false" href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.5.0/"/>
+ <link offline="false" href="http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/"/>
+
+<!-- TODO better handling of dir parameter -->
+<!-- TODO better handling of SourceBuildLocation model extension -->
+
+
+ <fileset dir="${build.root}/git/git_eclipse/plugins" defaultexcludes="true">
+
+ <include name="**/*.java"/>
+ </fileset>
+
+<!-- TODO better handling of copyright (escape chars) -->
+<!-- <bottom>copyright</bottom> -->
+ </javadoc>
+</target>
+
+ <target name="EgfStep_12" depends="init,install.egf">
+ <egf>
+ <globargs>
+ <jvmarg value="-Degf.target.bundle.priority=true" />
+ <jvmarg value="-DfeatureName=org.eclipse.egf.examples-feature" />
+ <jvmarg value="-DoutputFolder=${publish}/org.eclipse.egf.sdk/examples" />
+ <jvmarg value="-DimporterName=org.eclipse.egf.examples.installer" />
+ </globargs>
+ <activities>
+ <arg value="platform:/plugin/org.eclipse.egf.releng2/egf/PublishExamples.fcore#_P2rGsKboEd-ZgeUI-BonwQ"/>
+ </activities>
+ </egf>
+ </target>
+ <target name="EgfStep_14" depends="init,install.egf">
+ <egf>
+ <globargs>
+ <jvmarg value="-Degf.target.bundle.priority=true" />
+ <jvmarg value="-DfeatureName=org.eclipse.egf.portfolio.acceleo3.examples-feature" />
+ <jvmarg value="-DoutputFolder=${publish}/org.eclipse.egf.portfolio.acceleo3/examples" />
+ <jvmarg value="-DimporterName=org.eclipse.egf.portfolio.acceleo3.examples.installer" />
+ </globargs>
+ <activities>
+ <arg value="platform:/plugin/org.eclipse.egf.releng2/egf/PublishExamples.fcore#_P2rGsKboEd-ZgeUI-BonwQ"/>
+ </activities>
+ </egf>
+ </target>
+ <target name="EgfStep_16" depends="init,install.egf">
+ <egf>
+ <globargs>
+ <jvmarg value="-Degf.target.bundle.priority=true" />
+ <jvmarg value="-DfeatureName=org.eclipse.egf.portfolio.atl.examples-feature" />
+ <jvmarg value="-DoutputFolder=${publish}/org.eclipse.egf.portfolio.atl/examples" />
+ <jvmarg value="-DimporterName=org.eclipse.egf.portfolio.atl.examples.installer" />
+ </globargs>
+ <activities>
+ <arg value="platform:/plugin/org.eclipse.egf.releng2/egf/PublishExamples.fcore#_P2rGsKboEd-ZgeUI-BonwQ"/>
+ </activities>
+ </egf>
+ </target>
+ <target name="AggregateStep_19" depends="init,install.egf" >
+ <anteclipse target="AggregateStep_19_dropins" />
+ <anteclipse target="AggregateStep_19_sitep2" />
+ </target>
+
+ <target name="AggregateStep_19_dropins">
+ <pathconvert property="aggregateDropinsFrom_org.eclipse.egf.sdk">
+ <first count="1">
+ <dirset dir="${publish}/org.eclipse.egf.sdk/dropins" includes="**/eclipse/" />
+ </first>
+ </pathconvert>
+ <copy todir="${publish}/org.eclipse.egf.site/dropins/org.eclipse.egf.site/eclipse/" >
+ <fileset dir="${aggregateDropinsFrom_org.eclipse.egf.sdk}"/>
+ </copy>
+ <pathconvert property="aggregateVersionFrom_org.eclipse.egf.sdk">
+ <first count="1">
+ <fileset dir="${publish}/org.eclipse.egf.sdk/dropins" includes="**/*_version_*" />
+ </first>
+ </pathconvert>
+ <copy todir="${publish}/org.eclipse.egf.site/dropins/org.eclipse.egf.site/" >
+ <fileset file="${aggregateVersionFrom_org.eclipse.egf.sdk}"/>
+ </copy>
+ <pathconvert property="aggregateDropinsFrom_org.eclipse.egf.portfolio.acceleo3">
+ <first count="1">
+ <dirset dir="${publish}/org.eclipse.egf.portfolio.acceleo3/dropins" includes="**/eclipse/" />
+ </first>
+ </pathconvert>
+ <copy todir="${publish}/org.eclipse.egf.site/dropins/org.eclipse.egf.site/eclipse/" >
+ <fileset dir="${aggregateDropinsFrom_org.eclipse.egf.portfolio.acceleo3}"/>
+ </copy>
+ <pathconvert property="aggregateVersionFrom_org.eclipse.egf.portfolio.acceleo3">
+ <first count="1">
+ <fileset dir="${publish}/org.eclipse.egf.portfolio.acceleo3/dropins" includes="**/*_version_*" />
+ </first>
+ </pathconvert>
+ <copy todir="${publish}/org.eclipse.egf.site/dropins/org.eclipse.egf.site/" >
+ <fileset file="${aggregateVersionFrom_org.eclipse.egf.portfolio.acceleo3}"/>
+ </copy>
+ <pathconvert property="aggregateDropinsFrom_org.eclipse.egf.portfolio.atl">
+ <first count="1">
+ <dirset dir="${publish}/org.eclipse.egf.portfolio.atl/dropins" includes="**/eclipse/" />
+ </first>
+ </pathconvert>
+ <copy todir="${publish}/org.eclipse.egf.site/dropins/org.eclipse.egf.site/eclipse/" >
+ <fileset dir="${aggregateDropinsFrom_org.eclipse.egf.portfolio.atl}"/>
+ </copy>
+ <pathconvert property="aggregateVersionFrom_org.eclipse.egf.portfolio.atl">
+ <first count="1">
+ <fileset dir="${publish}/org.eclipse.egf.portfolio.atl/dropins" includes="**/*_version_*" />
+ </first>
+ </pathconvert>
+ <copy todir="${publish}/org.eclipse.egf.site/dropins/org.eclipse.egf.site/" >
+ <fileset file="${aggregateVersionFrom_org.eclipse.egf.portfolio.atl}"/>
+ </copy>
+ <pathconvert property="aggregateDropinsFrom_org.eclipse.egf.portfolio.genchain.ecoretools">
+ <first count="1">
+ <dirset dir="${publish}/org.eclipse.egf.portfolio.genchain.ecoretools/dropins" includes="**/eclipse/" />
+ </first>
+ </pathconvert>
+ <copy todir="${publish}/org.eclipse.egf.site/dropins/org.eclipse.egf.site/eclipse/" >
+ <fileset dir="${aggregateDropinsFrom_org.eclipse.egf.portfolio.genchain.ecoretools}"/>
+ </copy>
+ <pathconvert property="aggregateVersionFrom_org.eclipse.egf.portfolio.genchain.ecoretools">
+ <first count="1">
+ <fileset dir="${publish}/org.eclipse.egf.portfolio.genchain.ecoretools/dropins" includes="**/*_version_*" />
+ </first>
+ </pathconvert>
+ <copy todir="${publish}/org.eclipse.egf.site/dropins/org.eclipse.egf.site/" >
+ <fileset file="${aggregateVersionFrom_org.eclipse.egf.portfolio.genchain.ecoretools}"/>
+ </copy>
+ </target>
+
+ <target name="AggregateStep_19_sitep2">
+ <!-- see http://wiki.eclipse.org/Equinox/p2/Ant_Tasks -->
+ <p2.mirror>
+ <repository location="file:/${publish}/org.eclipse.egf.site/site.p2" name="buckminster-egf-mars/org.eclipse.egf.site" />
+ <source>
+ <repository location="file:/${publish}/org.eclipse.egf.sdk/site.p2" />
+ <repository location="file:/${publish}/org.eclipse.egf.portfolio.acceleo3/site.p2" />
+ <repository location="file:/${publish}/org.eclipse.egf.portfolio.atl/site.p2" />
+ <repository location="file:/${publish}/org.eclipse.egf.portfolio.genchain.ecoretools/site.p2" />
+ </source>
+ </p2.mirror>
+ </target>
+ <target name="InstallStep_4" depends="init,install.director" >
+ <eclipse.launch app="director">
+ <args>
+ <jvmarg value="-Declipse.p2.mirrors=false" />
+ <jvmarg value="-Xmx1024m"/>
+ <jvmarg value="-XX:MaxPermSize=256m"/>
+
+ <jvmarg value="-Dhttp.proxyHost=proxy.eclipse.org"/>
+ <jvmarg value="-Dhttp.proxyPort=9898"/>
+ <jvmarg value="-Dhttps.proxyHost=proxy.eclipse.org"/>
+ <jvmarg value="-Dhttps.proxyPort=9898"/>
+ <jvmarg value="-Dhttp.nonProxyHosts=*.eclipse.org"/>
+ <jvmarg value="-Dhttps.nonProxyHosts=*.eclipse.org"/>
+ <jvmarg value="-Dftp.proxyHost=proxy.eclipse.org"/>
+ <jvmarg value="-Dftp.proxyPort=9898"/>
+ <jvmarg value="-Dftp.nonProxyHosts=*.eclipse.org"/>
+
+
+
+ <arg value="-roaming" />
+ <arg value="-profileProperties" />
+ <arg value="org.eclipse.update.install.features=true " />
+
+ <arg value="-d" />
+ <arg value="${publish}/egf" />
+
+ <arg value="-p" />
+ <arg value="EGF" />
+
+ <arg value="-r" />
+ <arg value="${updateSiteURL}" />
+
+ <arg value="-r" />
+ <arg value="file:/${publish}/org.eclipse.egf/site.p2" />
+
+
+ <arg value="-i" />
+ <arg value="org.eclipse.platform.ide" />
+
+ <arg value="-i" />
+ <arg value="org.eclipse.egf.feature.group" />
+
+ </args>
+ </eclipse.launch>
+ </target>
+</project>
\ No newline at end of file
diff --git a/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/templates/org.eclipse.core.variables.prefs b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/templates/org.eclipse.core.variables.prefs
new file mode 100644
index 0000000..be05326
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/jobs/buckminster-egf-mars/releng/templates/org.eclipse.core.variables.prefs
@@ -0,0 +1,3 @@
+#Wed Jan 04 10:05:55 CET 2012
+eclipse.preferences.version=1
+org.eclipse.core.variables.valueVariables=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><valueVariables><valueVariable description\="" name\="relengDir" readOnly\="false" value\="${system_property\:relengDir}"/><valueVariable description\="" name\="build.root" readOnly\="false" value\="${system_property\:build.root}"/><valueVariable description\="" name\="tools" readOnly\="false" value\="${system_property\:tools}"/><valueVariable description\="" name\="result" readOnly\="false" value\="${system_property\:result}"/><valueVariable description\="" name\="publish" readOnly\="false" value\="${system_property\:publish}"/><valueVariable description\="" name\="workspace" readOnly\="false" value\="${system_property\:workspace}"/><valueVariable description\="" name\="timestamp" readOnly\="false" value\="${system_property\:timestamp}"/><valueVariable description\="" name\="releaseName" readOnly\="false" value\="${system_property\:releaseName}"/><valueVariable description\="" name\="updateSiteURL" readOnly\="false" value\="${system_property\:updateSiteURL}"/><valueVariable description\="" name\="eclipse.download.prefix" readOnly\="false" value\="${system_property\:eclipse.download.prefix}"/><valueVariable description\="" name\="eclipse.staging.area" readOnly\="false" value\="${system_property\:eclipse.staging.area}"/><valueVariable description\="" name\="git.branch" readOnly\="false" value\="${system_property\:git.branch}"/></valueVariables>
diff --git a/releng/org.eclipse.egf.releng2/model/buckminster-egf-luna.egfbuild b/releng/org.eclipse.egf.releng2/model/buckminster-egf-luna.egfbuild
index 07dc6c0..7f6fbe3 100644
--- a/releng/org.eclipse.egf.releng2/model/buckminster-egf-luna.egfbuild
+++ b/releng/org.eclipse.egf.releng2/model/buckminster-egf-luna.egfbuild
@@ -22,6 +22,7 @@
<steps xsi:type="buildstep:AntStep" xmi:id="_bfnpIAF9EeGO5KzPHjNKFQ" targetName="copy_egf_to_tools" xml="<target name="copy_egf_to_tools">
	<delete dir="${tools}/egf"/>
	<copy todir="${tools}/egf">
		<fileset dir="${publish}/egf"/>
	</copy>
</target>"/>
<steps xsi:type="buildstep:CleanStep" xmi:id="_Y0Q2IAF9EeGO5KzPHjNKFQ" type="Result"/>
<steps xsi:type="buildstep:BuildStep" xmi:id="_VP8DASR_EeCpI_U_Er6QNA" noBuildersInvocation="true">
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_ZSar0CVBEeCrBLgWv91aGQ" pattern="org.eclipse.egf*" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="deprecated/4.4/portfolio"/>
<buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DAiR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" suffix="" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="plugins"/>
<buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DBCR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="doc"/>
<buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DBSR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="examples/workspace"/>
diff --git a/releng/org.eclipse.egf.releng2/model/buckminster-egf-mars.egfbuild b/releng/org.eclipse.egf.releng2/model/buckminster-egf-mars.egfbuild
new file mode 100644
index 0000000..c2d63c4
--- /dev/null
+++ b/releng/org.eclipse.egf.releng2/model/buckminster-egf-mars.egfbuild
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<buildcore:Job xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:buildcore="http://www.eclipse.org/egf/1.0.1/buildcore" xmlns:builddeploy="http://www.eclipse.org/egf/1.0.0/builddeploy" xmlns:buildscm="http://www.eclipse.org/egf/1.0.0/buildscm" xmlns:buildstep="http://www.eclipse.org/egf/1.0.2/buildstep" xmi:id="_YKxagJY3Ed-1d-ajyQS7wg" name="buckminster-egf-mars">
+ <properties xmi:id="_Ba608JDeEeCFnfwF9_Ni3Q" key="releaseName" value="mars"/>
+ <properties xmi:id="_4KzZsQU3EeGaseR7kNQ8hw" key="updateSiteURL" value="${eclipse.download.prefix}/releases/${releaseName}"/>
+ <properties xmi:id="_tGJ_cAYGEeGKhYHYG0ajnw" key="eclipse.download.prefix" value="file:/home/data/httpd/download.eclipse.org"/>
+ <properties xmi:id="_tgE7UAYGEeGKhYHYG0ajnw" key="eclipse.staging.area" value="/shared/download-staging.priv/modeling/egf/"/>
+ <properties xmi:id="_-VgtMVYwEeGPArgfLJHEWg" key="git.branch" value="master"/>
+ <steps xsi:type="buildstep:CleanStep" xmi:id="_N69VIvjIEeCQBPQJHiANYA" type="All"/>
+ <steps xsi:type="buildstep:BuildStep" xmi:id="_2fryoQF8EeGO5KzPHjNKFQ">
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_2fryowF8EeGO5KzPHjNKFQ" pattern="org.eclipse.egf*" suffix="" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="plugins"/>
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_2frypgF8EeGO5KzPHjNKFQ" pattern="org.eclipse.egf*" suffix=".feature" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="features"/>
+ <buildLocations xsi:type="buildstep:UpdateSiteBuildLocation" xmi:id="_2fryqgF8EeGO5KzPHjNKFQ" url="${updateSiteURL}"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_2fryrgF8EeGO5KzPHjNKFQ" id="org.eclipse.egf"/>
+ <components xsi:type="buildstep:Plugin" xmi:id="_QDSgsAVXEeGaseR7kNQ8hw" id="org.eclipse.emf.importer"/>
+ <components xsi:type="buildstep:Plugin" xmi:id="_RUfp4AVXEeGaseR7kNQ8hw" id="org.eclipse.emf.codegen.ecore.ui"/>
+ </steps>
+ <steps xsi:type="buildstep:PublishStep" xmi:id="_-TnB8AF8EeGO5KzPHjNKFQ" component="_2fryrgF8EeGO5KzPHjNKFQ"/>
+ <steps xsi:type="buildstep:InstallStep" xmi:id="_BfnD4AF9EeGO5KzPHjNKFQ" id="egf" profile="EGF" resultSteps="_-TnB8AF8EeGO5KzPHjNKFQ">
+ <updateSiteUrls>${updateSiteURL}</updateSiteUrls>
+ <productNames>org.eclipse.platform.ide</productNames>
+ </steps>
+ <steps xsi:type="buildstep:AntStep" xmi:id="_bfnpIAF9EeGO5KzPHjNKFQ" targetName="copy_egf_to_tools" xml="<target name="copy_egf_to_tools">
	<delete dir="${tools}/egf"/>
	<copy todir="${tools}/egf">
		<fileset dir="${publish}/egf"/>
	</copy>
</target>"/>
+ <steps xsi:type="buildstep:CleanStep" xmi:id="_Y0Q2IAF9EeGO5KzPHjNKFQ" type="Result"/>
+ <steps xsi:type="buildstep:BuildStep" xmi:id="_VP8DASR_EeCpI_U_Er6QNA" noBuildersInvocation="true">
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DAiR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" suffix="" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="plugins"/>
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DBCR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="doc"/>
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DBSR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="examples/workspace"/>
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DBiR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" suffix=".feature" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="features"/>
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DByR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="portfolio"/>
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_VP8DCCR_EeCpI_U_Er6QNA" pattern="org.eclipse.egf*" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="tests"/>
+ <buildLocations xsi:type="buildscm:GITBuildLocation" xmi:id="_xL-dkCoFEeCVoKna6d64FA" pattern="org.eclipse.egf*" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA" folderName="releng"/>
+ <buildLocations xsi:type="buildstep:UpdateSiteBuildLocation" xmi:id="_VP8DDCR_EeCpI_U_Er6QNA" url="${updateSiteURL}"/>
+ <components xsi:type="buildstep:Plugin" xmi:id="_9QitkCoDEeCVoKna6d64FA" id="org.eclipse.egf.releng2"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_VP8DDyR_EeCpI_U_Er6QNA" id="org.eclipse.egf.test"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_VP8DFCR_EeCpI_U_Er6QNA" id="org.eclipse.egf.portfolio.task.ant.test"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_VP8DDiR_EeCpI_U_Er6QNA" id="org.eclipse.egf.sdk"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_VP8DECR_EeCpI_U_Er6QNA" id="org.eclipse.egf.examples"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_rivfYTkHEeCbr7W3e6bJPQ" id="org.eclipse.egf.portfolio.acceleo3"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_wsm2oEAiEeCi4-1Y9vbHyQ" id="org.eclipse.egf.portfolio.acceleo3.examples"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_vivKEDkHEeCbr7W3e6bJPQ" id="org.eclipse.egf.portfolio.atl"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_wsm2oUAiEeCi4-1Y9vbHyQ" id="org.eclipse.egf.portfolio.atl.examples"/>
+ <components xsi:type="buildstep:Feature" xmi:id="_6VPlEL53EeCiHNhYwuZwog" id="org.eclipse.egf.portfolio.genchain.ecoretools"/>
+ </steps>
+ <steps xsi:type="buildstep:AntStep" xmi:id="_HPz3oAYBEeGKhYHYG0ajnw" targetName="recompile_egf_patterns" xml="<target name="recompile_egf_patterns">
 <eclipse.incrementalBuild kind="incremental" builder="org.eclipse.pde.SchemaBuilder" />
 <eclipse.incrementalBuild kind="incremental" builder="org.eclipse.pde.ManifestBuilder" />
 <eclipse.incrementalBuild kind="incremental" builder="org.eclipse.jdt.core.javabuilder" />
 <eclipse.incrementalBuild kind="incremental" builder="org.eclipse.egf.pattern.ui.PatternBuilder" />
</target>" runInEclipse="true"/>
+ <steps xsi:type="buildstep:BuildStep" xmi:id="_PvB60PjIEeCQBPQJHiANYA">
+ <buildLocations xsi:type="buildstep:UpdateSiteBuildLocation" xmi:id="_ZlzLoPjIEeCQBPQJHiANYA" url="${updateSiteURL}"/>
+ </steps>
+ <steps xsi:type="buildstep:TestStep" xmi:id="_VP8DFSR_EeCpI_U_Er6QNA" launchConfigurationPath="org.eclipse.egf.core.test/EGF_Core_Tests.launch"/>
+ <steps xsi:type="buildstep:TestStep" xmi:id="_VP8DFiR_EeCpI_U_Er6QNA" launchConfigurationPath="org.eclipse.egf.portfolio.task.ant.test/Ant_Tests.launch"/>
+ <steps xsi:type="buildstep:EgfStep" xmi:id="_lrpyMCVpEeCrBLgWv91aGQ">
+ <properties xmi:id="_lrpyMSVpEeCrBLgWv91aGQ" key="egf.target.bundle.priority" value="true"/>
+ <properties xmi:id="_GeIQ8UAdEeCi4-1Y9vbHyQ" key="featureName" value="org.eclipse.egf.examples-feature"/>
+ <properties xmi:id="_lrpyMiVpEeCrBLgWv91aGQ" key="outputFolder" value="${publish}/org.eclipse.egf.sdk/examples"/>
+ <properties xmi:id="_s1jtcc85EeCzhPch9tJ3Og" key="importerName" value="org.eclipse.egf.examples.installer"/>
+ <egfActivities xmi:id="_N69VIfjIEeCQBPQJHiANYA" uri="platform:/plugin/org.eclipse.egf.releng2/egf/PublishExamples.fcore#_P2rGsKboEd-ZgeUI-BonwQ"/>
+ </steps>
+ <steps xsi:type="buildstep:PublishStep" xmi:id="_91ptYCR_EeCpI_U_Er6QNA" component="_VP8DDiR_EeCpI_U_Er6QNA" signing="true" generateDropins="true"/>
+ <steps xsi:type="buildstep:EgfStep" xmi:id="_jR6TcEAfEeCi4-1Y9vbHyQ">
+ <properties xmi:id="_jR6TcUAfEeCi4-1Y9vbHyQ" key="egf.target.bundle.priority" value="true"/>
+ <properties xmi:id="_jR6TckAfEeCi4-1Y9vbHyQ" key="featureName" value="org.eclipse.egf.portfolio.acceleo3.examples-feature"/>
+ <properties xmi:id="_jR6Tc0AfEeCi4-1Y9vbHyQ" key="outputFolder" value="${publish}/org.eclipse.egf.portfolio.acceleo3/examples"/>
+ <properties xmi:id="_wqXR0dIYEeCajoLOvUaMlg" key="importerName" value="org.eclipse.egf.portfolio.acceleo3.examples.installer"/>
+ <egfActivities xmi:id="_N69VIPjIEeCQBPQJHiANYA" uri="platform:/plugin/org.eclipse.egf.releng2/egf/PublishExamples.fcore#_P2rGsKboEd-ZgeUI-BonwQ"/>
+ </steps>
+ <steps xsi:type="buildstep:PublishStep" xmi:id="_ANqPQDkIEeCbr7W3e6bJPQ" component="_rivfYTkHEeCbr7W3e6bJPQ" signing="true" generateDropins="true"/>
+ <steps xsi:type="buildstep:EgfStep" xmi:id="_jr12YEAfEeCi4-1Y9vbHyQ">
+ <properties xmi:id="_jr12YUAfEeCi4-1Y9vbHyQ" key="egf.target.bundle.priority" value="true"/>
+ <properties xmi:id="_jr12YkAfEeCi4-1Y9vbHyQ" key="featureName" value="org.eclipse.egf.portfolio.atl.examples-feature"/>
+ <properties xmi:id="_jr12Y0AfEeCi4-1Y9vbHyQ" key="outputFolder" value="${publish}/org.eclipse.egf.portfolio.atl/examples"/>
+ <properties xmi:id="_w5aacNIYEeCajoLOvUaMlg" key="importerName" value="org.eclipse.egf.portfolio.atl.examples.installer"/>
+ <egfActivities xmi:id="_N69VI_jIEeCQBPQJHiANYA" uri="platform:/plugin/org.eclipse.egf.releng2/egf/PublishExamples.fcore#_P2rGsKboEd-ZgeUI-BonwQ"/>
+ </steps>
+ <steps xsi:type="buildstep:PublishStep" xmi:id="_Ae8zkDkIEeCbr7W3e6bJPQ" component="_vivKEDkHEeCbr7W3e6bJPQ" signing="true" generateDropins="true"/>
+ <steps xsi:type="buildstep:PublishStep" xmi:id="_3mAXob53EeCiHNhYwuZwog" component="_6VPlEL53EeCiHNhYwuZwog" signing="true" generateDropins="true"/>
+ <steps xsi:type="buildstep:AggregateStep" xmi:id="_G99gMEAgEeCi4-1Y9vbHyQ" id="org.eclipse.egf.site" publishSteps="_91ptYCR_EeCpI_U_Er6QNA _ANqPQDkIEeCbr7W3e6bJPQ _Ae8zkDkIEeCbr7W3e6bJPQ _3mAXob53EeCiHNhYwuZwog"/>
+ <steps xsi:type="buildstep:AntStep" xmi:id="_WfRXUEAzEeCsoY6xB0CJEA" targetName="stats" xml="<target name="stats">
	<property name="p2.site.path" value="${publish}/org.eclipse.egf.site/site.p2" />

	<unzip src="${p2.site.path}/artifacts.jar" dest="${p2.site.path}" />
	<delete file="${p2.site.path}/artifacts.jar" />
	<move file="${p2.site.path}/artifacts.xml" tofile="${p2.site.path}/artifacts.xml.orig" />

	<xslt style="${build.root}/git/git_eclipse/releng/org.eclipse.egf.releng2/ant/statsURI.xsl" 
		in="${p2.site.path}/artifacts.xml.orig" 
		out="${p2.site.path}/artifacts.xml">
		<param name="releaseName" expression="${releaseName}"/>
	 </xslt>

	<zip destfile="${p2.site.path}/artifacts.jar" basedir="${p2.site.path}" includes="artifacts.xml" />
	<delete file="${p2.site.path}/artifacts.xml" />
	<delete file="${p2.site.path}/artifacts.xml.orig" />
</target>"/>
+ <steps xsi:type="buildstep:JavadocStep" xmi:id="_Hugo4CSAEeCpI_U_Er6QNA" sources="_VP8DAiR_EeCpI_U_Er6QNA">
+ <includes>**/*.java</includes>
+ <links>http://download.oracle.com/javase/1.5.0/docs/api/</links>
+ <links>http://www.osgi.org/javadoc/r4v42/</links>
+ <links>http://download.eclipse.org/modeling/emf/emf/javadoc/2.5.0/</links>
+ <links>http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/</links>
+ </steps>
+ <scms xsi:type="buildscm:GIT" xmi:id="_VP8DGCR_EeCpI_U_Er6QNA">
+ <locations xmi:id="_VP8DGSR_EeCpI_U_Er6QNA" protocol="https://" url="git.eclipse.org/r/egf/org.eclipse.emf.egf" localPath="git_eclipse" branch="${git.branch}" username="" password=""/>
+ </scms>
+ <deployment xsi:type="builddeploy:HudsonDeployment" xmi:id="_cVWxoNqkEeOOJoyshCcAFA" userDeployServerUrl="https://hudson.eclipse.org/hudson">
+ <users xmi:id="_C_SdENqrEeOIAvxYf5-NWA" login="mhelleboid" permission="WRITE"/>
+ <users xmi:id="_6xAXkNqrEeOIAvxYf5-NWA" login="langlois" permission="WRITE"/>
+ <users xmi:id="_64dqcNqrEeOIAvxYf5-NWA" login="tguiu" permission="WRITE"/>
+ <generationLocation xsi:type="buildscm:GITGenerationLocation" xmi:id="__kt-MNqrEeOIAvxYf5-NWA" folderName="releng/org.eclipse.egf.releng2/jobs" gitLocation="_VP8DGSR_EeCpI_U_Er6QNA"/>
+ </deployment>
+</buildcore:Job>